From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 1 02:27:20 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 1 May 2003 10:27:20 +1000 Subject: check_snmp and timeout] In-Reply-To: ; from sghosh@sghosh.org on Wed, Apr 30, 2003 at 08:51:32AM -0400 References: <3EAFC1B9.7000706@datavis.se> Message-ID: <20030501102716.A26852@IPAustralia.Gov.AU> Dear Gentlemen, FWIW, the bug Mr Ghosh cites (vi) is in the handling of the timeout of the plugin (what it returns after a timeout) and not the fact that it deosn't seem to timeout at all (Mr Wagluns report). On Wed, Apr 30, 2003 at 08:51:32AM -0400, Subhendu Ghosh wrote: > This is a bug - > > http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > > On Wed, 30 Apr 2003, Fredrik W?nglund wrote: > > > > > > > OK, 10.20.30.40 is a non-existing host just to show how it looks when > > check_snmp times out. > > What I wanted to show was that regardless of whether i have '-t 30' or > > not the plugin exits > > after 6 seconds with the message; > > > > SNMP problem - No data recieved from host > > CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 > > > > If the CMD:... is the complete commandline the plugin calls, then it > > look like > > the timeoutvalue is simply ignored by the plugin. > > No, The timevalue is not passed to snmpget on the commandline. The timeout is handled by a wrapper function (popen.c/spopen()) that thereby allows uniform timeout handling for any program (whether or not that program supports timeouts). I am suprised it is broken, if that is the case. > > > > /FredrikW > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spstarr at sh0n.net Thu May 1 03:38:11 2003 From: spstarr at sh0n.net (Shawn Starr) Date: Wed, 30 Apr 2003 21:38:11 -0400 Subject: send_nsca and nagios passive service problems Message-ID: <001301c30f82$5438ce80$030aa8c0@panic> I'm a little confused on something: When creating a service, all 'remote' services such as load, disk space and such are passive services. Send_nsca sends the data to NSCA which then pipes that info to Nagios.cmd. My problem is this, if the service is marked passive and freshness is set (1). Nagios reports that the service is stale and will force a check again. The problem is, it cannot check if it's a passive service. How should I configure a passive service with NSCA <-> send_nsca use? Could someone provide a service sample on how this is done or provide documentation on how this is done? Shawn. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 1 04:50:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 1 May 2003 12:50:43 +1000 Subject: SNMP-TRAP from Cisco Routers In-Reply-To: ; from atulsh@hclinsys.com on Wed, Apr 30, 2003 at 05:27:37PM +0530 References: <20030430201411.A231@IPAustralia.Gov.AU> Message-ID: <20030501125041.B26852@IPAustralia.Gov.AU> Dear Gentlemen, I am writing to thank you for your letter and say, On Wed, Apr 30, 2003 at 05:27:37PM +0530, Atul Shrivastava wrote: > Thanks for this info. > > But I am really confused how to get the SNMP Traps processed when the > snmptrapd receives the traps and writes it in some file. I have visited > the net-snmp site but can't get any useful info from that. Same is the > condition from the Nagios site. This is the docco that was useful to me. 1. http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html This is a comprehensive fully worked example of the two points (passive service checks and trap handler). The example, of a traphandler on another host and a central or distributed Nagios monitor, uses 'send_ncsa' to send the passive check result from the machine ruuning snmptrapd to the Nag monitor. If snmptrapd is running on the same box as Nag, use 'echo >> ' as shown in the example in my last letter. Please note that _you_ have to write the trap handler script using the example given. If you cannot or do not code, you are in trouble, because this code needs to be tailored to meet your requirements. The problems with this approach is precisely that __you__ must get a traphandler to handle your traps (for each trap you add); there is no Nag trap infrastructure to simplify this. (Another approach that may be a lot lot easier is Alex Burger's snmptt product on SourceForge) 2. http://www.net-snmp.org/tutorial/commands/snmptrap.html > > What is required is that where i should make the shell script to get > executed as you have given as example and in nagios configs where I define > to take the inputs from where. I am really confused about that. Pls help > me in getting out of that loop. In a nutshell, 3.1 snmptrapd is sent traps by your Compaq servers or Cisco products. It logs the trap and calls the shell script defined in snmptrapd.conf to handle that trap 3.2 The shell script (trap handler) must decode the trap. It does this by being called with the trap number and reading stdin to get the host (the server sending the trap), the host ip, and name value pairs decribing the trap. Here's part of my input handling, all from the docco. # Arguments: # $1 = trap type # First line passed from snmptrapd is FQDN of host that sent the trap read host # Second line passed from snmptrapd is ip address of host that sent the trap read ip # Subsequent lines passed from snmptrapd contain the varbinds, one pair of OIDs and values per line # # transmission.frame-relay.frCircuitTable.frCircuitEntry.frCircuitIfIndex.15.21 15 # transmission.frame-relay.frCircuitTable.frCircuitEntry.frCircuitDlci.15.21 21 # transmission.frame-relay.frCircuitTable.frCircuitEntry.frCircuitState.15.21 inactive(3) Dlci=9999 CircuitState='unknown' while read oid val do if [ `expr "$oid" : '.*Dlci'` -gt 0 ] then Dlci=$val elif [ `expr "$oid" : '.*CircuitState'` -gt 0 ] then CircuitState=$val fi done A trap handler will have code like case "$1" in # failed to format tape - critical 11) output="Critical: Failed to format tape" state=2 ;; # failed to read tape header - critical 10) output="Critical: Failed to read tape header" state=2 ;; # failed to position tape - critical 11) output="Critical: Failed to position tape" state=2 ;; to work out what the trap is and to generate the 'fault decription ($output)' that goes in the passive service check result. FWIW, the shell is a very bad way of doing this unless you are good coder. I suggest Perl or something with compile time checks for mortals (and it works faster). > Can you tell me a procedure for the same. > Nagios is giving you a subset of what Tivoli, Uni-Centre etc provide you, at an infinitisimal fraction of the cost. The products share this however: you must spend some effort setting them up or pay someone to do so. > Regards, > > Atul Shrivastava > > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu May 1 05:06:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Apr 2003 23:06:30 -0400 (EDT) Subject: send_nsca and nagios passive service problems In-Reply-To: <001301c30f82$5438ce80$030aa8c0@panic> References: <001301c30f82$5438ce80$030aa8c0@panic> Message-ID: On Wed, 30 Apr 2003, Shawn Starr wrote: > I'm a little confused on something: > > > When creating a service, all 'remote' services such as load, disk space and > such are passive services. Send_nsca sends the data to NSCA which then pipes > that info to Nagios.cmd. > > My problem is this, if the service is marked passive and freshness is set > (1). Nagios reports that the service is stale and will force a check again. > The problem is, it cannot check if it's a passive service. > > How should I configure a passive service with NSCA <-> send_nsca use? > > Could someone provide a service sample on how this is done or provide > documentation on how this is done? > > Shawn. > http://YourHost/nagios/docs/freshness.html use the freshness_threshold in the service definition to determine the max time interval you can go without getting a passive check, and what command to issue (typically a notification) if the threshold is crossed. -- -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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Thu May 1 05:54:04 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Wed, 30 Apr 2003 23:54:04 -0400 Subject: NagMIN Update Information - Releases - Beta - French Message-ID: <1A76CEE962963E40926786CA468A47D3215DF5@infocoex1.infosysinc.com> The ---- comment lines are created by MySQL when you dump a database. Logo images are stored in /usr/local/webmin-1.080/nagmin/images/logos and in /usr/local/nagios/share/logos (by default). When you upload a file it tries to write it to both directories. If you want to batch upload a bunch of logos, copy them to the ../nagios/share/logos directory and then run a verification. The verification program synchronizes both directories. I'm wondering if it's a permissions problem. I'll try it tomorrow to see if it still works for me. I hope it didn't get any on you when it puked! Fred -----Original Message----- From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] Sent: Wed 4/30/2003 5:41 PM To: Fred Reimers; 'nagios-users at lists.sourceforge.net' Cc: Subject: RE: [Nagios-users] NagMIN Update Information - Releases - Beta - French -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Fred Reimers [mailto:FReimers at infosysinc.com] > Sent: Wednesday, April 30, 2003 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NagMIN Update Information - Releases > - Beta - French > > > All, > > I noticed that a lot of people downloaded NagMIN version > 1.3.1. There are problems with the setup utility not > creating service entries. You'll need to install 1.3.2 to > correct the problem. Hi, Fred. I just got NagMIN installed (after RTFD) and I noticed a couple of things. First, when I tried to run the load.sql, it puked on the comment lines. IF I replaced the dashes (-) with (#) it loaded fine. Second, how do I load the logos via the logo manager? I tried to load them by what appears to be the correct way (browse to file, click "add logo" button) but it doesn't seem to show up. Please advise. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrBCSxnDT1v4QosXEQLuigCeIKEWuIXEZFoTQOLC9Y4ZHRD47CsAnjRC C8FZRsc8600NhDV+AkwcozFi =ENtu -----END PGP SIGNATURE----- ..... ..... N????????X???'???u???)???Y?\?g????????????b?HzG(??5?"???z?&j)b? b??Z?*,????X???(??~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From Raj.Mudhar at nottingham.ac.uk Thu May 1 10:31:42 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Thu, 01 May 2003 09:31:42 +0100 Subject: Login problem Message-ID: Hi I have addes .htaccess file to nagios cgi-bin and html directory. Then using the following command created the nagios admin user. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios admin it asked me for a password.. i entered it twice ( i know this password its correct trust me!) Now when i goto the nagios website http://mypc/nagios/ a username/password box appears adding the nagiosadmin as user and my password as the password... it dont let me in?! whats going 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Thu May 1 13:13:23 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Thu, 01 May 2003 12:13:23 +0100 Subject: Authentication acting wierd Message-ID: hmmm it says u have to also make sure authentication is configured in the CGI configuration file...well authentication=1 in there. Now.. its called cgi.cfg-sample do i have to take the sample bit off for it to be recognised correctly.. Furthermore i would have assumed this is only for the cgi bits.. not for the first htlm nagios home page. created another user with username password called test still dont let me in.. dont know whats going 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Conaway at HOSystems.com Thu May 1 13:37:34 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Thu, 1 May 2003 07:37:34 -0400 Subject: Login problem Message-ID: <7D55A9A792CFA24C8918768B5F977A21C63241@quigon.hosystems> Raj, I believe your commandline adds the user "nagios", not "nagiosadmin", assuming that was not a typo in your email. Run it again without the space between nagios and admin or try logging in as "nagios". ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Thursday, May 01, 2003 4:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Login problem Hi I have addes .htaccess file to nagios cgi-bin and html directory. Then using the following command created the nagios admin user. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios admin it asked me for a password.. i entered it twice ( i know this password its correct trust me!) Now when i goto the nagios website http://mypc/nagios/ a username/password box appears adding the nagiosadmin as user and my password as the password... it dont let me in?! whats going 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Thu May 1 15:46:28 2003 From: twelsh at square-box.com (Tom Welsh) Date: Thu, 1 May 2003 14:46:28 +0100 Subject: Login problem In-Reply-To: <7D55A9A792CFA24C8918768B5F977A21C63241@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A21C63241@quigon.hosystems> Message-ID: <000001c30fe8$13200240$0400a8c0@squarebox.com> Also have you set up any other users. A common mistake is to forget to remove the -c switch for second users, I know ive done it a few times my self :( -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron Conaway Sent: 01 May 2003 12:38 To: Raj Mudhar; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Login problem Raj, I believe your commandline adds the user "nagios", not "nagiosadmin", assuming that was not a typo in your email. Run it again without the space between nagios and admin or try logging in as "nagios". ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Thursday, May 01, 2003 4:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Login problem Hi I have addes .htaccess file to nagios cgi-bin and html directory. Then using the following command created the nagios admin user. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios admin it asked me for a password.. i entered it twice ( i know this password its correct trust me!) Now when i goto the nagios website http://mypc/nagios/ a username/password box appears adding the nagiosadmin as user and my password as the password... it dont let me in?! whats going 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Thu May 1 16:21:51 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Thu, 1 May 2003 16:21:51 +0200 Subject: tnsping - where are you? In-Reply-To: References: Message-ID: <200305011621.56828@tg> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello there. I downloaded the Oracle8 and 9 for Linux, but the runInstaller needs X for working. Is there an easy way to get the tnsping binary? As far as I know, I need this for the check_oracle plugin. - -- Viele Gr??e Thorsten Giese -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sS2E5pJRzpketXcRAqt8AJwL1XRbEA0yV4VOIJwlVGNCC4UZ0ACdFzSG 2k5S0MjizgeI+yHN91wUESM= =5zFM -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Thu May 1 16:23:51 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Thu, 1 May 2003 16:23:51 +0200 Subject: LDAP and Win2003 In-Reply-To: References: Message-ID: <200305011623.51421@tg> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello there. I used the check_ldap plugin to chekc some Active Directory Servers within a Win2000Server. Now, Win2003 does not allow anonymous LDAP anymore, any hints how to solve this? - -- Viele Gr??e Thorsten Giese -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sS335pJRzpketXcRArwnAJ9hiOSCCHUPJD6TqqTQ7kQ2jXqImACfbLx8 4cyuPtpywaNvZCxI9TQhajg= =tjbI -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Thu May 1 16:25:16 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Thu, 1 May 2003 16:25:16 +0200 Subject: PDC and nagios In-Reply-To: References: Message-ID: <200305011625.16148@tg> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello there. I was wondering how anyone monitors Primary Domain Controllers? What checks can be done? - -- Viele Gr??e Thorsten Giese -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sS5M5pJRzpketXcRAlYWAJ9eo2kIY+2heTkkUzLYT0ThDy08ZQCfWZpY 4bIV8nqCv6plgnRn5L7ba28= =Hb8/ -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Thu May 1 16:46:06 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Thu, 1 May 2003 10:46:06 -0400 Subject: Host/Service association References: <1051563248.3147.34.camel@morticia.pricegrabber.com> Message-ID: > Yes, but not the way you stated it. > > use 'hostgroup_name' in your services instead of 'host_name' > > then you just add the new host to the hostgreoup > > http://nagios.sourceforge.net/docs/1_0/templatetricks.html > > That's interesting. Then maybe one suggestion would be add property to the hostgroup object that states if you want that hostsgroup to appear in the Status CGIs or not. That way it makes it possible to create a bunch of hostgroups for various uses without having them all show up in the status CGIs with a bunch of duplicate hosts and stuff. For example: I can create hostgroups a such: - Client1 (show_in_status=1) - Client2 (show_in_status=1) - Client3 (show_in_status=1) - apache (show_in_status=0) - mysql (show_in_status=0) and only have the Client* hosts groups appear in the Status CGIs. Cheers, Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu May 1 17:29:15 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 1 May 2003 10:29:15 -0500 Subject: nrpe and plugin binaries for hp-ux 11 In-Reply-To: <3EAFEA77.2020801@kisters.com>; from testrm@kisters.com on Wed, Apr 30, 2003 at 05:23:35PM +0200 References: <3EAFEA77.2020801@kisters.com> Message-ID: <20030501102915.A24958@bennyvision.com> On Wed, Apr 30, 2003 at 05:23:35PM +0200, Ralf Mellis wrote: > Hello, > I'm trying to compile the nrpe 2.0b3 and plugins 1.3.0 on a hp-ux 11 > server. But it seems that there are some requirements, that are not > fulfilled (i.e. version of openssl, type conflicts in some header files > and so on). > Now my question: Is there someone out there, who has successfully > compiled (ideally statically linked) the above mentioned binaries for > hp-ux 11? You can try the ones I built at: http://www.bennyvision.com/projects/nagios/ They weren't built statically, and they might not work for you, but you never know. :) Benny -- "Earth first! Make Mars our bitch!" -- Dale Dribble, "King Of The Hill" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DHarding at gilatla.com Thu May 1 19:05:55 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Thu, 1 May 2003 13:05:55 -0400 Subject: Upgrading? Message-ID: <97D0DDFA3C2F5B44AAC0960B99E9621301913F@VMX.gilatla.com> Is there a doc out there that describes the upgrade process a little better than the one that comes with nagios? _____________________ Devon Harding System Administrator Gilat Latin America 954-858-1600 dharding at gilatla.com This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fyzix at yahoo.com Thu May 1 19:42:03 2003 From: fyzix at yahoo.com (Gareth Hash) Date: Thu, 1 May 2003 10:42:03 -0700 (PDT) Subject: SNMP and freshness checks Message-ID: <20030501174203.12079.qmail@web20418.mail.yahoo.com> Hello. I am receiving SNMP traps in passive mode every few minutes. According to the manual, I could use check_freshness to make sure the traps are being received at the correct time. In the case that it is not, I would like to change the status of the host and service on the Nagios display. My understanding is that the check_command script is executed when the freshness is "stale". Is there a way to pass the host name and service description to this script so I could send it back to the external command file for the status to change on the Service Detail display for the host and service in question? Thank you. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Thu May 1 20:08:46 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Thu, 1 May 2003 20:08:46 +0200 Subject: PDC and nagios Message-ID: <200305012008.54546@tg> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello there. I was wondering how anyone monitors Primary Domain Controllers? What checks can be done? - - -- Viele Gr??e Thorsten Giese -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sWK25pJRzpketXcRAoUyAJ94XOsCxzS0msUqSbNtXjKDPci8TgCfXLwx 0fuf+BH94NpCQ9TS56OWSUQ= =oxM0 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at showkilr.com Thu May 1 20:57:51 2003 From: showkilr at showkilr.com (Showkilr) Date: 01 May 2003 13:57:51 -0500 Subject: Mysql Support In-Reply-To: <352B04312822444A962714393AED8A4D026848@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D026848@ADAEVS01.int.chickasaw.net> Message-ID: <1051815470.6324.78.camel@wicked.playnet.com> I have used a wrapper like this in the past for jsut MySQL and PostgreSQL.. should be hard at adding the flat file support and XML. then using a call for the data nagios would not need to know what the database format is it would just recieve the data transparantly. Showkilr On Wed, 2003-04-30 at 15:30, Jeremy Russell wrote: > That would be cool... That's what I was really thinking. I would like > to have all the alternatives, DB, flat text, etc... > > I just want each alternative to contain all aspects of the data. Not > just the extended data, as Nagios currently is. > > The wrapper system would allow more things (Configuration Management, > Change Management, and other Network Management features) to be > integrated directly into Nagios with more ease I would think. > > > > Jeremy Russell > Network Administrator, CNI > 580-272-2707 > > > -----Original Message----- > From: Showkilr [mailto:showkilr at showkilr.com] > Sent: Wednesday, April 30, 2003 1:46 PM > To: nagios-list > Subject: RE: [Nagios-users] Mysql Support > > I was actually thinking of creating a wrapper system for the database > support. so that the wrapper itself handles all the calls to > mysql/postgresql/flatfile/??XML?? depending on the define at build time. > > I have seen this type of wrapper for Mysql and Postgresql. adding > support for other types shouldn't be trivial.. > > Showkilr > > > On Wed, 2003-04-30 at 13:33, Daniel Wittenberg wrote: > > This would probably make it easier to write a web interface to manage > it > > as well. I was thinking of writing a webmin plugin to modify the text > > files, but creating a DB and pulling the data from there would be > > easier. It would be nice if you could pull the data from IRM or other > > asset manager too so you could have all information about a host in > one > > place.....ummmm...*lots of ideas running around in head* > > > > Dan > > > > On Wed, 2003-04-30 at 13:26, Carroll, Jim P [Contractor] wrote: > > > Don't fret. There have been discussions in the past to implement > either a database (MySQL/PostgreSQL) or XML solution. But not by the > author or core group. > > > > > > Rather, some have wished (and I think a few have taken steps) for a > database or XML solution, because to them, it makes their lives easier. > The conclusion was that yes, these solutions were viable, but instead of > *replacing* the Nagios config files, the alternative solutions, once > populated, would be used to *create* the Nagios config files. Nagios > would therefore need no direct modifications, Ethan et al wouldn't need > to burn any additional midnight oil, and folks such as yourself would be > happy campers. > > > > > > Don't ask me what the status of such projects are, as I haven't been > following them. > > > > > > 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 > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Thu May 1 21:11:35 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Thu, 1 May 2003 12:11:35 -0700 Subject: Host Dependancy Message-ID: <20030501121135.0e414c0a.Billt@Mahagonny.com> Hello, I'm having an issue with host dependencies. I have set-up a test system running an FTP server behind a switch. I have set-up monitoring for the switch and the server, and then created a service dependency for the FTP service and a host dependency for the server itself. If the switch is down notifications for the FTP system are suppressed, but checks are allowed through (I want them to show as down on the status page). However when I shut down the switch the service notification is suppressed, but the host notification goes through. It is also interesting to note that the host notification always comes through before notification of the switch being down. This leads me to believe that the host for the FTP server is simply timing out before the switch, but I can't seem to adjust the polling time to make sure that the switch is queued before the FTP host. Has anyone run into this before? Please tell me I am missing something obvious. -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Thu May 1 22:05:46 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Thu, 1 May 2003 13:05:46 -0700 Subject: Host Dependancy Message-ID: <20030501130546.6d87d5dc.Billt@Mahagonny.com> Hello, I'm having an issue with host dependencies. I have set-up a test system running an FTP server behind a switch. I have set-up monitoring for the switch and the server, and then created a service dependency for the FTP service and a host dependency for the server itself. If the switch is down notifications for the FTP system are suppressed, but checks are allowed through (I want them to show as down on the status page). However when I shut down the switch the service notification is suppressed, but the host notification goes through. It is also interesting to note that the host notification always comes through before notification of the switch being down. This leads me to believe that the host for the FTP server is simply timing out before the switch, but I can't seem to adjust the polling time to make sure that the switch is queued before the FTP host. Has anyone run into this before? Please tell me I am missing something obvious. -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri May 2 00:26:01 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 2 May 2003 00:26:01 +0200 Subject: Upgrading? In-Reply-To: <97D0DDFA3C2F5B44AAC0960B99E9621301913F@VMX.gilatla.com>; from DHarding@gilatla.com on Thu, May 01, 2003 at 01:05:55PM -0400 References: <97D0DDFA3C2F5B44AAC0960B99E9621301913F@VMX.gilatla.com> Message-ID: <20030502002601.C1470@hpce.nec.com> On Thu, May 01, 2003 at 01:05:55PM -0400, Devon Harding - GTHLA wrote: > > Is there a doc out there that describes the upgrade process a little > better than the one that comes with nagios? Sure. For kernel-upgrades I usually recommend /usr/src/linux/README. Rasmus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Fri May 2 01:56:46 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Fri, 2 May 2003 07:56:46 +0800 Subject: Cisco 2600 router and Telnet Message-ID: <131A385F21AAD311BD6400902763781D020DD4FF@Z8> Hey there, I wasn't sure if this is the best place to send this, but I thought id just see if there was anyone out there who had been involved with a similar issue. In a nutshell all my nagios runs sweet without to many problems. However, the only thing I've noticed, is I have a check on telnet on a Cisco 2600. This is what the check looks like. [checkcommands.cfg] # 'check_telnet' command definition define command{ command_name check_telnet command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 } [services.cfg] # Service definition define service{ use generic-service ; Name of service template to use host_name Cisco-2600 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!500.0,20%!700.0,60% } Now my only problem, is that every now and then telnet just dies, and I am unable to login to the router remotely. Now before I was doing nagios checks every so often, back when I didn't use nagios, telnet has NEVER died. I was just wondering, is it at all possible that maybe the telnet sessions aren't being established or closed off properly or something like that? If anyone has a better way to check the service as well id like to hear it. Thanks a lot. b r a d d u n n s y s t e m s a d m i n i s t r a t o r . . . pretzelLogic Ph: +61 8 9218 8588 Fax: +61 8 9218 8599 Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrajkumar_sysconf at hotmail.com Fri May 2 02:15:52 2003 From: rrajkumar_sysconf at hotmail.com (Rajkumar) Date: Thu, 1 May 2003 17:15:52 -0700 Subject: Apace problem 2 References: Message-ID: Hi Alias should be followed by Script Alias Thanks ----- Original Message ----- From: "Raj Mudhar" To: Sent: Monday, April 28, 2003 3:38 AM Subject: [Nagios-users] Apace problem 2 Hi i got rid of the 127.0.0.1 local host thing in the network settings and added my own ip an hostname. Anyway im typing http://128.243.101.47/nagios/cgi-bin/ and im now getting something a bit more hopeful and it says OBJECT NOT FOUND! The requested URL Was not found on this server check ur spelling try again. Error 404 128.243.101.47 (my ip this) thats the page it gives. what going on any ideas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri May 2 03:29:49 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 1 May 2003 20:29:49 -0500 Subject: Cisco 2600 router and Telnet Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDF28@mismail.ena.com> Cisco's have a limited number of VTY's available for interactive network sessions (5 I think). It seems to me that the router is waiting for the connection that Nagios is making to result in an actual login and not timing out properly if it doesn't. This isn't a Nagios specific issue as I'll bet that if you repeatedly telnet'd to the port and immediately dropped the connection a number of times you'd see the same behavior. If it were me I would either a) look at upgrading the current running IOS on that router to see if that corrected the issue or b) not do telnet checks as a telnet failure on a Cisco router is an exceedingly rare occurrence that doesn't usually affect any other services the router is providing. marc -----Original Message----- From: Brad Dunn [mailto:Brad at pretzel.com.au] Sent: Thursday, May 01, 2003 6:57 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Cisco 2600 router and Telnet Hey there, I wasn't sure if this is the best place to send this, but I thought id just see if there was anyone out there who had been involved with a similar issue. In a nutshell all my nagios runs sweet without to many problems. However, the only thing I've noticed, is I have a check on telnet on a Cisco 2600. This is what the check looks like. [checkcommands.cfg] # 'check_telnet' command definition define command{ command_name check_telnet command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 } [services.cfg] # Service definition define service{ use generic-service ; Name of service template to use host_name Cisco-2600 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!500.0,20%!700.0,60% } Now my only problem, is that every now and then telnet just dies, and I am unable to login to the router remotely. Now before I was doing nagios checks every so often, back when I didn't use nagios, telnet has NEVER died. I was just wondering, is it at all possible that maybe the telnet sessions aren't being established or closed off properly or something like that? If anyone has a better way to check the service as well id like to hear it. Thanks a lot. b r a d d u n n s y s t e m s a d m i n i s t r a t o r . . . pretzelLogic Ph: +61 8 9218 8588 Fax: +61 8 9218 8599 Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 2 03:48:46 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 2 May 2003 11:48:46 +1000 Subject: PDC and nagios In-Reply-To: <200305011625.16148@tg>; from thorstengiese@gmx.de on Thu, May 01, 2003 at 04:25:16PM +0200 References: <200305011625.16148@tg> Message-ID: <20030502114844.B48553@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, May 01, 2003 at 04:25:16PM +0200, Thorsten Giese wrote: > > Hello there. > > I was wondering how anyone monitors Primary Domain Controllers? What checks > can be done? > > > that as far as I know there is no _standard_ Nag plugin to do so. However, if you like to be a beta tester, you can join 2 others in using a plugin that tests a Microsoft domain by . locating DCs by simulating Win 98 DC discovery (by second class mailslot [broadcast] of the NETLOGON SMB) . connecting to the IPC$ share of one of those that answers (with the username and password options). This exercises the NETLOGON service. . reading the LAN Man logon script from that share . (optionally) acting on the logon script by extracting shares (NET USE statements) and issuing SMB connects to those shares. This plugin uses an as yet unpublished Perl Module (Net::SMB::Samba) that utilises the Samba client shared object (libsmb.so). You must have the Samba client library installed on the Nag host (however, you don't need smbclient for this plugin). Please let me know if you are interested, however, Unless you are either . patient . are experienced in installing code This plugin is unlikely to help you. Here's what the output looks like, tsitc> /usr/local/nagios/libexec/check_NT_logon Ok. 7 DCs responded [IPA04 IPOZ IPABETA IPA03 IPA02 IPA01 CBR1] to \MAILSLOT\NET\NETLOGON. "IPA04" validated "stan1". Lanman logon script "\kixtart\kickstart.bat". Connected to "\\IPA04\IMES_DATA \\IPA01\Apps32 \\IPA04\SMALLSYSTEM \\ipa04\static \\IPA04\Apps16 \\IPA04\ITSBUILTAPPS ". tsitc> Of course, it won't reliably pick up failures such as . SAM replication fault . NETLOGON service not running on a domain controller (since it picks one randomly as clients do). And it doesn't do DC location using an AD lookup (yet). Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrajkumar_sysconf at hotmail.com Fri May 2 04:21:20 2003 From: rrajkumar_sysconf at hotmail.com (Apollo) Date: Thu, 1 May 2003 19:21:20 -0700 Subject: Error while starting the nagios Message-ID: Hi All I have installed and configured the nagios on RH8.But while starting the nagios server ,i am getting the follwing error. "Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere".I think the nagios.cfg and cgi.cfg is not configured properly.If i give http://localhost/nagios on my browser,then i am getting Error: Could not read host and service status information! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasmine.chua at securecirt.com Fri May 2 04:18:56 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 2 May 2003 10:18:56 +0800 Subject: Host Dependancy In-Reply-To: <20030501130546.6d87d5dc.Billt@Mahagonny.com> References: <20030501130546.6d87d5dc.Billt@Mahagonny.com> Message-ID: <200305021019.00495.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello You can try using the `parents option` in your host template setting it to the name of your switch. If still unsure, try to take a look at: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html :-) On Friday 02 May 2003 04:05, Bill Thompson wrote: > Hello, > > I'm having an issue with host dependencies. I have set-up a test system > running an FTP server behind a switch. I have set-up monitoring for the > switch and the server, and then created a service dependency for the FTP > service and a host dependency for the server itself. If the switch is down > notifications for the FTP system are suppressed, but checks are allowed > through (I want them to show as down on the status page). > > However when I shut down the switch the service notification is > suppressed, but the host notification goes through. It is also interesting > to note that the host notification always comes through before > notification of the switch being down. This leads me to believe that the > host for the FTP server is simply timing out before the switch, but I > can't seem to adjust the polling time to make sure that the switch is > queued before the FTP host. > > Has anyone run into this before? Please tell me I am missing something > obvious. - -- Jasmine Chua "Without change, something sleeps inside us, and seldom awakens. The sleeper must be awaken." -- Duke Leto Atreides -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+sdWTNgvTa7Hj2AURAsaMAKCCYYNpWGqSzfXpnogQJc0D+gz+sQCfd7By yrSHKu3GzqGUT8I0IWS/4bA= =PjNI -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri May 2 04:56:17 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 1 May 2003 21:56:17 -0500 Subject: Error while starting the nagios Message-ID: <5DB017510818EC468B05BD7BD9EACF83029F296C@mismail.ena.com> You need to define the the dependent service for service Website #2 on host nt1. I actually seem to think that nt1 is one of the hosts defined in the demo config files. If that's the case then you need to edit the default configuration files to better reflect the hosts and services for your site. -- Marc -----Original Message----- From: Apollo [mailto:rrajkumar_sysconf at hotmail.com] Sent: Thu 5/1/2003 9:21 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Error while starting the nagios Hi All I have installed and configured the nagios on RH8.But while starting the nagios server ,i am getting the follwing error. "Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere".I think the nagios.cfg and cgi.cfg is not configured properly.If i give http://localhost/nagios on my browser,then i am getting Error: Could not read host and service status information! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri May 2 05:00:48 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 1 May 2003 22:00:48 -0500 Subject: Cisco 2600 router and Telnet Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDF29@mismail.ena.com> Under what circumstances wouldn't a ping check be sufficient for the same purpose? I'm monitoring over 1700 routers in this manner and it's been accurate for over a year. -- Marc -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Thursday, May 01, 2003 9:57 PM To: Marc Powell; Brad Dunn; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Cisco 2600 router and Telnet ahh, but what if one is doing telnet checks to establish reachability of the device instead of ping checking.... hmmm. catch 22. ----- Original Message ----- From: "Marc Powell" To: "Brad Dunn" ; Sent: Friday, May 02, 2003 1:29 PM Subject: RE: [Nagios-users] Cisco 2600 router and Telnet > Cisco's have a limited number of VTY's available for interactive network > sessions (5 I think). It seems to me that the router is waiting for the > connection that Nagios is making to result in an actual login and not > timing out properly if it doesn't. This isn't a Nagios specific issue as > I'll bet that if you repeatedly telnet'd to the port and immediately > dropped the connection a number of times you'd see the same behavior. If > it were me I would either a) look at upgrading the current running IOS > on that router to see if that corrected the issue or b) not do telnet > checks as a telnet failure on a Cisco router is an exceedingly rare > occurrence that doesn't usually affect any other services the router is > providing. > > marc > > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Thursday, May 01, 2003 6:57 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Cisco 2600 router and Telnet > > Hey there, I wasn't sure if this is the best place to send this, but I > thought id just see if there was anyone out there who had been involved > with > a similar issue. > > In a nutshell all my nagios runs sweet without to many problems. > However, > the only thing I've noticed, is I have a check on telnet on a Cisco > 2600. > > This is what the check looks like. > > [checkcommands.cfg] > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > > [services.cfg] > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name Cisco-2600 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!700.0,60% > } > > > Now my only problem, is that every now and then telnet just dies, and I > am > unable to login to the router remotely. Now before I was doing nagios > checks > every so often, back when I didn't use nagios, telnet has NEVER died. I > was > just wondering, is it at all possible that maybe the telnet sessions > aren't > being established or closed off properly or something like that? > > If anyone has a better way to check the service as well id like to hear > it. > > Thanks a lot. > > b r a d d u n n > s y s t e m s a d m i n i s t r a t o r > . . . > > pretzelLogic > Ph: +61 8 9218 8588 > Fax: +61 8 9218 8599 > Lvl 9 256 adelaide tce perth wa 6000 > http://www.pretzel.com.au > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri May 2 04:57:22 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 2 May 2003 14:57:22 +1200 Subject: Cisco 2600 router and Telnet References: <5DB017510818EC468B05BD7BD9EACF83030EDF28@mismail.ena.com> Message-ID: <004801c31056$927b4590$b58031ca@bcl977307> ahh, but what if one is doing telnet checks to establish reachability of the device instead of ping checking.... hmmm. catch 22. ----- Original Message ----- From: "Marc Powell" To: "Brad Dunn" ; Sent: Friday, May 02, 2003 1:29 PM Subject: RE: [Nagios-users] Cisco 2600 router and Telnet > Cisco's have a limited number of VTY's available for interactive network > sessions (5 I think). It seems to me that the router is waiting for the > connection that Nagios is making to result in an actual login and not > timing out properly if it doesn't. This isn't a Nagios specific issue as > I'll bet that if you repeatedly telnet'd to the port and immediately > dropped the connection a number of times you'd see the same behavior. If > it were me I would either a) look at upgrading the current running IOS > on that router to see if that corrected the issue or b) not do telnet > checks as a telnet failure on a Cisco router is an exceedingly rare > occurrence that doesn't usually affect any other services the router is > providing. > > marc > > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Thursday, May 01, 2003 6:57 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Cisco 2600 router and Telnet > > Hey there, I wasn't sure if this is the best place to send this, but I > thought id just see if there was anyone out there who had been involved > with > a similar issue. > > In a nutshell all my nagios runs sweet without to many problems. > However, > the only thing I've noticed, is I have a check on telnet on a Cisco > 2600. > > This is what the check looks like. > > [checkcommands.cfg] > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > > [services.cfg] > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name Cisco-2600 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!700.0,60% > } > > > Now my only problem, is that every now and then telnet just dies, and I > am > unable to login to the router remotely. Now before I was doing nagios > checks > every so often, back when I didn't use nagios, telnet has NEVER died. I > was > just wondering, is it at all possible that maybe the telnet sessions > aren't > being established or closed off properly or something like that? > > If anyone has a better way to check the service as well id like to hear > it. > > Thanks a lot. > > b r a d d u n n > s y s t e m s a d m i n i s t r a t o r > . . . > > pretzelLogic > Ph: +61 8 9218 8588 > Fax: +61 8 9218 8599 > Lvl 9 256 adelaide tce perth wa 6000 > http://www.pretzel.com.au > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Fri May 2 05:08:26 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Fri, 2 May 2003 11:08:26 +0800 Subject: Cisco 2600 router and Telnet Message-ID: <131A385F21AAD311BD6400902763781D020DD515@Z8> Just so we all don't get into a "Why on Earth do u worry about Telnet on a 2600 router", Telnet is extreamly important for some scripted tools and things, but in a nut shell it needs to work. I imagine there are places even where manual ACL updates happen every day, and if telnet dies, and your router is like interstate or something, it might cause some problems :D. b r a d d u n n s y s t e m s a d m i n i s t r a t o r . . . pretzelLogic Ph: +61 8 9218 8588 Fax: +61 8 9218 8599 Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Friday, 2 May 2003 10:57 AM To: Marc Powell; Brad Dunn; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Cisco 2600 router and Telnet ahh, but what if one is doing telnet checks to establish reachability of the device instead of ping checking.... hmmm. catch 22. ----- Original Message ----- From: "Marc Powell" To: "Brad Dunn" ; Sent: Friday, May 02, 2003 1:29 PM Subject: RE: [Nagios-users] Cisco 2600 router and Telnet > Cisco's have a limited number of VTY's available for interactive > network sessions (5 I think). It seems to me that the router is > waiting for the connection that Nagios is making to result in an > actual login and not timing out properly if it doesn't. This isn't a > Nagios specific issue as I'll bet that if you repeatedly telnet'd to > the port and immediately dropped the connection a number of times > you'd see the same behavior. If it were me I would either a) look at > upgrading the current running IOS on that router to see if that > corrected the issue or b) not do telnet checks as a telnet failure on > a Cisco router is an exceedingly rare occurrence that doesn't usually > affect any other services the router is providing. > > marc > > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Thursday, May 01, 2003 6:57 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Cisco 2600 router and Telnet > > Hey there, I wasn't sure if this is the best place to send this, but I > thought id just see if there was anyone out there who had been > involved with a similar issue. > > In a nutshell all my nagios runs sweet without to many problems. > However, the only thing I've noticed, is I have a check on telnet on a > Cisco 2600. > > This is what the check looks like. > > [checkcommands.cfg] > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > > [services.cfg] > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name Cisco-2600 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!700.0,60% > } > > > Now my only problem, is that every now and then telnet just dies, and > I am unable to login to the router remotely. Now before I was doing > nagios checks > every so often, back when I didn't use nagios, telnet has NEVER died. I > was > just wondering, is it at all possible that maybe the telnet sessions > aren't > being established or closed off properly or something like that? > > If anyone has a better way to check the service as well id like to > hear it. > > Thanks a lot. > > b r a d d u n n > s y s t e m s a d m i n i s t r a t o r > . . . > > pretzelLogic > Ph: +61 8 9218 8588 > Fax: +61 8 9218 8599 > Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Fri May 2 05:53:07 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Fri, 2 May 2003 11:53:07 +0800 Subject: Cisco 2600 router and Telnet Message-ID: <131A385F21AAD311BD6400902763781D020DD51B@Z8> If you were saying Blocking ALL ICMP in the middle of two routers, this would be an instance where it might not apply. Anyway I don't think we all need to worry about the ways people check things to much, as everyone tends to have different drives and objectives in monitoring stuff. b r a d d u n n s y s t e m s a d m i n i s t r a t o r . . . pretzelLogic Ph: +61 8 9218 8588 Fax: +61 8 9218 8599 Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, 2 May 2003 11:01 AM To: Jamie Baddeley; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Cisco 2600 router and Telnet Under what circumstances wouldn't a ping check be sufficient for the same purpose? I'm monitoring over 1700 routers in this manner and it's been accurate for over a year. -- Marc -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Thursday, May 01, 2003 9:57 PM To: Marc Powell; Brad Dunn; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Cisco 2600 router and Telnet ahh, but what if one is doing telnet checks to establish reachability of the device instead of ping checking.... hmmm. catch 22. ----- Original Message ----- From: "Marc Powell" To: "Brad Dunn" ; Sent: Friday, May 02, 2003 1:29 PM Subject: RE: [Nagios-users] Cisco 2600 router and Telnet > Cisco's have a limited number of VTY's available for interactive network > sessions (5 I think). It seems to me that the router is waiting for the > connection that Nagios is making to result in an actual login and not > timing out properly if it doesn't. This isn't a Nagios specific issue as > I'll bet that if you repeatedly telnet'd to the port and immediately > dropped the connection a number of times you'd see the same behavior. If > it were me I would either a) look at upgrading the current running IOS > on that router to see if that corrected the issue or b) not do telnet > checks as a telnet failure on a Cisco router is an exceedingly rare > occurrence that doesn't usually affect any other services the router is > providing. > > marc > > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Thursday, May 01, 2003 6:57 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Cisco 2600 router and Telnet > > Hey there, I wasn't sure if this is the best place to send this, but I > thought id just see if there was anyone out there who had been involved > with > a similar issue. > > In a nutshell all my nagios runs sweet without to many problems. > However, the only thing I've noticed, is I have a check on telnet on a > Cisco 2600. > > This is what the check looks like. > > [checkcommands.cfg] > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > > [services.cfg] > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name Cisco-2600 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!700.0,60% > } > > > Now my only problem, is that every now and then telnet just dies, and I > am > unable to login to the router remotely. Now before I was doing nagios > checks every so often, back when I didn't use nagios, telnet has NEVER > died. I > was > just wondering, is it at all possible that maybe the telnet sessions > aren't being established or closed off properly or something like > that? > > If anyone has a better way to check the service as well id like to hear > it. > > Thanks a lot. > > b r a d d u n n > s y s t e m s a d m i n i s t r a t o r > . . . > > pretzelLogic > Ph: +61 8 9218 8588 > Fax: +61 8 9218 8599 > Lvl 9 256 adelaide tce perth wa 6000 http://www.pretzel.com.au > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 2 05:54:36 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 2 May 2003 13:54:36 +1000 Subject: Cisco 2600 router and Telnet In-Reply-To: <131A385F21AAD311BD6400902763781D020DD515@Z8>; from Brad@pretzel.com.au on Fri, May 02, 2003 at 11:08:26AM +0800 References: <131A385F21AAD311BD6400902763781D020DD515@Z8> Message-ID: <20030502135435.D48553@IPAustralia.Gov.AU> Dear Sir, On Fri, May 02, 2003 at 11:08:26AM +0800, Brad Dunn wrote: > Just so we all don't get into a "Why on Earth do u worry about Telnet on a > 2600 router", Telnet is extreamly important for some scripted tools and > things, but in a nut shell it needs to work. I imagine there are places even > where manual ACL updates happen every day, and if telnet dies, and your > router is like interstate or something, it might cause some problems :D. > Thanks for explaining the need for Telnet on a router. Would a terminal server (eg the Linux Cyclades model) with a console connection to the router be an improvement (maybe with a modem on the TS). Probably not because it would break your automated tools. I have neever seen Telnet fail on a Cisco router (provided the router is reachable). Does the router log any messages about the failure ? Would torture testing it with Expect or Net::Telnet be a way of getting more info on the failure ? debug tcp on the router etc ? Do protocol traces (have tcpdump writing to file and capturing all the router telnet traffic) show any abnormalities ? The only thing to fail in Telnet is option negotiation. What are you using to check Telnet ? check_tcp -H -p 23 ? Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.hertrick at neovera.com Fri May 2 06:12:38 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Fri, 2 May 2003 14:12:38 +1000 Subject: Cisco 2600 router and Telnet References: <5DB017510818EC468B05BD7BD9EACF83030EDF28@mismail.ena.com> Message-ID: <00f501c31065$50fe99f0$8e0ca8c0@monster> Try setting a short idle timeout for telnet sessions (much less than your service check interval). Some versions of the IOS, if not all, do not timeout telnet sessions by default. line vty 0 4 session-timeout 1 Sets the timeout to 1 minute. ~Mike. ----- Original Message ----- From: "Marc Powell" To: "Brad Dunn" ; Sent: Friday, May 02, 2003 11:29 AM Subject: RE: [Nagios-users] Cisco 2600 router and Telnet > Cisco's have a limited number of VTY's available for interactive network > sessions (5 I think). It seems to me that the router is waiting for the > connection that Nagios is making to result in an actual login and not > timing out properly if it doesn't. This isn't a Nagios specific issue as > I'll bet that if you repeatedly telnet'd to the port and immediately > dropped the connection a number of times you'd see the same behavior. If > it were me I would either a) look at upgrading the current running IOS > on that router to see if that corrected the issue or b) not do telnet > checks as a telnet failure on a Cisco router is an exceedingly rare > occurrence that doesn't usually affect any other services the router is > providing. > > marc > > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Thursday, May 01, 2003 6:57 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Cisco 2600 router and Telnet > > Hey there, I wasn't sure if this is the best place to send this, but I > thought id just see if there was anyone out there who had been involved > with > a similar issue. > > In a nutshell all my nagios runs sweet without to many problems. > However, > the only thing I've noticed, is I have a check on telnet on a Cisco > 2600. > > This is what the check looks like. > > [checkcommands.cfg] > # 'check_telnet' command definition > define command{ > command_name check_telnet > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 > } > > > [services.cfg] > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name Cisco-2600 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!700.0,60% > } > > > Now my only problem, is that every now and then telnet just dies, and I > am > unable to login to the router remotely. Now before I was doing nagios > checks > every so often, back when I didn't use nagios, telnet has NEVER died. I > was > just wondering, is it at all possible that maybe the telnet sessions > aren't > being established or closed off properly or something like that? > > If anyone has a better way to check the service as well id like to hear > it. > > Thanks a lot. > > b r a d d u n n > s y s t e m s a d m i n i s t r a t o r > . . . > > pretzelLogic > Ph: +61 8 9218 8588 > Fax: +61 8 9218 8599 > Lvl 9 256 adelaide tce perth wa 6000 > http://www.pretzel.com.au > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrajkumar_sysconf at hotmail.com Fri May 2 07:07:58 2003 From: rrajkumar_sysconf at hotmail.com (Apollo) Date: Thu, 1 May 2003 22:07:58 -0700 Subject: Error while starting the nagios References: <5DB017510818EC468B05BD7BD9EACF83029F296C@mismail.ena.com> Message-ID: Hi Marc Thanks for your reply. My problem is i dont know how to create the default config file.After installing the nagios i am trying to start the server and got the error.I havent install the client program like nrpe.I have gone through all the document and didnt find any answer about creating the config file in etc foldel.(I have only all the sample config file).I think if i create the config file properly then i can move to next steps like installing client softwares.. Thanks Apollo ----- Original Message ----- From: Marc Powell To: Apollo ; nagios-users at lists.sourceforge.net Sent: Thursday, May 01, 2003 7:56 PM Subject: RE: [Nagios-users] Error while starting the nagios You need to define the the dependent service for service Website #2 on host nt1. I actually seem to think that nt1 is one of the hosts defined in the demo config files. If that's the case then you need to edit the default configuration files to better reflect the hosts and services for your site. -- Marc -----Original Message----- From: Apollo [mailto:rrajkumar_sysconf at hotmail.com] Sent: Thu 5/1/2003 9:21 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Error while starting the nagios Hi All I have installed and configured the nagios on RH8.But while starting the nagios server ,i am getting the follwing error. "Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere".I think the nagios.cfg and cgi.cfg is not configured properly.If i give http://localhost/nagios on my browser,then i am getting Error: Could not read host and service status information! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From rrajkumar_sysconf at hotmail.com Fri May 2 07:05:53 2003 From: rrajkumar_sysconf at hotmail.com (Apollo) Date: Thu, 1 May 2003 22:05:53 -0700 Subject: Error while starting the nagios References: <5DB017510818EC468B05BD7BD9EACF83029F296C@mismail.ena.com> Message-ID: Hi Marc Thanks for your reply. My problem is i dont know how to create the default config file.After installing the nagios i am trying to start the server and got the error.I havent install the client program like nrpe.I have gone through all the document and didnt find any answer about creating the config file in etc foldel.(I have only all the sample config file).I think if i create the config file properly then i can move to next steps like installing client softwares.. Thanks Apollo ----- Original Message ----- From: Marc Powell To: Apollo ; nagios-users at lists.sourceforge.net Sent: Thursday, May 01, 2003 7:56 PM Subject: RE: [Nagios-users] Error while starting the nagios You need to define the the dependent service for service Website #2 on host nt1. I actually seem to think that nt1 is one of the hosts defined in the demo config files. If that's the case then you need to edit the default configuration files to better reflect the hosts and services for your site. -- Marc -----Original Message----- From: Apollo [mailto:rrajkumar_sysconf at hotmail.com] Sent: Thu 5/1/2003 9:21 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Error while starting the nagios Hi All I have installed and configured the nagios on RH8.But while starting the nagios server ,i am getting the follwing error. "Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere".I think the nagios.cfg and cgi.cfg is not configured properly.If i give http://localhost/nagios on my browser,then i am getting Error: Could not read host and service status information! Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From cramer at dolphins.ch Fri May 2 08:05:28 2003 From: cramer at dolphins.ch (Matthias Cramer) Date: Fri, 2 May 2003 08:05:28 +0200 Subject: Cisco 2600 router and Telnet In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83030EDF28@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83030EDF28@mismail.ena.com> Message-ID: <20030502080528.6b3a0dc1.cramer@dolphins.ch> On Thu, 1 May 2003 20:29:49 -0500 "Marc Powell" wrote: > Cisco's have a limited number of VTY's available for interactive network > sessions (5 I think). It seems to me that the router is waiting for the > connection that Nagios is making to result in an actual login and not > timing out properly if it doesn't. This isn't a Nagios specific issue as > I'll bet that if you repeatedly telnet'd to the port and immediately > dropped the connection a number of times you'd see the same behavior. If > it were me I would either a) look at upgrading the current running IOS > on that router to see if that corrected the issue or b) not do telnet > checks as a telnet failure on a Cisco router is an exceedingly rare > occurrence that doesn't usually affect any other services the router is > providing. or solution c) write your own telnet check plugin in perl with Net::Telnet::Cisco, this way you even can check authentication .... Best regards Matthias -- _;\_ Matthias Cramer System & Network Manager /_. \ Dolphins Network Systems AG Phone +41-1-847'45'45 |/ -\ .) Libernstrasse 24 Fax +41-1-847'45'49 -'^`- \; CH-8112 Otelfingen http://www.dolphins.ch/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d- s+: a- C+++ UL++++ P+++ L+++ E- W+++ N++ o K- w--- O- M+ V+++ PS PE++ Y+ PGP++ t++ 5- X+ R tv+ b+ DI++ D+ G++ e h r- y+ ------END GEEK CODE BLOCK------ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From theo at hollenberg.biz Fri May 2 08:32:14 2003 From: theo at hollenberg.biz (Theo Hollenberg) Date: Fri, 2 May 2003 08:32:14 +0200 Subject: Error while starting nagios In-Reply-To: References: Message-ID: <003701c31074$929ba330$0200a8c0@keybridgeams.keybridge.com> Ladies/Gents, This server used to be a happy chappy, gently buzzing away running nagios and all of a sudden it stopped. Now, whatever I try I get this: [root at brain root]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log [root at brain root]# What is happening here, where did I go wrong? Kind regards, Theo Hollenberg Data Center Manager Global Switch Amsterdam Tel. +31 (0)20 6666 375 Fax. +31 (0)20 6666 395 Mob. +31 (0)6 2219 6915 Email. thollenberg at globalswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pascal.renaut at electricite-strasbourg.fr Fri May 2 09:06:40 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Fri, 2 May 2003 09:06:40 +0200 Subject: Am I danned ? Message-ID: Hello everyone, I receive the mails of the nagios-users list but I don't see the answers I send... Why ? .................................................................................................... Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : pascal.renaut at electricite-strasbourg.fr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.loew at steyr-ssf.com Fri May 2 09:22:27 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Fri, 2 May 2003 09:22:27 +0200 Subject: LDAP and Win2003 In-Reply-To: <200305011623.51421@tg> References: <200305011623.51421@tg> Message-ID: <20030502072226.GA16234@steyr-ssf.com> On Thu, May 01, 2003 at 04:23:51PM +0200, Thorsten Giese wrote: > I used the check_ldap plugin to chekc some Active Directory Servers within a > Win2000Server. Now, Win2003 does not allow anonymous LDAP anymore, any hints > how to solve this? create a user with password for nagios in the ADS and use the -D and -P parameters i.e. check_ldap -H dc.dom.org -b "dc=dom,dc=org" -D "cn=nagios,cn=users,dc=dom,dc=org" -P nagiospwd (not tested - no W2k3 available) Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri May 2 09:53:29 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 2 May 2003 09:53:29 +0200 Subject: Am I danned ? In-Reply-To: References: Message-ID: <200305020953.29541.Michael.Huettig@Medien-Systempartner.de> Am Freitag, 2. Mai 2003 09:06 schrieb Pascal RENAUT/GROUPE-ES: > Hello everyone, > > I receive the mails of the nagios-users list but I don't see the answers I > send... Why ? You have to reply to all ... > ........................................................................... >......................... Pascal RENAUT / D?partement Ing?nierie R?seaux > (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 > T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : > pascal.renaut at electricite-strasbourg.fr > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Mit freundlichem Gru? Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri May 2 09:52:23 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 2 May 2003 09:52:23 +0200 Subject: Error while starting nagios In-Reply-To: <003701c31074$929ba330$0200a8c0@keybridgeams.keybridge.com> References: <003701c31074$929ba330$0200a8c0@keybridgeams.keybridge.com> Message-ID: <200305020952.23606.Michael.Huettig@Medien-Systempartner.de> Am Freitag, 2. Mai 2003 08:32 schrieb Theo Hollenberg: > Ladies/Gents, > > This server used to be a happy chappy, gently buzzing away running > nagios and all of a sudden it stopped. Now, whatever I try I get this: > > [root at brain root]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log > [root at brain root]# > > What is happening here, where did I go wrong? Hi Theo, mostly you got this problem, if user nagios has no permission to write the status.log-file. This happened when you start nagios as root, file would be created as root, shutting down nagios and starting with rc-script would start a the defined user of your compiling-options... -- Mit freundlichem Gru? > > Kind regards, > > Theo Hollenberg > Data Center Manager > Global Switch Amsterdam > Tel. +31 (0)20 6666 375 > Fax. +31 (0)20 6666 395 > Mob. +31 (0)6 2219 6915 > Email. thollenberg at globalswitch.com Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri May 2 11:15:45 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 02 May 2003 11:15:45 +0200 Subject: Am I danned ? References: <200305020953.29541.Michael.Huettig@Medien-Systempartner.de> Message-ID: <3EB23741.906@datavis.se> I've had the same problem the last few days. When I sent a message to the list I got a message back from 'System Administrator' with this content: Your message To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp and timeout] Sent: Wed, 30 Apr 2003 14:29:45 +0200 did not reach the following recipient(s): nagios-users at lists.sourceforge.net on Wed, 30 Apr 2003 15:40:55 +0200 The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address. /FredrikW Michael H?ttig wrote: >Am Freitag, 2. Mai 2003 09:06 schrieb Pascal RENAUT/GROUPE-ES: > > >>Hello everyone, >> >>I receive the mails of the nagios-users list but I don't see the answers I >>send... Why ? >> >> > >You have to reply to all ... > > > >>........................................................................... >>......................... Pascal RENAUT / D?partement Ing?nierie R?seaux >>(I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 >>T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : >>pascal.renaut at electricite-strasbourg.fr >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>::: Please include Nagios version, plugin version (-v) and OS when >>::: reporting any issue. Messages without supporting info will risk being >>::: sent to /dev/null >> >> > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri May 2 12:41:57 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 2 May 2003 12:41:57 +0200 Subject: Am I danned ? In-Reply-To: <3EB23741.906@datavis.se> References: <200305020953.29541.Michael.Huettig@Medien-Systempartner.de> <3EB23741.906@datavis.se> Message-ID: <200305021241.57627.Michael.Huettig@Medien-Systempartner.de> Am Freitag, 2. Mai 2003 11:15 schrieb Fredrik W?nglund: > I've had the same problem the last few days. When I sent a message to > the list I got > a message back from 'System Administrator' with this content: > > Your message > > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp and timeout] > Sent: Wed, 30 Apr 2003 14:29:45 +0200 > > did not reach the following recipient(s): > > nagios-users at lists.sourceforge.net on Wed, 30 Apr 2003 15:40:55 +0200 > The e-mail account does not exist at the organization this message > was sent to. Check the e-mail address, or contact the recipient > directly to find out the correct address. > > > /FredrikW > Yes, i also received this message, but my reply goes to the userlist. I think, there was a problem on some host of a specific user with mailing (Sorry, deleted my error-messages). The orgin mail-server of nagios-userlist is not the problem. > Michael H?ttig wrote: > >Am Freitag, 2. Mai 2003 09:06 schrieb Pascal RENAUT/GROUPE-ES: > >>Hello everyone, > >> > >>I receive the mails of the nagios-users list but I don't see the answers > >> I send... Why ? > > > >You have to reply to all ... > > > >>......................................................................... > >>.. ......................... Pascal RENAUT / D?partement Ing?nierie > >> R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg > >> Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : > >>pascal.renaut at electricite-strasbourg.fr > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>::: Please include Nagios version, plugin version (-v) and OS when > >>::: reporting any issue. Messages without supporting info will risk being > >>::: sent to /dev/null > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Mit freundlichem Gru? Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Hanssen at baerum.kommune.no Fri May 2 12:53:35 2003 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Fri, 02 May 2003 12:53:35 +0200 Subject: check_nwstat - missing feature ? Message-ID: I am monitoring several NW servers with Nagios, but i cant seem to find one vital function.... And that is to check that a specific NLM is loaded. I have read through the documentation on MRTGEXT by James Drews (http://www.engr.wisc.edu/~drews/mrtg/ which btw has moved to http://forge.novell.com/modules/xfmod/project/?mrtgext) and his plugin is able to deliver this information. But it seems the option is missing from check_nwstat. If this is correct i would very much like to see this feature in a new release of check_nwstat. If it is there, then could someone please explain to me how i use it? Best Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msmith at mbasys.co.uk Fri May 2 13:50:45 2003 From: msmith at mbasys.co.uk (mpasmith) Date: 2 May 2003 11:50:45 -0000 Subject: Memory check on Solaris 8 Message-ID: <20030502115045.10440.qmail@pod-163.dolphin-server.co.uk> Hello, I have been searching but I have not found anything. Please can someone tell me if they have created a memory check for Solaris 8? I am using currently using Nagios 1.0b6 and NRPE Version: 1.2.5 Thank in advance Mike Smith ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maiasperez at hotmail.com Fri May 2 14:06:10 2003 From: maiasperez at hotmail.com (Maica Asperez) Date: Fri, 02 May 2003 12:06:10 +0000 Subject: Acknowledge Message-ID: Hello, Can somebody say me if a host is acknowleged, yours services and/or the dependent hosts can be acknowleged? I am using Nagios 1.0 and NRPE Version: 1.8 Thank you _________________________________________________________________ Inf?rmate sobre las ?ltimas noticias en MSN Actualidad. http://www.msn.es/Actualidad/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri May 2 16:07:59 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 2 May 2003 15:07:59 +0100 Subject: Single check script to monitor multiple processes Message-ID: <01e601c310b4$3d028980$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Hi all, I had an idea of something I wanted to do based on experience of using another system management tool. I thought of using one script to monitor multiple important processes rather than having individual checks. For instance, if I have a server that runs an mta, dns, radius and a web server my critical processes might be sendmail, named, radiusd and httpd. The check could look for the presence of all important processes and report if one or more were not running, perhaps returning a list of the failed ones in a message. Thinking that this might have been done before I started to look through the plugins but cannot find anything that seems to do this. Is this because such a thing doesn't exist? Is this because its an especially bad idea with Nagios? I can see why one wouldn't want to do this as, for instance, individual checks allow actions to be taken for different processes. However, it seems more efficient to check whether a group of processes is not working rather than putting in place individual checks. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Fri May 2 16:30:17 2003 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 02 May 2003 10:30:17 -0400 Subject: SNMP and freshness checks References: <20030501174203.12079.qmail@web20418.mail.yahoo.com> Message-ID: <3EB280F9.2060108@quadrix.com> Yes, the $HOSTNAME$ and $SERVICEDESC$ macros. The check_command follows the normal service check command format, even though it is only triggered by freshness. Define it in your configs to use those macros. Russell Scibetti Gareth Hash wrote: >Hello. > >I am receiving SNMP traps in passive mode every few minutes. >According to the manual, I could use check_freshness to make sure the >traps are being received at the correct time. In the case that it is >not, I would like to change the status of the host and service on the >Nagios display. > >My understanding is that the check_command script is executed when >the freshness is "stale". Is there a way to pass the host name and >service description to this script so I could send it back to the >external command file for the status to change on the Service Detail >display for the host and service in question? > >Thank you. > >__________________________________ >Do you Yahoo!? >The New Yahoo! Search - Faster. Easier. Bingo. >http://search.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 >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maiasperez at hotmail.com Fri May 2 17:30:48 2003 From: maiasperez at hotmail.com (mayka) Date: 2 May 2003 15:30:48 -0000 Subject: Acknowledge Message-ID: <20030502153048.22248.qmail@pod-163.dolphin-server.co.uk> Hello, Can somebody say me if a host is acknowleged, yours services and/or the dependent hosts can be acknowleged? I use Nagios 1.0 and NRPE 1.8 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CabreraN at southcom.disa.mil Fri May 2 17:53:55 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Sat, 3 May 2003 00:53:55 +0900 Subject: Problem Logging in Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193F0E@emsmia1.southcom.disa.mil> Hi, I'm just recently installed Nagios 1.0 on RH 8 and am attempting to get it off the ground. I've configured authentication on the sbin directory using .htaccess file. The problem I'm having is that when I attempt to click on one of the monitoring links and attempt to log on, it just continues to bring up the log on screen. Not sure if more information is needed so let me know if it is. Thanks very much in advance. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Fri May 2 18:26:39 2003 From: casperez at cesga.es (casperez) Date: 2 May 2003 16:26:39 -0000 Subject: Acknowledge Message-ID: <20030502162639.1042.qmail@pod-163.dolphin-server.co.uk> Hello, Can somebody say me if a host is acknowleged, yours services and/or the dependent hosts can be acknowleged? I am useing Nagios 1.0 and NRPE 1.8 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 2 18:52:17 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 2 May 2003 11:52:17 -0500 Subject: Memory check on Solaris 8 Message-ID: check_swap works well for me on Sol8. jc > -----Original Message----- > From: mpasmith [mailto:msmith at mbasys.co.uk] > Sent: Friday, May 02, 2003 6:51 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Memory check on Solaris 8 > > > > Hello, > > I have been searching but I have not found anything. > > Please can someone tell me if they have created a memory > check for Solaris 8? > > I am using currently using > > Nagios 1.0b6 > > and NRPE Version: 1.2.5 > > > > Thank in advance > > Mike Smith > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 2 19:03:51 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 2 May 2003 12:03:51 -0500 Subject: Single check script to monitor multiple processes Message-ID: It's not currently being done. Well, there might be one exception to this, depending on how you define your requirements. The check_disk command will by default check all the partitions on a given host. However: - the OK/warn/crit will only tell you about 1 partition going warn/crit - the length of the string is limited to something like 1K (which is a POSIX limitation, apparently) The 1K of informational data is typically reported in a single row; someone recently suggested embedding HTML to format it (which of course would contribute to the usage of the 1K). In summary, there are no plugins which do exactly what you're asking, and if you wrote your own, don't be surprised if the voluminous output you're hoping to retrieve gets truncated. jc > -----Original Message----- > From: Jim Mozley [mailto:jim.mozley at exponential-e.com] > Sent: Friday, May 02, 2003 9:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Single check script to monitor multiple > processes > > > *This message was transferred with a trial version of > CommuniGate(tm) Pro* > Hi all, > > I had an idea of something I wanted to do based on experience of using > another system management tool. I thought of using one script > to monitor > multiple important processes rather than having individual checks. > > For instance, if I have a server that runs an mta, dns, > radius and a web > server my critical processes might be sendmail, named, > radiusd and httpd. > The check could look for the presence of all important > processes and report > if one or more were not running, perhaps returning a list of > the failed ones > in a message. > > Thinking that this might have been done before I started to > look through the > plugins but cannot find anything that seems to do this. > > Is this because such a thing doesn't exist? > > Is this because its an especially bad idea with Nagios? > > I can see why one wouldn't want to do this as, for instance, > individual > checks allow actions to be taken for different processes. > However, it seems > more efficient to check whether a group of processes is not > working rather > than putting in place individual checks. > > Jim > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 2 19:06:17 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 2 May 2003 12:06:17 -0500 Subject: Single check script to monitor multiple processes Message-ID: My bad. I seem to recall someone has written a variation on the check_by_ssh plugin which kinda sorta does what you're looking for (without the verbose output). Details escape me. jc > -----Original Message----- > From: Jim Mozley [mailto:jim.mozley at exponential-e.com] > Sent: Friday, May 02, 2003 9:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Single check script to monitor multiple > processes > > > *This message was transferred with a trial version of > CommuniGate(tm) Pro* > Hi all, > > I had an idea of something I wanted to do based on experience of using > another system management tool. I thought of using one script > to monitor > multiple important processes rather than having individual checks. > > For instance, if I have a server that runs an mta, dns, > radius and a web > server my critical processes might be sendmail, named, > radiusd and httpd. > The check could look for the presence of all important > processes and report > if one or more were not running, perhaps returning a list of > the failed ones > in a message. > > Thinking that this might have been done before I started to > look through the > plugins but cannot find anything that seems to do this. > > Is this because such a thing doesn't exist? > > Is this because its an especially bad idea with Nagios? > > I can see why one wouldn't want to do this as, for instance, > individual > checks allow actions to be taken for different processes. > However, it seems > more efficient to check whether a group of processes is not > working rather > than putting in place individual checks. > > Jim > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 2 19:09:49 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 2 May 2003 12:09:49 -0500 Subject: Acknowledge Message-ID: Please only post your question to the list once, not thrice. If a host is down, you should only be getting host notifications. If you're also getting service notifications for that host, something is misconfigured. If that host has depended-on services, then once those services become unavailable, you should not be getting notifications for the dependent services. If you're still getting notifications for the dependent services, something is misconfigured. jc > -----Original Message----- > From: casperez [mailto:casperez at cesga.es] > Sent: Friday, May 02, 2003 11:27 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledge > > > > Hello, > Can somebody say me if a host is acknowleged, yours > services and/or the dependent hosts can be acknowleged? > > I am useing Nagios 1.0 and NRPE 1.8 > > 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 > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at showkilr.com Fri May 2 19:32:12 2003 From: showkilr at showkilr.com (Showkilr) Date: 02 May 2003 12:32:12 -0500 Subject: Single check script to monitor multiple processes In-Reply-To: References: Message-ID: <1051896732.17384.4.camel@wicked.playnet.com> I currently have a script that performs this exact function. and keeps the output from being larger than the buffer for being called via nrpe.. Its a rather simple perl script and only requires a simple config file to allow one to specify what processes to monitor. Showkilr On Fri, 2003-05-02 at 12:03, Carroll, Jim P [Contractor] wrote: > It's not currently being done. Well, there might be one exception to this, depending on how you define your requirements. > > The check_disk command will by default check all the partitions on a given host. However: > > - the OK/warn/crit will only tell you about 1 partition going warn/crit > - the length of the string is limited to something like 1K (which is a POSIX limitation, apparently) > > The 1K of informational data is typically reported in a single row; someone recently suggested embedding HTML to format it (which of course would contribute to the usage of the 1K). > > In summary, there are no plugins which do exactly what you're asking, and if you wrote your own, don't be surprised if the voluminous output you're hoping to retrieve gets truncated. > > jc > > > > -----Original Message----- > > From: Jim Mozley [mailto:jim.mozley at exponential-e.com] > > Sent: Friday, May 02, 2003 9:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Single check script to monitor multiple > > processes > > > > > > *This message was transferred with a trial version of > > CommuniGate(tm) Pro* > > Hi all, > > > > I had an idea of something I wanted to do based on experience of using > > another system management tool. I thought of using one script > > to monitor > > multiple important processes rather than having individual checks. > > > > For instance, if I have a server that runs an mta, dns, > > radius and a web > > server my critical processes might be sendmail, named, > > radiusd and httpd. > > The check could look for the presence of all important > > processes and report > > if one or more were not running, perhaps returning a list of > > the failed ones > > in a message. > > > > Thinking that this might have been done before I started to > > look through the > > plugins but cannot find anything that seems to do this. > > > > Is this because such a thing doesn't exist? > > > > Is this because its an especially bad idea with Nagios? > > > > I can see why one wouldn't want to do this as, for instance, > > individual > > checks allow actions to be taken for different processes. > > However, it seems > > more efficient to check whether a group of processes is not > > working rather > > than putting in place individual checks. > > > > Jim > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danny at luedkes.com Fri May 2 19:31:10 2003 From: danny at luedkes.com (Danny Luedke) Date: Fri, 2 May 2003 10:31:10 -0700 Subject: Alert only on multiple failures Message-ID: <001601c310d0$9efc6950$582010ac@continuum.corbis.corp> Hi, Is it possible to setup notifications so it will only alert when the same service on mutiple host fail? I have a web farm behind a load balancer, and I only would like be alerted after hours if two or more of the HTTP checks fail within a host group. Thank you, -danny -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Fri May 2 19:35:48 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 02 May 2003 13:35:48 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20check=5Fnwstat=20-?= =?ISO-8859-1?Q?=20missing=20feature=20=3F?= Message-ID: Stefan, This is not actually a problem with the MRTGEXT.NLM module, it is the plugin version 1.3 that does not support more variables then the ones you can see while doing check_nwstat --help On the other hand, you can get the latest version of the plugins witch support more variables. Get it here http://nagiosplug.sourceforge.net/snapshot/ (download the snapshot of the day). All this at your own risks of course ;) And, you can't use the "IS loaded?" fonction yet. I did write on sourceforge a suggestion of improvements for the check_nwstat plugin. Only time will tell if it will go on. See you around the router. Alex >>> "Stefan Hanssen" 02/05/03 06h53 >>> I am monitoring several NW servers with Nagios, but i cant seem to find one vital function.... And that is to check that a specific NLM is loaded. I have read through the documentation on MRTGEXT by James Drews (http://www.engr.wisc.edu/~drews/mrtg/ which btw has moved to http://forge.novell.com/modules/xfmod/project/?mrtgext) and his plugin is able to deliver this information. But it seems the option is missing from check_nwstat. If this is correct i would very much like to see this feature in a new release of check_nwstat. If it is there, then could someone please explain to me how i use it? Best Regards Stefan Hanssen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DHarding at gilatla.com Fri May 2 21:15:00 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Fri, 2 May 2003 15:15:00 -0400 Subject: hosts.cfg conversion? Message-ID: <97D0DDFA3C2F5B44AAC0960B99E96213019155@VMX.gilatla.com> Instead of dealing with the upgrade process of netsaint to nagios, I decided to install nagios from scratch. Is there a way to convert netsaint's hosts.cfg to nagios format? I don't want to retype all my hosts and service info again. Thanks, _____________________ Devon Harding System Administrator Gilat Latin America 954-858-1600 dharding at gilatla.com This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gboutwel at valleyhope.com Fri May 2 22:13:28 2003 From: gboutwel at valleyhope.com (gboutwel at valleyhope.com) Date: Fri, 02 May 2003 15:13:28 -0500 Subject: Netsaint 'archives' -> Nagios 'archives' Message-ID: <3EB28B18.24853.15DEF11@localhost> Hey! I finally got management sold on converting our faithful Netsaint box to Nagios. Is it possible to convert/save the Netsaint's last year or so of 'archives' to the Nagios box. We use this information a lot and really don't want to loose it or have to look in two places to get his kind of information. Basically is there an 'How-to conver/upgrade' that I somehow missed? -- George Boutwell, Programmer II - Valley Hope Association gboutwel at valleyhope.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 2 22:05:23 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 2 May 2003 15:05:23 -0500 Subject: FW: Returned mail: see transcript for details Message-ID: Just thought I'd grumble about getting these bounces too. ;) jc > -----Original Message----- > From: System Administrator > Sent: Friday, May 02, 2003 1:05 PM > To: Nagios-users at lists.sourceforge.net > Subject: Undeliverable: Returned mail: see transcript for details > > Your message did not reach some or all of the intended recipients. > > Subject: RE: [Nagios-users] Acknowledge > Sent: 5/2/2003 12:10 PM > > The following recipient(s) could not be reached: > > Nagios-users at lists.sourceforge.net on 5/2/2003 12:51 PM > The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address. > < edvlx01.edvpartner.net #5.1.1 SMTP; 550-Host pd951410c.dip.t-dialin.net (edvlx01.edvpartner.net) [217.81.65.12] is not permitted to send mail to or through> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri May 2 22:04:24 2003 From: drich at employees.org (Dan Rich) Date: Fri, 2 May 2003 13:04:24 -0700 (PDT) Subject: Passive problems Message-ID: <60320.63.237.201.12.1051905864.squirrel@www.lapseofthought.com> I am trying to monitor a system farm and want to use passive process checks to keep from running several hundred checks every few minutes. However, since I can run one command that will give me most of the data I want to check about the farm, I am trying to run that command and send passive notices to Nagios. The problem is, Nagios seems to accept some of my notifications and then the named pipe stops taking input. I've tried opening and closing the pipe once for each message, writing all the messages to a single open pipe, and now reopening the pipe every "n" messages, all with no success. Here is my current code: if (($cmdlines % 40) == 0) { close(CMDFILE); sleep 1; open(CMDFILE,"> $command_file") || die "cannot open command file: $!"; } $cmdlines++; printf CMDFILE "[%d] PROCESS_SERVICE_CHECK_RESULT;%s;LSF;%d;%s\n", time, $hostname, $ERRORS{$state}, $output; It seems to work for around 140 writes if I reopen the pipe every 10, 190 if I reopen every 20, 230 if I reopen every 50, 240 if I reopen every 80, 290 if I reopen every 100, etc. and then dies. Too add to the oddness, I don't see anything in my nagios.log file for these passive results, although another nagios instance on the same server with an almost identical configuration shows passive results in its log file. Since I have nearly 750 machines to monitor this is not a good thing. Does anyone know of a workaround or solution for this? -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 2 22:15:05 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 02 May 2003 16:15:05 -0400 (EDT) Subject: hosts.cfg conversion? In-Reply-To: <97D0DDFA3C2F5B44AAC0960B99E96213019155@VMX.gilatla.com> References: <97D0DDFA3C2F5B44AAC0960B99E96213019155@VMX.gilatla.com> Message-ID: On Fri, 2 May 2003, Devon Harding - GTHLA wrote: > Instead of dealing with the upgrade process of netsaint to nagios, I decided > to install nagios from scratch. Is there a way to convert netsaint's > hosts.cfg to nagios format? I don't want to retype all my hosts and service > info again. > > nagios/contrib/convertcfg -- -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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri May 2 22:34:51 2003 From: drich at employees.org (Dan Rich) Date: Fri, 2 May 2003 13:34:51 -0700 (PDT) Subject: Passive problems - solved In-Reply-To: <60320.63.237.201.12.1051905864.squirrel@www.lapseofthought.com> References: <60320.63.237.201.12.1051905864.squirrel@www.lapseofthought.com> Message-ID: <41844.63.237.201.12.1051907691.squirrel@www.lapseofthought.com> Never mind, I'm an idiot. I still had the SIG{'ALRM'} code in my script from back when this used to be an active script. It was causing the script to exit. Running a strace made the code look like it was exiting in the write to the named pipe. Did I mention I'm an idiot? :) Dan Rich said: > I am trying to monitor a system farm and want to use passive process checks to > keep from running several hundred checks every few minutes. However, since I > can run one command that will give me most of the data I want to check about > the farm, I am trying to run that command and send passive notices to Nagios. > > The problem is, Nagios seems to accept some of my notifications and then the > named pipe stops taking input. I've tried opening and closing the pipe once > for each message, writing all the messages to a single open pipe, and now > reopening the pipe every "n" messages, all with no success. Here is my > current code: > > if (($cmdlines % 40) == 0) { > close(CMDFILE); > sleep 1; > open(CMDFILE,"> $command_file") || die "cannot open command file: $!"; > } > $cmdlines++; > printf CMDFILE "[%d] PROCESS_SERVICE_CHECK_RESULT;%s;LSF;%d;%s\n", > time, $hostname, $ERRORS{$state}, $output; > > It seems to work for around 140 writes if I reopen the pipe every 10, 190 if I > reopen every 20, 230 if I reopen every 50, 240 if I reopen every 80, 290 if I > reopen every 100, etc. and then dies. Too add to the oddness, I don't see > anything in my nagios.log file for these passive results, although another > nagios instance on the same server with an almost identical configuration > shows passive results in its log file. > > Since I have nearly 750 machines to monitor this is not a good thing. > > Does anyone know of a workaround or solution for this? > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you sure, sir? > | It means changing the bulb in the sign..." > | - Red Dwarf (BBC) > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From king at kinger.net Fri May 2 22:06:29 2003 From: king at kinger.net (Link King) Date: Fri, 2 May 2003 13:06:29 -0700 (MST) Subject: Freshness Checking Message-ID: Ok, I've got a distributed server that I'm running a number of checks on for a remote location. I've got nsca setup and things are all working appropriately with the exception of freshness checking. Since the central server can not actively run these checks I've done as outlined in the documentation and setup freshness checking and a service-is-stale script to let me know when I stop receiving info from the remote host. Problem is, no matter what I set the freshness_threshold to for a particular service I still get service alerts for stale results even though the results aren't stale. I can actually see service alerts for stale results appear right after a succesful service check. I'm hoping somebody can help me with my config. Here's an exampe of one host/service check I've got. Remote server ------------- hosts.cfg: define host{ name servers host_name server1 alias Name Server 1 address 192.168.0.1 check_command check-host-alive max_check_attempts 5 notification_interval 30 notification_period 24x7 notification_options d,u,r } services.cfg: define service{ name check-dns host_name server1 service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups ops notification_interval 30 notification_period 24x7 notification_options c,r check_command check_dns } Central Server -------------- hosts.cfg: define host{ name distributed host_name server1 alias Name Server 1 address 192.168.0.1 parents router max_check_attempts 3 notification_interval 30 notification_period 24x7 notification_options d,u,r } services.cfg: define service{ name service_distributed host_name server1 service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups ops notification_interval 30 notification_period 24x7 notification_options c,r active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 300 check_command service-is-stale } checkcommands.cfg: define command{ command_name service-is-stale command_line /usr/local/nagios/libexec/service-is-stale.sh } service-is-stale.sh: #!/bin/sh /bin/echo "CRITICAL: Service results are stale!" exit 2 Link King king at kinger.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Sat May 3 01:17:00 2003 From: twelsh at square-box.com (Tom Welsh) Date: Sat, 3 May 2003 00:17:00 +0100 Subject: nagios process Message-ID: <001501c31100$ef768520$0400a8c0@squarebox.com> Hi All, I have just installed nagios 1.0 on my laptop for taking round to demos , its all up and running fine bar one thing. On the process info page it tells me the nagios process is not running. If I do a ps-eaf | grep nagios I can see the process running. Can some one tell me what I'm doing wrong. The setup is Nagios 1.0, plugins 1.3 and rh8.0 Cheers Tom Welsh twelsh at square-box.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at skynetweb.com Sat May 3 01:54:13 2003 From: jason at skynetweb.com (Jason Lancaster) Date: Fri, 2 May 2003 19:54:13 -0400 Subject: distributed monitoring/central server performance problems Message-ID: <029a01c31106$221d5710$f805ff0a@tekniq> A simple background of my environment: My central server is receiving external commands from 3 monitoring servers. I have just over 3200 services monitored, all delivered to the central server through NSCA. Everything works perfect until the Nagios process on the central server attempts to parse the external commands. When first started, Nagios updates status information (alerts) quickly but as time goes on, status updates (alerts) are parsed slower and slower until eventually, nothing happens and only external commands are written. This cripples nagios and since it is not executing local alerts or status updates, it never executes stale_check's or sends out notifications. I'm left with a webpage that displays results anywhere from 6 hours ago to about 15 minutes ago. The odd thing about this is the behavior is completely unpredictable, although it sometimes seems like it gives an alphabetical priority to the first few letters in the alphabet. If the above confuses you, perhaps a snip from the log might help: [1051917099] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - Packet loss = 0%, RTA = 0.80 ms **repeat external command lines hundreds of times, with the following line below happening about 20-30 minutes after the external command** [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK - Packet loss = 0%, RTA = 0.80 ms The central server is far from being overworked with a load average of 0.04 and both cpu's average about 96% idle. I can in no way attribute this behavior to the hardware on my central system. I've gone thought the nagios configuration file and tried almost every combination of tweaks including: aggregate updates, aggressive checking, orphaned services, inter_check_delay_methods, service_interleave_factors, setting up a ramdisk, etc. I've found the *best* settings seem to be the "smart" methods but they are FAR from perfect. Nagios still is overrun with the external commands. I know there have to people who have successfully implemented Nagios in a large distributed environment and I'm hoping some of you might speak up about issues you may have had. I believe this problem has to do with Nagios and my guess is it's either a performance option available in the nagios.cfg or it's something I have to rewrite/set in the source. I've tried most nagios.cfg options available with no luck. I've attached my nagios.cfg just in case someone notices a blatant error (I know everything here is not the most efficient, it's just what my latest "test" used) Thanks for your time and sorry for the long explanation! Jason Lancaster Intranet Administrator, Affinity Internet (954) 334-8203 check_external_commands=1 command_check_interval=30s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=n service_interleave_factor=1 max_concurrent_checks=0 service_reaper_frequency=1 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=0 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=600 aggregate_status_updates=1 status_update_interval=20 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sat May 3 03:59:32 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 3 May 2003 11:59:32 +1000 Subject: Netsaint 'archives' -> Nagios 'archives' In-Reply-To: <3EB28B18.24853.15DEF11@localhost>; from gboutwel@valleyhope.com on Fri, May 02, 2003 at 03:13:28PM -0500 References: <3EB28B18.24853.15DEF11@localhost> Message-ID: <20030503115929.D229@IPAustralia.Gov.AU> Dear Sir, This is the least of your conversion worries (the rest are pretty trivial also). On Fri, May 02, 2003 at 03:13:28PM -0500, gboutwel at valleyhope.com wrote: > Hey! > > I finally got management sold on converting our faithful Netsaint > box to Nagios. Is it possible to convert/save the Netsaint's last year > or so of 'archives' to the Nagios box. We use this information a lot > and really don't want to loose it or have to look in two places to get > his kind of information. > > Basically is there an 'How-to conver/upgrade' that I somehow > missed? See 'What's new in this version'. (Basically all you need do is rename the logs from Netsaint to Nagios). If you have custom plugins check the usual moron things such as hardcoding paths in plugins (to password files, logs, RRDs etc) Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrajkumar_sysconf at hotmail.com Sat May 3 09:54:30 2003 From: rrajkumar_sysconf at hotmail.com (Apollo) Date: Sat, 3 May 2003 00:54:30 -0700 Subject: Nagios starting problem Message-ID: Hi All While starting the nagis ,i am getting the follwoing error Any idea where i am making mistaks..In which config i have to edit to solve the problem Thanks [root at apollo bin]# ./nagios ../etc/nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Nagios 1.0 starting... (PID=29031) Error: Host '192.168.1.199' specified in service 'PING' not defined anywhere! Warning: Host 'linux' has no services associated with it! Bailing out due to errors encountered while running the pre-flight check. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=29031) -------------- next part -------------- An HTML attachment was scrubbed... URL: From rplewe at hpce.nec.com Sat May 3 11:10:26 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Sat, 3 May 2003 11:10:26 +0200 Subject: Nagios starting problem In-Reply-To: ; from rrajkumar_sysconf@hotmail.com on Sat, May 03, 2003 at 12:54:30AM -0700 References: Message-ID: <20030503111026.C1543@hpce.nec.com> On Sat, May 03, 2003 at 12:54:30AM -0700, Apollo wrote: > > While starting the nagis ,i am getting the follwoing error > > Any idea where i am making mistaks..In which config i have to edit to > solve the problem > > Nagios 1.0 starting... (PID=29031) > Error: Host '192.168.1.199' specified in service 'PING' not defined > anywhere! $NAGIOS/hosts.cfg to define host '192.168.1.199'. > Warning: Host 'linux' has no services associated with it! This one is not fatal. To solve this: $NAGIOS/etc/services.cfg. Rasmus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat May 3 12:48:22 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 03 May 2003 06:48:22 -0400 Subject: Single check script to monitor multiple processes In-Reply-To: References: Message-ID: <1051958901.1035.10.camel@miles.debisschop.net> On Fri, 2003-05-02 at 13:06, Carroll, Jim P [Contractor] wrote: > My bad. I seem to recall someone has written a variation on the check_by_ssh plugin which kinda sorta does what you're looking for (without the verbose output). Details escape me. check_by_ssh in the core allows you to specify multiple check on the remote server. If more than one check is called, it returns them as passive check, so they appear as multiple services, even though only one connection to the remote machine has been made. in the general case, we try to keep the size and complxity of the plugins somewhat limited so that it's not too inefficent to start up all the new processes required by the running the checks individually. >From a development point of view the modularity gained has seemed worth the cost of the extra process creation, at least in all but the largest scale deployments. Off-hand, I see no other particularly strong reasons for grouping the functionality at the development level. Do you? And if you do, could that need be resolved with a generic aggrgator that allows poeple to lump unit plugins to their taste instead of creating one bloated plugin that has 20 capabilities of which only 2 might be used on a given call? -- Karl > jc > > > > -----Original Message----- > > From: Jim Mozley [mailto:jim.mozley at exponential-e.com] > > Sent: Friday, May 02, 2003 9:08 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Single check script to monitor multiple > > processes > > > > > > *This message was transferred with a trial version of > > CommuniGate(tm) Pro* > > Hi all, > > > > I had an idea of something I wanted to do based on experience of using > > another system management tool. I thought of using one script > > to monitor > > multiple important processes rather than having individual checks. > > > > For instance, if I have a server that runs an mta, dns, > > radius and a web > > server my critical processes might be sendmail, named, > > radiusd and httpd. > > The check could look for the presence of all important > > processes and report > > if one or more were not running, perhaps returning a list of > > the failed ones > > in a message. > > > > Thinking that this might have been done before I started to > > look through the > > plugins but cannot find anything that seems to do this. > > > > Is this because such a thing doesn't exist? > > > > Is this because its an especially bad idea with Nagios? > > > > I can see why one wouldn't want to do this as, for instance, > > individual > > checks allow actions to be taken for different processes. > > However, it seems > > more efficient to check whether a group of processes is not > > working rather > > than putting in place individual checks. > > > > Jim > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tschweikle at fiducia.de Sat May 3 16:43:15 2003 From: tschweikle at fiducia.de (Thomas Schweikle) Date: Sat, 3 May 2003 16:43:15 +0200 Subject: Can't enter downtime information Message-ID: Hi! I've configured nagios as described to let me enter scheduled downtimes for hosts and services. I can view the related page. But entering scheduled downtime gives me the error: "Sorry, but you are not authorized to commit the specified command." Any idea what might be wrong here is welcome! cgi.cfg: use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin,guest authorized_for_all_hosts=nagiosadmin,guest authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin htaccess is set too: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user and httpd.conf holds: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI order deny,allow deny from all allow from 192.168.19.0/24 allow from 127.0.0.1 Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig Options None order deny,allow deny from all allow from 192.168.19.0/24 allow from 127.0.0.1 nagios is running daemon.daemon. Rights on log files are daemon.daemon: -rw-rw-r-- 1 daemon daemon 0 May 3 01:39 comment.log -rw-rw-r-- 1 daemon daemon 0 May 3 01:39 downtime.log -rw-r--r-- 1 daemon daemon 8426 May 3 16:34 nagios.log -rw-rw-r-- 1 daemon daemon 18574 May 3 16:37 status.log -rw-r--r-- 1 daemon daemon 13901 May 3 15:39 status.sav apache is running wwwrun.nogroup. Rights on config files are root.root: -rw-rw-r-- 1 root root 17179 May 2 22:39 cgi.cfg -rw-rw-r-- 1 root root 5706 May 2 22:39 checkcommands.cfg -rw-rw-r-- 1 root root 14413 May 2 22:39 command.cfg -rw-r--r-- 1 root root 1030 May 2 22:39 contactgroups.cfg -rw-r--r-- 1 root root 1467 May 2 22:39 contacts.cfg -rw-r--r-- 1 root root 880 May 2 22:39 dependencies.cfg -rw-r--r-- 1 root root 1274 May 2 22:39 escalations.cfg -rw-r--r-- 1 root root 2198 May 2 22:39 hostgroups.cfg -rw-r--r-- 1 root root 8246 May 2 22:39 hosts.cfg -rw-r--r-- 1 root root 22 May 2 22:39 htpasswd.users -rw------- 1 root root 13597 May 2 22:39 minimal.cfg-sample -rw-rw-r-- 1 root root 4259 May 2 22:39 misccommands.cfg -rw-rw-r-- 1 root root 21157 May 2 22:39 nagios.cfg -rw-r--r-- 1 root root 4980 May 2 22:39 nsca.cfg -rw-r----- 1 root root 3068 May 2 22:39 resource.cfg -rw-r--r-- 1 root root 1628 May 2 22:39 send_nsca.cfg -rw-r--r-- 1 root root 20929 May 2 22:39 services.cfg -rw-rw-r-- 1 root root 1592 May 2 22:39 timeperiods.cfg nagios-logs tell nothing about this error. I am clueless at the moment. -- Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From truckfund at insightbb.com Sat May 3 17:01:49 2003 From: truckfund at insightbb.com (Anthony & Terri Schutzler) Date: Sat, 3 May 2003 11:01:49 -0400 (EDT) Subject: Error when Compiling Nagios 1.0 Message-ID: <1632.10.100.10.99.1051974109.squirrel@www.lanwangeek.com> Hello, I had Nagios 1.0b4 installed with no problems until the servers hard drive failed. I rebuilt the server with dual mirrored drives and am trying to reinstalled Nagios using version 1.0 on a Redhat 8.0 box. I receive a error during the compile of the CGI's. I have tried Beta 4 and 6 with the same problems. I have the following libaries installed or Nagios to work. Zlib 1.1.3 Freetype 2.1.4 GD Lib 2.0.12 Libpng 1.2.5 Jpeg 6B The above module will compile and install with no problems. GD Lib will show support for JPEG, PNG, and Freetype. I run configure, and make all hfor Nagios, but "Make all" will error out with the following. (I have only listed the CGI being complile that has the error.) gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c -o statusmap.cgi /tmp/ccOMWesD.o: In function `load_image_from_file': /home/anthony/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/anthony/nagios/nagios-1.0/cgi' make: *** [all] Error 2 [root at linux1 nagios-1.0]# Any ideas? Thanks Anthony ----------------------------------------- This email was sent using SquirrelMail. "Webmail for nuts!" http://squirrelmail.org/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theo at hollenberg.biz Sat May 3 18:36:51 2003 From: theo at hollenberg.biz (Theo Hollenberg) Date: Sat, 3 May 2003 18:36:51 +0200 Subject: Error while starting nagios In-Reply-To: <200305020952.23606.Michael.Huettig@Medien-Systempartner.de> References: <200305020952.23606.Michael.Huettig@Medien-Systempartner.de> Message-ID: <000601c31192$33021de0$9600000a@woodstock> Hi Michael, I've checked rights on files and directories but user nagios is owner of these files with rw rights. This also goes for the nagios group. Kind regards, -- Theo Hollenberg Data Center Manager Global Switch Amsterdam Tel : +31 (0)20 6666 375 Fax : +31 (0)20 6666 395 Mob. : +31 (0)6 2219 6915 Email : thollenberg at globalswitch.com -- "I suppose they are vicious rascals, but it scarcely matters what they are. I'm after what they know." (Gibson-Sterling, The Difference Engine) -- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael H?ttig Sent: vrijdag 2 mei 2003 9:52 To: Theo Hollenberg; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Error while starting nagios Am Freitag, 2. Mai 2003 08:32 schrieb Theo Hollenberg: > Ladies/Gents, > > This server used to be a happy chappy, gently buzzing away running > nagios and all of a sudden it stopped. Now, whatever I try I get this: > > [root at brain root]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log > [root at brain root]# > > What is happening here, where did I go wrong? Hi Theo, mostly you got this problem, if user nagios has no permission to write the status.log-file. This happened when you start nagios as root, file would be created as root, shutting down nagios and starting with rc-script would start a the defined user of your compiling-options... -- Mit freundlichem Gru? > > Kind regards, > > Theo Hollenberg > Data Center Manager > Global Switch Amsterdam > Tel. +31 (0)20 6666 375 > Fax. +31 (0)20 6666 395 > Mob. +31 (0)6 2219 6915 > Email. thollenberg at globalswitch.com Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat May 3 18:55:56 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 03 May 2003 12:55:56 -0400 (EDT) Subject: nagios process In-Reply-To: <001501c31100$ef768520$0400a8c0@squarebox.com> References: <001501c31100$ef768520$0400a8c0@squarebox.com> Message-ID: On Sat, 3 May 2003, Tom Welsh wrote: > Hi All, > > I have just installed nagios 1.0 on my laptop for taking round to demos > , its all up and running fine bar one thing. On the process info page it > tells me the nagios process is not running. > > If I do a ps-eaf | grep nagios I can see the process running. Can some > one tell me what I'm doing wrong. The setup is Nagios 1.0, plugins 1.3 > and rh8.0 > > Cheers > > Tom Welsh > twelsh at square-box.com > check argument syntax in: cgi.cfg - nagios_check_command -- -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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat May 3 19:13:00 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 03 May 2003 13:13:00 -0400 (EDT) Subject: Error when Compiling Nagios 1.0 In-Reply-To: <1632.10.100.10.99.1051974109.squirrel@www.lanwangeek.com> References: <1632.10.100.10.99.1051974109.squirrel@www.lanwangeek.com> Message-ID: do you have the headers installed, - also does the LD path include wherever you installed the liberaries? -sg On Sat, 3 May 2003, Anthony & Terri Schutzler wrote: > Hello, I had Nagios 1.0b4 installed with no problems until the servers > hard drive failed. I rebuilt the server with dual mirrored drives and am > trying to reinstalled Nagios using version 1.0 on a Redhat 8.0 box. I > receive a error during the compile of the CGI's. I have tried Beta 4 and 6 > with the same problems. I have the following libaries installed or Nagios > to work. > > Zlib 1.1.3 > Freetype 2.1.4 > GD Lib 2.0.12 > Libpng 1.2.5 > Jpeg 6B > > The above module will compile and install with no problems. GD Lib will > show support for JPEG, PNG, and Freetype. I run configure, and make all > hfor Nagios, but "Make all" will error out with the following. (I have > only listed the CGI being complile that has the error.) > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o > popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c -o > statusmap.cgi > /tmp/ccOMWesD.o: In function `load_image_from_file': > /home/anthony/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined reference > to `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/home/anthony/nagios/nagios-1.0/cgi' > make: *** [all] Error 2 > [root at linux1 nagios-1.0]# > > Any ideas? Thanks Anthony > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Sun May 4 01:11:11 2003 From: twelsh at square-box.com (Tom Welsh) Date: Sun, 4 May 2003 00:11:11 +0100 Subject: Error while starting nagios In-Reply-To: <000601c31192$33021de0$9600000a@woodstock> References: <000601c31192$33021de0$9600000a@woodstock> Message-ID: <000101c311c9$496ec240$0400a8c0@squarebox.com> Hi Theo, Remember me, Tom, who used to run the NOC in Keybridge London? IS your Nagios installation a standard install or did you move the log file location. The log file is normally in /usr/local/nagios/var/ directory unless you have changed it. You can see where this is set in your nagios.cfg file under the first section log_file=/usr/local/nagios/var/nagios.log Do you get any errors showing when you verify your configuration by doing a flight test? /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Drop me a line and let me know how you get on. What OS and Version of Nagios are you running? What have you changed on the nagios server recently and why were you restarting the nagios process when you spotted this error? HTH Tom Welsh twelsh at square-box.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Theo Hollenberg Sent: 03 May 2003 17:37 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error while starting nagios Hi Michael, I've checked rights on files and directories but user nagios is owner of these files with rw rights. This also goes for the nagios group. Kind regards, -- Theo Hollenberg Data Center Manager Global Switch Amsterdam Tel : +31 (0)20 6666 375 Fax : +31 (0)20 6666 395 Mob. : +31 (0)6 2219 6915 Email : thollenberg at globalswitch.com -- "I suppose they are vicious rascals, but it scarcely matters what they are. I'm after what they know." (Gibson-Sterling, The Difference Engine) -- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael H?ttig Sent: vrijdag 2 mei 2003 9:52 To: Theo Hollenberg; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Error while starting nagios Am Freitag, 2. Mai 2003 08:32 schrieb Theo Hollenberg: > Ladies/Gents, > > This server used to be a happy chappy, gently buzzing away running > nagios and all of a sudden it stopped. Now, whatever I try I get this: > > [root at brain root]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log > [root at brain root]# > > What is happening here, where did I go wrong? Hi Theo, mostly you got this problem, if user nagios has no permission to write the status.log-file. This happened when you start nagios as root, file would be created as root, shutting down nagios and starting with rc-script would start a the defined user of your compiling-options... -- Mit freundlichem Gru? > > Kind regards, > > Theo Hollenberg > Data Center Manager > Global Switch Amsterdam > Tel. +31 (0)20 6666 375 > Fax. +31 (0)20 6666 395 > Mob. +31 (0)6 2219 6915 > Email. thollenberg at globalswitch.com Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From truckfund at insightbb.com Sun May 4 01:56:07 2003 From: truckfund at insightbb.com (Anthony & Terri Schutzler) Date: Sat, 3 May 2003 19:56:07 -0400 (EDT) Subject: Error when Compiling Nagios 1.0 In-Reply-To: References: <1632.10.100.10.99.1051974109.squirrel@www.lanwangeek.com> Message-ID: <1135.10.100.10.99.1052006167.squirrel@www.lanwangeek.com> I'm not sure what to look for to answer your question. I looked in the Makefile and configure.in files for the LD path. Is there a easy way to find out if I installed the headers? I did set the flags to install the libaries and share the libaries for JPEG. > > do you have the headers installed, - also does the LD path include > wherever you installed the liberaries? > > -sg > > On Sat, 3 May 2003, Anthony & Terri Schutzler wrote: > >> Hello, I had Nagios 1.0b4 installed with no problems until the servers >> hard drive failed. I rebuilt the server with dual mirrored drives and am >> trying to reinstalled Nagios using version 1.0 on a Redhat 8.0 box. I >> receive a error during the compile of the CGI's. I have tried Beta 4 and >> 6 >> with the same problems. I have the following libaries installed or >> Nagios >> to work. >> >> Zlib 1.1.3 >> Freetype 2.1.4 >> GD Lib 2.0.12 >> Libpng 1.2.5 >> Jpeg 6B >> >> The above module will compile and install with no problems. GD Lib will >> show support for JPEG, PNG, and Freetype. I run configure, and make all >> hfor Nagios, but "Make all" will error out with the following. (I have >> only listed the CGI being complile that has the error.) >> >> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o >> auth.o >> popen.o ../common/objects.c ../xdata/xodtemplate.c >> ../common/statusdata.c >> ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c >> -o >> statusmap.cgi >> /tmp/ccOMWesD.o: In function `load_image_from_file': >> /home/anthony/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined >> reference >> to `gdImageCreateFromJpeg' >> collect2: ld returned 1 exit status >> make[1]: *** [statusmap.cgi] Error 1 >> make[1]: Leaving directory `/home/anthony/nagios/nagios-1.0/cgi' >> make: *** [all] Error 2 >> [root at linux1 nagios-1.0]# >> >> Any ideas? Thanks Anthony >> > > -- > > ----------------------------------------- This email was sent using SquirrelMail. "Webmail for nuts!" http://squirrelmail.org/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Sun May 4 12:02:10 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sun, 4 May 2003 22:02:10 +1200 Subject: And/Or Logic and Event Handlers Message-ID: <200305041000.h44A0iP18953@spectre.freeparking.co.nz> Hi All, Here's one that I don't think has been asked before. When I have a critical service/host down event on Box A *and* Box B, I'd like to make an event handler that does "something" to Box C. Event Handlers are no problem. It's the logic required to trigger the handler that's not immediately obvious. ..Or is it a tricky combination of check_cluster and event handlers? peace. jamie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sun May 4 13:24:33 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 4 May 2003 21:24:33 +1000 Subject: And/Or Logic and Event Handlers In-Reply-To: <200305041000.h44A0iP18953@spectre.freeparking.co.nz>; from jamie.baddeley@vpc.co.nz on Sun, May 04, 2003 at 10:02:10PM +1200 References: <200305041000.h44A0iP18953@spectre.freeparking.co.nz> Message-ID: <20030504212431.B253@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sun, May 04, 2003 at 10:02:10PM +1200, Jamie Baddeley wrote: > Hi All, > > Here's one that I don't think has been asked before. > > When I have a critical service/host down event on Box A *and* Box B, I'd like > to make an event handler that does "something" to Box C. > > Event Handlers are no problem. It's the logic required to trigger the handler > that's not immediately obvious. > > ..Or is it a tricky combination of check_cluster and event handlers? > > peace. > > jamie > some obvious and probablly unhelpful suggestions are 1 check_a_and_b ^ have your event handler respond to a failure of this check by 'doing something' to box c (ie bundle the check of a and b [scheduled on either] into a new check) 2 Have your event handler keep state (eg here a global event handler updates an mySQL database for PHB reporting needs [using the Win OBDC drivers so they can import into MS spreadsheets etc] and respond to a B down by checking if A is already down. 3 Your event handler can do _anything_: have it check A (or B) when either goes down. No need to retry, simply fire off the check (being prepared to time it out) and act accordingly. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From soporte.tecnico at fibertel.com.ar Sun May 4 20:53:41 2003 From: soporte.tecnico at fibertel.com.ar (Pablo Medrano) Date: Sun, 4 May 2003 15:53:41 -0300 Subject: checkcommands.cfg problems... Message-ID: <20030504155341.7ce029e5.soporte.tecnico@fibertel.com.ar> Hi !!! Im sorry ! I speak little english, I having problems with nagios. when I try to run : nagios -v /etc/nagios/nagios.cfg ...put back the next message : Error: Unexpected token or statement in file '/etc/nagios/checkcommands.cfg' on line 43 And replacing or comment that line (#) in file, its the same error with the next line (i.e. "...on line 51" ) I can not understand the real problem. Im using nagios-1.0 on Debian, and its an unstable package on SID. I can generate the checkcommands.cfg automaticaly with the Debian script: update-nagios this script check the plugins, and convert in correct checkcommands.cfg format file I need help !!! Thanks and regards ! and Im sorry for talking like Tarzan :D Pablo Medrano (from Argentina) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon May 5 01:50:32 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 5 May 2003 11:50:32 +1200 Subject: And/Or Logic and Event Handlers References: <200305041000.h44A0iP18953@spectre.freeparking.co.nz> <20030504212431.B253@IPAustralia.Gov.AU> <20030505093559.A88728@IPAustralia.Gov.AU> Message-ID: <000401c31297$f4742580$b58031ca@bcl977307> isn't that what check_cluster does? anyways I think I've got a cunning plan to stick a tail onto. Thanks for the thoughts Stanley. Cheers Jamie ----- Original Message ----- From: "Stanley Hopcroft" To: Cc: "Jamie Baddeley" Sent: Monday, May 05, 2003 11:36 AM Subject: Re: [Nagios-users] And/Or Logic and Event Handlers > And a few corrections, > > On Sun, May 04, 2003 at 09:24:33PM +1000, Stanley Hopcroft wrote: > > > > 2 Have your event handler keep state (eg here a global event handler > > updates an mySQL database for PHB reporting needs [using the Win OBDC > > drivers so they can import into MS spreadsheets etc] and respond to a B > > down by checking if A is already down. > > > > there is no need to keep state since Nag already does for you in > status.log. Simply have your event handler check the state of A and B > recorded there. > > Yours sincerely. > > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > > '...No man is an island, entire of itself; every man is a piece of the > continent, a part of the main. If a clod be washed away by the sea, > Europe is the less, as well as if a promontory were, as well as if a > manor of thy friend's or of thine own were. Any man's death diminishes > me, because I am involved in mankind; and therefore never send to know > for whom the bell tolls; it tolls for thee...' > > from Meditation 17, J Donne. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon May 5 01:36:03 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 5 May 2003 09:36:03 +1000 Subject: And/Or Logic and Event Handlers In-Reply-To: <20030504212431.B253@IPAustralia.Gov.AU>; from Stanley.Hopcroft@ipaustralia.gov.au on Sun, May 04, 2003 at 09:24:33PM +1000 References: <200305041000.h44A0iP18953@spectre.freeparking.co.nz> <20030504212431.B253@IPAustralia.Gov.AU> Message-ID: <20030505093559.A88728@IPAustralia.Gov.AU> And a few corrections, On Sun, May 04, 2003 at 09:24:33PM +1000, Stanley Hopcroft wrote: > > 2 Have your event handler keep state (eg here a global event handler > updates an mySQL database for PHB reporting needs [using the Win OBDC > drivers so they can import into MS spreadsheets etc] and respond to a B > down by checking if A is already down. > there is no need to keep state since Nag already does for you in status.log. Simply have your event handler check the state of A and B recorded there. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From king at kinger.net Mon May 5 00:54:07 2003 From: king at kinger.net (Link King) Date: Sun, 4 May 2003 15:54:07 -0700 (MST) Subject: Freshness Checking In-Reply-To: References: Message-ID: Anyone have any ideas about what I could be doing wrong here? -Link > > Ok, I've got a distributed server that I'm running a number of checks on > for a remote location. I've got nsca setup and things are all working > appropriately with the exception of freshness checking. > > Since the central server can not actively run these checks I've done as > outlined in the documentation and setup freshness checking and a > service-is-stale script to let me know when I stop receiving info from the > remote host. > > Problem is, no matter what I set the freshness_threshold to for a > particular service I still get service alerts for stale results even > though the results aren't stale. I can actually see service alerts for > stale results appear right after a succesful service check. I'm hoping > somebody can help me with my config. Here's an exampe of one > host/service check I've got. > > Remote server > ------------- > hosts.cfg: > > define host{ > name servers > host_name server1 > alias Name Server 1 > address 192.168.0.1 > check_command check-host-alive > max_check_attempts 5 > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > services.cfg: > > define service{ > name check-dns > host_name server1 > service_description DNS > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups ops > notification_interval 30 > notification_period 24x7 > notification_options c,r > check_command check_dns > } > > Central Server > -------------- > hosts.cfg: > > define host{ > name distributed > host_name server1 > alias Name Server 1 > address 192.168.0.1 > parents router > max_check_attempts 3 > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > services.cfg: > > define service{ > name service_distributed > host_name server1 > service_description DNS > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups ops > notification_interval 30 > notification_period 24x7 > notification_options c,r > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 1 > freshness_threshold 300 > check_command service-is-stale > } > > checkcommands.cfg: > > define command{ > command_name service-is-stale > command_line /usr/local/nagios/libexec/service-is-stale.sh > } > > service-is-stale.sh: > > #!/bin/sh > > /bin/echo "CRITICAL: Service results are stale!" > > exit 2 > > > Link King > king at kinger.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 > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Link King king at kinger.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjmarler at hotmail.com Mon May 5 07:16:04 2003 From: bjmarler at hotmail.com (brett--) Date: 5 May 2003 05:16:04 -0000 Subject: Getting images to work.... Message-ID: <20030505051604.26486.qmail@pod-163.dolphin-server.co.uk> Thanks mightyreds, followed your advice, works like a charm. Much appreciative of your assistance. Regards, Brett. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon May 5 08:07:46 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 5 May 2003 16:07:46 +1000 Subject: checkcommands.cfg problems... In-Reply-To: <20030504155341.7ce029e5.soporte.tecnico@fibertel.com.ar>; from soporte.tecnico@fibertel.com.ar on Sun, May 04, 2003 at 03:53:41PM -0300 References: <20030504155341.7ce029e5.soporte.tecnico@fibertel.com.ar> Message-ID: <20030505160742.B88728@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sun, May 04, 2003 at 03:53:41PM -0300, Pablo Medrano wrote: > Hi !!! > > Im sorry ! > I speak little english (you are doing fine.) > > I having problems with nagios. > > when I try to run : > > nagios -v /etc/nagios/nagios.cfg > > ...put back the next message : > > Error: Unexpected token or statement in file '/etc/nagios/checkcommands.cfg' on line 43 > > And replacing or comment that line (#) in file, its the same error with the next line > (i.e. "...on line 51" ) > > I can not understand the real problem. > The real problem is that the the checkcommands.cfg file is poorly formed and the Nagios configuration file parser is objecting to the poorly formed part. (It is hard aparently for parsers to report accurate error information. Also they do not handle grossly malformed 'sentences' very gracefully: they simply report a whole bunch of correct but unhelpful messages). > Im using nagios-1.0 on Debian, and its an unstable package on SID. > I can generate the checkcommands.cfg automaticaly with the Debian script: > update-nagios > this script check the plugins, and convert in correct checkcommands.cfg format file > > I need help !!! > > Thanks and regards ! and Im sorry for talking like Tarzan :D > What I suggest is 1. abandon use of the 'update-nagios' script until later (util at least you understand what it should be producing) 2. read the docs about the configuration file format and make sure that you understand what the checkcommands file should look like. Unfortunately there are two config file formats. The two files are TEMPLATE and (I don't know) OLDSTYLE. /bin/nagios -m will tell you which format your Nag has been compiled with eg tsitc# /usr/local/nagios/bin/nagios -m Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL External Data I/O ----------------- Object Data: TEMPLATE .. yada .. tsitc# Here is what a valid TEMPLATE checkcommands.cfg looks like define command{ command_name check_tcp command_line $USER1$/check_tcp $HOSTADDRESS$ -p $ARG1$ } # it defines only _one_ check command (named 'check_tcp'). 3. It is hard to deal with syntax errors in these files (partly becuase of the problems noted above). Therefore 3.1 use revision control 3.2 start small Define a minimal services, hosts, contacts, contactgroups, checkcommands _manually_ with one host, one service, one contact, etc. When you userstand how they are built, you can again (manually) edit them or fix what ever you have. 3.3 Be prepared to cut out (or comment) big chunks. Put it back once you it is clean. > Pablo Medrano > > (from Argentina) > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon May 5 08:30:01 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 05 May 2003 08:30:01 +0200 Subject: checkcommands.cfg problems... References: <20030504155341.7ce029e5.soporte.tecnico@fibertel.com.ar> Message-ID: <3EB604E9.6050401@datavis.se> Can you show us your checkcommands.cfg? /FredrikW Pablo Medrano wrote: >Hi !!! > >Im sorry ! >I speak little english, > >I having problems with nagios. > >when I try to run : > >nagios -v /etc/nagios/nagios.cfg > >...put back the next message : > >Error: Unexpected token or statement in file '/etc/nagios/checkcommands.cfg' on line 43 > >And replacing or comment that line (#) in file, its the same error with the next line >(i.e. "...on line 51" ) > >I can not understand the real problem. > >Im using nagios-1.0 on Debian, and its an unstable package on SID. >I can generate the checkcommands.cfg automaticaly with the Debian script: >update-nagios >this script check the plugins, and convert in correct checkcommands.cfg format file > >I need help !!! > >Thanks and regards ! and Im sorry for talking like Tarzan :D > >Pablo Medrano > >(from Argentina) > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Mon May 5 08:50:32 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Mon, 5 May 2003 08:50:32 +0200 Subject: Error while starting nagios In-Reply-To: <000101c311c9$496ec240$0400a8c0@squarebox.com> References: <000101c311c9$496ec240$0400a8c0@squarebox.com> Message-ID: <200305050850.32196.Michael.Huettig@Medien-Systempartner.de> Hi Theo, permissions on the directories should also be writeable for user nagios, look at my permissions: [root at nagios nagios]# l /usr/local/nagios/ insgesamt 40 drwxr-xr-x 10 root root 4096 Apr 9 17:04 ./ drwxr-xr-x 13 root root 4096 Okt 15 2002 ../ drwxr-xr-x 4 root root 4096 Apr 11 13:28 apan/ drwxrwxr-x 2 nagios nagios 4096 M?r 28 16:43 bin/ drwxrwxr-x 9 nagios nagios 4096 Apr 25 10:17 etc/ drwxr-xr-x 2 nagios nagios 4096 Apr 9 16:50 libexec/ drwxrwxr-x 2 nagios nagios 4096 Apr 11 19:54 rrd/ drwxrwxr-x 2 nagios nagios 4096 Apr 9 18:11 sbin/ drwxrwxr-x 9 nagios nagios 4096 Apr 9 12:32 share/ drwxrwxr-x 4 nagios nagios 4096 Mai 5 08:53 var/ [root at nagios nagios]# l /usr/local/nagios/var/ insgesamt 1720 drwxrwxr-x 4 nagios nagios 4096 Mai 5 08:54 ./ drwxr-xr-x 10 root root 4096 Apr 9 17:04 ../ drwxrwxr-x 2 nagios nagios 4096 Mai 4 00:00 archives/ -rw-rw-r-- 1 nagios nagios 2533 Mai 5 07:17 comment.log -rw-rw-r-- 1 nagios nagios 0 Apr 28 13:05 downtime.log -rw-r--r-- 1 root root 6 Apr 11 14:33 nagios.lock -rw-r--r-- 1 nagios nagios 1451093 Mai 5 08:54 nagios.log drwxrwsr-x 2 nagios nagiocmd 4096 Apr 11 14:33 rw/ -rw-rw-r-- 1 nagios nagios 153369 Mai 5 08:54 status.log -rw-rw-r-- 1 nagios nagios 113417 Mai 5 08:05 status.sav Greets, Michael Am Sonntag, 4. Mai 2003 01:11 schrieb Tom Welsh: > Hi Theo, > > Remember me, Tom, who used to run the NOC in Keybridge London? > > IS your Nagios installation a standard install or did you move the log > file location. The log file is normally in /usr/local/nagios/var/ > directory unless you have changed it. You can see where this is set in > your nagios.cfg file under the first section > > log_file=/usr/local/nagios/var/nagios.log > > Do you get any errors showing when you verify your configuration by > doing a flight test? > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Drop me a line and let me know how you get on. > > What OS and Version of Nagios are you running? > What have you changed on the nagios server recently and why were you > restarting the nagios process when you spotted this error? > > HTH > > Tom Welsh > twelsh at square-box.com > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Theo > Hollenberg > Sent: 03 May 2003 17:37 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error while starting nagios > > Hi Michael, > > I've checked rights on files and directories but user nagios is owner of > these files with rw rights. This also goes for the nagios group. > > Kind regards, > > -- > Theo Hollenberg > Data Center Manager > Global Switch Amsterdam > Tel : +31 (0)20 6666 375 > Fax : +31 (0)20 6666 395 > Mob. : +31 (0)6 2219 6915 > Email : thollenberg at globalswitch.com > -- > "I suppose they are vicious rascals, but it scarcely matters what they > are. I'm after what they know." (Gibson-Sterling, The Difference Engine) > -- > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael > H?ttig > Sent: vrijdag 2 mei 2003 9:52 > To: Theo Hollenberg; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Error while starting nagios > > Am Freitag, 2. Mai 2003 08:32 schrieb Theo Hollenberg: > > Ladies/Gents, > > > > This server used to be a happy chappy, gently buzzing away running > > nagios and all of a sudden it stopped. Now, whatever I try I get this: > > > > [root at brain root]# /etc/rc.d/init.d/nagios start > > Starting network monitor: nagios > > NAGIOS CRITICAL - could not find status log: > > /var/log/nagios/status.log > > > [root at brain root]# > > > > What is happening here, where did I go wrong? > > Hi Theo, > mostly you got this problem, if user nagios has no permission to write > the status.log-file. This happened when you start nagios as root, file > would be > created as root, shutting down nagios and starting with rc-script would > start > a the defined user of your compiling-options... ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paschos at cosmoline.com Mon May 5 09:36:19 2003 From: paschos at cosmoline.com (George Paschos) Date: Mon, 5 May 2003 10:36:19 +0300 Subject: Host scheduled downtimes vs service checks In-Reply-To: References: Message-ID: Hi, As I've seen so far, although that a host is scheduled for downtime, the services on this host are reported as critical and notifications are sent for these services. Is there a way to avoid this? (Except from defining scheduled downtime for each service and the host) Regards, George PS: Has Ethan been to Greece? Judging from the "Nagios" name he should have :) (Agios --> Saint in Greek) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Mon May 5 10:51:43 2003 From: testrm at kisters.com (Ralf Mellis) Date: Mon, 05 May 2003 10:51:43 +0200 Subject: nrpe and plugin binaries for hp-ux 11 In-Reply-To: <20030501102915.A24958@bennyvision.com> References: <3EAFEA77.2020801@kisters.com> <20030501102915.A24958@bennyvision.com> Message-ID: <3EB6261F.4040104@kisters.com> C. Bensend wrote: > On Wed, Apr 30, 2003 at 05:23:35PM +0200, Ralf Mellis wrote: > >>Hello, >>I'm trying to compile the nrpe 2.0b3 and plugins 1.3.0 on a hp-ux 11 >>server. But it seems that there are some requirements, that are not >>fulfilled (i.e. version of openssl, type conflicts in some header files >>and so on). >>Now my question: Is there someone out there, who has successfully >>compiled (ideally statically linked) the above mentioned binaries for >>hp-ux 11? > > > You can try the ones I built at: > > http://www.bennyvision.com/projects/nagios/ > > They weren't built statically, and they might not work for you, but > you never know. :) > Hi, thanks for the link, I have tested the 11.00 binaries (plugins and nrpe) out. They work locally (nrpe daemon starts up and plugins are executable directly from the command line) but unfortunately the communication between nagios host and the client is not successfull. I have turned debugging on, but the only message that occurs if the nagios host tries to trigger a plugin on my hp-ux server is: Could not read request from client, bailing out... It seems that there are difficulties with the encryption. I had similar messages within a linux nrpe host where I builded the nrpe client without encryption in the first step, after enabling encryption here all works fine. I think I have to compile it myself... Bye Ralf -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Mon May 5 10:42:07 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 05 May 2003 10:42:07 +0200 Subject: Host scheduled downtimes vs service checks In-Reply-To: References: Message-ID: <3EB623DF.3080806@dhl.com> Hi, George Paschos wrote: > Hi, > > As I've seen so far, although that a host is scheduled for downtime, the > services on this host are reported as critical This is normal behavior. After all, they are critical. > and notifications are sent for these services. This is NOT normal behavor! Are you sure the host is put into downtime correctly? Does it show up like that in the web interface? 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon May 5 11:09:37 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 5 May 2003 19:09:37 +1000 Subject: Host scheduled downtimes vs service checks In-Reply-To: ; from paschos@cosmoline.com on Mon, May 05, 2003 at 10:36:19AM +0300 References: Message-ID: <20030505190934.C229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for sharing this with the list and demonstrating yet again the Unix culture of sharing and erudition. On Mon, May 05, 2003 at 10:36:19AM +0300, George Paschos wrote: > > > PS: Has Ethan been to Greece? Judging from the "Nagios" name he should > have :) > (Agios --> Saint in Greek) Resurgam. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paschos at cosmoline.com Mon May 5 11:18:50 2003 From: paschos at cosmoline.com (George Paschos) Date: Mon, 5 May 2003 12:18:50 +0300 Subject: info about reporting In-Reply-To: References: Message-ID: Hi, Could you please point me where to find extended info about how availability, trends, reports work? To be more specific I'd like to know how reporting + log rotation interval + "backtrack archives" actually work. For example, now I've set nagios to rotate its logs daily. If I want a "last month" report, should I set "the Backtracked archives" to the number of 30 + days passed since today? Or is done automatically? (maybe not, as I get different results based on the # of backtracked archives) >From your experience, what is the best log rotating interval? Or, to set this interval to the best value for my needs, what should I take into consideration? Thanks in advance for your help. Regards, George -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ilclaudio at supereva.it Mon May 5 12:30:39 2003 From: ilclaudio at supereva.it (ilclaudio at supereva.it) Date: 5 May 2003 10:30:39 -0000 Subject: up and down of a host Message-ID: <20030505103039.19013.qmail@mail.supereva.it> Hi, I've installed Nagios 1.0 on a Red Hat 7.3. Now, for monitoring if a host is Up or down (with a ping, for example) do I have to install some plugins? which one? ----------------------------------------------------- Trova online il tuo partner! http://incontri.supereva.it messaggio inviato con Freemail by www.superEva.it ----------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Mon May 5 13:57:30 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 05 May 2003 13:57:30 +0200 Subject: gnokii In-Reply-To: <243702003515112258524@linkcom.pt> References: <243702003515112258524@linkcom.pt> Message-ID: <3EB651AA.7050608@dhl.com> I'm sorry, I never used gnokii. Better send things like these to the list! Susana Raquel Neves Reis wrote: > Hi , > > How can I make gnokii works on my nagios.I have my > gnokii running using a command prompt. I can send and > received a text message using the command : > > # /usr/local/bin/gnokii --sendsms > > > - Here is my sample configuration in contacts.cfg > file > > # 'nagios' contact definition > define contact{ > contact_name nagios > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-sms > host_notification_commands host-notify-by-sms > email root at ma.pt > pager 963747634 > } > > - Here is my sample configuration of misccommands.cfg > > > # 'host-notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/bin/printf "$NOTIFICATIONTYPE$: > $HOSTNAME$: $SERVICESTATE$ ($OUTPUT$)" | /usr/local/bin/gnokii > --sendsms $CONTACTPAGER$ -C0 2>/dev/null > } > > # 'notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/bin/printf "$NOTIFICATIONTYPE$: > $HOSTNAME$: $SERVICESTATE$ ($OUTPUT$)" | /usr/local/bin/gnokii > --sendsms $CONTACTPAGER$ -C0 2>/dev/null > } > > This don't work in nagios but i don't get errors either. > >>I need to do more configurations in other files? >>Can you help me !!!why doesn't work? > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Mon May 5 13:40:37 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Mon, 5 May 2003 13:40:37 +0200 Subject: checkcommands.cfg problems... Message-ID: <9290BC9741D67F43BDAAC84144FF870D0183F688@intecserver007.intec.co.za> I have had this error with the # character. Nagios config files are very specific about the placement of the # character if you do not want it to read the config entry. Make sure that all # characters are in column 1 IE # my config # don't want this # go away cheers -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Monday, May 05, 2003 8:30 AM To: Pablo Medrano Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checkcommands.cfg problems... Can you show us your checkcommands.cfg? /FredrikW Pablo Medrano wrote: >Hi !!! > >Im sorry ! >I speak little english, > >I having problems with nagios. > >when I try to run : > >nagios -v /etc/nagios/nagios.cfg > >...put back the next message : > >Error: Unexpected token or statement in file '/etc/nagios/checkcommands.cfg' on line 43 > >And replacing or comment that line (#) in file, its the same error with the next line >(i.e. "...on line 51" ) > >I can not understand the real problem. > >Im using nagios-1.0 on Debian, and its an unstable package on SID. >I can generate the checkcommands.cfg automaticaly with the Debian script: >update-nagios >this script check the plugins, and convert in correct checkcommands.cfg format file > >I need help !!! > >Thanks and regards ! and Im sorry for talking like Tarzan :D > >Pablo Medrano > >(from Argentina) > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Mon May 5 15:32:14 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 05 May 2003 09:32:14 -0400 Subject: nrpe? Message-ID: <5.1.0.14.0.20030505092743.00b5e6a0@pop.icnet.com.ve> Hi, In what cases I should use the nrpe addon? Jeyri Bautista ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From soporte.tecnico at fibertel.com.ar Mon May 5 15:37:39 2003 From: soporte.tecnico at fibertel.com.ar (Pablo Medrano) Date: Mon, 5 May 2003 10:37:39 -0300 Subject: Warning: Monitoring process may not be running! Message-ID: <20030505103739.7ed43512.soporte.tecnico@fibertel.com.ar> Hi, nagios its already running, but... I having some error messages like: Warning: Monitoring process may not be running! or Process Commands It appears as though Nagios is not running, so commands are temporarily unavailable... on... http:///nagios/cgi-bin/extinfo.cgi?type=0 and not start de checks (Im watching "PENDING") and not read and write in /var/log/nagios/archive/nagios--0.log I was created with "touch" for test, but not read or write (UID & GID is nagios for all the files/folders) any suggest ??? Thanks again and regards! Pablo Medrano (from Argentina) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Mon May 5 16:17:43 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Mon, 5 May 2003 16:17:43 +0200 Subject: Notification Problem on Escalations with yaps-0.96 (parallelizing) Message-ID: <200305051617.43168.Michael.Huettig@Medien-Systempartner.de> Hi all, i'm using nagios 1.0 on RH7.3 an got some notification - problems on escalations: Only the first member of a contact_group is notified. Look at my config-snippets: contactgroups.cfg: ============== # 'netz-admins-sms' contact group definition define contactgroup{ contactgroup_name netz-admins-sms alias Netz-Admins SMS members mhuettig-sms,sschulze-sms,mtruebner-sms } escalations.cfg: ============ # Hostgroup 'routers' escalation definition define hostgroupescalation{ hostgroup_name routers first_notification 6 last_notification 0 contact_groups netz-admins-sms,leitstand-sms,sun-leitung-sms notification_interval 10 } On an error of a cisco-router (Host Down) only notifications go out to mhuettig-sms. No notifications where going out to sschulze-sms and mtruebner-sms, and also no notifications go out for leitstand-sms and sun-leitung-sms, the time-periods match for all the single contacts. To send an SMS, i'm using Yaps-0.96, which is working fine, but i think there could be a problem with many outgoing-sms, when i'm looking at the notifications, i see, that there are notifications for the defined contacts. In /var/log/yaps.log i found, that nagios is parallelizing the notifications for all the contacts. Nagios tries to put notifications for all the contacts parallel, because of single-user-ability of any sms-client the most notifications went to /dev/null. In /etc/yaps.rc i set parameter max-messages 1. Has anyone a hint for me, how to get off the parallel notifications of nagios or to work yaps with parallel notifications? -- Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Mon May 5 16:30:30 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Mon, 5 May 2003 10:30:30 -0400 Subject: Plugin timeouts Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDA7C@NJ-2K-Email1.delphi-tech.com> HI all, Having a problem where nagios assums since the plugin timed out after 10 seconds the service is dead. Is there any way to increase this threshold? What ends up happening is we get two back-to-back e-mails regarding the service, within seconds of each other. One says it's down, the other says it's up! I know this is almost definately because the machine is trying to check a whole bunch of things at once and getting a little over loaded. We have three nagios boxes: 1 front-end and 2 distributed... Tia -Dave ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at computerconcept.net Mon May 5 16:36:40 2003 From: roy at computerconcept.net (Roy Souther) Date: Mon, 5 May 2003 09:36:40 -0500 Subject: Host up but 2 Services appear to be down. Message-ID: <000301c31313$bde51840$3105000a@PC003> I have been running Nagios successfully for about a year now. I'm checking over 30+ host, and 100+ services. Recently I added a host, and I'm checking four services on that host (POP3, HTTP, FTP, and SYSTEM LOAD). The problem is this; my host is up but two of the four services I'm checking for are reported as being down (FTP & POP3), when they are clearly working. I checked my config files and nothing differs from any of the other host/services that are all reporting being up. Does anyone have any possible solutions? This is really kind of aggrevating, any help would be greatly appreciated. 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fetse_pr at yahoo.fr Mon May 5 17:35:28 2003 From: fetse_pr at yahoo.fr (fosa) Date: 5 May 2003 15:35:28 -0000 Subject: How to send mail from linux to an external address Message-ID: <20030505153528.17872.qmail@pod-163.dolphin-server.co.uk> Hi, I am trying to send e-mail notification from (NAgios-server)Linux to an address under NT-Lotus Notes and nothing happen. my syntax is mail -s "hello" name at address.com it is send to /var/message and I have nothing else thank in advance ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Mon May 5 20:55:06 2003 From: gboutwel at valleyhope.com (gboutwel at valleyhope.com) Date: Mon, 05 May 2003 13:55:06 -0500 Subject: example use of check_mrtg & traffic_average Message-ID: <3EB66D3A.19068.FD4509@localhost> Can someone send me an example 'service' definition of check_mrtg and/org traffic_average? I'm having trouble defining a service that uses these plugins. -- George Boutwell, Programmer II - Valley Hope Association gboutwel at valleyhope.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brylon at jla.rutgers.edu Mon May 5 21:09:32 2003 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Mon, 5 May 2003 15:09:32 -0400 (EDT) Subject: GUI available besides NAGAT! Message-ID: After perusing the mailing lists, is anyone developing, using, working on a gui for nagios configuration files. We here at Rutgers University are using the old default config files with a hacked version of NEAT. We did not go to object based yet since we (I) felt there was no gui solution out there yet. A gui is nice since, for example, our operators can edit config files without having an account on the machine. However, I know the next release is going to do away with the default config files and I would like to do away with them as well, but I can't believe how established nagios is that there is no "stable" gui out there. Any feedback would be much appreciated. Thanks. Bryan Loniewski NBCS - Systems Programmer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon May 5 21:17:55 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 5 May 2003 15:17:55 -0400 Subject: distributed monitoring/central server performance problems References: <029a01c31106$221d5710$f805ff0a@tekniq> Message-ID: <005001c3133b$081afb10$f805ff0a@tekniq> Hi everyone, I have somewhat of an update on this situation. I've been able to get similar results in a non-distributed environment. It may not or may not give anyone ideas but it does simplify the situation. Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 Approx 2600 services, 313 hosts. 2324 passive checks sent through nsca and written to external commands file. 359 active service checks. Uses cfg file posted previously. Host/Service status does not update regularly. All services are setup to update within 5 minute periods, but there are results still pending for checks made over 45 minutes ago. Stale checks are attempted once but then Nagios becomes so bogged that it can't process anything. This is reflected in the web interface as well as the status.log. If anyone uses Nagios in a similar large-scale environment, I'd really appreciate some input. Thanks, Jason ----- Original Message ----- From: "Jason Lancaster" To: Sent: Friday, May 02, 2003 19:54 Subject: [Nagios-users] distributed monitoring/central server performance problems > A simple background of my environment: > My central server is receiving external commands from 3 monitoring servers. > I have just over 3200 services monitored, all delivered to the central > server through NSCA. Everything works perfect until the Nagios process on > the central server attempts to parse the external commands. > > When first started, Nagios updates status information (alerts) quickly but > as time goes on, status updates (alerts) are parsed slower and slower until > eventually, nothing happens and only external commands are written. This > cripples nagios and since it is not executing local alerts or status > updates, it never executes stale_check's or sends out notifications. I'm > left with a webpage that displays results anywhere from 6 hours ago to about > 15 minutes ago. The odd thing about this is the behavior is completely > unpredictable, although it sometimes seems like it gives an alphabetical > priority to the first few letters in the alphabet. > > If the above confuses you, perhaps a snip from the log might help: > [1051917099] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - Packet > loss = 0%, RTA = 0.80 ms > **repeat external command lines hundreds of times, with the following line > below happening about 20-30 minutes after the external command** > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK - Packet > loss = 0%, RTA = 0.80 ms > > The central server is far from being overworked with a load average of 0.04 > and both cpu's average about 96% idle. I can in no way attribute this > behavior to the hardware on my central system. > > I've gone thought the nagios configuration file and tried almost every > combination of tweaks including: aggregate updates, aggressive checking, > orphaned services, inter_check_delay_methods, service_interleave_factors, > setting up a ramdisk, etc. I've found the *best* settings seem to be the > "smart" methods but they are FAR from perfect. Nagios still is overrun with > the external commands. > > I know there have to people who have successfully implemented Nagios in a > large distributed environment and I'm hoping some of you might speak up > about issues you may have had. > > I believe this problem has to do with Nagios and my guess is it's either a > performance option available in the nagios.cfg or it's something I have to > rewrite/set in the source. I've tried most nagios.cfg options available with > no luck. I've attached my nagios.cfg just in case someone notices a blatant > error (I know everything here is not the most efficient, it's just what my > latest "test" used) > > Thanks for your time and sorry for the long explanation! > > Jason Lancaster > Intranet Administrator, Affinity Internet > (954) 334-8203 > > check_external_commands=1 > command_check_interval=30s > command_file=/usr/local/nagios/var/rw/nagios.cmd > comment_file=/usr/local/nagios/var/comment.log > downtime_file=/usr/local/nagios/var/downtime.log > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=1 > inter_check_delay_method=n > service_interleave_factor=1 > max_concurrent_checks=0 > service_reaper_frequency=1 > sleep_time=1 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=0 > use_retained_program_state=0 > interval_length=60 > use_agressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=0 > check_for_orphaned_services=1 > check_service_freshness=1 > freshness_check_interval=600 > aggregate_status_updates=1 > status_update_interval=20 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kleysonr at hotmail.com Mon May 5 21:31:14 2003 From: kleysonr at hotmail.com (kleysonr) Date: 5 May 2003 19:31:14 -0000 Subject: Problem plugin Message-ID: <20030505193114.30633.qmail@pod-163.dolphin-server.co.uk> What the problem in the plugin? In the netsaint the follow plugin working very well, but in the nagios do not work. The plugin uses SNMP to find out whether a particular port on a Cisco router is up. Check interfaces : snmpwalk .1.3.6.1.2.1.2.2.1.2 check_ciscoif -H -c public -i Serial1/0.1 #!/usr/bin/perl -w # #use strict; #use lib $main::runtimedir; use vars qw( $host $port $community $oid $interface $session $error $verbose $opt_V $opt_h $response $runtimedit $PROGNAME $exval $result ); use Getopt::Long; use Net::SNMP qw( snmp_event_loop ); use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); sub print_help (); sub print_usage (); $port = '161'; $oidstr = '1.3.6.1.2.1.2.2.1.2'; $oid = '1.3.6.1.2.1.2.2.1.8'; # ifOperStatus: operational status of an interface # Values for each interface are: # 1 - up # 2 - down # 3 - testing # 4 - unknown # 5 - dormant # 6 - not present # 7 - lower layer down $ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; Getopt::Long::Configure('bundling'); GetOptions ("V" => $opt_V, "version" => $opt_V, "h" => $opt_h, "help" => $opt_h, "v" => $verbose, "verbose" => $verbose, "H=s" => $host, "host=s" => $host, "p:i" => $port, "port:i" => $port, "i=s" => $interface, "interface=s" => $interface, "c=s" => $community, "community=s" => $community); # # Parse the standard options. # if ($opt_V) { print_revision($PROGNAME,' $Revision: 1.1 $ '); #' exit $ERRORS{'OK'}; } if ($opt_h) { print_help(); exit $ERRORS{'OK'}; } $host = shift unless ($host); if (!defined $host || !defined $interface || !defined $community) { &print_usage(); exit 1; } # # Install the signal handler. # $SIG{ INT } = &handler; # # Make an SNMP client object. # print "Connecting to $community@$host:$portn" if ($verbose); ( $session, $error ) = Net::SNMP->session( -hostname => shift || $host, -community => shift || $community, -port => shift || $port ); if( ! defined( $session ) ) { print STDERR "Error establishing SNMP connection to $host, abortingn"; exit 1; } # # Use it to get the service table. # # Get INTEGER interface print "Requesting $oidstrn" if ($verbose); $response = $session->get_table($oidstr); EXIT: foreach $key (sort keys %$response) { if($$response{$key} eq $interface) { ($f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$interface) = split(/./,$key); last EXIT; } } # Get STATUS interface $snmpIfOperStatus = $oid . "." . $interface; print "Requesting $snmpIfOperStatusn" if ($verbose); $result = $session->get_request( -varbindlist => [$snmpIfOperStatus] ); $response = 0; $response = $result->{$snmpIfOperStatus}; # Default is CRITICAL: The service isn't listed. snmp_event_loop(); # Here it may get softened as we parse the reply. # Deal with out-of-bounds answers. if (($response < 0) || ($response > ) { $response = 8; } # Map SNMP result codes to Netsaint result codes. print "INTERFACE " . ("CRITICAL: i/f $interface not listed or no reply", "OK: i/f $interface is UP", "CRITICAL: i/f $interface is DOWN", "WARNING: i/f $interface is TESTING", "CRITICAL: i/f $interface ststus is UNKNOWN", "WARNING: i/f $interface is DORMANT", "CRITICAL: i/f $interface is NOT PRESENT", "CRITICAL: i/f $interface status is 'LOWER LAYER DOWN'", "CRITICAL: i/f $interface listed with undecipherable value", )[$response] . "n"; $exval = (2,0,2,1,2,1,2,2,2)[$response]; #print $response; exit $exval; #exit 0; #print "->response: $response ->exval: $exvaln"; # Signal handler, probably nearly always triggered by SIGINT. sub handler { $session->close(); die "Received signal SIG".( shift ); } # User-friendliness, such as it is. sub print_usage () { print "Usage: $PROGNAME -H hostname [ -p port ] -c community -i interface [--verbose] $PROGNAME --help $PROGNAME --version "; } sub print_help () { print_revision($PROGNAME,'$Revision: 1.1 $ '); print "Copyright (c) 2001 Tim Deegan Check NT service list for a particular service, by SNMP "; print_usage(); print " -H --host=HOST Choose host to query -p --port=PORT Pick a port number (default is 161) -s --interface=INTERFACE Which interface name to check -c --community=COMMUNITY SNMP community string -v, --verbose Print some extra debugging information (not advised for normal operation) -V, --version Show version and license information -h, --help Show this help screen "; support(); } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DHarding at gilatla.com Mon May 5 21:58:53 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Mon, 5 May 2003 15:58:53 -0400 Subject: /etc/init.d/nagios reload Message-ID: <97D0DDFA3C2F5B44AAC0960B99E96213026315@VMX.gilatla.com> When I run reload a couple of times (after editing the .cfg files), All services fail with 'UNDREACHABLE' status. I then have to manually stop and start the process for it to work again? Why is this? _____________________ Devon Harding System Administrator Gilat Latin America 954-858-1600 dharding at gilatla.com This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jstuart at edenpr.k12.mn.us Mon May 5 22:17:19 2003 From: jstuart at edenpr.k12.mn.us (Joe Stuart) Date: Mon, 05 May 2003 15:17:19 -0500 Subject: Will not notify Message-ID: Hi, I'm having a problem with nagios not notifying by email or pager when a host or a service is down. It is pretty consistent about notifying me when a host recovers which is strange. In the contacts.cfg file I have these for my notification definitions service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager and in the services.cfg file I have this notification_options w,u,c,r I am completely stumped and could use some help. 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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon May 5 23:21:09 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 5 May 2003 17:21:09 -0400 Subject: hostgroup escalations Message-ID: <5F29693503507B4FB4032686ADF862670744C7@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Mon May 5 23:18:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 05 May 2003 17:18:52 -0400 (EDT) Subject: GUI available besides NAGAT! In-Reply-To: References: Message-ID: On Mon, 5 May 2003, Bryan Loniewski wrote: > > After perusing the mailing lists, is anyone developing, using, working on > a gui for nagios configuration files. We here at Rutgers University are > using the old default config files with a hacked version of NEAT. We did > not go to object based yet since we (I) felt there was no gui solution > out there yet. A gui is nice since, for example, our operators can edit > config files without having an account on the machine. However, I know > the next release is going to do away with the default config files and I > would like to do away with them as well, but I can't believe how > established nagios is that there is no "stable" gui out there. Any > feedback would be much appreciated. > > Thanks. > > Bryan Loniewski > NBCS - Systems Programmer > > NagMIN is an alternative. Not yet alpha is "osesm". Part of the issue holding back the development of alternative admin gui's is the absence of a parser library. Nagmin has developed its own and osesm is developing another. Neither is entirely application independent. I have started to heavily patch the perl modules under osesm and hope to get those patches in soon. I think you will see some development over the summer - if you can wait that long. -- -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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon May 5 23:26:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 05 May 2003 17:26:11 -0400 (EDT) Subject: distributed monitoring/central server performance problems In-Reply-To: <005001c3133b$081afb10$f805ff0a@tekniq> References: <005001c3133b$081afb10$f805ff0a@tekniq> Message-ID: Is there any way for you run a debugging version of Nagios (DEBUG3) and/or strace.. -sg On Mon, 5 May 2003, Jason Lancaster wrote: > Hi everyone, > I have somewhat of an update on this situation. I've been able to get > similar results in a non-distributed environment. It may not or may not give > anyone ideas but it does simplify the situation. > > Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 > Approx 2600 services, 313 hosts. > 2324 passive checks sent through nsca and written to external commands file. > 359 active service checks. > Uses cfg file posted previously. > > Host/Service status does not update regularly. All services are setup to > update within 5 minute periods, but there are results still pending for > checks made over 45 minutes ago. Stale checks are attempted once but then > Nagios becomes so bogged that it can't process anything. This is reflected > in the web interface as well as the status.log. > > If anyone uses Nagios in a similar large-scale environment, I'd really > appreciate some input. > > Thanks, > Jason > > ----- Original Message ----- > From: "Jason Lancaster" > To: > Sent: Friday, May 02, 2003 19:54 > Subject: [Nagios-users] distributed monitoring/central server performance > problems > > > > A simple background of my environment: > > My central server is receiving external commands from 3 monitoring > servers. > > I have just over 3200 services monitored, all delivered to the central > > server through NSCA. Everything works perfect until the Nagios process on > > the central server attempts to parse the external commands. > > > > When first started, Nagios updates status information (alerts) quickly but > > as time goes on, status updates (alerts) are parsed slower and slower > until > > eventually, nothing happens and only external commands are written. This > > cripples nagios and since it is not executing local alerts or status > > updates, it never executes stale_check's or sends out notifications. I'm > > left with a webpage that displays results anywhere from 6 hours ago to > about > > 15 minutes ago. The odd thing about this is the behavior is completely > > unpredictable, although it sometimes seems like it gives an alphabetical > > priority to the first few letters in the alphabet. > > > > If the above confuses you, perhaps a snip from the log might help: > > [1051917099] EXTERNAL COMMAND: > > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - Packet > > loss = 0%, RTA = 0.80 ms > > **repeat external command lines hundreds of times, with the following line > > below happening about 20-30 minutes after the external command** > > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK - Packet > > loss = 0%, RTA = 0.80 ms > > > > The central server is far from being overworked with a load average of > 0.04 > > and both cpu's average about 96% idle. I can in no way attribute this > > behavior to the hardware on my central system. > > > > I've gone thought the nagios configuration file and tried almost every > > combination of tweaks including: aggregate updates, aggressive checking, > > orphaned services, inter_check_delay_methods, service_interleave_factors, > > setting up a ramdisk, etc. I've found the *best* settings seem to be the > > "smart" methods but they are FAR from perfect. Nagios still is overrun > with > > the external commands. > > > > I know there have to people who have successfully implemented Nagios in a > > large distributed environment and I'm hoping some of you might speak up > > about issues you may have had. > > > > I believe this problem has to do with Nagios and my guess is it's either a > > performance option available in the nagios.cfg or it's something I have to > > rewrite/set in the source. I've tried most nagios.cfg options available > with > > no luck. I've attached my nagios.cfg just in case someone notices a > blatant > > error (I know everything here is not the most efficient, it's just what my > > latest "test" used) > > > > Thanks for your time and sorry for the long explanation! > > > > Jason Lancaster > > Intranet Administrator, Affinity Internet > > (954) 334-8203 > > > > check_external_commands=1 > > command_check_interval=30s > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > comment_file=/usr/local/nagios/var/comment.log > > downtime_file=/usr/local/nagios/var/downtime.log > > lock_file=/usr/local/nagios/var/nagios.lock > > temp_file=/usr/local/nagios/var/nagios.tmp > > log_rotation_method=d > > log_archive_path=/usr/local/nagios/var/archives > > use_syslog=0 > > log_notifications=1 > > log_service_retries=1 > > log_host_retries=1 > > log_event_handlers=1 > > log_initial_states=1 > > log_external_commands=1 > > log_passive_service_checks=1 > > inter_check_delay_method=n > > service_interleave_factor=1 > > max_concurrent_checks=0 > > service_reaper_frequency=1 > > sleep_time=1 > > service_check_timeout=60 > > host_check_timeout=30 > > event_handler_timeout=30 > > notification_timeout=30 > > ocsp_timeout=5 > > perfdata_timeout=5 > > retain_state_information=1 > > state_retention_file=/usr/local/nagios/var/status.sav > > retention_update_interval=0 > > use_retained_program_state=0 > > interval_length=60 > > use_agressive_host_checking=0 > > execute_service_checks=1 > > accept_passive_service_checks=1 > > enable_notifications=1 > > enable_event_handlers=1 > > process_performance_data=0 > > obsess_over_services=0 > > check_for_orphaned_services=1 > > check_service_freshness=1 > > freshness_check_interval=600 > > aggregate_status_updates=1 > > status_update_interval=20 > > enable_flap_detection=0 > > low_service_flap_threshold=5.0 > > high_service_flap_threshold=20.0 > > low_host_flap_threshold=5.0 > > high_host_flap_threshold=20.0 > > date_format=us > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon May 5 23:28:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 05 May 2003 17:28:10 -0400 (EDT) Subject: Problem plugin In-Reply-To: <20030505193114.30633.qmail@pod-163.dolphin-server.co.uk> References: <20030505193114.30633.qmail@pod-163.dolphin-server.co.uk> Message-ID: Have you tried the supported check_ifoperstatus plugin ? -sg On 5 May 2003, kleysonr wrote: > > What the problem in the plugin? In the netsaint the follow plugin working very well, but in the nagios do not work. > The plugin uses SNMP to find out whether a particular port on a Cisco router is up. > > Check interfaces : snmpwalk .1.3.6.1.2.1.2.2.1.2 > > check_ciscoif -H -c public -i Serial1/0.1 > > #!/usr/bin/perl -w > # > #use strict; > #use lib $main::runtimedir; > use vars qw( $host $port $community $oid $interface $session $error $verbose $opt_V $opt_h $response $runtimedit $PROGNAME $exval $result ); > use Getopt::Long; > use Net::SNMP qw( snmp_event_loop ); > use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); > > sub print_help (); > sub print_usage (); > > $port = '161'; > $oidstr = '1.3.6.1.2.1.2.2.1.2'; > $oid = '1.3.6.1.2.1.2.2.1.8'; > # ifOperStatus: operational status of an interface > # Values for each interface are: > # 1 - up > # 2 - down > # 3 - testing > # 4 - unknown > # 5 - dormant > # 6 - not present > # 7 - lower layer down > > $ENV{'PATH'}=''; > $ENV{'BASH_ENV'}=''; > $ENV{'ENV'}=''; > > Getopt::Long::Configure('bundling'); > GetOptions > ("V" => $opt_V, "version" => $opt_V, > "h" => $opt_h, "help" => $opt_h, > "v" => $verbose, "verbose" => $verbose, > "H=s" => $host, "host=s" => $host, > "p:i" => $port, "port:i" => $port, > "i=s" => $interface, "interface=s" => $interface, > "c=s" => $community, "community=s" => $community); > > > > # > # Parse the standard options. > # > > if ($opt_V) { > print_revision($PROGNAME,' $Revision: 1.1 $ '); #' > exit $ERRORS{'OK'}; > } > > > if ($opt_h) { > print_help(); > exit $ERRORS{'OK'}; > } > > $host = shift unless ($host); > > if (!defined $host || !defined $interface || !defined $community) { > &print_usage(); > exit 1; > } > > # > # Install the signal handler. > # > > $SIG{ INT } = &handler; > > # > # Make an SNMP client object. > # > > print "Connecting to $community@$host:$portn" if ($verbose); > > > ( $session, $error ) = Net::SNMP->session( > -hostname => shift || $host, > -community => shift || $community, > -port => shift || $port > ); > > if( ! defined( $session ) ) { > print STDERR "Error establishing SNMP connection to $host, abortingn"; > exit 1; > } > > # > # Use it to get the service table. > # > > # Get INTEGER interface > print "Requesting $oidstrn" if ($verbose); > > $response = $session->get_table($oidstr); > > EXIT: foreach $key (sort keys %$response) { > if($$response{$key} eq $interface) { > ($f,$f,$f,$f,$f,$f,$f,$f,$f,$f,$interface) = split(/./,$key); > last EXIT; > } > } > > # Get STATUS interface > > $snmpIfOperStatus = $oid . "." . $interface; > print "Requesting $snmpIfOperStatusn" if ($verbose); > > $result = $session->get_request( > -varbindlist => [$snmpIfOperStatus] > ); > > $response = 0; > $response = $result->{$snmpIfOperStatus}; # Default is CRITICAL: The service isn't listed. > > snmp_event_loop(); # Here it may get softened as we parse the reply. > > # Deal with out-of-bounds answers. > if (($response < 0) || ($response > ) { $response = 8; } > > # Map SNMP result codes to Netsaint result codes. > print "INTERFACE " > . ("CRITICAL: i/f $interface not listed or no reply", > "OK: i/f $interface is UP", > "CRITICAL: i/f $interface is DOWN", > "WARNING: i/f $interface is TESTING", > "CRITICAL: i/f $interface ststus is UNKNOWN", > "WARNING: i/f $interface is DORMANT", > "CRITICAL: i/f $interface is NOT PRESENT", > "CRITICAL: i/f $interface status is 'LOWER LAYER DOWN'", > "CRITICAL: i/f $interface listed with undecipherable value", > )[$response] > . "n"; > $exval = (2,0,2,1,2,1,2,2,2)[$response]; > > #print $response; > exit $exval; > #exit 0; > #print "->response: $response ->exval: $exvaln"; > > # Signal handler, probably nearly always triggered by SIGINT. > > sub handler > { > $session->close(); > die "Received signal SIG".( shift ); > } > > # User-friendliness, such as it is. > > sub print_usage () { > print "Usage: > $PROGNAME -H hostname [ -p port ] -c community -i interface [--verbose] > $PROGNAME --help > $PROGNAME --version > "; > } > > sub print_help () { > print_revision($PROGNAME,'$Revision: 1.1 $ '); > print "Copyright (c) 2001 Tim Deegan > > Check NT service list for a particular service, by SNMP > > "; > print_usage(); > print " > -H --host=HOST > Choose host to query > -p --port=PORT > Pick a port number (default is 161) > -s --interface=INTERFACE > Which interface name to check > -c --community=COMMUNITY > SNMP community string > -v, --verbose > Print some extra debugging information (not advised for normal operation) > -V, --version > Show version and license information > -h, --help > Show this help screen > > "; > > support(); > } > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue May 6 00:12:56 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 5 May 2003 17:12:56 -0500 Subject: Some new software. Message-ID: <352B04312822444A962714393AED8A4D02684B@ADAEVS01.int.chickasaw.net> Any one seen this stuff before? http://www.uptimesoftware.com/productinfo.html There are some things that look interestingly similar to Nagios. If they didn't use the code (which I suspect) they at least used the design. -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Tue May 6 01:52:36 2003 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 6 May 2003 00:52:36 +0100 Subject: up and down of a host In-Reply-To: <20030505103039.19013.qmail@mail.supereva.it> References: <20030505103039.19013.qmail@mail.supereva.it> Message-ID: <000401c31361$67985da0$0400a8c0@squarebox.com> Down load the plugins package from sourceforge. The link is off the nagios home page. If all you want is a ping test then the one you are looking for is check_ping. Remember though that the plugins all come in source form and need to be compiled -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ilclaudio at supereva.it Sent: 05 May 2003 11:31 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] up and down of a host Hi, I've installed Nagios 1.0 on a Red Hat 7.3. Now, for monitoring if a host is Up or down (with a ping, for example) do I have to install some plugins? which one? ----------------------------------------------------- Trova online il tuo partner! http://incontri.supereva.it messaggio inviato con Freemail by www.superEva.it ----------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarkoff.Scott at itscfe.navy.mil Tue May 6 03:28:38 2003 From: Jarkoff.Scott at itscfe.navy.mil (Jarkoff, Scott (ITSC-FE)) Date: Tue, 6 May 2003 10:28:38 +0900 Subject: check_by_ssh Message-ID: I was wondering if someone could point me in the right direction with regards to using check_by_ssh. What I would like to do is monitor uptime, drive space and other things of this nature. The problem I am running in to is that I am always being asked for a password when using the command. What do I need to do in order to suppress that? Thanks in advance. Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: stationary-cnfjtorii.jpg Type: application/octet-stream Size: 15909 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2427 bytes Desc: not available URL: From sghosh at sghosh.org Tue May 6 04:06:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 05 May 2003 22:06:11 -0400 (EDT) Subject: check_by_ssh In-Reply-To: References: Message-ID: On Tue, 6 May 2003, Jarkoff, Scott (ITSC-FE) wrote: > I was wondering if someone could point me in the right direction with > regards to using check_by_ssh. What I would like to do is monitor > uptime, drive space and other things of this nature. The problem I am > running in to is that I am always being asked for a password when using > the command. What do I need to do in order to suppress that? > > Thanks in advance. > > > Scott > > http://bumblebee.lcs.mit.edu/ssh2/ -- -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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue May 6 04:15:44 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 5 May 2003 21:15:44 -0500 Subject: check_by_ssh In-Reply-To: ; from Jarkoff.Scott@itscfe.navy.mil on Tue, May 06, 2003 at 10:28:38AM +0900 References: Message-ID: <20030505211544.A18263@bennyvision.com> On Tue, May 06, 2003 at 10:28:38AM +0900, Jarkoff, Scott (ITSC-FE) wrote: > I was wondering if someone could point me in the right direction with > regards to using check_by_ssh. What I would like to do is monitor > uptime, drive space and other things of this nature. The problem I am > running in to is that I am always being asked for a password when using > the command. What do I need to do in order to suppress that? Hello Scott, Look into publickey authentication - by specifying a key with a blank passphrase, you can avoid using passwords altogether. The following man pages should get you started: ssh ssh-keygen Benny -- "Earth first! Make Mars our bitch!" -- Dale Dribble, "King Of The Hill" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Zander.Strachan=PXb+XZ2iVoyHXe+LvDLADg at public.gmane.org Tue May 6 06:43:12 2003 From: Zander.Strachan=PXb+XZ2iVoyHXe+LvDLADg at public.gmane.org (Zander Strachan) Date: Tue, 6 May 2003 14:43:12 +1000 Subject: check_nt - Windows Cluster Virtual Server ; breaks Exchange Message-ID: After reading the post by Jeremy; has anyone else experienced this problem ? I would like to check on diskspace (using check_nt) on the drives that move with the Exchange Service but unfortunately there is no test platform. Ideally I want to associate these drives with the virtual name for the exchange server. Zander > From: Jeremy Russell > Subject: RE: [Nagios-users] AD Checks >Ya, Im using that too. >One piece of advice though... Don't ever use check_nt on an Cluster Virtual Server. It kept freaking our Exchange Cluster out and bringing it completely down, it wouldn't even fail over, took two weeks to figure out it was >our Monitoring software (ironic :/). It was my fault for just putting the hostgroup in (contained the two servers and the virtual server) instead of just the two servers... DOH! So, I'm probably the only one dumb enough to >>do that. J Zander Strachan Unix Systems Engineer > Email: Zander.Strachan=PXb+XZ2iVoyHXe+LvDLADg at public.gmane.org > Be seen on Australia's premier travel website - http://www.australia.com List your product on the Australian Tourism Data Warehouse. For further information: http://www.tq.com.au/atdw ********************* Disclaimer ********************* The information contained in this email is intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this email is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. This e-mail message has been checked for the presence of computer viruses. However, Tourism Queensland provides no warranty that all possible viruses have been detected and cleaned during this process. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 07:13:37 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 01:13:37 -0400 Subject: distributed monitoring/central server performance problems In-Reply-To: References: Message-ID: <000501c3138e$43a90520$6101a8c0@acid> Sg, Thanks for the input on this... I believe what I've run into is a bottleneck with send_nsca and the general ocsp command. 3200 services all using separate send_nsca commands on an average check_interval of 5 minutes makes for a very crazy system; almost 10 incoming/outgoing nsca connections a second. I've tested this theory by disabling the oscp command and using simpler commands (such as an echo to a log file) with success. I'm going to write an nsca "sweeper" tomorrow and see how sending increments of the oscp commands (50 at a time, 100 at a time, etc) through a single nsca connection to the central server are processed. I'll keep posting and be sure to let everyone know if I solve it. -Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu Ghosh Sent: Monday, May 05, 2003 17:26 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] distributed monitoring/central server performance problems Is there any way for you run a debugging version of Nagios (DEBUG3) and/or strace.. -sg On Mon, 5 May 2003, Jason Lancaster wrote: > Hi everyone, > I have somewhat of an update on this situation. I've been able to get > similar results in a non-distributed environment. It may not or may not give > anyone ideas but it does simplify the situation. > > Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 > Approx 2600 services, 313 hosts. > 2324 passive checks sent through nsca and written to external commands file. > 359 active service checks. > Uses cfg file posted previously. > > Host/Service status does not update regularly. All services are setup to > update within 5 minute periods, but there are results still pending for > checks made over 45 minutes ago. Stale checks are attempted once but then > Nagios becomes so bogged that it can't process anything. This is reflected > in the web interface as well as the status.log. > > If anyone uses Nagios in a similar large-scale environment, I'd really > appreciate some input. > > Thanks, > Jason > > ----- Original Message ----- > From: "Jason Lancaster" > To: > Sent: Friday, May 02, 2003 19:54 > Subject: [Nagios-users] distributed monitoring/central server performance > problems > > > > A simple background of my environment: > > My central server is receiving external commands from 3 monitoring > servers. > > I have just over 3200 services monitored, all delivered to the central > > server through NSCA. Everything works perfect until the Nagios process on > > the central server attempts to parse the external commands. > > > > When first started, Nagios updates status information (alerts) quickly but > > as time goes on, status updates (alerts) are parsed slower and slower > until > > eventually, nothing happens and only external commands are written. This > > cripples nagios and since it is not executing local alerts or status > > updates, it never executes stale_check's or sends out notifications. I'm > > left with a webpage that displays results anywhere from 6 hours ago to > about > > 15 minutes ago. The odd thing about this is the behavior is completely > > unpredictable, although it sometimes seems like it gives an alphabetical > > priority to the first few letters in the alphabet. > > > > If the above confuses you, perhaps a snip from the log might help: > > [1051917099] EXTERNAL COMMAND: > > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - Packet > > loss = 0%, RTA = 0.80 ms > > **repeat external command lines hundreds of times, with the following line > > below happening about 20-30 minutes after the external command** > > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK - Packet > > loss = 0%, RTA = 0.80 ms > > > > The central server is far from being overworked with a load average of > 0.04 > > and both cpu's average about 96% idle. I can in no way attribute this > > behavior to the hardware on my central system. > > > > I've gone thought the nagios configuration file and tried almost every > > combination of tweaks including: aggregate updates, aggressive checking, > > orphaned services, inter_check_delay_methods, service_interleave_factors, > > setting up a ramdisk, etc. I've found the *best* settings seem to be the > > "smart" methods but they are FAR from perfect. Nagios still is overrun > with > > the external commands. > > > > I know there have to people who have successfully implemented Nagios in a > > large distributed environment and I'm hoping some of you might speak up > > about issues you may have had. > > > > I believe this problem has to do with Nagios and my guess is it's either a > > performance option available in the nagios.cfg or it's something I have to > > rewrite/set in the source. I've tried most nagios.cfg options available > with > > no luck. I've attached my nagios.cfg just in case someone notices a > blatant > > error (I know everything here is not the most efficient, it's just what my > > latest "test" used) > > > > Thanks for your time and sorry for the long explanation! > > > > Jason Lancaster > > Intranet Administrator, Affinity Internet > > (954) 334-8203 > > > > check_external_commands=1 > > command_check_interval=30s > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > comment_file=/usr/local/nagios/var/comment.log > > downtime_file=/usr/local/nagios/var/downtime.log > > lock_file=/usr/local/nagios/var/nagios.lock > > temp_file=/usr/local/nagios/var/nagios.tmp > > log_rotation_method=d > > log_archive_path=/usr/local/nagios/var/archives > > use_syslog=0 > > log_notifications=1 > > log_service_retries=1 > > log_host_retries=1 > > log_event_handlers=1 > > log_initial_states=1 > > log_external_commands=1 > > log_passive_service_checks=1 > > inter_check_delay_method=n > > service_interleave_factor=1 > > max_concurrent_checks=0 > > service_reaper_frequency=1 > > sleep_time=1 > > service_check_timeout=60 > > host_check_timeout=30 > > event_handler_timeout=30 > > notification_timeout=30 > > ocsp_timeout=5 > > perfdata_timeout=5 > > retain_state_information=1 > > state_retention_file=/usr/local/nagios/var/status.sav > > retention_update_interval=0 > > use_retained_program_state=0 > > interval_length=60 > > use_agressive_host_checking=0 > > execute_service_checks=1 > > accept_passive_service_checks=1 > > enable_notifications=1 > > enable_event_handlers=1 > > process_performance_data=0 > > obsess_over_services=0 > > check_for_orphaned_services=1 > > check_service_freshness=1 > > freshness_check_interval=600 > > aggregate_status_updates=1 > > status_update_interval=20 > > enable_flap_detection=0 > > low_service_flap_threshold=5.0 > > high_service_flap_threshold=20.0 > > low_host_flap_threshold=5.0 > > high_host_flap_threshold=20.0 > > date_format=us ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue May 6 09:01:54 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 06 May 2003 09:01:54 +0200 Subject: Plugin timeouts In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD055BDA7C@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD055BDA7C@NJ-2K-Email1.delphi-tech.com> Message-ID: <3EB75DE2.6060804@dhl.com> Depends on what plugin you are using. Most plugins take the "-t switch". DTerrell at Delphi-Tech.com wrote: > HI all, > > Having a problem where nagios assums since the plugin timed out after 10 > seconds the service is dead. Is there any way to increase this threshold? > What ends up happening is we get two back-to-back e-mails regarding the > service, within seconds of each other. One says it's down, the other says > it's up! I know this is almost definately because the machine is trying to > check a whole bunch of things at once and getting a little over loaded. We > have three nagios boxes: 1 front-end and 2 distributed... > > Tia > -Dave > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Piotr.Poznanski at nid.pl Tue May 6 10:03:34 2003 From: Piotr.Poznanski at nid.pl (Piotr Poznanski) Date: Tue, 6 May 2003 10:03:34 +0200 Subject: Can check_by_ssh work under ssh-agent? Message-ID: <00a501c313a5$fe735a10$c200a8c0@Blah2> I'd like to query remote machines by SSH, however I'd rather avoid using empty passphrase. Thought of running nagios (and its children -- plugins) under ssh-agent a little bit more secure... I've created key pair and run ssh-agent, ssh-add. SSH client works fine, ie. asks no password nor passphrase. Unfortunately check_by_ssh plugin kips asking for passphrase... Does plugin lack support for such functionality or is it only some error in my thinking? Regadrs, Piotr -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Tue May 6 11:03:24 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 6 May 2003 21:03:24 +1200 Subject: Can check_by_ssh work under ssh-agent? In-Reply-To: <00a501c313a5$fe735a10$c200a8c0@Blah2> References: <00a501c313a5$fe735a10$c200a8c0@Blah2> Message-ID: <200305060901.h4691qP21584@spectre.freeparking.co.nz> what you need to do is implement things so that commands are automatically issued when the empty passphrase user logs in. The commands get issued, and the user is kicked out. It works fine for me. e.g, from my authorized keys file: no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="/usr/lib/nagios/plugins/check_procs -C process.foo -c 1:" ssh-rsa AAAdkjfkjglkjvm,n4987 etc etc hth jamie On Tue, 06 May 2003 20:03, Piotr Poznanski wrote: > I'd like to query remote machines by SSH, however I'd rather avoid using > empty passphrase. > Thought of running nagios (and its children -- plugins) under ssh-agent a > little bit more secure... > > I've created key pair and run ssh-agent, ssh-add. SSH client works fine, > ie. asks no password nor passphrase. Unfortunately check_by_ssh plugin kips > asking for passphrase... > > Does plugin lack support for such functionality or is it only some error in > my thinking? > > Regadrs, > Piotr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue May 6 11:03:17 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 6 May 2003 11:03:17 +0200 Subject: AW: Notification Problem on Escalations with yaps- 0.96 (parallelizing) Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A456B@serv-075.icon-germany.local> Hi, I have the same problem. I'm using SuSE 8.1 and Yaps. The only solution I can think of is to use a script that pipes the SMS and call Yaps one after the other... Regards, Hagen Deike > -----Urspr?ngliche Nachricht----- > Von: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] > Gesendet: Montag, 5. Mai 2003 16:18 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Notification Problem on Escalations > with yaps-0.96 (parallelizing) > > > Hi all, > i'm using nagios 1.0 on RH7.3 an got some notification - problems on > escalations: > Only the first member of a contact_group is notified. > Look at my config-snippets: > > contactgroups.cfg: > ============== > # 'netz-admins-sms' contact group definition > define contactgroup{ > contactgroup_name netz-admins-sms > alias Netz-Admins SMS > members > mhuettig-sms,sschulze-sms,mtruebner-sms > } > > escalations.cfg: > ============ > # Hostgroup 'routers' escalation definition > define hostgroupescalation{ > hostgroup_name routers > first_notification 6 > last_notification 0 > contact_groups > netz-admins-sms,leitstand-sms,sun-leitung-sms > notification_interval 10 > } > > On an error of a cisco-router (Host Down) only notifications > go out to > mhuettig-sms. No notifications where going out to sschulze-sms and > mtruebner-sms, and also no notifications go out for leitstand-sms and > sun-leitung-sms, the time-periods match for all the single contacts. > > To send an SMS, i'm using Yaps-0.96, which is working fine, > but i think there > could be a problem with many outgoing-sms, when i'm looking at the > notifications, i see, that there are notifications for the > defined contacts. > In /var/log/yaps.log i found, that nagios is parallelizing > the notifications > for all the contacts. Nagios tries to put notifications for > all the contacts > parallel, because of single-user-ability of any sms-client the most > notifications went to /dev/null. > In /etc/yaps.rc i set parameter max-messages 1. > > Has anyone a hint for me, how to get off the parallel > notifications of nagios > or to work yaps with parallel notifications? > > -- > Michael H?ttig > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.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 > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Piotr.Poznanski at nid.pl Tue May 6 11:27:56 2003 From: Piotr.Poznanski at nid.pl (Piotr Poznanski) Date: Tue, 6 May 2003 11:27:56 +0200 Subject: Can check_by_ssh work under ssh-agent? References: <00a501c313a5$fe735a10$c200a8c0@Blah2> <200305060901.h4691qP21584@spectre.freeparking.co.nz> Message-ID: <000f01c313b1$c79cff80$c200a8c0@Blah2> > what you need to do is implement things so that commands are automatically > issued when the empty passphrase user logs in. The commands get issued, and > the user is kicked out. It works fine for me. > e.g, from my authorized keys file: > [...] > jamie Thanks! Sertainly it would be much better as it does not allow for interactive shell. Anyway, still the best way is not to allow anyone break into nagios machine/account :-) Yours, Piotr -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vanny at artemis-it.com Tue May 6 09:47:26 2003 From: vanny at artemis-it.com (Soeun Vanny) Date: Tue, 6 May 2003 16:47:26 +0900 Subject: the use of software Message-ID: <000b01c313a3$c2d63100$5201a8c0@Vannee> Dear Sir and Madame; I'm Soeun Vanny working for Japan Artemis co. . I have some problems with the use of the following softwares.Would you please give me some advices and the examples of the use of them. 1.check_oracle 2.check_sensors 3.check_procs 4.check_swap It would be appreciated if you could take this matter into your consideration. Cordially yours. vanny vanny at artemis-it.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at netservers.co.uk Tue May 6 13:06:14 2003 From: chris at netservers.co.uk (Chris Wilson) Date: Tue, 6 May 2003 12:06:14 +0100 (BST) Subject: /etc/init.d/nagios reload In-Reply-To: <97D0DDFA3C2F5B44AAC0960B99E96213026315@VMX.gilatla.com> References: <97D0DDFA3C2F5B44AAC0960B99E96213026315@VMX.gilatla.com> Message-ID: Hi Devon, > When I run reload a couple of times (after editing the .cfg files), All > services fail with 'UNDREACHABLE' status. I then have to manually stop and > start the process for it to work again? Why is this? I've seen this too. Apparently "/etc/init.d/nagios reload" is broken, sending a SIGHUP to the nagios process will break it too. After that it fails to execute any service checks, giving the error for each one: Warning: Return code of 127 for check of service 'web' on host 'foo.example.com' was out of bounds. Make sure the plugin you're trying to run actually exists. If you do a "nagios restart" instead of "reload", then everything works. Cheers, Chris. -- ___ __ _ / __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Piotr.Poznanski at nid.pl Tue May 6 13:23:41 2003 From: Piotr.Poznanski at nid.pl (Piotr Poznanski) Date: Tue, 6 May 2003 13:23:41 +0200 Subject: Can check_by_ssh work under ssh-agent? References: <00a501c313a5$fe735a10$c200a8c0@Blah2> <1052218428.1792.8.camel@miles.debisschop.net> Message-ID: <004801c313c1$f2ebc760$c200a8c0@Blah2> > On Tue, 2003-05-06 at 04:03, Piotr Poznanski wrote: > > [...] > > Does plugin lack support for such functionality or is it only some error in > > my thinking? > > You will need to make sure that Nagios can access the running agent > (thus the environment) after you've added the key. For testing I didn't even run nagios daemon but only the plugin. So it was simple, foreground proces mannualy run under the shell. Inspirded by Your comment I've tried one more aproach in my testing methodology. Previously I run ssh-agent manualy, and than I've exported apropriate environment variables as for SSH client. For SSH client it worked, but not for ~nagios/libexec/check_by_ssh. Now I tried with slighlty different aproach. I run shell as a subproces of ssh-agent, the in that shell I've added the key. Unfortunately, check_by_ssh plugin still keeps asking for passphrase. I think that the only resonable solution for now is to configure authorized_keys entry on remote machine for running particular command only. Or write different plugin :) > However, even if it does work, you will need to use expect to start the > daemon on reboot of the server. Which means your security is only as > good as your protections of the expect script. Which is essentailly what > you have with no passphrase - your security is only as good as your > protection of the private key (hence the name). You are sertainly right, unles I intend to start ssh-add manualy, 'storing' passphrase in my head. And to still it from here would be quite different task than hack Linux station :) > So IMHO, you are looking for extra work with no substantial gain in > security. Anyway, I give up on idea of using non empty passphrases for now :) > Karl Regards, Piotr -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Tue May 6 13:52:35 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Tue, 6 May 2003 13:52:35 +0200 Subject: dependent services References: <00a501c313a5$fe735a10$c200a8c0@Blah2> <200305060901.h4691qP21584@spectre.freeparking.co.nz> <000f01c313b1$c79cff80$c200a8c0@Blah2> Message-ID: <0cbf01c313c6$11f706c0$8100a8c0@wheeljd> Hello all Im wondering if its possible to send out alerts for a host only if service a,b,c is critical at the same time. For example if the load is high and a disk is getting full I would want a alarm but not if only the load i high. Regards Johannes Dagemark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Tue May 6 14:31:11 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 6 May 2003 14:31:11 +0200 Subject: AW: Notification Problem on Escalations with yaps- 0.96 (parallelizing) Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A456D@serv-075.icon-germany.local> Hi, For all of you having trouble by sending SMS to more that one with Yaps I got a little script for you... "yaps-server" is a shell script that takes the requests from Nagios and sends them one by one. ------------------------------------------------------- Copy the script some where you like e.g. /usr/bin Create a pipe like discribed in the script ( /var/spool/nagios/yaps.cmd) (This is the place where the Nagios commandfile is created on SuSE Linux) Make sure the yaps-server is allways started when Nagios starts. (Add a few lines to the Nagios start/stop script) YAPS_SERVER=/usr/bin/yasp-server PIDS=$(ps -auxw|grep $YAPS_SERVER | grep -v grep | awk "{printf(\"%d \", \$2); }") test -n "$PIDS" && kill -TERM $PIDS su $USR -c "exec $YAPS_SERVER &" (This will probably only work with the start/stop script of the Nagios rpm for SuSE. Anyway give it a try) Restart Nagios and look if the process is up and running You can test it by typing following to the shell # echo "" "\"\"" > /var/spool/nagios/yaps.cmd If it works, just change the configuration string in Nagios (command_line) into the command you just entered... That's it. -------------------------------------------------------- I like to thank my collegue here for writing this small fine script. Regards, Hagen Deike -------------- next part -------------- A non-text attachment was scrubbed... Name: yaps-server Type: application/octet-stream Size: 1115 bytes Desc: not available URL: From SrvFaucon at cslaval.qc.ca Tue May 6 14:40:16 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 06 May 2003 08:40:16 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20dependent=20service?= =?ISO-8859-1?Q?s?= Message-ID: I think it is possible with the dependencies, but not sure (did not try that yet). If someone has answer for this, post it here please :) Alex >>> "Johannes Dagemark" 06/05/03 07h52 >>> Hello all Im wondering if its possible to send out alerts for a host only if service a,b,c is critical at the same time. For example if the load is high and a disk is getting full I would want a alarm but not if only the load i high. Regards Johannes Dagemark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon at ostengaard.dk Tue May 6 15:00:40 2003 From: simon at ostengaard.dk (=?ISO-8859-1?Q?Simon_=D8stengaard?=) Date: Tue, 06 May 2003 15:00:40 +0200 Subject: invalid hostname Message-ID: <3EB7B1F8.4070008@ostengaard.dk> Hi I use the check_smtp plugin ver. 1.3.0 The plugin refuses to check a host that contains a number in the beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H mail.2aa.dk Invalid host name Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] [-c crit] [-t timeout] [-v] check_smtp --help check_smtp --version [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 Trying 80.80.7.208... Connected to mail.2aa.dk. Escape character is '^]'. 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 Any help will be usefull. Best regards. Simon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Tue May 6 15:25:07 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Tue, 6 May 2003 09:25:07 -0400 Subject: invalid hostname References: <3EB7B1F8.4070008@ostengaard.dk> Message-ID: Here is the code that is causing you problems: /* from RFC-1035 * * The labels must follow the rules for ARPANET host names. They must * start with a letter, end with a letter or digit, and have as interior * characters only letters, digits, and hyphen. There are also some * restrictions on the length. Labels must be 63 characters or less. */ int is_hostname (char *s1) { if (!s1 || strlen (s1) > 63) { return FALSE; } if (strcspn (s1, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ0123456789-.") != 0) { return FALSE; } if (strspn (s1, "0123456789-.") == 1) { return FALSE; } while ((s1 = index (s1, '.'))) { s1++; if (strspn (s1, "0123456789-.") == 1) { return FALSE; } } return TRUE; } There seems to be some standard (RFC-1035) for hostnames that does not allow a number as the first character in a hostname label. Maybe you can create an alias for that host, use the IP address or change the code and recompile your plugins. I suspect the Perl utils.pm will have the same check. Cheers, Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Simon ?stengaard" To: Sent: Tuesday, May 06, 2003 9:00 AM Subject: [Nagios-users] invalid hostname > Hi > I use the check_smtp plugin ver. 1.3.0 > > The plugin refuses to check a host that contains a number in the > beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. > > [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H mail.2aa.dk > Invalid host name > Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] > [-c crit] [-t timeout] [-v] > check_smtp --help > check_smtp --version > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > Trying 80.80.7.208... > Connected to mail.2aa.dk. > Escape character is '^]'. > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 > > > Any help will be usefull. > > Best regards. > Simon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 15:32:16 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 09:32:16 -0400 Subject: /etc/init.d/nagios reload References: Message-ID: <002401c313d4$13af83d0$f805ff0a@tekniq> You can hardcode the path to the plugin in the checkcommands.cfg file. This will fix the error 127 and make it run properly (or at least as properly as it can with a reload) ... -Jason ----- Original Message ----- From: "Chris Wilson" To: "Devon Harding - GTHLA" Cc: Sent: Tuesday, May 06, 2003 7:06 Subject: Re: [Nagios-users] /etc/init.d/nagios reload > Hi Devon, > > > When I run reload a couple of times (after editing the .cfg files), All > > services fail with 'UNDREACHABLE' status. I then have to manually stop and > > start the process for it to work again? Why is this? > > I've seen this too. Apparently "/etc/init.d/nagios reload" is broken, > sending a SIGHUP to the nagios process will break it too. After that it > fails to execute any service checks, giving the error for each one: > > Warning: Return code of 127 for check of service 'web' on host > 'foo.example.com' was out of bounds. Make sure the plugin > you're trying to run actually exists. > > If you do a "nagios restart" instead of "reload", then everything works. > > Cheers, Chris. > -- > ___ __ _ > / __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | > / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | > \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 15:48:49 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 09:48:49 -0400 Subject: invalid hostname References: <3EB7B1F8.4070008@ostengaard.dk> Message-ID: <004d01c313d6$3902cdc0$f805ff0a@tekniq> Interesting, it does that for me too. Configure the check_command to work by ip address instead of a full hostname. You'll use less resources anyway. -Jason ----- Original Message ----- From: "Simon ?stengaard" To: Sent: Tuesday, May 06, 2003 9:00 Subject: [Nagios-users] invalid hostname > Hi > I use the check_smtp plugin ver. 1.3.0 > > The plugin refuses to check a host that contains a number in the > beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. > > [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H mail.2aa.dk > Invalid host name > Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] > [-c crit] [-t timeout] [-v] > check_smtp --help > check_smtp --version > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > Trying 80.80.7.208... > Connected to mail.2aa.dk. > Escape character is '^]'. > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 > > > Any help will be usefull. > > Best regards. > Simon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 15:43:57 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 09:43:57 -0400 Subject: =?iso-8859-1?Q?Re:_=5BNagios-users=5D_R=E9p._:_=5BNagios-users=5D_dep?= =?iso-8859-1?Q?endent_services?= References: Message-ID: <004301c313d5$95b2a320$f805ff0a@tekniq> That is correct. You would make service "Load" dependent on service "Disk". Read dependencies docs for more info. -Jason ----- Original Message ----- From: "Serveur-Faucon Surveillance" To: ; Sent: Tuesday, May 06, 2003 8:40 Subject: [Nagios-users] R?p. : [Nagios-users] dependent services I think it is possible with the dependencies, but not sure (did not try that yet). If someone has answer for this, post it here please :) Alex >>> "Johannes Dagemark" 06/05/03 07h52 >>> Hello all Im wondering if its possible to send out alerts for a host only if service a,b,c is critical at the same time. For example if the load is high and a disk is getting full I would want a alarm but not if only the load i high. Regards Johannes Dagemark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue May 6 16:28:11 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 6 May 2003 09:28:11 -0500 Subject: invalid hostname Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6E6B@mismail.ena.com> Looks to me like those rules are either no longer valid or are not being adhered to by any of the registrars... http://www.dk-hostmaster.dk/dkhostcms/bs?query=2aa.dk&pageid=82&action=cmsview&lang=da http://www.networksolutions.com/cgi-bin/whois/whois?STRING=2go.com&SearchType=do -- Marc > -----Original Message----- > From: Patrick LeBoutillier [mailto:patrick_leboutillier at hotmail.com] > Sent: Tuesday, May 06, 2003 8:25 AM > To: Simon ?stengaard > Cc: nagios-users at lists.sourceforge.net > > Here is the code that is causing you problems: > > /* from RFC-1035 > * > * The labels must follow the rules for ARPANET host names. They must > * start with a letter, end with a letter or digit, and have as interior > * characters only letters, digits, and hyphen. There are also some > * restrictions on the length. Labels must be 63 characters or less. */ > > int > is_hostname (char *s1) > { > if (!s1 || strlen (s1) > 63) { > return FALSE; > } > if (strcspn (s1, > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ0123456789-.") > != 0) { > return FALSE; > } > if (strspn (s1, "0123456789-.") == 1) { > return FALSE; > } > while ((s1 = index (s1, '.'))) { > s1++; > if (strspn (s1, "0123456789-.") == 1) { > return FALSE; > } > } > return TRUE; > } > > > There seems to be some standard (RFC-1035) for hostnames that does not > allow > a number as the first character in a hostname label. > > Maybe you can create an alias for that host, use the IP address or change > the code > and recompile your plugins. I suspect the Perl utils.pm will have the same > check. > > > Cheers, > > Patrick > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > ----- Original Message ----- > From: "Simon ?stengaard" > To: > Sent: Tuesday, May 06, 2003 9:00 AM > Subject: [Nagios-users] invalid hostname > > > > Hi > > I use the check_smtp plugin ver. 1.3.0 > > > > The plugin refuses to check a host that contains a number in the > > beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. > > > > [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H > mail.2aa.dk > > Invalid host name > > Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] > > [-c crit] [-t timeout] [-v] > > check_smtp --help > > check_smtp --version > > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > > Trying 80.80.7.208... > > Connected to mail.2aa.dk. > > Escape character is '^]'. > > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 > > > > > > Any help will be usefull. > > > > Best regards. > > Simon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at netservers.co.uk Tue May 6 17:01:54 2003 From: chris at netservers.co.uk (Chris Wilson) Date: Tue, 6 May 2003 16:01:54 +0100 (BST) Subject: /etc/init.d/nagios reload In-Reply-To: <002401c313d4$13af83d0$f805ff0a@tekniq> References: <002401c313d4$13af83d0$f805ff0a@tekniq> Message-ID: Hi Jason, > You can hardcode the path to the plugin in the checkcommands.cfg file. This > will fix the error 127 and make it run properly I think this should be fixed, I wish I was familiar enough with the Nagios code to send a patch myself. > (or at least as properly as it can with a reload) ... Why should a reload break Nagios? What breaks apart from the plugin search path? Cheers, Chris. -- ___ __ _ / __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Tue May 6 17:08:52 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 6 May 2003 16:08:52 +0100 Subject: invalid hostname Message-ID: <1012BD903945D411915500105A48FF57F06BF0@nt.man.fwltech.com> As far as I know, almost all restrictions on domain names we're dropped a year or so ago because of the multi-language changes. After all, a Chinese website is unlikely to use a a-z as its first character. Also I think domain names can now be about 255 characters long, though I've never tested this. Ewan > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: 06 May 2003 15:28 > To: Patrick LeBoutillier; Simon ?stengaard > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] invalid hostname > > > Looks to me like those rules are either no longer valid or > are not being adhered to by any of the registrars... > > http://www.dk-hostmaster.dk/dkhostcms/bs?query=2aa.dk&pageid=8 > 2&action=cmsview&lang=da > > http://www.networksolutions.com/cgi-bin/whois/whois?STRING=2go > .com&SearchType=do > > -- > > Marc > > > -----Original Message----- > > From: Patrick LeBoutillier [mailto:patrick_leboutillier at hotmail.com] > > Sent: Tuesday, May 06, 2003 8:25 AM > > To: Simon ?stengaard > > Cc: nagios-users at lists.sourceforge.net > > > > Here is the code that is causing you problems: > > > > /* from RFC-1035 > > * > > * The labels must follow the rules for ARPANET host names. > They must > > * start with a letter, end with a letter or digit, and > have as interior > > * characters only letters, digits, and hyphen. There are also some > > * restrictions on the length. Labels must be 63 > characters or less. */ > > > > int > > is_hostname (char *s1) > > { > > if (!s1 || strlen (s1) > 63) { > > return FALSE; > > } > > if (strcspn (s1, > > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ0123456789-.") > > != 0) { > > return FALSE; > > } > > if (strspn (s1, "0123456789-.") == 1) { > > return FALSE; > > } > > while ((s1 = index (s1, '.'))) { > > s1++; > > if (strspn (s1, "0123456789-.") == 1) { > > return FALSE; > > } > > } > > return TRUE; > > } > > > > > > There seems to be some standard (RFC-1035) for hostnames > that does not > > allow > > a number as the first character in a hostname label. > > > > Maybe you can create an alias for that host, use the IP > address or change > > the code > > and recompile your plugins. I suspect the Perl utils.pm > will have the same > > check. > > > > > > Cheers, > > > > Patrick > > > > --------------------- > > Patrick LeBoutillier > > Laval, Quebec, Canada > > ----- Original Message ----- > > From: "Simon ?stengaard" > > To: > > Sent: Tuesday, May 06, 2003 9:00 AM > > Subject: [Nagios-users] invalid hostname > > > > > > > Hi > > > I use the check_smtp plugin ver. 1.3.0 > > > > > > The plugin refuses to check a host that contains a number in the > > > beginning of the hosts fully-qualified-domain-name. I.e > mail.2aa.dk. > > > > > > [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H > > mail.2aa.dk > > > Invalid host name > > > Usage: check_smtp -H host [-e expect] [-p port] [-f from > addr] [-w warn] > > > [-c crit] [-t timeout] [-v] > > > check_smtp --help > > > check_smtp --version > > > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > > > Trying 80.80.7.208... > > > Connected to mail.2aa.dk. > > > Escape character is '^]'. > > > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 > > > > > > > > > Any help will be usefull. > > > > > > Best regards. > > > Simon > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue May 6 17:11:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 11:11:47 -0400 (EDT) Subject: invalid hostname In-Reply-To: <3EB7B1F8.4070008@ostengaard.dk> References: <3EB7B1F8.4070008@ostengaard.dk> Message-ID: All v1.3.0 plugins went by RFC1035 which stated that dns names should always begin with a character. As pointed out on Apr 22 - RFC1123 relaxes the condition to allow a digit in addition to a character. utils.c was patched in CVS. Can you try the 1.3 cvs snaphot? http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-r1_3_0-200305061207.tar.gz -sg On Tue, 6 May 2003, Simon ?stengaard wrote: > Hi > I use the check_smtp plugin ver. 1.3.0 > > The plugin refuses to check a host that contains a number in the > beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. > > [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H mail.2aa.dk > Invalid host name > Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] > [-c crit] [-t timeout] [-v] > check_smtp --help > check_smtp --version > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > Trying 80.80.7.208... > Connected to mail.2aa.dk. > Escape character is '^]'. > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 > > > Any help will be usefull. > > Best regards. > Simon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 18:53:25 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 12:53:25 -0400 Subject: /etc/init.d/nagios reload References: Message-ID: <009d01c313f0$0965c850$f805ff0a@tekniq> I've had lots of problems with service state retention, lost or "orphaned" services, and a bunch of other stuff when using the reload command. Reload also has a tendency to miss new hosts/services and not add them into the web interface (maybe this is a built in limitation of reload, I'm not sure... I stopped relying on it a while ago) Overall I've found it to be very unstable in a large distributed environment. I didn't send that email to complain about it though... I just wanted to offer a solution ;) Regards, Jason ----- Original Message ----- From: "Chris Wilson" To: "Jason Lancaster" Cc: Sent: Tuesday, May 06, 2003 11:01 Subject: Re: [Nagios-users] /etc/init.d/nagios reload > Hi Jason, > > > You can hardcode the path to the plugin in the checkcommands.cfg file. This > > will fix the error 127 and make it run properly > > I think this should be fixed, I wish I was familiar enough with the > Nagios code to send a patch myself. > > > (or at least as properly as it can with a reload) ... > > Why should a reload break Nagios? What breaks apart from the plugin search > path? > > Cheers, Chris. > -- > ___ __ _ > / __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | > / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | > \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Tue May 6 19:04:13 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 6 May 2003 13:04:13 -0400 Subject: Faire suivre : Returned mail: see transcript for details References: <1012BD903945D411915500105A48FF57F06BF2@nt.man.fwltech.com> Message-ID: <00ab01c313f1$87862f30$f805ff0a@tekniq> I get it every post. It would be nice if it would go away :) -Jason ----- Original Message ----- From: "Ewan Leith" To: "'Serveur-Faucon Surveillance'" ; Sent: Tuesday, May 06, 2003 11:28 Subject: RE: [Nagios-users] Faire suivre : Returned mail: see transcript for details > I don't receive it everytime, just sometimes. > > Ewan > > > -----Original Message----- > > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > > Sent: 06 May 2003 15:56 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Faire suivre : Returned mail: see > > transcript for > > details > > > > > > Hi all, > > > > Is it just me, or everybody is reveiving this email? > > (at the same time, this is a test to see if I'll receive it > > another time ;) > > > > Thanks. > > > > Alex > > > > ------ BEGIN ------ > > The original message was received at Tue, 6 May 2003 15:01:03 +0200 > > from [192.168.1.12] > > > > ----- The following addresses had permanent fatal errors ----- > > > > (reason: 550-Host pd9e307d7.dip.t-dialin.net > > (edvlx01.edvpartner.net) [217.227.7.215] is not permitted to > > send mail to or through) > > > > ----- Transcript of session follows ----- > > ... while talking to mail.sourceforge.net.: > > >>> RCPT To: > > <<< 550-Host pd9e307d7.dip.t-dialin.net > > (edvlx01.edvpartner.net) [217.227.7.215] is not permitted to > > send mail to or through > > <<< 550-sc8-sf-list1.sourceforge.net. > > <<< 550-Dialup connections are not permitted to directly use > > this mail server. > > <<< 550-Please use your ISP's mail server instead > > <<< 550-("See ") > > <<< 550 mail from 217.227.7.215 rejected: administrative > > prohibition (host is blacklisted) > > 550 5.1.1 ... User unknown > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christophe.belmont at c-s.fr Tue May 6 19:36:30 2003 From: christophe.belmont at c-s.fr (BELMONT Christophe) Date: Tue, 6 May 2003 19:36:30 +0200 Subject: BGP & Interface monitoring Message-ID: <003801c313f6$08368860$a53702c2@CLEOPATRE> Hello, I am using Nagios to monitoring many routers of the network. More especially, I am using check_bgpstate and check_ifstatus. When a link goes down, the Nagios service defined on this host goes down. It is acknowledged and does not send alarm any more. If before this link comes back up, a second link goes down on the same router, Nagios should raise the alarm once again. My question is? If the comment after the state returned by the "check" script changes (a new interface is listed as down) even though the state itself does not change (was CRITICAL and is still CRITICAL), does Nagios triggers a new alarm or does it thinks this is still the same previous alarm. Does somebody already encountered this problem and found out how to bypass it? Thank you in advance, Christophe. --- Christophe Belmont Network Engineer Tel : +33 1 43 13 81 08 Fax : +33 1 40 78 64 00 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Tue May 6 19:52:19 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Tue, 6 May 2003 13:52:19 -0400 Subject: Acknowledge alert? Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6CE2@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 How do I acknowledge an alert? I am probably missing it somewhere in the documentation, and would appreciate a point-to. - -- Regards, Geordon M. VanTassle Technical Architect SBC, Call Center Technologies * phone: 847-781-3063 * pager: 630-695-0007 * text page:6306950007 at paging.acswireless.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrf1pBnDT1v4QosXEQJlEQCgwevTUCe+1ha9F1WHVzr8BE3EDMQAmwcb tT+l66aQJRI7M8DXG3GlS8aN =BuUZ -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGPexch.rtf.pgp Type: application/octet-stream Size: 584 bytes Desc: not available URL: From mpowell at ena.com Tue May 6 20:15:24 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 6 May 2003 13:15:24 -0500 Subject: Acknowledge alert? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6E7D@mismail.ena.com> >From the gui, select the host or service in question then select 'Acknowledge this (host|service) problem' from the menu box on the right. -- Marc _____ From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] Sent: Tuesday, May 06, 2003 12:52 PM To: nagios-users at lists.sourceforge.net -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 How do I acknowledge an alert? I am probably missing it somewhere in the documentation, and would appreciate a point-to. - -- Regards, Geordon M. VanTassle Technical Architect SBC, Call Center Technologies * phone: 847-781-3063 * pager: 630-695-0007 * text page:6306950007 at paging.acswireless.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrf1pBnDT1v4QosXEQJlEQCgwevTUCe+1ha9F1WHVzr8BE3EDMQAmwcb tT+l66aQJRI7M8DXG3GlS8aN =BuUZ -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue May 6 20:26:03 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 14:26:03 -0400 (EDT) Subject: BGP & Interface monitoring In-Reply-To: <003801c313f6$08368860$a53702c2@CLEOPATRE> References: <003801c313f6$08368860$a53702c2@CLEOPATRE> Message-ID: Nagios and check_ifstatus are not designed that way. Nagios treats each service as one and only one monitor and will only alarm on changes in state. It is possible to track (log) the changes in the service within the state, but notification is not possible as it is tied to the state. To log changes wihtin a state - see "Stalking" in the docs. To be notified for individual interface down issues, use check_ifoperstatus on a per-inteface basis instead. -sg On Tue, 6 May 2003, BELMONT Christophe wrote: > Hello, > > I am using Nagios to monitoring many routers of the network. More > especially, I am using check_bgpstate and check_ifstatus. When a link > goes down, the Nagios service defined on this host goes down. It is > acknowledged and does not send alarm any more. If before this link comes > back up, a second link goes down on the same router, Nagios should raise > the alarm once again. > > My question is? If the comment after the state returned by the "check" > script changes (a new interface is listed as down) even though the state > itself does not change (was CRITICAL and is still CRITICAL), does Nagios > triggers a new alarm or does it thinks this is still the same previous > alarm. > > Does somebody already encountered this problem and found out how to > bypass it? > > Thank you in advance, > Christophe. > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue May 6 20:30:46 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 14:30:46 -0400 (EDT) Subject: Acknowledge alert? In-Reply-To: <1FFE723C45371B46948FA414FDA153B1054F6CE2@ilnort1msgusr08.itservices.sbc.com> References: <1FFE723C45371B46948FA414FDA153B1054F6CE2@ilnort1msgusr08.itservices.sbc.com> Message-ID: On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > How do I acknowledge an alert? I am probably missing it somewhere in the > documentation, and would appreciate a point-to. > When looking at the service detail - the acknowledge commands is listed in the "service commands" box on the right -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Tue May 6 20:48:48 2003 From: gboutwel at valleyhope.com (gboutwel at valleyhope.com) Date: Tue, 06 May 2003 13:48:48 -0500 Subject: nsca for Mandrake Message-ID: <3EB7BD40.20195.85F834@localhost> Anyone know where I can find Mandrake RPM for the nsca addon. Both the daemon/xinetd and the send_nsca part? Thanks, -- George Boutwell, Programmer II - Valley Hope Association gboutwel at valleyhope.com ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kleysonr at hotmail.com Tue May 6 20:59:02 2003 From: kleysonr at hotmail.com (kleysonr) Date: 6 May 2003 18:59:02 -0000 Subject: Plugin Error in checkcommands.cfg Message-ID: <20030506185902.7625.qmail@pod-163.dolphin-server.co.uk> In the line command the script work, but in checkcommands.cfg nagios the message "Unable to resolve destination address '-H' " an error appears when call Net::SNMP-session. Please, what the problem? check_cisco -H 10.x.x.x -c public -i Serial1/1.1 #!/usr/bin/perl -w use strict; use Net::SNMP qw( snmp_event_loop ); use vars qw($host $interface $community); use Getopt::Long; Getopt::Long::Configure('bundling'); GetOptions ("H=s" => $host, "i=s" => $interface, "c=s" => $community); my $session; my $error; ( $session, $error ) = Net::SNMP->session( -hostname => shift || $host, -community => shift || $community, -port => shift || $port ); if( ! defined( $session ) ) { print "Error: $errorn"; exit 1; } ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue May 6 21:13:21 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 6 May 2003 14:13:21 -0500 Subject: Host dependencies? Message-ID: <352B04312822444A962714393AED8A4D02684C@ADAEVS01.int.chickasaw.net> Hello list, I have a question about the host dependencies. Does nagios allow a dependency of a host on two other hosts? For example, I have several MS clusters. I would like the Virtual Servers to be dependent on the two hosts of the cluster. This way if both cluster hosts are down, I don't have to worry about the virtual servers griping. Thanks for the space! jrmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From irenes at wolfram.com Tue May 6 21:37:03 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 6 May 2003 14:37:03 -0500 (CDT) Subject: Check_ntp error - need interpretation Message-ID: Running check_ntp from the command line on my Nagios server to check a remote host, I get the following error: ----- CRITICAL: Dispersion error and time difference 60.824095 seconds greater than +/- 60 sec ------ The time on my remote host is synch'd to a stratus 3 time server and is set correctly so there is no offset. Time is identical to the Nagios host server. check_ntp version: (nagios-plugins 200211131100-snapshot) 1.9 nagios host: Red Hat 7.3 ntpd host: Red Hat 6.1 Thanks in advance, Irene ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philip at roysys.com.au Tue May 6 22:00:24 2003 From: philip at roysys.com.au (Philip Roy) Date: Wed, 7 May 2003 06:00:24 +1000 Subject: gnokii In-Reply-To: <3EB651AA.7050608@dhl.com> References: <3EB651AA.7050608@dhl.com> Message-ID: <001801c3140a$21f35710$0100000a@ROYSYSLT> Susana, I checked my command for sending an sms via gnokii and it looks similar to the one you are using. Heres my command: # 'service-notify-by-sms' command definition define command{ command_name service-notify-by-sms command_line /bin/echo -e "*Nagios* \n$NOTIFICATIONTYPE$\n$SERVICEDESC$\n$HOSTALIAS$\n$SERVICESTATE$\n$DATET IME$\nInfo: $OUTPUT$" | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ 2>/dev/null } The only thing I can suggest is to make sure you test gnokii from the command prompt as the same user that nagios is running, probably a nagios account. You need to make sure that nagios has permissions to access the serial port and lock file for Gnokii. Other than that the details you have provided look fine to me. Phil > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tom DE BLENDE > Sent: Monday, 5 May 2003 9:58 PM > To: Susana Raquel Neves Reis > Cc: nagios-users > Subject: [Nagios-users] Re: gnokii > > I'm sorry, I never used gnokii. Better send things like these to the list! > > Susana Raquel Neves Reis wrote: > > Hi , > > > > How can I make gnokii works on my nagios.I have my > > gnokii running using a command prompt. I can send and > > received a text message using the command : > > > > # /usr/local/bin/gnokii --sendsms > > > > > > - Here is my sample configuration in contacts.cfg > > file > > > > # 'nagios' contact definition > > define contact{ > > contact_name nagios > > alias Nagios Admin > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-sms > > host_notification_commands host-notify-by-sms > > email root at ma.pt > > pager 963747634 > > } > > > > - Here is my sample configuration of misccommands.cfg > > > > > > # 'host-notify-by-sms' command definition > > define command{ > > command_name notify-by-sms > > command_line /usr/bin/printf "$NOTIFICATIONTYPE$: > > $HOSTNAME$: $SERVICESTATE$ ($OUTPUT$)" | /usr/local/bin/gnokii > > --sendsms $CONTACTPAGER$ -C0 2>/dev/null > > } > > > > # 'notify-by-sms' command definition > > define command{ > > command_name notify-by-sms > > command_line /usr/bin/printf "$NOTIFICATIONTYPE$: > > $HOSTNAME$: $SERVICESTATE$ ($OUTPUT$)" | /usr/local/bin/gnokii > > --sendsms $CONTACTPAGER$ -C0 2>/dev/null > > } > > > > This don't work in nagios but i don't get errors either. > > > >>I need to do more configurations in other files? > >>Can you help me !!!why doesn't work? > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iain at g7iii.demon.co.uk Tue May 6 21:51:52 2003 From: iain at g7iii.demon.co.uk (Iain Young) Date: Tue, 6 May 2003 20:51:52 +0100 Subject: invalid hostname In-Reply-To: <004d01c313d6$3902cdc0$f805ff0a@tekniq> References: <3EB7B1F8.4070008@ostengaard.dk> <004d01c313d6$3902cdc0$f805ff0a@tekniq> Message-ID: <20030506195152.GA838@g7iii.demon.co.uk> On Tue, May 06, 2003 at 09:48:49AM -0400, Simon Wrote: > The plugin refuses to check a host that contains a number in the > beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. Actually, IIRC, that is the correct DNS behaviour, according to RFC1034. Relavent paragraph from 1034: The labels must follow the rules for ARPANET host names. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen. There are also some restrictions on the length. Labels must be 63 characters or less. [SNIP] > [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 > Trying 80.80.7.208... > Connected to mail.2aa.dk. > Escape character is '^]'. > 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 telnet, $MTA, and your resolver/DNS servers being kind. And yes it works, and will probably continue to work, but strict adherence to 1034 specifies that they are 'illegal'. My understanding is that a strict implementation of 1034/DNS would fail to resolve labels starting with a digit. > > Any help will be usefull. How is the plugin determining what a legal hostname is ? Does it have a switch or option to make it more kind ? Iain ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Tue May 6 21:55:54 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Tue, 6 May 2003 15:55:54 -0400 Subject: Acknowledge alert? Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6CE5@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, May 06, 2003 1:31 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Acknowledge alert? > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > How do I acknowledge an alert? I am probably missing it > somewhere in > > the documentation, and would appreciate a point-to. > > > > When looking at the service detail - the acknowledge commands > is listed in > the "service commands" box on the right > > -- > -sg Ok, that's what I *thought* it should be. But, (using Nagios 1.0), this is what I have on the screen (see attached) Any ideas? Thanks, Geordon -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr l5GMrgjf2nDy2qHMl4j/5m7D =UmIh -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: acknowledge_nagios.png Type: application/octet-stream Size: 59914 bytes Desc: not available URL: From jmartens at cityofevanston.org Tue May 6 22:21:17 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Tue, 6 May 2003 15:21:17 -0500 Subject: (no subject) Message-ID: ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Tue May 6 22:16:19 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Tue, 6 May 2003 16:16:19 -0400 Subject: Acknowledge alert? Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6CE8@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 *smacks forehead* That's the difference! IS that somewhere in the documentation? I'm still going through it, so I may not have staggered across it yet. Thanks a bunch, Marc! Geordon > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, May 06, 2003 3:15 PM > To: VANTASSLE, GEORDON M (SBCSI); Subhendu Ghosh; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Acknowledge alert? > > > The service must be in a HARD state to be able to Acknowledge > it. In your case it would need to fail 3 checks in a row to > show the Acknowledge option. > > marc > > > -----Original Message----- > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > Sent: Tuesday, May 06, 2003 2:56 PM > > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > > > > -----Original Message----- > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > Sent: Tuesday, May 06, 2003 1:31 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Acknowledge alert? > > > > > > > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > > > > > How do I acknowledge an alert? I am probably missing it > > > somewhere in > > > > the documentation, and would appreciate a point-to. > > > > > > > > > > When looking at the service detail - the acknowledge commands is > > > listed in the "service commands" box on the right > > > > > > -- > > > -sg > > > > Ok, that's what I *thought* it should be. But, (using Nagios 1.0), > this > > is > > what I have on the screen (see attached) > > > > Any ideas? > > > > Thanks, > > Geordon > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 8.0 > > Comment: This message signed to ensure authenticity. > > > > iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr > > l5GMrgjf2nDy2qHMl4j/5m7D > > =UmIh > > -----END PGP SIGNATURE----- > > > -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrgXZRnDT1v4QosXEQJaNACfVJ2Hg0yiZ3oJ5oLJtt7E0vWjbsYAnR17 IaU7gvuJlAP4AxUIz7PFrhtd =Fq1X -----END PGP SIGNATURE----- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue May 6 22:14:41 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 6 May 2003 15:14:41 -0500 Subject: Acknowledge alert? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6E89@mismail.ena.com> The service must be in a HARD state to be able to Acknowledge it. In your case it would need to fail 3 checks in a row to show the Acknowledge option. marc > -----Original Message----- > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > Sent: Tuesday, May 06, 2003 2:56 PM > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Tuesday, May 06, 2003 1:31 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Acknowledge alert? > > > > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > > > How do I acknowledge an alert? I am probably missing it > > somewhere in > > > the documentation, and would appreciate a point-to. > > > > > > > When looking at the service detail - the acknowledge commands > > is listed in > > the "service commands" box on the right > > > > -- > > -sg > > Ok, that's what I *thought* it should be. But, (using Nagios 1.0), this > is > what I have on the screen (see attached) > > Any ideas? > > Thanks, > Geordon > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > Comment: This message signed to ensure authenticity. > > iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr > l5GMrgjf2nDy2qHMl4j/5m7D > =UmIh > -----END PGP SIGNATURE----- > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyrille_ml at iwebgroup.com Tue May 6 22:22:50 2003 From: cyrille_ml at iwebgroup.com (Cyrille Mertes) Date: Tue, 06 May 2003 16:22:50 -0400 Subject: nagios process problem Message-ID: <3EB8199A.10509@iwebgroup.com> Hello, I'm trying to migrate an existing nagios installation to another server. I compiled nagios and nagios-plug on the new server (same way than on the old server). Then I copied all my config files on the old server and put it on the new one. When I start nagios, everything seems to be fine. All the checks in my web interface are working too. But after a few minutes, if I do a ps I can see a lot of nagios process : 7553 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7557 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7580 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7590 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7601 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7604 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7609 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7632 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7635 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7648 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7652 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7655 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7679 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7682 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7689 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7694 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7701 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7725 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7732 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7739 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7746 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7767 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7769 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7796 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7803 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7816 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7820 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7823 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7838 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7848 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7861 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7865 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7868 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7871 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7875 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7898 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7901 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7917 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7920 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7927 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7939 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7946 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7962 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7966 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7969 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7972 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7984 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 7999 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8005 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8012 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8015 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8030 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8041 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8045 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8055 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8062 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8065 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8069 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8072 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8076 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8080 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8083 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8099 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8105 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8108 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8110 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8112 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8117 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg 8129 ? S 0:00 /virtual/nagios/bin/nagios -d /virtual/nagios/etc/nagios.cfg And they never disappear... more I wait more there are pocess... After 1 or 2 hours the server doesn't work anymore. Can somebody help me ? Thank you. Cyrille. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue May 6 22:37:09 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 6 May 2003 15:37:09 -0500 Subject: Acknowledge alert? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6E8C@mismail.ena.com> I don't recall. I think I just 'discovered' it. -- Marc > -----Original Message----- > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > Sent: Tuesday, May 06, 2003 3:16 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > *smacks forehead* > > That's the difference! IS that somewhere in the documentation? I'm > still going through it, so I may not have staggered across it yet. > > Thanks a bunch, Marc! > > Geordon > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Tuesday, May 06, 2003 3:15 PM > > To: VANTASSLE, GEORDON M (SBCSI); Subhendu Ghosh; > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Acknowledge alert? > > > > > > The service must be in a HARD state to be able to Acknowledge > > it. In your case it would need to fail 3 checks in a row to > > show the Acknowledge option. > > > > marc > > > > > -----Original Message----- > > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > > Sent: Tuesday, May 06, 2003 2:56 PM > > > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > > > > > > > > -----Original Message----- > > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > > Sent: Tuesday, May 06, 2003 1:31 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Acknowledge alert? > > > > > > > > > > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > > > > > > > How do I acknowledge an alert? I am probably missing it > > > > somewhere in > > > > > the documentation, and would appreciate a point-to. > > > > > > > > > > > > > When looking at the service detail - the acknowledge commands is > > > > listed in the "service commands" box on the right > > > > > > > > -- > > > > -sg > > > > > > Ok, that's what I *thought* it should be. But, (using Nagios 1.0), > > this > > > is > > > what I have on the screen (see attached) > > > > > > Any ideas? > > > > > > Thanks, > > > Geordon > > > > > > -----BEGIN PGP SIGNATURE----- > > > Version: PGP 8.0 > > > Comment: This message signed to ensure authenticity. > > > > > > iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr > > > l5GMrgjf2nDy2qHMl4j/5m7D > > > =UmIh > > > -----END PGP SIGNATURE----- > > > > > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > Comment: This message signed to ensure authenticity. > > iQA/AwUBPrgXZRnDT1v4QosXEQJaNACfVJ2Hg0yiZ3oJ5oLJtt7E0vWjbsYAnR17 > IaU7gvuJlAP4AxUIz7PFrhtd > =Fq1X > -----END PGP SIGNATURE----- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Tue May 6 22:34:51 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Tue, 6 May 2003 15:34:51 -0500 Subject: Acknowledge alert? Message-ID: <870BC6C69F20D4118ECC009027FC7761070BC887@copexc01.parago.com> Your only on attempt 1 of 3. No warning has been sent so there is nothing to acknowledge. Wait until there is an alert sent then you can acknowledge it. -----Original Message----- From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] Sent: Tuesday, May 06, 2003 2:56 PM To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Acknowledge alert? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, May 06, 2003 1:31 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Acknowledge alert? > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > How do I acknowledge an alert? I am probably missing it > somewhere in > > the documentation, and would appreciate a point-to. > > > > When looking at the service detail - the acknowledge commands > is listed in > the "service commands" box on the right > > -- > -sg Ok, that's what I *thought* it should be. But, (using Nagios 1.0), this is what I have on the screen (see attached) Any ideas? Thanks, Geordon -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr l5GMrgjf2nDy2qHMl4j/5m7D =UmIh -----END PGP SIGNATURE----- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Tue May 6 22:58:22 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Tue, 6 May 2003 15:58:22 -0500 Subject: Monitoring Process not running? Message-ID: I've searched the web, read the FAQ and searched the mailing list archives, and I can't find the answer for this one. In the Process Info section, it says that my Process Status is Critical, even though I know nagios is running, and information is getting updated. What am I doing wrong? Thanks, Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Tue May 6 23:25:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 7 May 2003 07:25:18 +1000 Subject: /etc/init.d/nagios reload In-Reply-To: ; from chris@netservers.co.uk on Tue, May 06, 2003 at 04:01:54PM +0100 References: <002401c313d4$13af83d0$f805ff0a@tekniq> Message-ID: <20030507072510.A229@IPAustralia.Gov.AU> Dear Gentlemen, I am writing to thank you for your letters and say, > > Why should a reload break Nagios? What breaks apart from the plugin search > path? > Nag accepst a HUP signal (from the CLI), re-reads and parses the config files and continues without any trouble under FreeBSD, and has always done so. Does Nagios accept a HUP from the CLI (eg kill -HUP ) ? In other words, it may only be the startup script that is the problem. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brylon at jla.rutgers.edu Tue May 6 23:32:58 2003 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Tue, 6 May 2003 17:32:58 -0400 (EDT) Subject: GUI available besides NAGAT! (fwd) Message-ID: programmer = lazy, so what my boss wrote below is what I would like you (someone) to comment on! On top of that is there a webpage, or some more information regarding osesm, I can take a look at, help develop, etc..? Thanks. Bryan Loniewski ---------- Forwarded message ---------- Date: Tue, 6 May 2003 11:17:03 -0400 (EDT) From: Roy MARANTZ To: Bryan Loniewski Cc: Kevin Conover , Roy Marantz Subject: Re: [Nagios-users] GUI available besides NAGAT! (fwd) Why not ask them what they want in a parser module. We (read that you:-) might be persuaded to write such a thing. From my brief look at the new config format, I'd say it could be done in a "week or so". Questions like: What language should it be in? Do they have a formal definition for the file format? (dare I ask for EBNF) What do the want the results to be? (A parse tree? A set ob objects? ...) Roy On Mon, 5 May 2003, Bryan Loniewski wrote: > Date: Mon, 5 May 2003 17:31:53 -0400 (EDT) > From: Bryan Loniewski > To: Kevin Conover > Cc: Roy Marantz > Subject: Re: [Nagios-users] GUI available besides NAGAT! (fwd) > > Thought this might interest you a bit. The individual who wrote this reply > is a main developer of nagios. > > Bryan > > ---------- Forwarded message ---------- > Date: Mon, 05 May 2003 17:18:52 -0400 (EDT) > From: Subhendu Ghosh > To: Bryan Loniewski > Cc: "Nagios-users at lists.sourceforge.net" > > Subject: Re: [Nagios-users] GUI available besides NAGAT! > > On Mon, 5 May 2003, Bryan Loniewski wrote: > > > > > After perusing the mailing lists, is anyone developing, using, working on > > a gui for nagios configuration files. We here at Rutgers University are > > using the old default config files with a hacked version of NEAT. We did > > not go to object based yet since we (I) felt there was no gui solution > > out there yet. A gui is nice since, for example, our operators can edit > > config files without having an account on the machine. However, I know > > the next release is going to do away with the default config files and I > > would like to do away with them as well, but I can't believe how > > established nagios is that there is no "stable" gui out there. Any > > feedback would be much appreciated. > > > > Thanks. > > > > Bryan Loniewski > > NBCS - Systems Programmer > > > > > > NagMIN is an alternative. > > Not yet alpha is "osesm". > > Part of the issue holding back the development of alternative admin gui's > is the absence of a parser library. Nagmin has developed its own and > osesm is developing another. Neither is entirely application independent. > > I have started to heavily patch the perl modules under osesm and hope to > get those patches in soon. > > I think you will see some development over the summer - if you can wait > that long. > > -- > > -sg > > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dprice at c1-slo.com Tue May 6 23:26:15 2003 From: dprice at c1-slo.com (Price, David) Date: Tue, 6 May 2003 14:26:15 -0700 Subject: Problems with NSClient Message-ID: <4F81C0AF5D19D411BC12009027D10498B7CF97@c1slo1.c1-slo.com> I have Nagios 1.0 running on RH 8.0. I'm currently monitoring a handful of Windows 2000 SP3 servers using NSClient, which works great on most of the servers. On one of the servers, when the NSClient service starts I get the following error in the event log: Event Type: Warning Event Source: NSClient Event Category: None Event ID: 3 Date: 5/6/2003 Time: 1:47:27 PM User: N/A Computer: C1SLO1 Description: CollectData failed Any service check using NSClient (even from the command line) will return the following: Connection refused by host Any ideas? Thanks, David Price ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue May 6 23:32:40 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 17:32:40 -0400 (EDT) Subject: Acknowledge alert? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E6E8C@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E6E8C@mismail.ena.com> Message-ID: It is an "implied" feature ;) Since ack only appears with a non-ok state, and soft states are "really" the previous "hard" state - in this case "ok" - you don't see the ack command. -sg On Tue, 6 May 2003, Marc Powell wrote: > I don't recall. I think I just 'discovered' it. > > -- > Marc > > > -----Original Message----- > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > Sent: Tuesday, May 06, 2003 3:16 PM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > *smacks forehead* > > > > That's the difference! IS that somewhere in the documentation? I'm > > still going through it, so I may not have staggered across it yet. > > > > Thanks a bunch, Marc! > > > > Geordon > > > > > -----Original Message----- > > > From: Marc Powell [mailto:mpowell at ena.com] > > > Sent: Tuesday, May 06, 2003 3:15 PM > > > To: VANTASSLE, GEORDON M (SBCSI); Subhendu Ghosh; > > > nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Acknowledge alert? > > > > > > > > > The service must be in a HARD state to be able to Acknowledge > > > it. In your case it would need to fail 3 checks in a row to > > > show the Acknowledge option. > > > > > > marc > > > > > > > -----Original Message----- > > > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > > > Sent: Tuesday, May 06, 2003 2:56 PM > > > > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > > > > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > > > Sent: Tuesday, May 06, 2003 1:31 PM > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: Re: [Nagios-users] Acknowledge alert? > > > > > > > > > > > > > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > > > > > > > > > How do I acknowledge an alert? I am probably missing it > > > > > somewhere in > > > > > > the documentation, and would appreciate a point-to. > > > > > > > > > > > > > > > > When looking at the service detail - the acknowledge commands is > > > > > listed in the "service commands" box on the right > > > > > > > > > > -- > > > > > -sg > > > > > > > > Ok, that's what I *thought* it should be. But, (using Nagios > 1.0), > > > this > > > > is > > > > what I have on the screen (see attached) > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > Geordon > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: PGP 8.0 > > > > Comment: This message signed to ensure authenticity. > > > > > > > > iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr > > > > l5GMrgjf2nDy2qHMl4j/5m7D > > > > =UmIh > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 8.0 > > Comment: This message signed to ensure authenticity. > > > > iQA/AwUBPrgXZRnDT1v4QosXEQJaNACfVJ2Hg0yiZ3oJ5oLJtt7E0vWjbsYAnR17 > > IaU7gvuJlAP4AxUIz7PFrhtd > > =Fq1X > > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From savage at savage.za.org Tue May 6 23:56:27 2003 From: savage at savage.za.org (Chris Knipe) Date: Tue, 6 May 2003 23:56:27 +0200 Subject: Acknowledge alert? References: Message-ID: <000901c3141a$593f4610$1401a8c0@genocide> And it is in the documentation as well... I believe it was in the netsaint docs too.. ----- Original Message ----- From: "Subhendu Ghosh" To: Sent: Tuesday, May 06, 2003 11:32 PM Subject: RE: [Nagios-users] Acknowledge alert? > > It is an "implied" feature ;) > > Since ack only appears with a non-ok state, and soft states are "really" > the previous "hard" state - in this case "ok" - you don't see the ack > command. > > -sg > > > On Tue, 6 May 2003, Marc Powell wrote: > > > I don't recall. I think I just 'discovered' it. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > > Sent: Tuesday, May 06, 2003 3:16 PM > > > To: Marc Powell; nagios-users at lists.sourceforge.net > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > *smacks forehead* > > > > > > That's the difference! IS that somewhere in the documentation? I'm > > > still going through it, so I may not have staggered across it yet. > > > > > > Thanks a bunch, Marc! > > > > > > Geordon > > > > > > > -----Original Message----- > > > > From: Marc Powell [mailto:mpowell at ena.com] > > > > Sent: Tuesday, May 06, 2003 3:15 PM > > > > To: VANTASSLE, GEORDON M (SBCSI); Subhendu Ghosh; > > > > nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] Acknowledge alert? > > > > > > > > > > > > The service must be in a HARD state to be able to Acknowledge > > > > it. In your case it would need to fail 3 checks in a row to > > > > show the Acknowledge option. > > > > > > > > marc > > > > > > > > > -----Original Message----- > > > > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > > > > Sent: Tuesday, May 06, 2003 2:56 PM > > > > > To: 'Subhendu Ghosh'; nagios-users at lists.sourceforge.net > > > > > > > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > Hash: SHA1 > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > > > > Sent: Tuesday, May 06, 2003 1:31 PM > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > Subject: Re: [Nagios-users] Acknowledge alert? > > > > > > > > > > > > > > > > > > On Tue, 6 May 2003, VANTASSLE, GEORDON M (SBCSI) wrote: > > > > > > > > > > > > > How do I acknowledge an alert? I am probably missing it > > > > > > somewhere in > > > > > > > the documentation, and would appreciate a point-to. > > > > > > > > > > > > > > > > > > > When looking at the service detail - the acknowledge commands is > > > > > > listed in the "service commands" box on the right > > > > > > > > > > > > -- > > > > > > -sg > > > > > > > > > > Ok, that's what I *thought* it should be. But, (using Nagios > > 1.0), > > > > this > > > > > is > > > > > what I have on the screen (see attached) > > > > > > > > > > Any ideas? > > > > > > > > > > Thanks, > > > > > Geordon > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > > Version: PGP 8.0 > > > > > Comment: This message signed to ensure authenticity. > > > > > > > > > > iQA/AwUBPrgSnBnDT1v4QosXEQKHCgCeKUnv6sQFWtbnJUrnx5HY9ul5D3UAn3lr > > > > > l5GMrgjf2nDy2qHMl4j/5m7D > > > > > =UmIh > > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > Version: PGP 8.0 > > > Comment: This message signed to ensure authenticity. > > > > > > iQA/AwUBPrgXZRnDT1v4QosXEQJaNACfVJ2Hg0yiZ3oJ5oLJtt7E0vWjbsYAnR17 > > > IaU7gvuJlAP4AxUIz7PFrhtd > > > =Fq1X > > > -----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue May 6 23:54:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 17:54:30 -0400 (EDT) Subject: GUI available besides NAGAT! (fwd) In-Reply-To: References: Message-ID: sourceforge.net/projects/osesm The parser is currently configured to return objects and the gui portion builds the tree. To make the module more independent - I am using autoload features, and defining some additional data members to track sourcefiles for each object. Also need to add functions such that initialization does not force a reading of all the configuration. Need to add modules to read the status log, the v2.0 cached config, and archives. Sure the config parser part could be written in a week if you had a week's worth of time ;) I haven't yet posted my patches as it is not yet functional :( -sg On Tue, 6 May 2003, Bryan Loniewski wrote: > > programmer = lazy, so what my boss wrote below is what I would like you > (someone) to comment on! On top of that is there a webpage, or some more > information regarding osesm, I can take a look at, help develop, etc..? > > Thanks. > > Bryan Loniewski > > ---------- Forwarded message ---------- > Date: Tue, 6 May 2003 11:17:03 -0400 (EDT) > From: Roy MARANTZ > To: Bryan Loniewski > Cc: Kevin Conover , > Roy Marantz > Subject: Re: [Nagios-users] GUI available besides NAGAT! (fwd) > > Why not ask them what they want in a parser module. We (read that you:-) > might be persuaded to write such a thing. From my brief look at the new > config format, I'd say it could be done in a "week or so". > > Questions like: What language should it be in? Do they have a formal > definition for the file format? (dare I ask for EBNF) What do the want > the results to be? (A parse tree? A set ob objects? ...) > > Roy > > > On Mon, 5 May 2003, Bryan Loniewski wrote: > > > Date: Mon, 5 May 2003 17:31:53 -0400 (EDT) > > From: Bryan Loniewski > > To: Kevin Conover > > Cc: Roy Marantz > > Subject: Re: [Nagios-users] GUI available besides NAGAT! (fwd) > > > > Thought this might interest you a bit. The individual who wrote this reply > > is a main developer of nagios. > > > > Bryan > > > > ---------- Forwarded message ---------- > > Date: Mon, 05 May 2003 17:18:52 -0400 (EDT) > > From: Subhendu Ghosh > > To: Bryan Loniewski > > Cc: "Nagios-users at lists.sourceforge.net" > > > > Subject: Re: [Nagios-users] GUI available besides NAGAT! > > > > On Mon, 5 May 2003, Bryan Loniewski wrote: > > > > > > > > After perusing the mailing lists, is anyone developing, using, working on > > > a gui for nagios configuration files. We here at Rutgers University are > > > using the old default config files with a hacked version of NEAT. We did > > > not go to object based yet since we (I) felt there was no gui solution > > > out there yet. A gui is nice since, for example, our operators can edit > > > config files without having an account on the machine. However, I know > > > the next release is going to do away with the default config files and I > > > would like to do away with them as well, but I can't believe how > > > established nagios is that there is no "stable" gui out there. Any > > > feedback would be much appreciated. > > > > > > Thanks. > > > > > > Bryan Loniewski > > > NBCS - Systems Programmer > > > > > > > > > > NagMIN is an alternative. > > > > Not yet alpha is "osesm". > > > > Part of the issue holding back the development of alternative admin gui's > > is the absence of a parser library. Nagmin has developed its own and > > osesm is developing another. Neither is entirely application independent. > > > > I have started to heavily patch the perl modules under osesm and hope to > > get those patches in soon. > > > > I think you will see some development over the summer - if you can wait > > that long. > > > > -- > > > > -sg > > > > > > > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed May 7 00:02:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 18:02:43 -0400 (EDT) Subject: Monitoring Process not running? In-Reply-To: References: Message-ID: cgi.cfg - nagios_check_command syntax On Tue, 6 May 2003, Martens, Jason wrote: > I've searched the web, read the FAQ and searched the mailing list > archives, and I can't find the answer for this one. > > In the Process Info section, it says that my Process Status is Critical, > even though I know nagios is running, and information is getting > updated. What am I doing wrong? > > Thanks, > Jason > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue May 6 23:59:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 06 May 2003 17:59:27 -0400 (EDT) Subject: Check_ntp error - need interpretation In-Reply-To: References: Message-ID: Please upgrade to release 1.3 snapshots. numerous patches on check_ntp since last november. -sg On Tue, 6 May 2003, Irene Sakellarakis wrote: > Running check_ntp from the command line on my Nagios server to check a > remote host, I get the following error: > > ----- > CRITICAL: Dispersion error and time difference 60.824095 seconds greater > than +/- 60 sec > > > ------ > The time on my remote host is synch'd to a stratus 3 time server and is > set correctly so there is no offset. Time is identical to the Nagios host > server. > > check_ntp version: (nagios-plugins 200211131100-snapshot) 1.9 > nagios host: Red Hat 7.3 > ntpd host: Red Hat 6.1 > > Thanks in advance, > Irene > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed May 7 01:24:29 2003 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 06 May 2003 18:24:29 -0500 Subject: distributed monitoring/central server performance problems In-Reply-To: <000501c3138e$43a90520$6101a8c0@acid> References: Message-ID: <3EB7FDDD.7584.4A6E8D@localhost> NSCA may be to blame (consolidated transmits would help), but it is more likely that you are experiencing a bottleneck with the external command file. This file is implemented as a named pipe, which (under Linux) has a size of 4K. If one external command for a passive check is ~100 byes, that means you can fit about 40 passive checks into the pipe before it fills up. Your config snippet indicates that you are checking for external commands every 30 seconds. That's way too long of an interval - Nagios will only process ~1.5 passive checks per second at that rate (you've got ~10 per second incoming). Try setting the command check interval to 3 seconds (or -1) and see if that helps. Nagios 2.0 should be able to handle this much better than 1.0, as I've written in a dedicated thread that continuously reads from the command file and buffers the input for later handling. By default, this should allow you to handle ~512+ passive checks per command check interval. On 6 May 2003 at 1:13, Jason Lancaster wrote: > Sg, > Thanks for the input on this... I believe what I've run into is a > bottleneck with send_nsca and the general ocsp command. 3200 services > all using separate send_nsca commands on an average check_interval of > 5 minutes makes for a very crazy system; almost 10 incoming/outgoing > nsca connections a second. > > I've tested this theory by disabling the oscp command and using > simpler commands (such as an echo to a log file) with success. > > I'm going to write an nsca "sweeper" tomorrow and see how sending > increments of the oscp commands (50 at a time, 100 at a time, etc) > through a single nsca connection to the central server are processed. > > I'll keep posting and be sure to let everyone know if I solve it. > > -Jason > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > Subhendu Ghosh Sent: Monday, May 05, 2003 17:26 To: > nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] > distributed monitoring/central server performance problems > > Is there any way for you run a debugging version of Nagios (DEBUG3) > and/or strace.. > > -sg > > On Mon, 5 May 2003, Jason Lancaster wrote: > > > Hi everyone, > > I have somewhat of an update on this situation. I've been able to > > get similar results in a non-distributed environment. It may not or > > may > not give > > anyone ideas but it does simplify the situation. > > > > Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 > > Approx 2600 services, 313 hosts. 2324 passive checks sent through > > nsca and written to external commands > file. > > 359 active service checks. > > Uses cfg file posted previously. > > > > Host/Service status does not update regularly. All services are > > setup > to > > update within 5 minute periods, but there are results still pending > for > > checks made over 45 minutes ago. Stale checks are attempted once but > then > > Nagios becomes so bogged that it can't process anything. This is > reflected > > in the web interface as well as the status.log. > > > > If anyone uses Nagios in a similar large-scale environment, I'd > > really appreciate some input. > > > > Thanks, > > Jason > > > > ----- Original Message ----- > > From: "Jason Lancaster" > > To: > > Sent: Friday, May 02, 2003 19:54 > > Subject: [Nagios-users] distributed monitoring/central server > performance > > problems > > > > > > > A simple background of my environment: > > > My central server is receiving external commands from 3 monitoring > > servers. > > > I have just over 3200 services monitored, all delivered to the > central > > > server through NSCA. Everything works perfect until the Nagios > process on > > > the central server attempts to parse the external commands. > > > > > > When first started, Nagios updates status information (alerts) > quickly but > > > as time goes on, status updates (alerts) are parsed slower and > slower > > until > > > eventually, nothing happens and only external commands are > > > written. > This > > > cripples nagios and since it is not executing local alerts or > > > status updates, it never executes stale_check's or sends out > > > notifications. > I'm > > > left with a webpage that displays results anywhere from 6 hours > > > ago > to > > about > > > 15 minutes ago. The odd thing about this is the behavior is > completely > > > unpredictable, although it sometimes seems like it gives an > alphabetical > > > priority to the first few letters in the alphabet. > > > > > > If the above confuses you, perhaps a snip from the log might help: > > > [1051917099] EXTERNAL COMMAND: > > > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - > Packet > > > loss = 0%, RTA = 0.80 ms > > > **repeat external command lines hundreds of times, with the > following line > > > below happening about 20-30 minutes after the external command** > > > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK > > > - > Packet > > > loss = 0%, RTA = 0.80 ms > > > > > > The central server is far from being overworked with a load > > > average > of > > 0.04 > > > and both cpu's average about 96% idle. I can in no way attribute > this > > > behavior to the hardware on my central system. > > > > > > I've gone thought the nagios configuration file and tried almost > every > > > combination of tweaks including: aggregate updates, aggressive > checking, > > > orphaned services, inter_check_delay_methods, > service_interleave_factors, > > > setting up a ramdisk, etc. I've found the *best* settings seem to > > > be > the > > > "smart" methods but they are FAR from perfect. Nagios still is > overrun > > with > > > the external commands. > > > > > > I know there have to people who have successfully implemented > > > Nagios > in a > > > large distributed environment and I'm hoping some of you might > > > speak > up > > > about issues you may have had. > > > > > > I believe this problem has to do with Nagios and my guess is it's > either a > > > performance option available in the nagios.cfg or it's something I > have to > > > rewrite/set in the source. I've tried most nagios.cfg options > available > > with > > > no luck. I've attached my nagios.cfg just in case someone notices > > > a > > blatant > > > error (I know everything here is not the most efficient, it's just > what my > > > latest "test" used) > > > > > > Thanks for your time and sorry for the long explanation! > > > > > > Jason Lancaster > > > Intranet Administrator, Affinity Internet > > > (954) 334-8203 > > > > > > check_external_commands=1 > > > command_check_interval=30s > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > comment_file=/usr/local/nagios/var/comment.log > > > downtime_file=/usr/local/nagios/var/downtime.log > > > lock_file=/usr/local/nagios/var/nagios.lock > > > temp_file=/usr/local/nagios/var/nagios.tmp > > > log_rotation_method=d > > > log_archive_path=/usr/local/nagios/var/archives > > > use_syslog=0 > > > log_notifications=1 > > > log_service_retries=1 > > > log_host_retries=1 > > > log_event_handlers=1 > > > log_initial_states=1 > > > log_external_commands=1 > > > log_passive_service_checks=1 > > > inter_check_delay_method=n > > > service_interleave_factor=1 > > > max_concurrent_checks=0 > > > service_reaper_frequency=1 > > > sleep_time=1 > > > service_check_timeout=60 > > > host_check_timeout=30 > > > event_handler_timeout=30 > > > notification_timeout=30 > > > ocsp_timeout=5 > > > perfdata_timeout=5 > > > retain_state_information=1 > > > state_retention_file=/usr/local/nagios/var/status.sav > > > retention_update_interval=0 > > > use_retained_program_state=0 > > > interval_length=60 > > > use_agressive_host_checking=0 > > > execute_service_checks=1 > > > accept_passive_service_checks=1 > > > enable_notifications=1 > > > enable_event_handlers=1 > > > process_performance_data=0 > > > obsess_over_services=0 > > > check_for_orphaned_services=1 > > > check_service_freshness=1 > > > freshness_check_interval=600 > > > aggregate_status_updates=1 > > > status_update_interval=20 > > > enable_flap_detection=0 > > > low_service_flap_threshold=5.0 > > > high_service_flap_threshold=20.0 > > > low_host_flap_threshold=5.0 > > > high_host_flap_threshold=20.0 > > > date_format=us > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steves at ipctech.com Wed May 7 03:55:22 2003 From: steves at ipctech.com (Sarkees, Steve) Date: Tue, 6 May 2003 21:55:22 -0400 Subject: NSCA Timeouts Message-ID: <8FBAD66B77E1D31183A200805F5755420149BA22@mail.ipctech.com> I have recently configure NSCA. Everything seems to be okay - The main Nagios server shows nsca running as a process. On my remote Nagios server, I run the send_nsca but it times out after 10 seconds. I know it is connecting to the main server, because If I kill the NSCA process daemon and try to run send_nsca again, I get "connection refused by host".. My passwords in the .cfg's match and so does the port (6667).. Any ideas on this? Thanks in advance Steve Sarkees -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at kive.net Wed May 7 06:50:12 2003 From: chris at kive.net (chris at kive.net) Date: Wed, 7 May 2003 00:50:12 -0400 (EDT) Subject: Nagios CGI Authorization Problems Message-ID: <2235.12.91.237.228.1052283012.squirrel@www.kive.net> Hello, I have spent many hours searching through all available documentation, FAQ's, reading the mailing list archives, and testing many ideas of my own and from earlier posts to similar problems. At this point, I am genuinely stuck, and would very much appreciate any help offered. The Issue: I can successfully login at http://mydomain.com/nagios/index.html, but the Nagios CGI's dont appear to see who I am authorized as. I get the "Logged in as ?" on most screens, and I receive this error on most screens as well: "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. The Specs: RedHat 7.2 Apache 1.3.27 Filesystem: [root at srv01 nagios]# pwd /usr/local/nagios [root at srv01 nagios]# ls -la total 32 drwxr-xr-x 8 root root 4096 May 5 12:28 . drwxr-xr-x 19 root root 4096 May 5 12:19 .. drwxrwxr-x 2 nagios nagios 4096 May 5 12:27 bin drwxrwxr-x 2 nagios nagios 4096 May 5 13:32 etc drwx------ 2 nagios nagios 4096 May 5 12:32 libexec drwxrwxr-x 2 nagios nagios 4096 May 7 00:24 sbin drwxrwxr-x 8 nagios nagios 4096 May 5 12:46 share drwxrwxr-x 3 nagios nagios 4096 May 5 13:52 var [root at srv01 etc]# pwd /usr/local/nagios/etc [root at srv01 etc]# ls -la total 144 drwxrwxr-x 2 nagios nagios 4096 May 5 13:32 . drwxr-xr-x 8 root root 4096 May 5 12:28 .. -rw-r--r-- 1 nagios nagios 17076 May 6 23:26 cgi.cfg -rw------- 1 root root 17180 May 5 13:32 cgi.cfg.save -rw-r--r-- 1 nagios nagios 4478 May 5 12:50 checkcommands.cfg -rw-r--r-- 1 nagios nagios 814 May 5 13:25 contactgroups.cfg -rw-r--r-- 1 nagios nagios 1387 May 5 13:20 contacts.cfg -rw-r--r-- 1 nagios nagios 1673 May 5 13:23 dependencies.cfg -rw-r--r-- 1 nagios nagios 2050 May 5 13:28 escalations.cfg -rw-r--r-- 1 nagios nagios 807 May 5 13:24 hostgroups.cfg -rw-r--r-- 1 nagios nagios 1942 May 5 13:22 hosts.cfg -rw-r--r-- 1 root root 20 May 5 12:47 htpasswd.users -rw-r--r-- 1 nagios nagios 4255 May 5 12:51 misccommands.cfg -rw-r--r-- 1 nagios nagios 21330 May 5 12:50 nagios.cfg -rw-r----- 1 nagios nagios 3072 May 5 12:51 resource.cfg -rw-r--r-- 1 nagios nagios 18322 May 5 13:38 services.cfg -rw-r--r-- 1 nagios nagios 1592 May 5 12:51 timeperiods.cfg [root at srv01 sbin]# pwd /usr/local/nagios/sbin [root at srv01 sbin]# ls -la total 2048 drwxrwxr-x 2 nagios nagios 4096 May 7 00:24 . drwxr-xr-x 8 root root 4096 May 5 12:28 .. -rwxr-xr-x 1 apache apache 145788 May 5 12:27 avail.cgi -rwxr-xr-x 1 apache apache 148504 May 5 12:27 cmd.cgi -rwxr-xr-x 1 apache apache 115996 May 5 12:27 config.cgi -rwxr-xr-x 1 apache apache 161336 May 5 12:27 extinfo.cgi -rwxr-xr-x 1 apache apache 126524 May 5 12:27 histogram.cgi -rwxr-xr-x 1 apache apache 106284 May 5 12:27 history.cgi -rw-r--r-- 1 nagios nagios 110 May 7 00:24 .htaccess lrwxrwxrwx 1 root root 8 May 5 12:58 nagios -> ./nagios -rwxr-xr-x 1 apache apache 103468 May 5 12:27 notifications.cgi -rwxr-xr-x 1 apache apache 100796 May 5 12:27 outages.cgi -rwxr-xr-x 1 apache apache 101260 May 5 12:27 showlog.cgi -rwxr-xr-x 1 apache apache 147416 May 5 12:27 status.cgi -rwxr-xr-x 1 apache apache 130076 May 5 12:27 statusmap.cgi -rwxr-xr-x 1 apache apache 117116 May 5 12:27 statuswml.cgi -rwxr-xr-x 1 apache apache 111516 May 5 12:27 statuswrl.cgi -rwxr-xr-x 1 apache apache 121276 May 5 12:27 summary.cgi -rwxr-xr-x 1 apache apache 125400 May 5 12:27 tac.cgi -rwxr-xr-x 1 apache apache 128412 May 5 12:27 trends.cgi Log Data: /var/www/error_log contains no relevant information /var/www/access_log contains what appears to be successful transactions, but I do see that the .cgi get's are not logged as authenticated. Here is a typical transaction entry: 12.91.237.228 - - [07/May/2003:00:37:27 -0400] "GET /cgi-bin/nagios/status.cgi?hostgroup=all&style=hostdetail HTTP/1.1" 200 7109 12.91.237.228 - chris [07/May/2003:00:37:27 -0400] "GET /nagios/stylesheets/status.css HTTP/1.1" 304 - 12.91.237.228 - chris [07/May/2003:00:37:28 -0400] "GET /nagios/images/contexthelp1.gif HTTP/1.1" 304 - 12.91.237.228 - chris [07/May/2003:00:37:28 -0400] "GET /nagios/images/up.gif HTTP/1.1" 304 - 12.91.237.228 - chris [07/May/2003:00:37:28 -0400] "GET /nagios/images/down.gif HTTP/1.1" 304 - 12.91.237.228 - - [07/May/2003:00:37:49 -0400] "GET /cgi-bin/nagios/status.cgi?host=all HTTP/1.1" 200 7138 12.91.237.228 - - [07/May/2003:00:37:57 -0400] "GET /cgi-bin/nagios/tac.cgi HTTP/1.1" 200 11138 Relevant Files: [root at srv01 etc]# grep use_auth /usr/local/nagios/etc/cgi.cfg use_authentication=1 [root at srv01 etc]# cat /usr/local/nagios/share/.htaccess AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user [root at srv01 etc]# cat /usr/local/nagios/sbin/.htaccess AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user /usr/local/nagios/etc/htpasswd.users exists, is world-readable, and contains a single entry for "chris:(encrypted data)" Relevant Entries from /etc/httpd/conf/httpd.conf: Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Other Miscellaneous Information: - the nagios group contains both the nagios and apache users - The nagios userID is over 100 - This is a fresh installation from Nagios 1.0 source - Other CGI-BIN directories on the same server are known to work using this same authentication method. - I tested with use_authentication = 0, and everything worked fine. Again, your help is greatly appreciated. I'll keep troubleshooting, and will let you know if I learn anything else. Best Regards, -Chris ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fetse_pr at yahoo.fr Wed May 7 08:22:21 2003 From: fetse_pr at yahoo.fr (fosa) Date: 7 May 2003 06:22:21 -0000 Subject: How to send mail from linux to an external address Message-ID: <20030507062221.1941.qmail@pod-163.dolphin-server.co.uk> It's ok now thanks a lot ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Wed May 7 08:30:50 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 07 May 2003 08:30:50 +0200 Subject: Faire suivre : Returned mail: see transcript for details In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E6E71@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E6E71@mismail.ena.com> Message-ID: <3EB8A81A.5060005@dhl.com> Marc Powell wrote: > It's not just you, it's everyone that posts to the list. The offending > address should be removed from the list until such a time as he can > properly set up and maintain his mail server... Amen! ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davy.gaussen at sneftechnologies.fr Wed May 7 09:40:22 2003 From: davy.gaussen at sneftechnologies.fr (Davy Gaussen) Date: Wed, 7 May 2003 08:40:22 +0100 Subject: How to send emails to an external adress by nagios notification tools? Message-ID: <003f01c3146b$ea72bcb0$5966a8c0@sneftech> Hi, I have successfully installed nagios on my Mandrake 8.2. I want to notify some users about hosts problems by email (external). So I have try yo use the notify_by_email command and I do not have anything in my emails! Can you help me? I join some of my configuration files. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contactgroups.cfg Type: application/octet-stream Size: 641 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contacts.cfg Type: application/octet-stream Size: 1164 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hosts.cfg Type: application/octet-stream Size: 8535 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 2329 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg Type: application/octet-stream Size: 15622 bytes Desc: not available URL: From frankie at etsetb.upc.es Wed May 7 09:20:46 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Wed, 07 May 2003 09:20:46 +0200 Subject: check_snmp timeout Message-ID: <3EB8B3CE.70908@etsetb.upc.es> Hi. I'm checking the net usage of a router using apan with nagios. I found that sometimes the check times out and the -t parameter of the check_snmp plugin isn't working. I changed snmp.sh source of apan, so there is a -t for check_snmp: VALUE=`$PLUGINSDIR/check_snmp -t 60 -H $HOST -C $COMM -o $OID` But it did the same, so I tried from the command line: $ time /usr/lib/nagios/plugins/check_snmp -H ROUTER -C public -o .1.3.6.1.2.1.2.2.1.16.9 -t 20 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m ALL -v 1 -c public ROUTER:161 .1.3.6.1.2.1.2.2.1.16.9 real 0m6.141s As you can see, it gives up quite soon. I fixed it a little adding a second check of snmp in the snmp.sh file: This is: redhat-release-7.3-1 nagios-1.0-1 check_snmp (nagios-plugins 1.3.0) 1.24 net-snmp-5.0.6-8.80.2 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Wed May 7 09:51:17 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 07 May 2003 09:51:17 +0200 Subject: How to send emails to an external adress by nagios notification tools? In-Reply-To: <003f01c3146b$ea72bcb0$5966a8c0@sneftech> References: <003f01c3146b$ea72bcb0$5966a8c0@sneftech> Message-ID: <3EB8BAF5.2060003@dhl.com> The one config file we really need, is not attached :-) Please send your misccommands.cfg or where ever your notify-by-email and host-notify-by-email commands (and not notify_by_email) are defined. Davy Gaussen wrote: > Hi, > > I have successfully installed nagios on my Mandrake 8.2. I want to > notify some users about hosts problems by email (external). So I have > try yo use the notify_by_email command and I do not have anything in my > emails! > Can you help me? > > I join some of my configuration files. > > Thanks in advance. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at kive.net Wed May 7 10:03:15 2003 From: chris at kive.net (chris at kive.net) Date: Wed, 7 May 2003 04:03:15 -0400 (EDT) Subject: Nagios CGI Authorization Problems - Solution! Message-ID: <2591.12.91.237.228.1052294595.squirrel@www.kive.net> I searched around a bit more, and one of the solutions finally took. All I needed to change was the section of the httpd.conf that I had in my earlier e-mail, and change it to: ----- START CODE ----- ScriptAlias /cgi-bin/nagios/ /usr/local/nagios/sbin/ ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ /usr/local/nagios/share/ AllowOverride None Order allow,deny Allow from All AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /dev/null AuthName "Nagios" AuthType Basic Require valid-user AllowOverride None Options ExecCGI Order allow,deny Allow from All AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /dev/null AuthName "Nagios" AuthType Basic Require valid-user ----- END CODE ----- Hope this helps someone else in the future! FYI, I got this clue from: http://dudle.linuxroot.org/docs/netsaint/netsaint-5.html which is Haim Dimermanas's Netsaint doc. Thanks Haim! (who is bcc'd on this) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davy.gaussen at sneftechnologies.fr Wed May 7 11:25:58 2003 From: davy.gaussen at sneftechnologies.fr (Davy Gaussen) Date: Wed, 7 May 2003 10:25:58 +0100 Subject: How to send emails to an external adress by nagios notification tools? References: <003f01c3146b$ea72bcb0$5966a8c0@sneftech> <3EB8BAF5.2060003@dhl.com> Message-ID: <008901c3147a$acc0fbc0$5966a8c0@sneftech> Ok, Thank you for your answer, I hope you will find my pb... ----- Original Message ----- From: "Tom DE BLENDE" To: "Davy Gaussen" Cc: Sent: Wednesday, May 07, 2003 8:51 AM Subject: Re: [Nagios-users] How to send emails to an external adress by nagios notification tools? > The one config file we really need, is not attached :-) Please send > your misccommands.cfg or where ever your notify-by-email and > host-notify-by-email commands (and not notify_by_email) are defined. > > Davy Gaussen wrote: > > Hi, > > > > I have successfully installed nagios on my Mandrake 8.2. I want to > > notify some users about hosts problems by email (external). So I have > > try yo use the notify_by_email command and I do not have anything in my > > emails! > > Can you help me? > > > > I join some of my configuration files. > > > > Thanks in advance. > > -------------- next part -------------- A non-text attachment was scrubbed... Name: misccommands.cfg Type: application/octet-stream Size: 2168 bytes Desc: not available URL: From jim.mozley at exponential-e.com Wed May 7 10:32:53 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 7 May 2003 09:32:53 +0100 Subject: Single check script to monitor multipleprocesses References: <1051958901.1035.10.camel@miles.debisschop.net> Message-ID: <00e101c31473$40abeeb0$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry for the late response to my original post, been aware from work and have had a public holiday here in the UK. Thanks for all the responses. > Off-hand, I see no other particularly strong reasons for grouping the > functionality at the development level. Do you? > > And if you do, could that need be resolved with a generic aggrgator that > allows poeple to lump unit plugins to their taste instead of creating > one bloated plugin that has 20 capabilities of which only 2 might be > used on a given call? > I agree that this might become a problem if any monitor script tries to do too much. The biggest problem I see with one script that checks for a list of processes running is that this makes it difficult to tailor individual corrective action appropriate to the application. However, I have in the past used one script that has checked to see if a list of processes is running in conjunction with individual monitors that check things like DNS queries being answered or DHCP issuing leases, etc. The dual approach is aimed at working out whether the service is running from a customer point of view and also trying to identify the cause of the problem (such as the process isn't working). Regards, Jim ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed May 7 10:27:46 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 7 May 2003 10:27:46 +0200 Subject: "Host assumed to be up"? Message-ID: <00cd01c31472$89b120e0$cfdda8c0@nwl.se> If my ping-checks are working properly, why does the "host detail" screen list all hosts as "assumed to be up" instead of "up"? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed May 7 10:33:15 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 07 May 2003 10:33:15 +0200 Subject: check_snmp timeout References: <3EB8B3CE.70908@etsetb.upc.es> Message-ID: <3EB8C4CB.3000606@datavis.se> Yes I found this myself a week ago. Here's the answer: Subhendu Ghosh wrote: This is a bug - http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 /FredrikW Francesc Guasch wrote: > Hi. I'm checking the net usage of a router using apan > with nagios. I found that sometimes the check times > out and the -t parameter of the check_snmp plugin > isn't working. > > I changed snmp.sh source of apan, so there is a -t > for check_snmp: > > VALUE=`$PLUGINSDIR/check_snmp -t 60 -H $HOST -C $COMM -o $OID` > > But it did the same, so I tried from the command line: > > $ time /usr/lib/nagios/plugins/check_snmp -H ROUTER -C public > -o .1.3.6.1.2.1.2.2.1.16.9 -t 20 > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 -c public ROUTER:161 > .1.3.6.1.2.1.2.2.1.16.9 > real 0m6.141s > > As you can see, it gives up quite soon. > > I fixed it a little adding a second check of snmp in the > snmp.sh file: > > > This is: > > redhat-release-7.3-1 > nagios-1.0-1 > check_snmp (nagios-plugins 1.3.0) 1.24 > net-snmp-5.0.6-8.80.2 > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bware at intouch.nl Wed May 7 11:45:22 2003 From: bware at intouch.nl (D. Roos) Date: 07 May 2003 11:45:22 +0200 Subject: GUI available besides NAGAT! In-Reply-To: References: Message-ID: <1052300722.1817.6.camel@bware.mine.nu> On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > After perusing the mailing lists, is anyone developing, using, working on > a gui for nagios configuration files I am currently trying to write a php-based nagios admin interface for personal use... If anyone's interested, I'd be willing to put it online... Regardz, Dennis Roos ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Wed May 7 11:34:53 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 07 May 2003 11:34:53 +0200 Subject: "Host assumed to be up"? In-Reply-To: <00cd01c31472$89b120e0$cfdda8c0@nwl.se> References: <00cd01c31472$89b120e0$cfdda8c0@nwl.se> Message-ID: <3EB8D33D.40701@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=86 Now go to your room! Jan Johansson wrote: > If my ping-checks are working properly, why does the "host detail" > screen list all hosts as "assumed to be up" instead of "up"? > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed May 7 11:52:20 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 7 May 2003 11:52:20 +0200 Subject: Nagios chops error text after ~430 chars Message-ID: <200305071152.20542.roy@karlsbakk.net> hi When I try sending the following error (1) (clipped from the event log), it cuts it off, leaving only the this (2) left. The clipped text is then used in the notification. any chance of getting the full text? I've tried several times, and it looks like there's a low buffer somehow. How can I change this? I _need_ long logs. roy 1 ---------------------------------------------------------------------------------------- [25-04-2003 14:00:37] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;display01;CP_FLYTOGET_LODALEN;1;Not ready yet. But might be. Don't know. Might be ok. Might be broken. Unable to tell. It's just Windows. Or unix. OS/2? I don't know. Total confusion. As if in a relation to Confuctus. I might be wrong, but is this a nagios error report? Possibly. But more likely, I'd say it's closer to a rather bored sysadmin write a long passive check text to nagios to see if Nagios has stopped chopping them off in mid sentence. Ok. That's all folks. 2 ---------------------------------------------------------------------------------------- Not ready yet. But might be. Don't know. Might be ok. Might be broken. Unable to tell. It's just Windows. Or unix. OS/2? I don't know. Total confusion. As if in a relation to Confuctus. I might be wrong, but is this a nagios error report? Possibly. But more likely, I'd say it's closer to a rather bored sysadmin write a long passive check text to na -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com From jan.johansson at nwl.se Wed May 7 12:18:03 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 7 May 2003 12:18:03 +0200 Subject: "Host assumed to be up"? In-Reply-To: <3EB8D33D.40701@dhl.com> References: <3EB8D33D.40701@dhl.com> Message-ID: <00f501c31481$f194e6b0$cfdda8c0@nwl.se> >http://www.nagios.org/faqs/viewfaq.php?faq_id=86 Oh... >Now go to your room! I will punish myself by repeatedly hitting myself with a wet noodle. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed May 7 12:36:05 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 07 May 2003 06:36:05 -0400 Subject: check_snmp timeout In-Reply-To: <3EB8C4CB.3000606@datavis.se> References: <3EB8B3CE.70908@etsetb.upc.es> <3EB8C4CB.3000606@datavis.se> Message-ID: <1052303765.20500.3.camel@miles.debisschop.net> On Wed, 2003-05-07 at 04:33, Fredrik W?nglund wrote: > Yes I found this myself a week ago. Here's the answer: > > Subhendu Ghosh wrote: > > This is a bug - > > http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > Back on 9 Feb I asked for reports onhistorical support of the -t switch in ucd-snmp. Not a single response as yet. Unless a RH6.2 or older user answers that question for me, the fix will need to wait unitl I can pull down an old set of sources to find out. Once I have that info, the fix is easy and will go into the stable and devel (HEAD) CVS braches. > > /FredrikW > > Francesc Guasch wrote: > > > Hi. I'm checking the net usage of a router using apan > > with nagios. I found that sometimes the check times > > out and the -t parameter of the check_snmp plugin > > isn't working. > > > > I changed snmp.sh source of apan, so there is a -t > > for check_snmp: > > > > VALUE=`$PLUGINSDIR/check_snmp -t 60 -H $HOST -C $COMM -o $OID` > > > > But it did the same, so I tried from the command line: > > > > $ time /usr/lib/nagios/plugins/check_snmp -H ROUTER -C public > > -o .1.3.6.1.2.1.2.2.1.16.9 -t 20 > > SNMP problem - No data recieved from host > > CMD: /usr/bin/snmpget -m ALL -v 1 -c public ROUTER:161 > > .1.3.6.1.2.1.2.2.1.16.9 > > real 0m6.141s > > > > As you can see, it gives up quite soon. > > > > I fixed it a little adding a second check of snmp in the > > snmp.sh file: > > > > > > This is: > > > > redhat-release-7.3-1 > > nagios-1.0-1 > > check_snmp (nagios-plugins 1.3.0) 1.24 > > net-snmp-5.0.6-8.80.2 > > > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon at ostengaard.dk Wed May 7 12:16:25 2003 From: simon at ostengaard.dk (=?ISO-8859-1?Q?Simon_=D8stengaard?=) Date: Wed, 07 May 2003 12:16:25 +0200 Subject: invalid hostname In-Reply-To: <20030506195152.GA838@g7iii.demon.co.uk> References: <3EB7B1F8.4070008@ostengaard.dk> <004d01c313d6$3902cdc0$f805ff0a@tekniq> <20030506195152.GA838@g7iii.demon.co.uk> Message-ID: <3EB8DCF9.5030505@ostengaard.dk> As Patrick wrote: Here is the code that is causing you problems: /* from RFC-1035 * * The labels must follow the rules for ARPANET host names. They must * start with a letter, end with a letter or digit, and have as interior * characters only letters, digits, and hyphen. There are also some * restrictions on the length. Labels must be 63 characters or less. */ int is_hostname (char *s1) { if (!s1 || strlen (s1) > 63) { return FALSE; } if (strcspn (s1, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUWVXYZ0123456789-.") != 0) { return FALSE; } if (strspn (s1, "0123456789-.") == 1) { /* change to if (strspn (s1, "-.") == 1) { */ return FALSE; } while ((s1 = index (s1, '.'))) { s1++; if (strspn (s1, "0123456789-.") == 1) { /* change to if (strspn (s1, "-.") == 1) { */ return FALSE; } } return TRUE; } in the utils.c delete the number in the check and the plugin will check mail.2aa.dk. I have tried the latest snapshot but it still won't check mail.2aa.dk :) Simon Iain Young wrote: >On Tue, May 06, 2003 at 09:48:49AM -0400, Simon Wrote: > > > >>The plugin refuses to check a host that contains a number in the >>beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk. >> >> > >Actually, IIRC, that is the correct DNS behaviour, according to >RFC1034. Relavent paragraph from 1034: > >The labels must follow the rules for ARPANET host names. They must >start with a letter, end with a letter or digit, and have as interior >characters only letters, digits, and hyphen. There are also some >restrictions on the length. Labels must be 63 characters or less. > >[SNIP] > > > >>[root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25 >>Trying 80.80.7.208... >>Connected to mail.2aa.dk. >>Escape character is '^]'. >>220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200 >> >> > >telnet, $MTA, and your resolver/DNS servers being kind. And yes >it works, and will probably continue to work, but strict adherence >to 1034 specifies that they are 'illegal'. > >My understanding is that a strict implementation of 1034/DNS would >fail to resolve labels starting with a digit. > > > >>>Any help will be usefull. >>> >>> > >How is the plugin determining what a legal hostname is ? Does >it have a switch or option to make it more kind ? > > >Iain > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed May 7 13:51:24 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 7 May 2003 13:51:24 +0200 Subject: Nagios service hierarchies? Message-ID: <200305071351.24327.roy@karlsbakk.net> hi I've got this process serving quite a few media push/pull services, so I've integrated this to nagilos. The server running this, is a Windows server, so I've set up nsclient to check if controlpanel.exe is running etc. Is it possible to set up nagios to disable checks for controlpanel.exe's services if this process isn't running? roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed May 7 14:03:56 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 7 May 2003 08:03:56 -0400 Subject: GUI available besides NAGAT! Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC46@eentsvr40.ehvert.com> Please do. Even if it is just a shell of a full blown interface someone may expand it. I hate re-inventing things. Thanks, dean -----Original Message----- From: D. Roos [mailto:bware at intouch.nl] Sent: May 7, 2003 5:45 AM To: Bryan Loniewski Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] GUI available besides NAGAT! On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > After perusing the mailing lists, is anyone developing, using, working on > a gui for nagios configuration files I am currently trying to write a php-based nagios admin interface for personal use... If anyone's interested, I'd be willing to put it online... Regardz, Dennis Roos ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed May 7 14:02:22 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 7 May 2003 13:02:22 +0100 Subject: GUI available besides NAGAT! Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513733@jessica.herefordshire.gov.uk> > On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > > After perusing the mailing lists, is anyone developing, > > using, working on a gui for nagios configuration files > I am currently trying to write a php-based nagios admin interface for > personal use... If anyone's interested, I'd be willing to put it > online... > > > Regardz, > Dennis Roos Check out http://nagmin.sourceforge.net/ Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed May 7 14:52:34 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 07 May 2003 08:52:34 -0400 (EDT) Subject: Single check script to monitor multipleprocesses In-Reply-To: <00e101c31473$40abeeb0$03bff40a@Exponentiale.com> References: <00e101c31473$40abeeb0$03bff40a@Exponentiale.com> Message-ID: On Wed, 7 May 2003, Jim Mozley wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Sorry for the late response to my original post, been aware from work and > have had a public holiday here in the UK. Thanks for all the responses. > > > Off-hand, I see no other particularly strong reasons for grouping the > > functionality at the development level. Do you? > > > > And if you do, could that need be resolved with a generic aggrgator that > > allows poeple to lump unit plugins to their taste instead of creating > > one bloated plugin that has 20 capabilities of which only 2 might be > > used on a given call? > > > > I agree that this might become a problem if any monitor script tries to do > too much. The biggest problem I see with one script that checks for a list > of processes running is that this makes it difficult to tailor individual > corrective action appropriate to the application. However, I have in the > past used one script that has checked to see if a list of processes is > running in conjunction with individual monitors that check things like DNS > queries being answered or DHCP issuing leases, etc. > > The dual approach is aimed at working out whether the service is running > from a customer point of view and also trying to identify the cause of the > problem (such as the process isn't working). > Then what you want is service dependencies, where te customer facing check is dependent on all the back end checks. -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed May 7 14:43:24 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 07 May 2003 08:43:24 -0400 (EDT) Subject: Nagios service hierarchies? In-Reply-To: <200305071351.24327.roy@karlsbakk.net> References: <200305071351.24327.roy@karlsbakk.net> Message-ID: service dependencies is what you are looking for. -sg On Wed, 7 May 2003, Roy Sigurd Karlsbakk wrote: > hi > > I've got this process serving quite a few media push/pull services, so I've > integrated this to nagilos. The server running this, is a Windows server, so > I've set up nsclient to check if controlpanel.exe is running etc. Is it > possible to set up nagios to disable checks for controlpanel.exe's services > if this process isn't running? > > roy > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Wed May 7 15:07:39 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Wed, 07 May 2003 15:07:39 +0200 Subject: GUI available besides NAGAT! References: <2E3E9736615DD311895D00105A9CADED014BCC46@eentsvr40.ehvert.com> Message-ID: <3EB9051B.4070606@loria.fr> Hiiiii, i use "nagat" to administrate the configuration. And you speak about "nagmin". I just want to know the may difference between then. please. for example : Can "nagmin" permit to change Nagios config only by one user ? thanks. Best regards. --- Lionel Verscheure Dean Bishop wrote: >Please do. Even if it is just a shell of a full blown interface someone may >expand it. > >I hate re-inventing things. > >Thanks, >dean > >-----Original Message----- >From: D. Roos [mailto:bware at intouch.nl] >Sent: May 7, 2003 5:45 AM >To: Bryan Loniewski >Cc: Nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] GUI available besides NAGAT! > >On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > > >>After perusing the mailing lists, is anyone developing, using, working on >>a gui for nagios configuration files >> >> >I am currently trying to write a php-based nagios admin interface for >personal use... If anyone's interested, I'd be willing to put it >online... > > >Regardz, >Dennis Roos > > > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed May 7 15:15:28 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 7 May 2003 15:15:28 +0200 Subject: Nagios service hierarchies? In-Reply-To: References: Message-ID: <200305071515.28601.roy@karlsbakk.net> hm. seems likely but I get an error on line 4 with this: wassup? 1. define servicedependency { 2. host_name display01 3. service_description CONTROL_PANEL 4. dependant_host_name display01 5. dependent_service_description CP_DISTRIBUTOR01 execution_failure_criteria n notification_failure_criteria w,c } On Wednesday 07 May 2003 14:43, Subhendu Ghosh wrote: > service dependencies is what you are looking for. > > -sg > > On Wed, 7 May 2003, Roy Sigurd Karlsbakk wrote: > > hi > > > > I've got this process serving quite a few media push/pull services, so > > I've integrated this to nagilos. The server running this, is a Windows > > server, so I've set up nsclient to check if controlpanel.exe is running > > etc. Is it possible to set up nagios to disable checks for > > controlpanel.exe's services if this process isn't running? > > > > roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Nilsen at roxar.com Wed May 7 15:34:03 2003 From: Thomas.Nilsen at roxar.com (Thomas Nilsen) Date: Wed, 7 May 2003 15:34:03 +0200 Subject: Negate plugin Message-ID: Which release of the negate plugin does actually work? I've tried both the latest CVS release (negate (nagios-plugins 200305071207) 1.8) as well as the latest official plugins collection. But both fail to actually negate the result of the checked services. Regards, Thomas Nilsen Svg Support Tel: +47 51 81 01 30 - Mob: +47 916 98 229 DISCLAIMER: This message contains information that may be privileged or confidential and is the property of the Roxar Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed May 7 15:54:48 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 07 May 2003 09:54:48 -0400 (EDT) Subject: Nagios service hierarchies? In-Reply-To: <200305071515.28601.roy@karlsbakk.net> References: <200305071515.28601.roy@karlsbakk.net> Message-ID: s/dependant/dependent -sg On Wed, 7 May 2003, Roy Sigurd Karlsbakk wrote: > hm. > > seems likely > > but I get an error on line 4 with this: > wassup? > > 1. define servicedependency { > 2. host_name display01 > 3. service_description CONTROL_PANEL > 4. dependant_host_name display01 > 5. dependent_service_description CP_DISTRIBUTOR01 > execution_failure_criteria n > notification_failure_criteria w,c > } > > > On Wednesday 07 May 2003 14:43, Subhendu Ghosh wrote: > > service dependencies is what you are looking for. > > > > -sg > > > > On Wed, 7 May 2003, Roy Sigurd Karlsbakk wrote: > > > hi > > > > > > I've got this process serving quite a few media push/pull services, so > > > I've integrated this to nagilos. The server running this, is a Windows > > > server, so I've set up nsclient to check if controlpanel.exe is running > > > etc. Is it possible to set up nagios to disable checks for > > > controlpanel.exe's services if this process isn't running? > > > > > > roy > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brylon at jla.rutgers.edu Wed May 7 16:13:27 2003 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Wed, 7 May 2003 10:13:27 -0400 (EDT) Subject: GUI available besides NAGAT! In-Reply-To: <1052300722.1817.6.camel@bware.mine.nu> References: <1052300722.1817.6.camel@bware.mine.nu> Message-ID: I'm interested!!! Just let me know when and where you put it up. Thanks. Bryan Loniewski On 7 May 2003, D. Roos wrote: > On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > > After perusing the mailing lists, is anyone developing, using, working on > > a gui for nagios configuration files > I am currently trying to write a php-based nagios admin interface for > personal use... If anyone's interested, I'd be willing to put it > online... > > > Regardz, > Dennis Roos > > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Wed May 7 16:45:04 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Wed, 7 May 2003 09:45:04 -0500 Subject: Nagios command file not working Message-ID: I've read the FAQ and set the permissions exactly as they asked, but for some reason, nagios still can't open the file. All of the links in the web interface exist, but when I try to run a command, like force an update on a host, I get the following error 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. The permissions on the file are like so: [root at testwebserver rw]# pwd /usr/local/nagios/var/rw [root at testwebserver rw]# ll total 0 prw-rw---- 1 nagios nagiosapache 0 May 6 16:59 nagios.cmd The permissions on the directory are like this: [root at testwebserver var]# ll -d rw drwxrwS--- 2 nagios nagiosapache 4096 May 6 16:59 rw [root at testwebserver var]# Any thoughts? Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Wed May 7 16:44:27 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Wed, 07 May 2003 16:44:27 +0200 Subject: check_snmp timeout In-Reply-To: <1052303765.20500.3.camel@miles.debisschop.net> References: <3EB8B3CE.70908@etsetb.upc.es> <3EB8C4CB.3000606@datavis.se> <1052303765.20500.3.camel@miles.debisschop.net> Message-ID: <3EB91BCB.9010909@etsetb.upc.es> Karl DeBisschop wrote: > On Wed, 2003-05-07 at 04:33, Fredrik W?nglund wrote: > >>Yes I found this myself a week ago. Here's the answer: >> >>Subhendu Ghosh wrote: >> >>This is a bug - >> >>http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > Back on 9 Feb I asked for reports onhistorical support of the -t switch > in ucd-snmp. Not a single response as yet. > > Unless a RH6.2 or older user answers that question for me, the fix will > need to wait unitl I can pull down an old set of sources to find out. I have such a system. I found there is that switch here: UCD-snmp version: 4.2.4 -t set the request timeout to T. I hope this helps. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed May 7 17:04:34 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 7 May 2003 10:04:34 -0500 Subject: Nagios command file not working Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6E9F@mismail.ena.com> Permissions on /usr/local/nagios? Apache is a member of group nagiosapache and _has been restarted_ since adding it to that group? -- Marc > -----Original Message----- > From: Martens, Jason [mailto:jmartens at cityofevanston.org] > Sent: Wednesday, May 07, 2003 9:45 AM > To: nagios-users at lists.sourceforge.net > > I've read the FAQ and set the permissions exactly as they asked, but for > some reason, nagios still can't open the file. All of the links in the > web interface exist, but when I try to run a command, like force an > update on a host, I get the following error 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. > > The permissions on the file are like so: > > [root at testwebserver rw]# pwd > /usr/local/nagios/var/rw > [root at testwebserver rw]# ll > total 0 > prw-rw---- 1 nagios nagiosapache 0 May 6 16:59 nagios.cmd > > The permissions on the directory are like this: > > [root at testwebserver var]# ll -d rw > drwxrwS--- 2 nagios nagiosapache 4096 May 6 16:59 rw > [root at testwebserver var]# > > > Any thoughts? > Jason > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at mintoskatingclub.com Wed May 7 17:07:31 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Wed, 7 May 2003 11:07:31 -0400 (EDT) Subject: NSClient 1.0.8.0 Released Message-ID: <200305071507.h47F7VFY017758@webmail1.magma.ca> Nagios Users: NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent to Monitor Windows Servers. Please visit http://support.tsmgsoftware.com to download the software. The software is in the Downloads forum. The site also includes a support forum and a forum for enhancment requests. Please register and participate so that this tool can be improved and become an integral component of a Nagios monitoring environement. Tim Shouldice Lead Devleloper TSMG Software Inc. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed May 7 17:32:16 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 7 May 2003 10:32:16 -0500 Subject: Nagios command file not working Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6EA1@mismail.ena.com> Ah, the sticky bit always gets me. chmod g+x /usr/local/nagios/var/rw. The directory needs to be executable to be accessible. -- Marc > -----Original Message----- > From: Martens, Jason [mailto:jmartens at cityofevanston.org] > Sent: Wednesday, May 07, 2003 10:11 AM > To: Marc Powell > > Yes, Apache has been restarted since changing the permissions, and is a > member of nagiosapache. Here's the permissions on /usr/local/nagios and > /usr/local/nagios/var: > > [root at testwebserver nagios]# ll -d var > drwxrwxr-x 4 nagios nagios 4096 May 7 10:08 var > [root at testwebserver local]# ll -d nagios > drwxr-xr-x 7 nagios nagios 4096 May 5 16:41 nagios > > Jason > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, May 07, 2003 10:05 AM > To: Martens, Jason; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios command file not working > > > Permissions on /usr/local/nagios? Apache is a member of group > nagiosapache and _has been restarted_ since adding it to that group? > > -- > Marc > > > -----Original Message----- > > From: Martens, Jason [mailto:jmartens at cityofevanston.org] > > Sent: Wednesday, May 07, 2003 9:45 AM > > To: nagios-users at lists.sourceforge.net > > > > I've read the FAQ and set the permissions exactly as they asked, but > for > > some reason, nagios still can't open the file. All of the links in > the > > web interface exist, but when I try to run a command, like force an > > update on a host, I get the following error 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. > > > > The permissions on the file are like so: > > > > [root at testwebserver rw]# pwd > > /usr/local/nagios/var/rw > > [root at testwebserver rw]# ll > > total 0 > > prw-rw---- 1 nagios nagiosapache 0 May 6 16:59 nagios.cmd > > > > The permissions on the directory are like this: > > > > [root at testwebserver var]# ll -d rw > > drwxrwS--- 2 nagios nagiosapache 4096 May 6 16:59 rw > > [root at testwebserver var]# > > > > > > Any thoughts? > > Jason > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise > solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed May 7 17:35:41 2003 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 07 May 2003 11:35:41 -0400 Subject: Highly Unusual Bug Message-ID: <3EB927CD.5000307@quadrix.com> I was just trying to view the CGIs for a particular Nagios instance, when I got the error message that I was not authorized to view this infomation. I couldn't view any status data. This has never happened before, and I knew that the cgi.cfg was configured to allow me in. I tried other logins, and every user defined in cgi.cfg could log in but couldn't see any data. The error was actually due to an error in the checkcommands.cfg. I had edited that config file without restarting Nagios, and there was a syntax error. Once I fixed it and hup'd Nagios, I had full access again. My question, though, is why would this have the affect of making Nagios think that the user didn't have viewing permissions? Russell -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Wed May 7 17:46:07 2003 From: jsm at inpro.net (Jeff McKeon) Date: 07 May 2003 11:46:07 -0400 Subject: user authentication Message-ID: <1052322366.14393.44.camel@rh80-jsm.telaurus.net> I've got authentication turned on I've created a contact called "support" --snip-- # 'Support' contact definition define contact{ contact_name support alias Network Support service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r,u host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support at foo.org --snip-- I've added the user to authentication using the htpasswd command and used the same name as in the contacts.cfg. when this user logs on, why can it see host and service details for hosts and services for which it is NOT a contact? -- Jeff McKeon ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed May 7 17:57:42 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 7 May 2003 10:57:42 -0500 Subject: Highly Unusual Bug Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6EA8@mismail.ena.com> The CGI's read the config files every time they're executed. If there is an error in the config files, they just bomb out with that generic error message (because they can't fully read the config files). Future versions of Nagios will create a config cache on restart that the CGI's will read and that will prevent this type of behavior. -- Marc > -----Original Message----- > From: Russell Scibetti [mailto:russell at quadrix.com] > Sent: Wednesday, May 07, 2003 10:36 AM > To: nagios-users at lists.sourceforge.net > > I was just trying to view the CGIs for a particular Nagios instance, > when I got the error message that I was not authorized to view this > infomation. I couldn't view any status data. This has never happened > before, and I knew that the cgi.cfg was configured to allow me in. I > tried other logins, and every user defined in cgi.cfg could log in but > couldn't see any data. > > The error was actually due to an error in the checkcommands.cfg. I had > edited that config file without restarting Nagios, and there was a > syntax error. Once I fixed it and hup'd Nagios, I had full access again. > > My question, though, is why would this have the affect of making Nagios > think that the user didn't have viewing permissions? > > Russell > > -- > Russell Scibetti > Quadrix Solutions, Inc. > http://www.quadrix.com > (732) 235-2335, ext. 7038 > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Wed May 7 17:56:28 2003 From: testrm at kisters.com (Ralf Mellis) Date: Wed, 07 May 2003 17:56:28 +0200 Subject: Building nrpe 2.03b on hp-ux 11 Message-ID: <3EB92CAC.4090204@kisters.com> Hi all, currently I'm trying to build nagios plugins 1.3 and nrpe 2.03b on my hp-ux 11.00 server (I created a posting a few days ago and got an answer with a hint for a link to precompiled versions, but there was only the nrpe 1.8, which not fits my needs). I have updated my hp-ux box with the following components from "hpux.asknet.de": gcc 3.2 make 3.80 texinfo 4.2 m4-1.4 libiconv 1.8 autoconf 2.57 automake 1.7.4 flex 2.5.4 bison 1.875 gawk 3.1.2 perl 5.8.0 Configuring and building the plugins 1.3 now works fine (yippie), but compiling the nrpe 2.03b does not succeed at all. After configuring it (without errors), I do a "gmake all" and then :-(( ********* snip *********** # gmake all cd ./src/; gmake ; cd .. gmake[1]: Entering directory `/data/sys/sw/nrpe-2.0b3/src' /usr/local/bin/gcc -g -O2 -I/usr/local/include/openssl - DHAVE_CONFIG_H -L/usr/local/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c In file included from ../common/common.h:24, from nrpe.c:21: ../common/config.h:54: syntax error before "typedef" In file included from /usr/include/strings.h:14, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/string.h:60: syntax error before "extern" In file included from nrpe.c:21: ../common/common.h:66: parse error before "u_int32_t" ../common/common.h:66: warning: no semicolon at end of struct or union ../common/common.h:69: parse error before '}' token ../common/common.h:69: warning: data definition has no type or storage class In file included from nrpe.c:22: ../common/config.h:54: syntax error before "typedef" In file included from nrpe.c:23: nrpe.h:31: syntax error before "typedef" In file included from utils.h:35, from nrpe.c:24: ../common/config.h:54: syntax error before "typedef" In file included from nrpe.c:24: utils.h:38: syntax error before "void" nrpe.c:47: parse error before '*' token nrpe.c: In function `wait_for_connections': nrpe.c:619: warning: passing arg 3 of `getpeername' from incompatible pointer type nrpe.c: In function `handle_connection': nrpe.c:692: `u_int32_t' undeclared (first use in this function) nrpe.c:692: (Each undeclared identifier is reported only once nrpe.c:692: for each function it appears in.) nrpe.c:692: parse error before "calculated_crc32" nrpe.c:694: parse error before "receive_packet" nrpe.c:749: `receive_packet' undeclared (first use in this function) nrpe.c:899: `send_packet' undeclared (first use in this function) nrpe.c:912: parse error before numeric constant nrpe.c:913: `calculated_crc32' undeclared (first use in this function) nrpe.c: At top level: nrpe.c:1258: parse error before '*' token nrpe.c: In function `validate_request': nrpe.c:1259: `u_int32_t' undeclared (first use in this function) nrpe.c:1259: parse error before "packet_crc32" nrpe.c:1271: `packet_crc32' undeclared (first use in this function) nrpe.c:1271: `pkt' undeclared (first use in this function) nrpe.c:1273: `calculated_crc32' undeclared (first use in this function) nrpe.c: In function `process_macros': nrpe.c:1378: warning: assignment makes pointer from integer without a cast nrpe.c:1378: warning: assignment makes pointer from integer without a cast In file included from ../common/common.h:24, from utils.c:32: ../common/config.h:54: syntax error before "typedef" In file included from /usr/include/strings.h:14, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/string.h:60: syntax error before "extern" In file included from utils.c:32: ../common/common.h:66: parse error before "u_int32_t" ../common/common.h:66: warning: no semicolon at end of struct or union ../common/common.h:69: parse error before '}' token ../common/common.h:69: warning: data definition has no type or storage class In file included from utils.h:35, from utils.c:33: ../common/config.h:54: syntax error before "typedef" In file included from utils.c:33: utils.h:38: syntax error before "void" gmake[1]: *** [nrpe] Error 1 gmake[1]: Leaving directory `/data/sys/sw/nrpe-2.0b3/src' **************** snap *********************** I have builded nrpe on several different linux boxes without any problems, but hp-ux seems to be my waterloo... Any help appreciated... If there are any compiler flags which solve the problems let me know. Regards -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Wed May 7 18:10:20 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Wed, 7 May 2003 11:10:20 -0500 Subject: NSClient 1.0.8.0 Installation Problem Message-ID: I just tried installing the NSClient on a Windows 2000 Server, and I got the following error when I tried to run the pNSClient.exe /install command: C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. After I say ok to the error message, I get an Access is denied. Message in the command shell. I am logged in as administrator. Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jefbabbou at aol.com Wed May 7 18:21:39 2003 From: Jefbabbou at aol.com (Jefbabbou at aol.com) Date: Wed, 7 May 2003 12:21:39 EDT Subject: problem with starting nagios Message-ID: <104.2dd3e590.2bea8c93@aol.com> hi all, i have a big problem when i write http://192.168.248.170/nagios/, the interface appears but i have this message "ERROR: could not read host and service status information" thanks for your help jennifer -------------- next part -------------- An HTML attachment was scrubbed... URL: From wim.degeeter at bt.be Wed May 7 19:32:39 2003 From: wim.degeeter at bt.be (wimdeg) Date: 7 May 2003 17:32:39 -0000 Subject: nsclient problem Message-ID: <20030507173239.2520.qmail@pod-163.dolphin-server.co.uk> Hi, I've just configured the check_nt on my nagios server and the nsclient on a remote W2K station. Only the CLIENTVERSION check is working. When I request manually ./check_nt -H x.x.x.x -v USEDDISKSPACE -l C -w 80 -c 90, i've got the following error: Segmentation Fault (core dumped). This is with all the checks I will do except the CLIENTVERSION. Anyone an idea what's wrong?? Many thanks and regards ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wim.DeGeeter at bt.be Wed May 7 19:45:57 2003 From: Wim.DeGeeter at bt.be (Wim.DeGeeter at bt.be) Date: Wed, 7 May 2003 19:45:57 +0200 Subject: Help - NSClient problem Message-ID: Hi, I've just configured the check_nt on my nagios server and the nsclient on a remote W2K station. Only the CLIENTVERSION check is working. When I request manually ./check_nt -H x.x.x.x -v USEDDISKSPACE -l C -w 80 -c 90, i've got the following error: Segmentation Fault (core dumped). This is with all the checks I will do except the CLIENTVERSION. Anyone an idea what's wrong?? Many thanks and regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Wed May 7 18:25:44 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 7 May 2003 17:25:44 +0100 Subject: Nagios command file not working Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECC6@netfinity-1.foundation-it.local> > From: Martens, Jason [mailto:jmartens at cityofevanston.org] > The permissions on the directory are like this: > > [root at testwebserver var]# ll -d rw > drwxrwS--- 2 nagios nagiosapache 4096 May 6 16:59 rw That should be drwxrws--- . The fact that it's a capital S suggests there isn't execute permission for the group. chmod g+x rw should fix it, but it's probably safer to do chmod g-s rw to take the setgid bit off; ls -l to confirm there's no execute permission; then chmod g+x rw and chmod g+s rw to set everything correctly. But chmod g+x rw will work. :) Phil ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Wed May 7 20:11:21 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Wed, 7 May 2003 14:11:21 -0400 Subject: NagMIN Update Information - Releases - Beta - French Message-ID: <8F807B93637B104F96D6A4D187408C0D0AD944@infocoex2.infosysinc.com> Travis, I haven't seen any problems with contacts or commands. Does this happen when you run setup and what version were you loading? The command name and contact group names shouldn't and really can't be blank as they're required index fields for the database. This may be something I haven't seen before that's different with your configuration files. I'll test it out for you and fix whatever might be the problem if you send me a sanitized version of your configs. Also, make sure that you've tried it with version 1.3.2. There were problems loading service information (not command) in the previous version. BTW Version 1.4.0 will be out in a couple of days. This adds support for delineating Nagios directories for platform independence and fixes a bug with uploading icon files. Fred -----Original Message----- From: Travis Llewellyn [mailto:travisll at comfedcu.org] Sent: Thursday, May 01, 2003 12:33 PM To: Fred Reimers Subject: RE: [Nagios-users] NagMIN Update Information - Releases - Beta - French Fred, I have one question about nagmin, Whenever I go to look at the table for the commands, all the command names are blank same for the contact groups, the contact group name is blank on them all. Is there any reason why. BTW I have done a complete blank reinstall of Nagios and Nagmin just to see if I missed something. Travis Llewellyn -----Original Message----- From: Fred Reimers [mailto:FReimers at infosysinc.com] Posted At: Wednesday, April 30, 2003 3:34 PM Posted To: Nagios Lists Conversation: NagMIN Update Information - Releases - Beta - French Subject: [Nagios-users] NagMIN Update Information - Releases - Beta - French All, I noticed that a lot of people downloaded NagMIN version 1.3.1. There are problems with the setup utility not creating service entries. You'll need to install 1.3.2 to correct the problem. I want to thank all of you who have provided feedback and asked for support. It's helping make NagMIN a better application, but it's not been as stable as I thought it would be due to the new features I've added that I hadn't planned. The major feature being centralized management. As a result, there isn't any detailed documentation, and I haven't had time to fully tested every release that I've put out there. There have also been some major bugs for which I apologize. The biggest I've had is correctly setting and using NULL values in the db schemas. I should have read more about MySQL before starting. The current version should have that under control. The only major bug in the current release, that might not be corrected, is a problem adding time periods. I haven't had any problems with this but I will investigate it. There are a couple of other minor things that will be corrected. The major feature request I've received is to parameterize all of the Nagios directories for installations where nagios has been placed in some ../bin directory, cgis somewhere else, etc.. This will require a major change to the setup utility and also to the webmin module. Since NagMIN can centrally manage multiple servers, the directories might be in a different place on each server. These parameters will be configured on a per database(system) basis in the new System table. It's going to take a week or so before the next release will show up and integration with MRTG (which I need) will take a little bit longer. NagMIN will also support French in the next release due to the efforts of Pierre-Antoine Angelini, which I appreciate greatly. I'm going to change the status of the project back to beta as I don't want to misrepresent the current quality of the software. I see that a lot of people are downloading it and I want you to be able to use it successfully. It will probably take another month or two for it to mature a bit more. Make sure that you read the release notes for any new releases. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.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 ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Wed May 7 20:45:57 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Wed, 7 May 2003 13:45:57 -0500 Subject: Compiling nrpe on HP-UX 11i Message-ID: I'm trying to compile nrpe version 2.0b3 on HP-UX 11i with gcc 3.1 64 bit, and it's going ok, until I get to the linking part. Then I get the following error message: /usr/ccs/bin/ld: Unrecognized argument: +Accept /usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files collect2: ld returned 1 exit status *** Error exit code 1 Stop. *** Error exit code 1 I've tried both gmake and make with the same results. I also have bison 1.875 and flex 2.5.4.a installed. Any help would be greatly appreciated... Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Wed May 7 22:16:13 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Wed, 7 May 2003 15:16:13 -0500 (CDT) Subject: seem to have lost nagios.cmd Message-ID: At some point during my fumblin configurations today, I appear to have lost the ../var/rw/nagios.cmd file. Everything worked just fine until I started making some changes to cgi.cfg and nagios.cfg. I enabled and disabled some commands, but I didn't expect that any changes in those files would cause the command file to go away. Can I recreate this? What am I missing? Thanks in advance, Irene ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 8 00:44:07 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 8 May 2003 08:44:07 +1000 Subject: seem to have lost nagios.cmd In-Reply-To: ; from irenes@wolfram.com on Wed, May 07, 2003 at 03:16:13PM -0500 References: Message-ID: <20030508084402.A226@IPAustralia.Gov.AU> Dear Madam, I am writing to thank you for your letter and say, On Wed, May 07, 2003 at 03:16:13PM -0500, Irene Sakellarakis wrote: > At some point during my fumblin configurations today, I appear to have > lost the ../var/rw/nagios.cmd file. Everything worked just fine until I > started making some changes to cgi.cfg and nagios.cfg. I enabled and > disabled some commands, but I didn't expect that any changes in those > files would cause the command file to go away. That I would not expect the 'named pipe' to go away after configuration changes. However, I don't really know whether it has been vanishing and reappearing (electron like) while I have been looking elsewhere. This extract from base/utils.c appears relevant utils.c- utils.c- /* create the external command file as a named pipe (FIFO) */ utils.c: if((result=mkfifo(command_file,S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP))!=0){ utils.c- utils.c- snprintf(buffer,sizeof(buffer)-1,"Error: Could not create external command file '%s' as named pipe: (%d) -> %s. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file.\n",command_file,errno,strerror(errno)); utils.c- buffer[sizeof(buffer)-1]='\x0'; utils.c- write_to_logs_and_console(buffer,NSLOG_RUNTIME_ERROR,TRUE); tsitc> So, it looks like 1 Nag creates the fifo for you 2 If it is already there, Nag cannot create the fifo until you delete it. eg tsitc# cd /usr/local/nagios/var/ tsitc# cd rw/ tsitc# ll nagios.cmd prw-rw---- 1 nagios nagiocmd 0 May 7 20:16 nagios.cmd tsitc# ps -auxw | grep nagios | head -2 nagios 51997 0.0 4.4 18628 11412 ?? Ss Tue11PM 11:08.97 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg anwsmh 49283 0.0 0.2 900 404 p0 I+ 8:21AM 0:00.00 tail -f nagios.log tsitc# killall nagios tsitc# ll # It's gone. tsitc# /usr/local/etc/rc.d/nagios.sh start tsitc# # Its' back tsitc# ll total 0 prw-rw---- 1 nagios nagiocmd 0 May 8 08:41 nagios.cmd tsitc# > Can I recreate this? What am I missing? > > Thanks in advance, > Irene If the file is not there after restarting Nag, you have a cofig problem because Nag refuses to start. Suggest /nagios -v /etc/nagios.cfg Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu May 8 01:30:11 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 07 May 2003 19:30:11 -0400 Subject: check_snmp timeout In-Reply-To: <3EB91BCB.9010909@etsetb.upc.es> References: <3EB8B3CE.70908@etsetb.upc.es> <3EB8C4CB.3000606@datavis.se> <1052303765.20500.3.camel@miles.debisschop.net> <3EB91BCB.9010909@etsetb.upc.es> Message-ID: <1052350211.934.22.camel@miles.debisschop.net> On Wed, 2003-05-07 at 10:44, Francesc Guasch wrote: > Karl DeBisschop wrote: > > On Wed, 2003-05-07 at 04:33, Fredrik W?nglund wrote: > > > >>Yes I found this myself a week ago. Here's the answer: > >> > >>Subhendu Ghosh wrote: > >> > >>This is a bug - > >> > >>http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > > > Back on 9 Feb I asked for reports onhistorical support of the -t switch > > in ucd-snmp. Not a single response as yet. > > > > Unless a RH6.2 or older user answers that question for me, the fix will > > need to wait unitl I can pull down an old set of sources to find out. > > I have such a system. I found there is that switch here: > > UCD-snmp version: 4.2.4 > -t set the request timeout to T. > > I hope this helps. Very much. That was RH6.2? Does anyone have anything older than ucd 4.2.4? If not, I'm going to do the easier fix and not modify configure.in -- the idea being that big changes, if not needed, decre=ase stability. -- Karl ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu May 8 01:54:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 07 May 2003 19:54:27 -0400 (EDT) Subject: check_snmp timeout In-Reply-To: <1052350211.934.22.camel@miles.debisschop.net> References: <1052350211.934.22.camel@miles.debisschop.net> Message-ID: I don't think anything older should be supported because of the SNMP buffer overflow hole that exists on older versions. -sg On 7 May 2003, Karl DeBisschop wrote: > On Wed, 2003-05-07 at 10:44, Francesc Guasch wrote: > > Karl DeBisschop wrote: > > > On Wed, 2003-05-07 at 04:33, Fredrik W?nglund wrote: > > > > > >>Yes I found this myself a week ago. Here's the answer: > > >> > > >>Subhendu Ghosh wrote: > > >> > > >>This is a bug - > > >> > > >>http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > > > > > Back on 9 Feb I asked for reports onhistorical support of the -t switch > > > in ucd-snmp. Not a single response as yet. > > > > > > Unless a RH6.2 or older user answers that question for me, the fix will > > > need to wait unitl I can pull down an old set of sources to find out. > > > > I have such a system. I found there is that switch here: > > > > UCD-snmp version: 4.2.4 > > -t set the request timeout to T. > > > > I hope this helps. > > Very much. That was RH6.2? > > Does anyone have anything older than ucd 4.2.4? > > If not, I'm going to do the easier fix and not modify configure.in -- > the idea being that big changes, if not needed, decre=ase stability. > > -- > Karl > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Thu May 8 02:36:09 2003 From: twelsh at square-box.com (Tom Welsh) Date: Thu, 8 May 2003 01:36:09 +0100 Subject: user authentication In-Reply-To: <1052322366.14393.44.camel@rh80-jsm.telaurus.net> References: <1052322366.14393.44.camel@rh80-jsm.telaurus.net> Message-ID: <000101c314f9$d2196e00$0400a8c0@squarebox.com> You need to set it up in cgi.cfg as well look at this line and the others following it In a default config it is like so .... authorized_for_system_information=* meaning everyone can see everything I set my production servers up like so ... authorized_for_system_information=username1,username2 HTH Tom Welsh twelsh at square-box.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff McKeon Sent: 07 May 2003 16:46 To: Nagios List Subject: [Nagios-users] user authentication I've got authentication turned on I've created a contact called "support" --snip-- # 'Support' contact definition define contact{ contact_name support alias Network Support service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r,u host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support at foo.org --snip-- I've added the user to authentication using the htpasswd command and used the same name as in the contacts.cfg. when this user logs on, why can it see host and service details for hosts and services for which it is NOT a contact? -- Jeff McKeon ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 8 04:01:00 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 8 May 2003 12:01:00 +1000 Subject: Plugin Error in checkcommands.cfg In-Reply-To: <20030506185902.7625.qmail@pod-163.dolphin-server.co.uk>; from kleysonr@hotmail.com on Tue, May 06, 2003 at 06:59:02PM -0000 References: <20030506185902.7625.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030508120057.B308@IPAustralia.Gov.AU> Dear Sir. On Tue, May 06, 2003 at 06:59:02PM -0000, kleysonr wrote: > > In the line command the script work, but in checkcommands.cfg nagios the message "Unable to resolve destination address '-H' " an error appears when call Net::SNMP-session. Please, what the problem? > > check_cisco -H 10.x.x.x -c public -i Serial1/1.1 > > > #!/usr/bin/perl -w > .. snip nice oconcise readable Perl both of us (you and I) can't see any problems with your programs option processing. Perhaps the mistake is in the checkcommands.cfg or services.cfg. checkcommands.cfg defines the CLI of the program: path + switches + option macros. It also defines a short name that is used in services.cfg. services.cfg defines what checks are applied to a host and implicity defines the macro values $HOSTNAME$ $ARG1$ $ARG2$ etc used by Nagios in the merge of the checkcommands.cfg to get the actual program to pass to /bin/sh. Your checkcommand.cfg should have a entry like define command{ command_name check_cisco command_line $USER1$/check_cisco -H $HOSTADDRESS$ -c $ARG1$ -i $ARG2$ } and a services.cfg like define service{ use generic-service host_name my_beautiful_router service_description How are the interfaces today contact_groups network-admins check_command check_cisco!public!Serial1/1.1 } # /bin/sh may complain about / and . # that is if they are not filtered by Nag .. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zac2003 at charter.net Thu May 8 08:30:19 2003 From: zac2003 at charter.net (Zac2003) Date: 8 May 2003 06:30:19 -0000 Subject: Help In-Reply-To: References: Message-ID: <20030508063019.12651.qmail@pod-163.dolphin-server.co.uk> yea I've edited the cgi.cfg and nagios.cfg files and still getting those messages what else needs to be edited? i followed until the end of the online ducumentation! ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrajkumar_sysconf at hotmail.com Thu May 8 09:06:24 2003 From: rrajkumar_sysconf at hotmail.com (Apollo) Date: Thu, 8 May 2003 00:06:24 -0700 Subject: Status map Message-ID: Hi All I have configured the nagios1.0 on RH linux 8.I am able to view all the option under monitoring other then status map.If i click the status map option,then i am getting the following error message " Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server." I dont know which config file i have to check. Please advice... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Thu May 8 09:55:06 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 09:55:06 +0200 Subject: NSClient 1.0.8.0 Released In-Reply-To: <200305071507.h47F7VFY017758@webmail1.magma.ca> References: <200305071507.h47F7VFY017758@webmail1.magma.ca> Message-ID: <3EBA0D5A.2060506@dhl.com> Hi, 1) That site is unreachable. 2) Whatever happened to nsclient.ready2run.nl and its developer? Kind regards, Tom Tim Shouldice wrote: > Nagios Users: > > NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent to Monitor > Windows Servers. Please visit http://support.tsmgsoftware.com to download the software. > The software is in the Downloads forum. The site also includes a support forum and a > forum for enhancment requests. Please register and participate so that this tool can be > improved and become an integral component of a Nagios monitoring environement. > > Tim Shouldice > Lead Devleloper > TSMG Software Inc. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu May 8 10:24:02 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 10:24:02 +0200 Subject: undocumented external commands? Message-ID: <200305081024.02570.roy@karlsbakk.net> hi is there a complete list of external commands somewhere? It'd be really nice to see this, and it seems like there might be quite a few of them. regards roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com From bware at intouch.nl Thu May 8 10:57:31 2003 From: bware at intouch.nl (D. Roos) Date: 08 May 2003 10:57:31 +0200 Subject: GUI available besides NAGAT! In-Reply-To: References: Message-ID: <1052384248.4508.4.camel@bware.mine.nu> On Wed, 2003-05-07 at 16:13, Bryan Loniewski wrote: > I'm interested!!! Just let me know when and where you put it up. Well, I've put up a couple of pages with a work in progress version online at: http://nagios.s4s.dyndns.org/ Don't expect too much of it yet, all it does at the moment is importing current configs to XML, and exporting the XML configfile to the various nagious configuration files. Installation is pretty straightforward... Comments are appreciated, flames end up in /dev/null ;) > Thanks. > > Bryan Loniewski > > On 7 May 2003, D. Roos wrote: > > > On Mon, 2003-05-05 at 21:09, Bryan Loniewski wrote: > > > After perusing the mailing lists, is anyone developing, using, working on > > > a gui for nagios configuration files > > I am currently trying to write a php-based nagios admin interface for > > personal use... If anyone's interested, I'd be willing to put it > > online... > > > > > > Regardz, > > Dennis Roos > > > > > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nils_mueller at hotmail.com Thu May 8 10:58:00 2003 From: nils_mueller at hotmail.com (solkan) Date: 8 May 2003 08:58:00 -0000 Subject: Annoying problem with check_http Message-ID: <20030508085800.7675.qmail@pod-163.dolphin-server.co.uk> Hi, I am trying to make the check_http plugin work with ssl support. Problem is: although openssl is installed, is does not find it (looking at the ./configure log). This is where openssl is located: /usr/bin/openssl Here are the needed sources: /usr/include/openssl This is the corresponding part in the configure.in: dnl Check for OpenSSL location AC_PATH_PROG(OPENSSL,openssl) if test "$OPENSSL" = "/usr/bin/openssl"; then OPENSSL=/usr/include/ elif test "$OPENSSL" = "/usr/sbin/openssl"; then OPENSSL=/usr elif test "$OPENSSL" = "/opt/bin/openssl"; then OPENSSL=/opt elif test "$OPENSSL" = "/opt/openssl/bin/openssl"; then OPENSSL=/opt/openssl elif test "$OPENSSL" = "/usr/slocal/bin/openssl"; then OPENSSL=/usr/slocal elif test "$OPENSSL" = "/usr/local/bin/openssl"; then OPENSSL=/usr/local elif test "$OPENSSL" = "/usr/local/ssl/bin/openssl"; then OPENSSL=/usr/local/ssl fi AC_ARG_WITH(openssl,--with-openssl= sets path to openssl installation,[OPENSSL=$withval]) How do I have to modify the configure.in to make the nagios plugins notice there actually IS ssl support? Many many many thanks! Nils P.S.: Openssl version 0.9.6b ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From link at pobox.com Thu May 8 11:01:38 2003 From: link at pobox.com (Terje Bless) Date: 08 May 2003 11:01:38 +0200 Subject: NSClient 1.0.8.0 Released In-Reply-To: <3EBA0D5A.2060506@dhl.com> References: <200305071507.h47F7VFY017758@webmail1.magma.ca> <3EBA0D5A.2060506@dhl.com> Message-ID: <1052384499.32616.69.camel@dns0.tj.unn.no> On Thu, 2003-05-08 at 09:55, Tom DE BLENDE wrote: > 1) That site [http://support.tsmgsoftware.com] is unreachable. It looks like the box is having trouble; it answers ping but neither DNS (it also hosts one of the two DNS servers for the domain as well as email services (MX)) or HTTP services seem to be running. Probably this is a transient outage and the site will be back up when whatever poor schlob is on call gets through with sweet talking the box. -- "The most cataclysmic event is not an unstoppable force meeting an immovable object. The most cataclysmic event, in micro or macro scale, is direct interaction of contradictory statistical trends." ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu May 8 10:36:31 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 10:36:31 +0200 Subject: [Nagios-devel] undocumented external commands? In-Reply-To: <200305081024.02570.roy@karlsbakk.net> References: <200305081024.02570.roy@karlsbakk.net> Message-ID: <3EBA170F.80905@dhl.com> One list only :p Checked http://nagios.sourceforge.net/docs/1_0/extcommands.html ? Roy Sigurd Karlsbakk wrote: > hi > > is there a complete list of external commands somewhere? It'd be really nice > to see this, and it seems like there might be quite a few of them. > > regards > > roy ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu May 8 11:05:04 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 11:05:04 +0200 Subject: [Nagios-devel] undocumented external commands? In-Reply-To: <3EBA170F.80905@dhl.com> References: <200305081024.02570.roy@karlsbakk.net> <3EBA170F.80905@dhl.com> Message-ID: <200305081105.04953.roy@karlsbakk.net> Hi. This list is not complete. SCHEDULE_HOST_DOWNTIME, for instance, is not mentioned. roy On Thursday 08 May 2003 10:36, Tom DE BLENDE wrote: > One list only :p > > Checked http://nagios.sourceforge.net/docs/1_0/extcommands.html ? > > Roy Sigurd Karlsbakk wrote: > > hi > > > > is there a complete list of external commands somewhere? It'd be really > > nice to see this, and it seems like there might be quite a few of them. > > > > regards > > > > roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu May 8 11:05:56 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 11:05:56 +0200 Subject: NSClient 1.0.8.0 Released In-Reply-To: <1052384499.32616.69.camel@dns0.tj.unn.no> References: <200305071507.h47F7VFY017758@webmail1.magma.ca> <3EBA0D5A.2060506@dhl.com> <1052384499.32616.69.camel@dns0.tj.unn.no> Message-ID: <3EBA1DF4.1050405@dhl.com> Terje Bless wrote: > On Thu, 2003-05-08 at 09:55, Tom DE BLENDE wrote: > > > Probably this is a transient outage and the site will be back up when > whatever poor schlob is on call gets through with sweet talking the box. They might want to consider monitoring that box, as it is unavailable for some time now. I can always recommend a monitoring tool for this purpose... ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu May 8 11:06:32 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 8 May 2003 21:06:32 +1200 Subject: NSClient 1.0.8.0 Released In-Reply-To: <3EBA0D5A.2060506@dhl.com> References: <200305071507.h47F7VFY017758@webmail1.magma.ca> <3EBA0D5A.2060506@dhl.com> Message-ID: <200305080904.h4894sP00352@spectre.freeparking.co.nz> Hi Tom, Good question. Tim, can you explain? jamie On Thu, 08 May 2003 19:55, Tom DE BLENDE wrote: > Hi, > > 1) That site is unreachable. > 2) Whatever happened to nsclient.ready2run.nl and its developer? > > Kind regards, > Tom > > Tim Shouldice wrote: > > Nagios Users: > > > > NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent > > to Monitor Windows Servers. Please visit http://support.tsmgsoftware.com > > to download the software. The software is in the Downloads forum. The > > site also includes a support forum and a forum for enhancment requests. > > Please register and participate so that this tool can be improved and > > become an integral component of a Nagios monitoring environement. > > > > Tim Shouldice > > Lead Devleloper > > TSMG Software Inc. > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Thu May 8 11:12:57 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 08 May 2003 11:12:57 +0200 Subject: Building nrpe 2.03b on hp-ux 11 In-Reply-To: <3EB92CAC.4090204@kisters.com> References: <3EB92CAC.4090204@kisters.com> Message-ID: <3EBA1F99.4040208@kisters.com> Ralf Mellis wrote: > currently I'm trying to build nagios plugins 1.3 and nrpe 2.03b on my > hp-ux 11.00 server (I created a posting a few days ago and got an answer > with a hint for a link to precompiled versions, but there was only the > nrpe 1.8, which not fits my needs). > Because currently there is no way to build version 2.03b on my host (for me :-)) (changing the source code as advised from Jason was not successfull, but I'm not really sure whether I have done this in the correct way, my "life" as c coder is somewhat long ago, 10 years or so...) I have build up the version 1.8 (no problems here with compiler / linker). But the drawback: After starting the nrpe daemon I only get the lines nrpe[28714]: Could not read request from client, bailing out... in the syslog of the server at every attempt of the nagios host to communicate with the nrpe daemon. Could it be that there are difficulties with ssl/tls here? Nagios is builded with ssl/tls support and I have absolutely no problems to communicate with linux hosts running nrpe 2.03b, windows hosts running nsclient 1.0.7.1 respectively tmsg nsclient 1.0.8. How do I establish the communication from my nagios host to the nrpe client 1.8 on my hp-ux server? By the way: Jason, did you build version 2.03b successfull on hp-ux 11.00 or do you have the same problems there as with version 11i? Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hrishys at yahoo.co.uk Thu May 8 11:11:43 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Thu, 8 May 2003 10:11:43 +0100 (BST) Subject: NSClient 1.0.8.0 Released In-Reply-To: <200305080904.h4894sP00352@spectre.freeparking.co.nz> References: <200305080904.h4894sP00352@spectre.freeparking.co.nz> Message-ID: <20030508091143.1012.qmail@web12606.mail.yahoo.com> Hi Can we get the newest message added to the Nt event viewer from nagios yet ? regards Hrishy --- Jamie Baddeley wrote: > Hi Tom, > > Good question. > > Tim, can you explain? > > jamie > > On Thu, 08 May 2003 19:55, Tom DE BLENDE wrote: > > Hi, > > > > 1) That site is unreachable. > > 2) Whatever happened to nsclient.ready2run.nl and > its developer? > > > > Kind regards, > > Tom > > > > Tim Shouldice wrote: > > > Nagios Users: > > > > > > NSClient 1.0.8.0 has been released by TSMG > Software Inc. This is an agent > > > to Monitor Windows Servers. Please visit > http://support.tsmgsoftware.com > > > to download the software. The software is in the > Downloads forum. The > > > site also includes a support forum and a forum > for enhancment requests. > > > Please register and participate so that this > tool can be improved and > > > become an integral component of a Nagios > monitoring environement. > > > > > > Tim Shouldice > > > Lead Devleloper > > > TSMG Software Inc. > > > > > > > > > > > > > ------------------------------------------------------- > > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > > The only event dedicated to issues related to > Linux enterprise solutions > > > www.enterpriselinuxforum.com > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin > version (-v) and OS when > > > ::: reporting any issue. Messages without > supporting info will risk being > > > ::: sent to /dev/null > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > The only event dedicated to issues related to > Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version > (-v) and OS when > > ::: reporting any issue. Messages without > supporting info will risk being > > ::: sent to /dev/null > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, > 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Thu May 8 11:11:53 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Thu, 8 May 2003 11:11:53 +0200 Subject: about faq f0070 Message-ID: <003401c31541$dda80720$520101c0@TECMSEISDEDOS> How can I convert the timestamp values in the log file to a friendlier format? Description: User would like to view the raw log files with human-readable timestamps. Solution: The following Perl script will print out the contents of a Nagios log file with a human-readable time format: #!/usr/bin/perl use Time::Local; if (!@ARGV[0]) { print "Usage: $0 \n"; print "\n"; print "prints the specified Nagios-logfile with timestamps\n"; print "converted to human readable time\n"; } open(LOG, at ARGV[0]); while (! eof(LOG)) { $line = ; ($part1, $part2) = split(/\s+/, $line, 2); $part1 =~ s/\[//; $part1 =~ s/\]//; print "[", scalar localtime($part1), "] $part2"; }; close(LOG); ok, is there any way nagios do it for me directly? Or should I execute this script from command line??? ________________________________________________________________________ _____________________________________________ Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Thu May 8 11:11:26 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 11:11:26 +0200 Subject: [Nagios-devel] undocumented external commands? In-Reply-To: <200305081104.22632.roy@karlsbakk.net> References: <200305081024.02570.roy@karlsbakk.net> <3EBA170F.80905@dhl.com> <200305081104.22632.roy@karlsbakk.net> Message-ID: <3EBA1F3E.2010201@dhl.com> /base/commands.c Roy Sigurd Karlsbakk wrote: > this list is not complete > > SCHEDULE_HOST_DOWNTIME, for instance, is not mentioned > > On Thursday 08 May 2003 10:36, you wrote: > >>One list only :p >> >>Checked http://nagios.sourceforge.net/docs/1_0/extcommands.html ? >> >>Roy Sigurd Karlsbakk wrote: >> >>>hi >>> >>>is there a complete list of external commands somewhere? It'd be really >>>nice to see this, and it seems like there might be quite a few of them. >>> >>>regards >>> >>>roy > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Thu May 8 11:20:25 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 08 May 2003 11:20:25 +0200 Subject: NSClient 1.0.8.0 Installation Problem In-Reply-To: References: Message-ID: <3EBA2159.9060104@kisters.com> Martens, Jason wrote: > I just tried installing the NSClient on a Windows 2000 Server, and I got > the following error when I tried to run the pNSClient.exe /install > command: > C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. > After I say ok to the error message, I get an Access is denied. Message > in the command shell. I am logged in as administrator. > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 from tmsg. The deinstallation from version 1.0.7.1 results in an access violation (on _every_ server, where I did the upgrade). Be sure to have neither event viewer nor service applet open when installing the nsclient. After repeating the command "pNSClient.exe /install" several times it finishes successfull at last. HTH -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 8 11:02:48 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 8 May 2003 19:02:48 +1000 Subject: undocumented external commands? In-Reply-To: <200305081024.02570.roy@karlsbakk.net>; from roy@karlsbakk.net on Thu, May 08, 2003 at 10:24:02AM +0200 References: <200305081024.02570.roy@karlsbakk.net> Message-ID: <20030508190245.A235@IPAustralia.Gov.AU> On Thu, May 08, 2003 at 10:24:02AM +0200, Roy Sigurd Karlsbakk wrote: > hi > > is there a complete list of external commands somewhere? It'd be really nice > to see this, and it seems like there might be quite a few of them. > does base/command.c help ? > roy -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu May 8 12:12:40 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 8 May 2003 20:12:40 +1000 Subject: about faq f0070 In-Reply-To: <003401c31541$dda80720$520101c0@TECMSEISDEDOS>; from mseisdedos@mediafusion.es on Thu, May 08, 2003 at 11:11:53AM +0200 References: <003401c31541$dda80720$520101c0@TECMSEISDEDOS> Message-ID: <20030508201236.D235@IPAustralia.Gov.AU> Dear Sir, On Thu, May 08, 2003 at 11:11:53AM +0200, Montse Seisdedos wrote: > How can I convert the timestamp values in the log file to a friendlier > format? > > Description: > User would like to view the raw log files with human-readable > timestamps. > > Solution: > The following Perl script will print out the contents of a Nagios log > file with a human-readable time format: > .. elegant perl snipped .. > ok, is there any way nagios do it for me directly? Or should I execute > this script from command line??? Nagios does it for you in the 'Event Log' link under the Reporting header in the left frame of the Nag start page. If you want to look at 'the log files in a friendler format', then take Mr Galstads advice, and from the CLI, cd into the log path and type ./perl_saved_as_file_and_chmod755 nagios.log | more or a for a real quick one liner perl -ane '$F[0] =~ /(\d+)/ && print localtime($1) . " @F[1..$#F]\n" nagios.log Or have I misunderstood your question ? Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu May 8 12:21:13 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 8 May 2003 11:21:13 +0100 Subject: NSClient 1.0.8.0 Released Message-ID: <0EBC45FCABFC95428EBFC3A51B368C9551373B@jessica.herefordshire.gov.uk> They probably monitor it with NSClient 1.0.8.0 ;-) Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Tom DE BLENDE [mailto:Tom.DeBlende at dhl.com] > Sent: 08 May 2003 10:06 > To: Terje Bless > Cc: Tim Shouldice; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released > > > > > Terje Bless wrote: > > On Thu, 2003-05-08 at 09:55, Tom DE BLENDE wrote: > > > > > > > Probably this is a transient outage and the site will be > back up when > > whatever poor schlob is on call gets through with sweet > talking the box. > > They might want to consider monitoring that box, as it is unavailable > for some time now. I can always recommend a monitoring tool for this > purpose... > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Wiesner at dbla.com Thu May 8 13:09:11 2003 From: Thomas.Wiesner at dbla.com (Wiesner, Thomas) Date: Thu, 8 May 2003 13:09:11 +0200 Subject: Passive servicecheck on NT Message-ID: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> Hi all, I evaluate the current features of Nagios and have one simple question. I know the possibility of passive service checks on a Unix host, but is it also possible to implement a passive service check on a Windows host? What I need is in interface for my scripts on the Microsoft world to transfer and display the result to the Nagios host. Thanks for your help. Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Thu May 8 15:35:45 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 15:35:45 +0200 Subject: Passive servicecheck on NT In-Reply-To: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> References: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> Message-ID: <200305081535.45379.roy@karlsbakk.net> hi we're running Windoze machines, and using passive checks, they just write to a tcp port on the nagios machine where there's a perl script listening, accepting connections based on the connecting IP, and feeds it to the nagios pipe This works fine roy On Thursday 08 May 2003 13:09, Wiesner, Thomas wrote: > Hi all, > > I evaluate the current features of Nagios and have one simple question. I > know the possibility of passive service checks on a Unix host, but is it > also possible to implement a passive service check on a Windows host? > > What I need is in interface for my scripts on the Microsoft world to > transfer and display the result to the Nagios host. > > Thanks for your help. > > Thomas -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tsmgsoftware.com Thu May 8 15:43:38 2003 From: tim at tsmgsoftware.com (Tim Shouldice) Date: Thu, 8 May 2003 09:43:38 -0400 Subject: NSClient 1.0.8.0 Installation Problem References: <3EBA2159.9060104@kisters.com> Message-ID: <009d01c31567$d4c98fe0$6501a8c0@notebook> In the support forum we were able to nail down Jason's issue and he got it working (corrupted executable when unzipped and copied over samba, ftp'd in bin mode worked). The deinstallation of both 1.0.7.1 and 1.0.8.0 both cause the GPF, even though the uninstall is successful. I suspect the problem lies somewhere in the Delphi object code libraries that both versions use in development. This issue is being raised with Borland. Tim Shouldice ----- Original Message ----- From: Ralf Mellis To: nagios-users at lists.sourceforge.net Sent: Thursday, May 08, 2003 5:20 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Installation Problem Martens, Jason wrote: > I just tried installing the NSClient on a Windows 2000 Server, and I got > the following error when I tried to run the pNSClient.exe /install > command: > C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. > After I say ok to the error message, I get an Access is denied. Message > in the command shell. I am logged in as administrator. > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 from tmsg. The deinstallation from version 1.0.7.1 results in an access violation (on _every_ server, where I did the upgrade). Be sure to have neither event viewer nor service applet open when installing the nsclient. After repeating the command "pNSClient.exe /install" several times it finishes successfull at last. HTH -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Thu May 8 15:59:36 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 15:59:36 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: <009d01c31567$d4c98fe0$6501a8c0@notebook> References: <3EBA2159.9060104@kisters.com> <009d01c31567$d4c98fe0$6501a8c0@notebook> Message-ID: <200305081559.36464.roy@karlsbakk.net> hi all Perhaps it's about time to rewrite nsclient to a language not quite as stone age as pascal / delphi? Personally, I'd like this to be perl, as this would be platform independant and not compiled. At least move it away from fscking Pascal. roy On Thursday 08 May 2003 15:43, Tim Shouldice wrote: > In the support forum we were able to nail down Jason's issue and he got it > working (corrupted executable when unzipped and copied over samba, ftp'd in > bin mode worked). > > The deinstallation of both 1.0.7.1 and 1.0.8.0 both cause the GPF, even > though the uninstall is successful. I suspect the problem lies somewhere in > the Delphi object code libraries that both versions use in development. > This issue is being raised with Borland. > > Tim Shouldice > ----- Original Message ----- > From: Ralf Mellis > To: nagios-users at lists.sourceforge.net > Sent: Thursday, May 08, 2003 5:20 AM > Subject: Re: [Nagios-users] NSClient 1.0.8.0 Installation Problem > > Martens, Jason wrote: > > I just tried installing the NSClient on a Windows 2000 Server, and I > > got the following error when I tried to run the pNSClient.exe /install > > command: > > C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. > > After I say ok to the error message, I get an Access is denied. Message > > in the command shell. I am logged in as administrator. > > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 from tmsg. > The deinstallation from version 1.0.7.1 results in an access violation > (on _every_ server, where I did the upgrade). > Be sure to have neither event viewer nor service applet open when > installing the nsclient. After repeating the command "pNSClient.exe > /install" several times it finishes successfull at last. > > HTH > > -- > Ralf Mellis > Abt. DV/ORG > Kisters Maschinenbau GmbH > Germany > 47533 Kleve > Boschstr. 1-3 > Tel. +49(0)2821-503-0 > Fax +49(0)2821-26110 > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at mintoskatingclub.com Thu May 8 15:38:02 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 8 May 2003 09:38:02 -0400 Subject: NSClient 1.0.8.0 Released References: <200305071507.h47F7VFY017758@webmail1.magma.ca> <3EBA0D5A.2060506@dhl.com> Message-ID: <008d01c31567$0c8eb640$6501a8c0@notebook> 1. Site being unreachable. Interesting as neither the site nor the server (its unix) went down and the apache access log shows the site was accessed extensively each hour over the past 24 hours. I wonder if there was/is some routing problems. Please let me know if you still cannot access it. 2. Whatever happened to nsclient.ready2run.nl and its developer? I don't know. Development stopped on the product. We had identified some fixes to problems and emailed the developer several times with no response. Others on the list also commented that they had been emailing the developer with no response. So its seemed the product had been orphaned. As the product is GPL open source we added our enhancements and re-released accoriding to the GPL. We continue to credit the original developer in all aspects of the code written by him. Tim Shouldice ----- Original Message ----- From: Tom DE BLENDE To: Tim Shouldice Cc: nagios-users at lists.sourceforge.net Sent: Thursday, May 08, 2003 3:55 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released Hi, 1) That site is unreachable. 2) Whatever happened to nsclient.ready2run.nl and its developer? Kind regards, Tom Tim Shouldice wrote: > Nagios Users: > > NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent to Monitor > Windows Servers. Please visit http://support.tsmgsoftware.com to download the software. > The software is in the Downloads forum. The site also includes a support forum and a > forum for enhancment requests. Please register and participate so that this tool can be > improved and become an integral component of a Nagios monitoring environement. > > Tim Shouldice > Lead Devleloper > TSMG Software Inc. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Thu May 8 15:53:58 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 8 May 2003 09:53:58 -0400 Subject: NSClient 1.0.8.0 Released Message-ID: I also can not get to this site..... http://support.tsmgsoftware.com/ -----Original Message----- From: Tim Shouldice [mailto:tim at mintoskatingclub.com] Sent: Thursday, May 08, 2003 9:38 AM To: Tom DE BLENDE Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released 1. Site being unreachable. Interesting as neither the site nor the server (its unix) went down and the apache access log shows the site was accessed extensively each hour over the past 24 hours. I wonder if there was/is some routing problems. Please let me know if you still cannot access it. 2. Whatever happened to nsclient.ready2run.nl and its developer? I don't know. Development stopped on the product. We had identified some fixes to problems and emailed the developer several times with no response. Others on the list also commented that they had been emailing the developer with no response. So its seemed the product had been orphaned. As the product is GPL open source we added our enhancements and re-released accoriding to the GPL. We continue to credit the original developer in all aspects of the code written by him. Tim Shouldice ----- Original Message ----- From: Tom DE BLENDE To: Tim Shouldice Cc: nagios-users at lists.sourceforge.net Sent: Thursday, May 08, 2003 3:55 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released Hi, 1) That site is unreachable. 2) Whatever happened to nsclient.ready2run.nl and its developer? Kind regards, Tom Tim Shouldice wrote: > Nagios Users: > > NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent to Monitor > Windows Servers. Please visit http://support.tsmgsoftware.com to download the software. > The software is in the Downloads forum. The site also includes a support forum and a > forum for enhancment requests. Please register and participate so that this tool can be > improved and become an integral component of a Nagios monitoring environement. > > Tim Shouldice > Lead Devleloper > TSMG Software Inc. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Thu May 8 16:11:32 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 16:11:32 +0200 Subject: NSClient 1.0.8.0 Released In-Reply-To: <008d01c31567$0c8eb640$6501a8c0@notebook> References: <200305071507.h47F7VFY017758@webmail1.magma.ca> <3EBA0D5A.2060506@dhl.com> <008d01c31567$0c8eb640$6501a8c0@notebook> Message-ID: <3EBA6594.5080303@dhl.com> Tim Shouldice wrote: > 1. Site being unreachable. > > Interesting as neither the site nor the server (its unix) went down and > the apache access log shows the site was accessed extensively each hour > over the past 24 hours. I wonder if there was/is some routing problems. > Please let me know if you still cannot access it. Aha. If I use my proxy at home, it works. At work it doesn't. Sounds like a routing problem... ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu May 8 16:01:26 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 8 May 2003 10:01:26 -0400 Subject: Passive servicecheck on NT Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC5B@eentsvr40.ehvert.com> Yes. Thanks to Tom DeBlende who steered me in the right direction. You can use plink (part of putty) to dump commands to the linux box using ssh. The script Tom refers to below is a Citrix checking VB script. It and plink are attached. What Tom's script does is pull the data from a registry value, formulate a proper nagios command enclosed in a proper linux command which sends the nagios command to the external command file via a plink command. Hope that helps, Dean Dear Dean, First of all: please find attached the zip file that contains: 1) The script (you will have to change some variables in the beginning of the script). 2) The plink.exe file used to make the SSH connection to the Nagios server. Running this as a scheduled task is a pain to set up, as you will have to make sure that the hostkey is in place in the registry in the default user profile [HKEY_USERS\.DEFAULT\Software\SimonTatham\PuTTY\SshHostKeys]. In other words, you will have to log in with the user account that you will use to run the scheduled task, run plink.exe once to connect to the Nagios server, and then copy its registry key to the location shown above. Don't forget to create the passive service on the Nagios setup with the exact same service name. Might be best to "tail -f" the external command file first to see what's arriving though :-) -----Original Message----- From: Wiesner, Thomas [mailto:Thomas.Wiesner at dbla.com] Sent: May 8, 2003 7:09 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Passive servicecheck on NT Hi all, I evaluate the current features of Nagios and have one simple question. I know the possibility of passive service checks on a Unix host, but is it also possible to implement a passive service check on a Windows host? What I need is in interface for my scripts on the Microsoft world to transfer and display the result to the Nagios host. Thanks for your help. Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: citrix.zip Type: application/octet-stream Size: 116533 bytes Desc: not available URL: From T-VANZEE at govst.edu Thu May 8 16:04:32 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Thu, 8 May 2003 09:04:32 -0500 Subject: NSClient 1.0.8.0 Released Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B47B6@gsmail.govst.edu> I am able to access the site. When I do a ping on support.tsmgsoftware.com it resolves as mail.tsmgsoftware.com. Try that url or the IP 216.58.29.91 Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Thursday, May 08, 2003 8:54 AM To: 'Tim Shouldice' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient 1.0.8.0 Released I also can not get to this site..... http://support.tsmgsoftware.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Thu May 8 16:33:01 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 16:33:01 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: <352B04312822444A962714393AED8A4D1138FB@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D1138FB@ADAEVS01.int.chickasaw.net> Message-ID: <200305081633.01049.roy@karlsbakk.net> hi if we were to rewrite NSClient, perhaps NSClient and NRPE should be joined according to syntax, and also NRPE rewritten. In our installation, we need Windoze boxes to forward service and host checks, so I need to do some of this work anyway. I've thought of changing the syntax to something like this: (--> is from nagios server, <-- is from NSClient/NRPE) --> GOODDAY <-- YADDOOG --> CHECK SERVICE|HOST service_or_host_name [ON vandervalk01] <-- EXTERNAL_SERVICE_CHECK_RESULT;1;I'm drunk --> GOODNIGHT <-- THGINDOOG Any ideas? roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com From tim at tsmgsoftware.com Thu May 8 15:47:40 2003 From: tim at tsmgsoftware.com (Tim Shouldice) Date: Thu, 8 May 2003 09:47:40 -0400 Subject: NSClient 1.0.8.0 Released References: <20030508091143.1012.qmail@web12606.mail.yahoo.com> Message-ID: <00ad01c31568$657d5300$6501a8c0@notebook> There is some discussion around this in the Enhancements forum at support.tsmgsoftware.com. I am trying to determine from various requests for Event Log monitoring exactly what should be implemented. If you would participate in this discussion it would be greatly appreciated. Tim Shouldice ----- Original Message ----- From: hrishy To: jamie.baddeley at vpc.co.nz ; Tom DE BLENDE ; Tim Shouldice Cc: nagios-users at lists.sourceforge.net ; rubiyz1047 at swyz.com Sent: Thursday, May 08, 2003 5:11 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released Hi Can we get the newest message added to the Nt event viewer from nagios yet ? regards Hrishy --- Jamie Baddeley wrote: > Hi Tom, > > Good question. > > Tim, can you explain? > > jamie > > On Thu, 08 May 2003 19:55, Tom DE BLENDE wrote: > > Hi, > > > > 1) That site is unreachable. > > 2) Whatever happened to nsclient.ready2run.nl and > its developer? > > > > Kind regards, > > Tom > > > > Tim Shouldice wrote: > > > Nagios Users: > > > > > > NSClient 1.0.8.0 has been released by TSMG > Software Inc. This is an agent > > > to Monitor Windows Servers. Please visit > http://support.tsmgsoftware.com > > > to download the software. The software is in the > Downloads forum. The > > > site also includes a support forum and a forum > for enhancment requests. > > > Please register and participate so that this > tool can be improved and > > > become an integral component of a Nagios > monitoring environement. > > > > > > Tim Shouldice > > > Lead Devleloper > > > TSMG Software Inc. > > > > > > > > > > > > > ------------------------------------------------------- > > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > > The only event dedicated to issues related to > Linux enterprise solutions > > > www.enterpriselinuxforum.com > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin > version (-v) and OS when > > > ::: reporting any issue. Messages without > supporting info will risk being > > > ::: sent to /dev/null > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > The only event dedicated to issues related to > Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version > (-v) and OS when > > ::: reporting any issue. Messages without > supporting info will risk being > > ::: sent to /dev/null > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, > 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Thu May 8 16:39:42 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 8 May 2003 16:39:42 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: <00e101c3156d$b6ce5560$6501a8c0@notebook> References: <200305081559.36464.roy@karlsbakk.net> <00e101c3156d$b6ce5560$6501a8c0@notebook> Message-ID: <200305081639.42376.roy@karlsbakk.net> > Coding on Windows is a horrible task, coding a service is even worse, given > that how can I make it as painless as possible? I don't thinks Windoze is a horrible OS to code on, given you understand Windoze. Also: You can create services with a small wrapper of virtually any executable. > Perl would be nice, however requiring NT admins to install Perl on their > boxes is sometimes hard, some NT admins believe WSH is all they'll ever > need and think Perl is something they buy at a jewelry store. you can compile a perl script into an .exe file. although it's not an optimal solution, it can be a solution for sysadmins that don't want perl on their windoze boxes. I really don't think this'll be a big problem, as Nagios itself must run on a unix host, there's always unix people around to talk to the children (read: Windoze admins) > C++ requires either Visual Studio or C++ builder. Hell will freeze over > before I buy a product from MS. > > Buy C++ builder and start from scratch or Delphi and build on what was > already done. My point exactly. I don't want to buy any software to change the product! > Building on what is already done was easier and Pascal isn't a hard > language to work in, if find it easier than C and C++. Although this is the > first time I've coded in Pascal in over a dozen years. > > For non-commercial use (and I believe writing GPL code is non-commercial), > Delphi only costs a hundred bucks, a pretty decent deal to me. Still: Pascal is a dead language. It'll be harder and harder to find people to maintain the source. This piece of software will probably be rewritten pretty soon anyway, so why not now? roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Thu May 8 16:16:22 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 08 May 2003 16:16:22 +0200 Subject: Passive servicecheck on NT In-Reply-To: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> References: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> Message-ID: <3EBA66B6.3070100@dhl.com> Please find attached a sample script in VBS that does just that (I use this to check the logon status of a Citrix server). Basically you just run your vbs script locally and jam the result into the external command file on the Nagios box using a command line SSH client. Wiesner, Thomas wrote: > > Hi all, > > I evaluate the current features of Nagios and have one simple question. > I know the possibility of passive service checks on a Unix host, but is > it also possible to implement a passive service check on a Windows host? > > What I need is in interface for my scripts on the Microsoft world to > transfer and display the result to the Nagios host. > > Thanks for your help. > > Thomas > -------------- next part -------------- A non-text attachment was scrubbed... Name: citrix.zip Type: application/x-zip-compressed Size: 116536 bytes Desc: not available URL: From Stanley.G.Martin at mail.sprint.com Thu May 8 16:40:32 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G) Date: Thu, 8 May 2003 09:40:32 -0500 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: <516DA7BE5D87C8469D89F150CA0B4911C8D780@PDAWB02C.ad.sprint.com> Something else has changed with this new version. Don't know if anyone else experienced this, but after I uninstalled 1.07.1 and ran pNsclient /install, it didn't popup and tell me that the service had been installed. Consequently, when I went into services, it wasn't there until I ran 'net start nsclient' from command line. Seems a little quirky to me. Also, what did 1.08.0 have that 1.07.1 didn't? I didn't see a changelog with new enhancements. Stanley G. Martin System Administrator Enterprise Information & Sales Support (913) 315.4576 (913) 226.3090 PCS -----Original Message----- From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] Sent: Thursday, May 08, 2003 9:00 AM To: Tim Shouldice; testrm at kisters.com; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) hi all Perhaps it's about time to rewrite nsclient to a language not quite as stone age as pascal / delphi? Personally, I'd like this to be perl, as this would be platform independant and not compiled. At least move it away from fscking Pascal. roy On Thursday 08 May 2003 15:43, Tim Shouldice wrote: > In the support forum we were able to nail down Jason's issue and he got it > working (corrupted executable when unzipped and copied over samba, ftp'd in > bin mode worked). > > The deinstallation of both 1.0.7.1 and 1.0.8.0 both cause the GPF, even > though the uninstall is successful. I suspect the problem lies somewhere in > the Delphi object code libraries that both versions use in development. > This issue is being raised with Borland. > > Tim Shouldice > ----- Original Message ----- > From: Ralf Mellis > To: nagios-users at lists.sourceforge.net > Sent: Thursday, May 08, 2003 5:20 AM > Subject: Re: [Nagios-users] NSClient 1.0.8.0 Installation Problem > > Martens, Jason wrote: > > I just tried installing the NSClient on a Windows 2000 Server, and I > > got the following error when I tried to run the pNSClient.exe /install > > command: > > C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. > > After I say ok to the error message, I get an Access is denied. Message > > in the command shell. I am logged in as administrator. > > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 from tmsg. > The deinstallation from version 1.0.7.1 results in an access violation > (on _every_ server, where I did the upgrade). > Be sure to have neither event viewer nor service applet open when > installing the nsclient. After repeating the command "pNSClient.exe > /install" several times it finishes successfull at last. > > HTH > > -- > Ralf Mellis > Abt. DV/ORG > Kisters Maschinenbau GmbH > Germany > 47533 Kleve > Boschstr. 1-3 > Tel. +49(0)2821-503-0 > Fax +49(0)2821-26110 > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tsmgsoftware.com Thu May 8 16:25:42 2003 From: tim at tsmgsoftware.com (Tim Shouldice) Date: Thu, 8 May 2003 10:25:42 -0400 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) References: <3EBA2159.9060104@kisters.com> <009d01c31567$d4c98fe0$6501a8c0@notebook> <200305081559.36464.roy@karlsbakk.net> Message-ID: <00e101c3156d$b6ce5560$6501a8c0@notebook> Roy: In my professional job, I code about 90% of the time in Perl on Unix. When looking at the best tool to approach to develop this service for NT I went through the following thoughts. Coding on Windows is a horrible task, coding a service is even worse, given that how can I make it as painless as possible? Perl would be nice, however requiring NT admins to install Perl on their boxes is sometimes hard, some NT admins believe WSH is all they'll ever need and think Perl is something they buy at a jewelry store. C++ requires either Visual Studio or C++ builder. Hell will freeze over before I buy a product from MS. Buy C++ builder and start from scratch or Delphi and build on what was already done. Building on what is already done was easier and Pascal isn't a hard language to work in, if find it easier than C and C++. Although this is the first time I've coded in Pascal in over a dozen years. For non-commercial use (and I believe writing GPL code is non-commercial), Delphi only costs a hundred bucks, a pretty decent deal to me. /Tim ----- Original Message ----- From: Roy Sigurd Karlsbakk To: Tim Shouldice ; testrm at kisters.com ; nagios-users at lists.sourceforge.net Sent: Thursday, May 08, 2003 9:59 AM Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) hi all Perhaps it's about time to rewrite nsclient to a language not quite as stone age as pascal / delphi? Personally, I'd like this to be perl, as this would be platform independant and not compiled. At least move it away from fscking Pascal. roy On Thursday 08 May 2003 15:43, Tim Shouldice wrote: > In the support forum we were able to nail down Jason's issue and he got it > working (corrupted executable when unzipped and copied over samba, ftp'd in > bin mode worked). > > The deinstallation of both 1.0.7.1 and 1.0.8.0 both cause the GPF, even > though the uninstall is successful. I suspect the problem lies somewhere in > the Delphi object code libraries that both versions use in development. > This issue is being raised with Borland. > > Tim Shouldice > ----- Original Message ----- > From: Ralf Mellis > To: nagios-users at lists.sourceforge.net > Sent: Thursday, May 08, 2003 5:20 AM > Subject: Re: [Nagios-users] NSClient 1.0.8.0 Installation Problem > > Martens, Jason wrote: > > I just tried installing the NSClient on a Windows 2000 Server, and I > > got the following error when I tried to run the pNSClient.exe /install > > command: > > C:\Program Files\nagios\pNSClient.exe is not a valid Win32 application. > > After I say ok to the error message, I get an Access is denied. Message > > in the command shell. I am logged in as administrator. > > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 from tmsg. > The deinstallation from version 1.0.7.1 results in an access violation > (on _every_ server, where I did the upgrade). > Be sure to have neither event viewer nor service applet open when > installing the nsclient. After repeating the command "pNSClient.exe > /install" several times it finishes successfull at last. > > HTH > > -- > Ralf Mellis > Abt. DV/ORG > Kisters Maschinenbau GmbH > Germany > 47533 Kleve > Boschstr. 1-3 > Tel. +49(0)2821-503-0 > Fax +49(0)2821-26110 > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick_leboutillier at hotmail.com Thu May 8 16:45:15 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Thu, 8 May 2003 10:45:15 -0400 Subject: Passing arguments to host check commands Message-ID: I'm reading the docs on clusters and it seems to suggest that you can pass arguments to host check commands: > check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg But when I try this I get errors from the pre-flight check stating that the command is not found. I checked the source and effecetively there is no argument parsing occuring for host commands (base/config.c:1477 vs base/config.c:1308) Is there a patch for this or something? Thanks, --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lou.Sneddon at GlobalCrossing.com Thu May 8 17:03:14 2003 From: Lou.Sneddon at GlobalCrossing.com (Sneddon, Lou) Date: Thu, 8 May 2003 11:03:14 -0400 Subject: NSClient 1.0.8.0 Released Message-ID: <099CF6109693014E929F32F83241018955D9F1@exnadetres1.ams.gblxint.com> I had no problems getting to the site today. It also worked yesterday for me just fine. Lou Sneddon -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Thursday, May 08, 2003 8:54 AM To: 'Tim Shouldice' Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSClient 1.0.8.0 Released I also can not get to this site..... http://support.tsmgsoftware.com/ -----Original Message----- From: Tim Shouldice [mailto:tim at mintoskatingclub.com] Sent: Thursday, May 08, 2003 9:38 AM To: Tom DE BLENDE Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released 1. Site being unreachable. Interesting as neither the site nor the server (its unix) went down and the apache access log shows the site was accessed extensively each hour over the past 24 hours. I wonder if there was/is some routing problems. Please let me know if you still cannot access it. 2. Whatever happened to nsclient.ready2run.nl and its developer? I don't know. Development stopped on the product. We had identified some fixes to problems and emailed the developer several times with no response. Others on the list also commented that they had been emailing the developer with no response. So its seemed the product had been orphaned. As the product is GPL open source we added our enhancements and re-released accoriding to the GPL. We continue to credit the original developer in all aspects of the code written by him. Tim Shouldice ----- Original Message ----- From: Tom DE BLENDE To: Tim Shouldice Cc: nagios-users at lists.sourceforge.net Sent: Thursday, May 08, 2003 3:55 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released Hi, 1) That site is unreachable. 2) Whatever happened to nsclient.ready2run.nl and its developer? Kind regards, Tom Tim Shouldice wrote: > Nagios Users: > > NSClient 1.0.8.0 has been released by TSMG Software Inc. This is an agent to Monitor > Windows Servers. Please visit http://support.tsmgsoftware.com to download the software. > The software is in the Downloads forum. The site also includes a support forum and a > forum for enhancment requests. Please register and participate so that this tool can be > improved and become an integral component of a Nagios monitoring environement. > > Tim Shouldice > Lead Devleloper > TSMG Software Inc. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From DHarding at gilatla.com Thu May 8 17:10:46 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Thu, 8 May 2003 11:10:46 -0400 Subject: RedHat 9 Upgrade Message-ID: <97D0DDFA3C2F5B44AAC0960B99E96213019185@VMX.gilatla.com> I just upgraded from RedHat 7.2 to RH9 and now my nagios services look like this: nagios 25800 0.0 0.2 2348 1344 ? S 10:55 0:00 [nagios] nagios 25801 0.2 0.0 1388 504 ? S 10:55 0:00 /usr/local/nagios/libexec/check_ping 10.117.1.111 -w 25,10% -c 60,100 nagios 25802 0.0 0.0 1528 452 ? S 10:55 0:00 [ping] And when I go to the url, I get 'connection refused' on the cgi's _____________________ Devon Harding System Administrator Gilat Latin America 954-858-1600 dharding at gilatla.com This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Thu May 8 17:11:18 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 8 May 2003 16:11:18 +0100 Subject: NSClient 1.0.8.0 Released Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECC9@netfinity-1.foundation-it.local> I've accessed support.tsmgsoftware.com several times today (between about 0900 GMT and 1500 GMT) and not had any problems getting through. Curious. Phil > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > > Hi Tom, > > Good question. > > Tim, can you explain? > > jamie > > On Thu, 08 May 2003 19:55, Tom DE BLENDE wrote: > > Hi, > > > > 1) That site is unreachable. > > 2) Whatever happened to nsclient.ready2run.nl and its developer? > > > > Kind regards, > > Tom > > > > Tim Shouldice wrote: > > > Nagios Users: > > > > > > NSClient 1.0.8.0 has been released by TSMG Software Inc. > This is an > > > agent to Monitor Windows Servers. Please visit > > > http://support.tsmgsoftware.com to download the software. The > > > software is in the Downloads forum. The site also > includes a support > > > forum and a forum for enhancment requests. Please register and > > > participate so that this tool can be improved and become > an integral > > > component of a Nagios monitoring environement. > > > > > > Tim Shouldice > > > Lead Devleloper > > > TSMG Software Inc. > > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu May 8 17:31:40 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 8 May 2003 16:31:40 +0100 Subject: Annoying problem with check_http Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909E846@netfinity-1.foundation-it.local> > From: solkan [mailto:nils_mueller at hotmail.com] > > I am trying to make the check_http plugin work with ssl > support. Problem is: although openssl is installed, is does > not find it (looking at the ./configure log). > > This is where openssl is located: > > /usr/bin/openssl > > Here are the needed sources: > > /usr/include/openssl > > This is the corresponding part in the configure.in: > > dnl Check for OpenSSL location > AC_PATH_PROG(OPENSSL,openssl) > if test "$OPENSSL" = "/usr/bin/openssl"; then > OPENSSL=/usr/include/ > elif test "$OPENSSL" = "/usr/sbin/openssl"; then > OPENSSL=/usr > elif test "$OPENSSL" = "/opt/bin/openssl"; then > OPENSSL=/opt > elif test "$OPENSSL" = "/opt/openssl/bin/openssl"; then > OPENSSL=/opt/openssl > elif test "$OPENSSL" = "/usr/slocal/bin/openssl"; then > OPENSSL=/usr/slocal > elif test "$OPENSSL" = "/usr/local/bin/openssl"; then > OPENSSL=/usr/local > elif test "$OPENSSL" = "/usr/local/ssl/bin/openssl"; then > OPENSSL=/usr/local/ssl > fi > AC_ARG_WITH(openssl,--with-openssl= sets path to openssl > installation,[OPENSSL=$withval]) > > How do I have to modify the configure.in to make the nagios > plugins notice there actually IS ssl support? You shouldn't need to change anything in configure.in. Compile with ./configure --enable-SSL --with-openssl=/usr plus whatever other configure options you'd normally use and I think it should work for your case. > P.S.: Openssl version 0.9.6b You should really upgrade that, it's getting a bit long in the tooth. :) Phil ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Thu May 8 17:19:06 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 08 May 2003 17:19:06 +0200 Subject: Communication to 1.8 nrpe host : SOLVED (WAS:Building nrpe 2.03b on hp-ux 11) In-Reply-To: <3EBA1F99.4040208@kisters.com> References: <3EB92CAC.4090204@kisters.com> <3EBA1F99.4040208@kisters.com> Message-ID: <3EBA756A.8000807@kisters.com> Ralf Mellis wrote: > Ralf Mellis wrote: > >> currently I'm trying to build nagios plugins 1.3 and nrpe 2.03b on my >> hp-ux 11.00 server (I created a posting a few days ago and got an >> answer with a hint for a link to precompiled versions, but there was >> only the nrpe 1.8, which not fits my needs). >> > > Because currently there is no way to build version 2.03b on my host (for > me :-)) (changing the source code as advised from Jason was not > successfull, but I'm not really sure whether I have done this in the > correct way, my "life" as c coder is somewhat long ago, 10 years or > so...) I have build up the version 1.8 (no problems here with compiler / > linker). > > But the drawback: After starting the nrpe daemon I only get the lines > > nrpe[28714]: Could not read request from client, bailing out... > > in the syslog of the server at every attempt of the nagios host to > communicate with the nrpe daemon. > ... > How do I establish the communication from my nagios host to the nrpe > client 1.8 on my hp-ux server? > Yes. YES!!. I have compiled the 1.8 nrpe on my nagios host, moved the check_nrpe as check_nrpe-1.8 to the libexec dir, defined a appropriate command, changed the service definition...and all works fine. Juup. I was so absorbed in compiler flags, configure parameters and such things that my brain was completety busy. If I would had read the nagios download page carefully ("Note: NRPE version 2.0 breaks backward compatability with 1.8 clients/servers!"), I would not have had the difficulties...uuppss. Thanks to Gerhard G?ttinger in NG "comp.sys.hp.hpux" who took me in the right direction... There is only one question open: How to build the 2.03b version on hp-ux 11? Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu May 8 17:23:14 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 8 May 2003 11:23:14 -0400 Subject: NSClient 1.0.8.0 Released Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC5C@eentsvr40.ehvert.com> Good morning, I just had to set up a site with nagios monitoring eventlogs on windows servers. I did this by installing the BackLog service on each of the windows servers configured to send all events to the nagios box. The nagios box acted as a syslog server. I then configured swatch to watch for specific things (e.g. certain events AND certain servername). Upon finding such an instance in the syslog file swatch executed a perl script which formatted the event message, added the rest of the items necessary for a nagios external command, and then pushed it into the nagios external command file. This hogs resources on the nagios box. It would be more efficient to let the windows servers watch for events in their own logs and then only fire pre-formatted events at the nagios server. This would effectively distribute the load. Later, dean -----Original Message----- From: Tim Shouldice [mailto:tim at tsmgsoftware.com] Sent: May 8, 2003 9:48 AM To: hrishy; jamie.baddeley at vpc.co.nz; Tom DE BLENDE Cc: nagios-users at lists.sourceforge.net; rubiyz1047 at swyz.com Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released There is some discussion around this in the Enhancements forum at support.tsmgsoftware.com. I am trying to determine from various requests for Event Log monitoring exactly what should be implemented. If you would participate in this discussion it would be greatly appreciated. Tim Shouldice ----- Original Message ----- From: hrishy To: jamie.baddeley at vpc.co.nz ; Tom DE BLENDE ; Tim Shouldice Cc: nagios-users at lists.sourceforge.net ; rubiyz1047 at swyz.com Sent: Thursday, May 08, 2003 5:11 AM Subject: Re: [Nagios-users] NSClient 1.0.8.0 Released Hi Can we get the newest message added to the Nt event viewer from nagios yet ? regards Hrishy --- Jamie Baddeley > wrote: > Hi Tom, > > Good question. > > Tim, can you explain? > > jamie > > On Thu, 08 May 2003 19:55, Tom DE BLENDE wrote: > > Hi, > > > > 1) That site is unreachable. > > 2) Whatever happened to nsclient.ready2run.nl and > its developer? > > > > Kind regards, > > Tom > > > > Tim Shouldice wrote: > > > Nagios Users: > > > > > > NSClient 1.0.8.0 has been released by TSMG > Software Inc. This is an agent > > > to Monitor Windows Servers. Please visit > http://support.tsmgsoftware.com > > > to download the software. The software is in the > Downloads forum. The > > > site also includes a support forum and a forum > for enhancment requests. > > > Please register and participate so that this > tool can be improved and > > > become an integral component of a Nagios > monitoring environement. > > > > > > Tim Shouldice > > > Lead Devleloper > > > TSMG Software Inc. > > > > > > > > > > > > > ------------------------------------------------------- > > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > > The only event dedicated to issues related to > Linux enterprise solutions > > > www.enterpriselinuxforum.com > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin > version (-v) and OS when > > > ::: reporting any issue. Messages without > supporting info will risk being > > > ::: sent to /dev/null > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June > 4-6, 2003, Santa Clara > > The only event dedicated to issues related to > Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version > (-v) and OS when > > ::: reporting any issue. Messages without > supporting info will risk being > > ::: sent to /dev/null > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, > 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartens at cityofevanston.org Thu May 8 17:41:15 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Thu, 8 May 2003 10:41:15 -0500 Subject: Building nrpe 2.03b on hp-ux 11 Message-ID: ...snip... >By the way: Jason, did you build version 2.03b successfull on hp-ux >11.00 or do you have the same problems there as with version 11i? I haven't actually tried building on 11.0 at this point, because all of my servers are on 11i. I do have one sitting around thought, maybe I'll give it a try. I'm still stuck on the linker error messages myself. Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Thu May 8 17:34:42 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 08 May 2003 11:34:42 -0400 Subject: Passive and active checks Message-ID: <5.1.0.14.0.20030508113246.00b88b08@pop.icnet.com.ve> Hi, I want to know what is the difference between an active and passive checks. Thanks jeyri ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at kive.net Thu May 8 17:59:23 2003 From: chris at kive.net (chris at kive.net) Date: Thu, 8 May 2003 11:59:23 -0400 (EDT) Subject: Passing arguments to host check commands Message-ID: <4391.12.91.237.91.1052409563.squirrel@www.kive.net> Patrick, Make sure you add an entry for check_host_cluster into your checkcommands.cfg file. Your '2' would become $ARG1$, your '4' would become $ARG2$, and your '/usr/local/nagios/etc/hostcluster.cfg' would become $ARG3$. I'm guessing that is where your problem lies - hope it helps! -Chris >I'm reading the docs on clusters and it seems to suggest that you can >pass arguments to host check commands: > >> check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg > >But when I try this I get errors from the pre-flight check stating that >the command is not found. > >I checked the source and effecetively there is no argument parsing >occuring for host commands (base/config.c:1477 vs base/config.c:1308) > >Is there a patch for this or something? > >Thanks, > >--------------------- >Patrick LeBoutillier >Laval, Quebec, Canada ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Thu May 8 18:07:33 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 08 May 2003 18:07:33 +0200 Subject: Passive servicecheck on NT In-Reply-To: <3EBA66B6.3070100@dhl.com> References: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> <3EBA66B6.3070100@dhl.com> Message-ID: <3EBA80C5.3050303@kisters.com> Tom DE BLENDE wrote: > Please find attached a sample script in VBS that does just that (I use > this to check the logon status of a Citrix server). Basically you just > run your vbs script locally and jam the result into the external command > file on the Nagios box using a command line SSH client. > Hey, that's great. Since I have a lot of windows servers to monitor and only some linux and other unix boxes, I'm searching for a possibility to extend the checks available via nsclient. Since I'm using nagios yet not for a long time (I think it was two weeks ago, when I decided to use it, before I have tested out such things like BigBrother / BigSister and so) I'm not so familiar with external commands and passive checks. In contrast to this fact I am very familiar with wsh and registry contents...(and putty). So there now is a wide playground which opens up uncountable possibilities :-)). My question: Could you please provide us with the services and command definitions for the nagios host which are correlated to the citrix wsh script? It would be nice...and would reduce my time efforts to manage my windows servers completely. Regards -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Thu May 8 18:23:00 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 08 May 2003 18:23:00 +0200 Subject: nsclient 1.0.7.1 vs 1.0.8.0 Message-ID: <3EBA8464.10101@kisters.com> Because I had some problems on three of my w2k servers with nsclient 1.0.7.1 I have upgraded these hosts to 1.0.8.0. Now there is a difference regarding the misbehaviour of 1.0.7.1 to the corrupted counters. Version 1.0.7.1 reported an "internal error" getting the cpu load and the uptime of the servers (setting state to "undefined"), version 1.0.8.0 now reports state "OK", but with all values set to zero. Looking into the eventlog of the servers, there is the entry "NSClient Error: The CPU Processor counter seems to be corrupted, all CPU values will be reported as 0." which corresponds to the above given result. I have searched the ms kb and google down and under, but at this time I have not found a possibility to restore these d*mn*d broken counters... Perhaps another one has... What makes me crazy is the fact that the ms performance monitor has absolutely no difficulties to process _all_ indicators related to the processor object... Regards -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Thu May 8 18:34:40 2003 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 08 May 2003 12:34:40 -0400 Subject: Passing arguments to host check commands References: <4391.12.91.237.91.1052409563.squirrel@www.kive.net> Message-ID: <3EBA8720.1070101@quadrix.com> Actually, I believe there is no argument passing for host checks in Nagios 1.* I know I have seen it added to the code for the 2.0 line. Someone correct me if I'm wrong. Russell chris at kive.net wrote: >Patrick, > >Make sure you add an entry for check_host_cluster into your >checkcommands.cfg file. Your '2' would become $ARG1$, your '4' would >become $ARG2$, and your '/usr/local/nagios/etc/hostcluster.cfg' would >become $ARG3$. > >I'm guessing that is where your problem lies - hope it helps! > >-Chris > > >>I'm reading the docs on clusters and it seems to suggest that you can >>pass arguments to host check commands: >> >>>check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg >>> >>But when I try this I get errors from the pre-flight check stating that >>the command is not found. >> >>I checked the source and effecetively there is no argument parsing >>occuring for host commands (base/config.c:1477 vs base/config.c:1308) >> >>Is there a patch for this or something? >> >>Thanks, >> >>--------------------- >>Patrick LeBoutillier >>Laval, Quebec, Canada >> > > > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Thu May 8 18:41:24 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 8 May 2003 12:41:24 -0400 Subject: Passing arguments to host check commands References: Message-ID: <010501c31580$aa0000f0$f805ff0a@tekniq> This was a major limitation in my environment as well. It can be fixed by creating a specific check command for your host in your checkcommands.cfg but that is about all you can do. If anyone has a fix to this I'd also be very interested. -Jason ----- Original Message ----- From: "Patrick LeBoutillier" To: Sent: Thursday, May 08, 2003 10:45 Subject: [Nagios-users] Passing arguments to host check commands > I'm reading the docs on clusters and it seems to suggest that you can pass > arguments > to host check commands: > > > check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg > > But when I try this I get errors from the pre-flight check stating that the > command is not found. > > I checked the source and effecetively there is no argument parsing occuring > for host commands > (base/config.c:1477 vs base/config.c:1308) > > Is there a patch for this or something? > > Thanks, > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu May 8 19:14:39 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 8 May 2003 12:14:39 -0500 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: FWIW, there's always FireDaemon for turning binaries into a service: http://www.firedaemon.com/ jc > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: Thursday, May 08, 2003 9:40 AM > To: Tim Shouldice; testrm at kisters.com; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 > Installation Problem) > > > > Coding on Windows is a horrible task, coding a service is > even worse, given > > that how can I make it as painless as possible? > > I don't thinks Windoze is a horrible OS to code on, given you > understand > Windoze. Also: You can create services with a small wrapper > of virtually any > executable. > > > Perl would be nice, however requiring NT admins to install > Perl on their > > boxes is sometimes hard, some NT admins believe WSH is all > they'll ever > > need and think Perl is something they buy at a jewelry store. > > you can compile a perl script into an .exe file. although > it's not an optimal > solution, it can be a solution for sysadmins that don't want > perl on their > windoze boxes. I really don't think this'll be a big problem, > as Nagios > itself must run on a unix host, there's always unix people > around to talk to > the children (read: Windoze admins) > > > C++ requires either Visual Studio or C++ builder. Hell will > freeze over > > before I buy a product from MS. > > > > Buy C++ builder and start from scratch or Delphi and build > on what was > > already done. > > My point exactly. I don't want to buy any software to change > the product! > > > Building on what is already done was easier and Pascal isn't a hard > > language to work in, if find it easier than C and C++. > Although this is the > > first time I've coded in Pascal in over a dozen years. > > > > For non-commercial use (and I believe writing GPL code is > non-commercial), > > Delphi only costs a hundred bucks, a pretty decent deal to me. > > Still: > Pascal is a dead language. It'll be harder and harder to find > people to > maintain the source. This piece of software will probably be > rewritten pretty > soon anyway, so why not now? > > roy > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charles at 2convert.com Thu May 8 19:39:05 2003 From: charles at 2convert.com (Charles Barr) Date: Thu, 8 May 2003 10:39:05 -0700 Subject: Disk Spcae - CPU Utilization Message-ID: <004701c31588$b88d2820$6400a8c0@home> Hi, I am trying to add the ability to see the current disk space utilization and CPU utilization into my Nagios installation for all of my monitored boxes. Does anyone know of a remote reporting facility built into nagios that will display CPU and disk information? I want to graphically see the CPU and disk information. Secondly, if there is no built in method to report CPU and disk information, does anyone have any scripts that will email your alert contacts when a thresh hold is reached? Thanks in advance for any knowledge you can pass along. Charles Barr www.2convert.com 415-377-7600 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Thu May 8 20:32:34 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 8 May 2003 14:32:34 -0400 Subject: distributed monitoring/central server performance problems References: <3EB7FDDD.7584.4A6E8D@localhost> Message-ID: <025c01c31590$3227d110$f805ff0a@tekniq> Ethan and list, I agree the check command interval I was using may not have been the most efficient and I likely would have eventually seen a problem on the central server parsing these external commands. After making my first post, I realized my issue is with regards to how Nagios manages an outgoing ocsp command in Nagios. I came to the assumption above by experiencing the following: In my "non-distributed" test environment, I have 2683 service checks. I'm using OCSP with ocsp_timeout=3. This OCSP does not go to any other systems, it is just a simple echo, "echo $1 $2 $3 $4 >> ocsp.log." Looking at the webpage and the status.log, things are updating within a 10-15 minute interval. This is the behavior I expect and works quite well. Complicate this echo with a slightly longer to execute command by adding a "sleep 3" into the mix and I start having problems. Service and host update intervals go from approximately 10 minutes to 15, to 20, to 30... to never getting updated. The system stops executing active checks of any type, including freshness. Nagios becomes useless at this point. If I comment my sleep line out at this point, Nagios begins to sync back to it's normal 10 minute intervals. I don't know where the problem lies, it very well could be the way I have Nagios configured. Personally, I theorize this is due to how Nagios decides to manage it's ocsp commands, perhaps if one ocsp command takes a long time to execute Nagios thinks that everything needs more execution time. I don't know much about C and I don't know the source well, but I'm more than willing to work with anyone who wants more information on this issue. I've pretty much given up on handling any advanced ocsp methods within Nagios and made Nagios execute the ocsp command as quickly as possible using a simple bash echo script a fifo. I have to keep in mind important factors Ethan discussed with his last reply, therefore I'm sending consolidated nsca results at 10 second intervals. This could be lowered to make the consolidated NSCA parser send each service result through NSCA (just like the default ocsp behavior of Nagios in a distributed environment). This may in fact work. I have yet to test it but I think I will soon. Thanks, Jason ----- Original Message ----- From: "Ethan Galstad" To: Sent: Tuesday, May 06, 2003 19:24 Subject: RE: [Nagios-users] distributed monitoring/central server performance problems > NSCA may be to blame (consolidated transmits would help), but it is > more likely that you are experiencing a bottleneck with the external > command file. This file is implemented as a named pipe, which (under > Linux) has a size of 4K. If one external command for a passive check > is ~100 byes, that means you can fit about 40 passive checks into the > pipe before it fills up. Your config snippet indicates that you are > checking for external commands every 30 seconds. That's way too long > of an interval - Nagios will only process ~1.5 passive checks per > second at that rate (you've got ~10 per second incoming). Try > setting the command check interval to 3 seconds (or -1) and see if > that helps. > > Nagios 2.0 should be able to handle this much better than 1.0, as > I've written in a dedicated thread that continuously reads from the > command file and buffers the input for later handling. By default, > this should allow you to handle ~512+ passive checks per command > check interval. > > > On 6 May 2003 at 1:13, Jason Lancaster wrote: > > > Sg, > > Thanks for the input on this... I believe what I've run into is a > > bottleneck with send_nsca and the general ocsp command. 3200 services > > all using separate send_nsca commands on an average check_interval of > > 5 minutes makes for a very crazy system; almost 10 incoming/outgoing > > nsca connections a second. > > > > I've tested this theory by disabling the oscp command and using > > simpler commands (such as an echo to a log file) with success. > > > > I'm going to write an nsca "sweeper" tomorrow and see how sending > > increments of the oscp commands (50 at a time, 100 at a time, etc) > > through a single nsca connection to the central server are processed. > > > > I'll keep posting and be sure to let everyone know if I solve it. > > > > -Jason > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > Subhendu Ghosh Sent: Monday, May 05, 2003 17:26 To: > > nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] > > distributed monitoring/central server performance problems > > > > Is there any way for you run a debugging version of Nagios (DEBUG3) > > and/or strace.. > > > > -sg > > > > On Mon, 5 May 2003, Jason Lancaster wrote: > > > > > Hi everyone, > > > I have somewhat of an update on this situation. I've been able to > > > get similar results in a non-distributed environment. It may not or > > > may > > not give > > > anyone ideas but it does simplify the situation. > > > > > > Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 > > > Approx 2600 services, 313 hosts. 2324 passive checks sent through > > > nsca and written to external commands > > file. > > > 359 active service checks. > > > Uses cfg file posted previously. > > > > > > Host/Service status does not update regularly. All services are > > > setup > > to > > > update within 5 minute periods, but there are results still pending > > for > > > checks made over 45 minutes ago. Stale checks are attempted once but > > then > > > Nagios becomes so bogged that it can't process anything. This is > > reflected > > > in the web interface as well as the status.log. > > > > > > If anyone uses Nagios in a similar large-scale environment, I'd > > > really appreciate some input. > > > > > > Thanks, > > > Jason > > > > > > ----- Original Message ----- > > > From: "Jason Lancaster" > > > To: > > > Sent: Friday, May 02, 2003 19:54 > > > Subject: [Nagios-users] distributed monitoring/central server > > performance > > > problems > > > > > > > > > > A simple background of my environment: > > > > My central server is receiving external commands from 3 monitoring > > > servers. > > > > I have just over 3200 services monitored, all delivered to the > > central > > > > server through NSCA. Everything works perfect until the Nagios > > process on > > > > the central server attempts to parse the external commands. > > > > > > > > When first started, Nagios updates status information (alerts) > > quickly but > > > > as time goes on, status updates (alerts) are parsed slower and > > slower > > > until > > > > eventually, nothing happens and only external commands are > > > > written. > > This > > > > cripples nagios and since it is not executing local alerts or > > > > status updates, it never executes stale_check's or sends out > > > > notifications. > > I'm > > > > left with a webpage that displays results anywhere from 6 hours > > > > ago > > to > > > about > > > > 15 minutes ago. The odd thing about this is the behavior is > > completely > > > > unpredictable, although it sometimes seems like it gives an > > alphabetical > > > > priority to the first few letters in the alphabet. > > > > > > > > If the above confuses you, perhaps a snip from the log might help: > > > > [1051917099] EXTERNAL COMMAND: > > > > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - > > Packet > > > > loss = 0%, RTA = 0.80 ms > > > > **repeat external command lines hundreds of times, with the > > following line > > > > below happening about 20-30 minutes after the external command** > > > > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK > > > > - > > Packet > > > > loss = 0%, RTA = 0.80 ms > > > > > > > > The central server is far from being overworked with a load > > > > average > > of > > > 0.04 > > > > and both cpu's average about 96% idle. I can in no way attribute > > this > > > > behavior to the hardware on my central system. > > > > > > > > I've gone thought the nagios configuration file and tried almost > > every > > > > combination of tweaks including: aggregate updates, aggressive > > checking, > > > > orphaned services, inter_check_delay_methods, > > service_interleave_factors, > > > > setting up a ramdisk, etc. I've found the *best* settings seem to > > > > be > > the > > > > "smart" methods but they are FAR from perfect. Nagios still is > > overrun > > > with > > > > the external commands. > > > > > > > > I know there have to people who have successfully implemented > > > > Nagios > > in a > > > > large distributed environment and I'm hoping some of you might > > > > speak > > up > > > > about issues you may have had. > > > > > > > > I believe this problem has to do with Nagios and my guess is it's > > either a > > > > performance option available in the nagios.cfg or it's something I > > have to > > > > rewrite/set in the source. I've tried most nagios.cfg options > > available > > > with > > > > no luck. I've attached my nagios.cfg just in case someone notices > > > > a > > > blatant > > > > error (I know everything here is not the most efficient, it's just > > what my > > > > latest "test" used) > > > > > > > > Thanks for your time and sorry for the long explanation! > > > > > > > > Jason Lancaster > > > > Intranet Administrator, Affinity Internet > > > > (954) 334-8203 > > > > > > > > check_external_commands=1 > > > > command_check_interval=30s > > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > > comment_file=/usr/local/nagios/var/comment.log > > > > downtime_file=/usr/local/nagios/var/downtime.log > > > > lock_file=/usr/local/nagios/var/nagios.lock > > > > temp_file=/usr/local/nagios/var/nagios.tmp > > > > log_rotation_method=d > > > > log_archive_path=/usr/local/nagios/var/archives > > > > use_syslog=0 > > > > log_notifications=1 > > > > log_service_retries=1 > > > > log_host_retries=1 > > > > log_event_handlers=1 > > > > log_initial_states=1 > > > > log_external_commands=1 > > > > log_passive_service_checks=1 > > > > inter_check_delay_method=n > > > > service_interleave_factor=1 > > > > max_concurrent_checks=0 > > > > service_reaper_frequency=1 > > > > sleep_time=1 > > > > service_check_timeout=60 > > > > host_check_timeout=30 > > > > event_handler_timeout=30 > > > > notification_timeout=30 > > > > ocsp_timeout=5 > > > > perfdata_timeout=5 > > > > retain_state_information=1 > > > > state_retention_file=/usr/local/nagios/var/status.sav > > > > retention_update_interval=0 > > > > use_retained_program_state=0 > > > > interval_length=60 > > > > use_agressive_host_checking=0 > > > > execute_service_checks=1 > > > > accept_passive_service_checks=1 > > > > enable_notifications=1 > > > > enable_event_handlers=1 > > > > process_performance_data=0 > > > > obsess_over_services=0 > > > > check_for_orphaned_services=1 > > > > check_service_freshness=1 > > > > freshness_check_interval=600 > > > > aggregate_status_updates=1 > > > > status_update_interval=20 > > > > enable_flap_detection=0 > > > > low_service_flap_threshold=5.0 > > > > high_service_flap_threshold=20.0 > > > > low_host_flap_threshold=5.0 > > > > high_host_flap_threshold=20.0 > > > > date_format=us > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Thu May 8 20:10:55 2003 From: ric at nkn.net (Ric Moseley) Date: Thu, 8 May 2003 13:10:55 -0500 Subject: Notifications Enabled? In-Reply-To: <010501c31580$aa0000f0$f805ff0a@tekniq> References: <010501c31580$aa0000f0$f805ff0a@tekniq> Message-ID: <010901c3158d$2bdb4bf0$1bd010ac@theplanet.com> My 'Notifications Enabled?' seems to turn on and off randomly. Anyone know what would cause this? Thanks. Ric. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Thu May 8 21:01:03 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 8 May 2003 14:01:03 -0500 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: <352B04312822444A962714393AED8A4D02684F@ADAEVS01.int.chickasaw.net> It is a pretty good idea to start a rewrite of the NSClient and add in the nrpe functionality, also make this an agent that will work on virtually every OS available, at least the OS's that nagios and the current nsclient runs on. I myself would find that an agent such as nslcient would be more appealing to get simple stats such as disk space, uptime, and memory from servers. Being perl, I don't know, would probably work on most systems, but of course, windows admins probably would want a binary. Creating a Nagios agent though would be sweet and extend the software package just that much further. (even more to think about is building into the agent IDS software, and let it send nagios security alerts, that would be cool, a single tool for security and availability!) -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, May 08, 2003 12:15 PM To: Roy Sigurd Karlsbakk; Tim Shouldice; testrm at kisters.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) FWIW, there's always FireDaemon for turning binaries into a service: http://www.firedaemon.com/ jc > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: Thursday, May 08, 2003 9:40 AM > To: Tim Shouldice; testrm at kisters.com; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 > Installation Problem) > > > > Coding on Windows is a horrible task, coding a service is > even worse, given > > that how can I make it as painless as possible? > > I don't thinks Windoze is a horrible OS to code on, given you > understand > Windoze. Also: You can create services with a small wrapper > of virtually any > executable. > > > Perl would be nice, however requiring NT admins to install > Perl on their > > boxes is sometimes hard, some NT admins believe WSH is all > they'll ever > > need and think Perl is something they buy at a jewelry store. > > you can compile a perl script into an .exe file. although > it's not an optimal > solution, it can be a solution for sysadmins that don't want > perl on their > windoze boxes. I really don't think this'll be a big problem, > as Nagios > itself must run on a unix host, there's always unix people > around to talk to > the children (read: Windoze admins) > > > C++ requires either Visual Studio or C++ builder. Hell will > freeze over > > before I buy a product from MS. > > > > Buy C++ builder and start from scratch or Delphi and build > on what was > > already done. > > My point exactly. I don't want to buy any software to change > the product! > > > Building on what is already done was easier and Pascal isn't a hard > > language to work in, if find it easier than C and C++. > Although this is the > > first time I've coded in Pascal in over a dozen years. > > > > For non-commercial use (and I believe writing GPL code is > non-commercial), > > Delphi only costs a hundred bucks, a pretty decent deal to me. > > Still: > Pascal is a dead language. It'll be harder and harder to find > people to > maintain the source. This piece of software will probably be > rewritten pretty > soon anyway, so why not now? > > roy > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri May 9 01:04:29 2003 From: drich at employees.org (Dan Rich) Date: Thu, 8 May 2003 16:04:29 -0700 (PDT) Subject: nrpe on IRIX Message-ID: <50224.63.237.201.12.1052435069.squirrel@www.lapseofthought.com> Has anyone successfully built and installed nrpe on IRIX? I have it compiling fine, but something odd is going on in the socket code. The connection never succeeds and I find the following in my syslog: May 8 14:17:24 5D:morbier nrpe[2534]: Starting up daemon May 8 14:17:24 7D:morbier nrpe[2534]: Listening for connections on port 5666 May 8 14:17:24 7D:morbier nrpe[2534]: Allowing connections from: x.x.x.x (addr removed by me for security) May 8 14:17:31 7D:morbier nrpe[2538]: Connection from 0.0.0.0 port 45015 May 8 14:17:31 3D:morbier nrpe[2538]: Host 0.0.0.0 is not allowed to talk to us! May 8 14:17:31 7D:morbier nrpe[2538]: Connection from 0.0.0.0 closed. For some reason the server cannot get the IP address of the nagios client trying to connect to it, yet it can pull the port number out of the connection just fine. The above is with nrpe 1.8, I'm not ready to try and move to the 2.0 betas yet. Any thoughts? -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hidden at invalid Thu May 8 22:19:23 2003 From: hidden at invalid (Anonymous Writer) Date: Thu, 8 May 2003 22:19:23 +0200 Subject: help Message-ID: <002d01c3159f$1da93e40$6401a8c0@mghome> -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri May 9 02:20:01 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 8 May 2003 19:20:01 -0500 Subject: Notifications Enabled? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4482@mismail.ena.com> Do you have multiple copies of nagios running? -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Ric Moseley To: nagios-users at lists.sourceforge.net Sent: Thu May 08 13:10:55 2003 Subject: [Nagios-users] Notifications Enabled? My 'Notifications Enabled?' seems to turn on and off randomly. Anyone know what would cause this? Thanks. Ric. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at kive.net Thu May 8 22:47:14 2003 From: chris at kive.net (chris at kive.net) Date: Thu, 8 May 2003 16:47:14 -0400 (EDT) Subject: Disk Spcae - CPU Utilization Message-ID: <4027.208.54.141.43.1052426834.squirrel@www.kive.net> Charles, In your nagios/libexec directory (assuming you have installed the plugins available from www.nagios.org under downloads), you should have access to the check_load and check_disk utilities. Both of these support the ability for you to differentiate warning levels from critical levels. Nagios can alert you appropriately from there. If you want graphical reporting, above the level provided by the Nagios interface, you might want to look into compiling database support into your Nagios installation so you can use something like MySQL, then you could use the reporting tool of your choice. Hope this helps! -Chris >Hi, > >I am trying to add the ability to see the current disk space utilization >and CPU utilization into my Nagios installation for all of my monitored >boxes. > >Does anyone know of a remote reporting facility built into nagios that >will display CPU and disk information? I want to graphically see the CPU > >Secondly, if there is no built in method to report CPU and disk >information, does anyone have any scripts that will email your alert >contacts when a thresh hold is reached? > >Thanks in advance for any knowledge you can pass along. > >Charles Barr >www.2convert.com >415-377-7600 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_news=PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org Fri May 9 03:38:36 2003 From: nagios_news=PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (Daniel nagios) Date: Fri, 09 May 2003 11:38:36 +1000 Subject: Service Pending state Message-ID: Hi there, Is there a way to force the services back into the pending state? Thanks, Daniel _________________________________________________________________ MSN Instant Messenger now available on Australian mobile phones.?Go to http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu May 8 22:11:24 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 8 May 2003 15:11:24 -0500 Subject: Disk Spcae - CPU Utilization Message-ID: check_disk is the plugin you want to pay attention to. NRPE is the middleware (part plugin, part server) which you might want to check out. Or check out the check_by_ssh plugin. Or check out other options listed on the Nagios downloads page. I'm not the one to ask about graphing, although APAN might be what you want. Check the archive and do a search on "RRD" to see a recent comprehensive discussion on the graphing options. jc -----Original Message----- From: Charles Barr [mailto:charles at 2convert.com] Sent: Thursday, May 08, 2003 12:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disk Spcae - CPU Utilization Hi, I am trying to add the ability to see the current disk space utilization and CPU utilization into my Nagios installation for all of my monitored boxes. Does anyone know of a remote reporting facility built into nagios that will display CPU and disk information? I want to graphically see the CPU and disk information. Secondly, if there is no built in method to report CPU and disk information, does anyone have any scripts that will email your alert contacts when a thresh hold is reached? Thanks in advance for any knowledge you can pass along. Charles Barr www.2convert.com 415-377-7600 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Thu May 8 22:56:02 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 08 May 2003 16:56:02 -0400 Subject: snmpwalk Message-ID: <5.1.0.14.0.20030508165423.00beea28@pop.icnet.com.ve> Hi, I?m using a snmp walk of Solar Winds software and I can see all the MIBs onmy router, and when I used the snmpwalk in my linux PC don?t discover all the MIBs that I see with the other software. Why occur that? Thanks Jeyri ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu May 8 14:32:59 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 8 May 2003 13:32:59 +0100 Subject: NSClient 1.0.8.0 Installation Problem Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECC8@netfinity-1.foundation-it.local> > From: Ralf Mellis [mailto:testrm at kisters.com] > I had similar problems after upgrading from 1.0.7.1 to 1.0.8 > from tmsg. The deinstallation from version 1.0.7.1 results in > an access violation > (on _every_ server, where I did the upgrade). I got the access violation on both the servers I've uninstalled 1.0.7.1 from so far. Subsequent attempts to uninstall gave a different message saying the service was marked for deletion so I rebooted and the service had been deleted when the box came back up. > Be sure to have neither event viewer nor service applet open when > installing the nsclient. After repeating the command "pNSClient.exe > /install" several times it finishes successfull at last. I didn't have a problem installing 1.0.8.0 even with the Services section of Computer Management open, maybe because of the intermediate reboot. Phil ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ekool at fiendish.net Thu May 8 21:27:33 2003 From: ekool at fiendish.net (ekool) Date: 8 May 2003 19:27:33 -0000 Subject: Only want to be notified if a service/host fails check twice? Message-ID: <20030508192733.3588.qmail@pod-163.dolphin-server.co.uk> Is this possible? For example: SMTP server is full and fails at first 5 minute interval check.... rather then notify now, check happens again in 5 minutes, if it fails the 2nd time then a page is dispatched? Possible? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Wirtgen at miwi-dv.com Fri May 9 03:15:59 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Fri, 9 May 2003 03:15:59 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E4F86@ws_server.intern.westernsystems.de> All, I'm currently working to get nrpe "ported" to run on windows, so I take a great interest in this. Please allow some thoughts & questions... - If you consider rewriting nsclient to add nrpe functionality, what do you consider the benefit? May be I'm missing something, but to me it looks like a decision between monolithic vs. modular design. Whatever you choose may be ok, but I see no reason in mixing this? If you go with the current nsclient design, I'd suggest, ALL checks should be done by the agent. However, this would make this a very complex beast, and it may be difficult to add new checks. If you go with plugins, why not put everything into a plugin? Is there anything that would be impossible to implement as a plugin? (Thinking of it, registering callbacks on eventlog or filesystem events pops to my mind ...) - On choosing a development language, perl sounds great in terms of porting, but I think for windows, the only option for any agent is to run as a service. On my boxes I usually prefer NOT to resort to any wrappers to achieve this. For everything else, I guess the answer is: Whatever gets the job done.... - Tim, I can't resist to ask this ;-) >>Hell will freeze over before I buy a product from MS What do you actually RUN nsclient on? cheers MiWi -----Original Message----- From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Sent: Donnerstag, 8. Mai 2003 21:01 To: Carroll, Jim P [Contractor]; Roy Sigurd Karlsbakk; Tim Shouldice; testrm at kisters.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) It is a pretty good idea to start a rewrite of the NSClient and add in the nrpe functionality, also make this an agent that will work on virtually every OS available, at least the OS's that nagios and the current nsclient runs on. I myself would find that an agent such as nslcient would be more appealing to get simple stats such as disk space, uptime, and memory from servers. Being perl, I don't know, would probably work on most systems, but of course, windows admins probably would want a binary. Creating a Nagios agent though would be sweet and extend the software package just that much further. (even more to think about is building into the agent IDS software, and let it send nagios security alerts, that would be cool, a single tool for security and availability!) -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, May 08, 2003 12:15 PM To: Roy Sigurd Karlsbakk; Tim Shouldice; testrm at kisters.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) FWIW, there's always FireDaemon for turning binaries into a service: http://www.firedaemon.com/ jc > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: Thursday, May 08, 2003 9:40 AM > To: Tim Shouldice; testrm at kisters.com; > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 > Installation Problem) > > > > Coding on Windows is a horrible task, coding a service is > even worse, given > > that how can I make it as painless as possible? > > I don't thinks Windoze is a horrible OS to code on, given you > understand > Windoze. Also: You can create services with a small wrapper > of virtually any > executable. > > > Perl would be nice, however requiring NT admins to install > Perl on their > > boxes is sometimes hard, some NT admins believe WSH is all > they'll ever > > need and think Perl is something they buy at a jewelry store. > > you can compile a perl script into an .exe file. although > it's not an optimal > solution, it can be a solution for sysadmins that don't want > perl on their > windoze boxes. I really don't think this'll be a big problem, > as Nagios > itself must run on a unix host, there's always unix people > around to talk to > the children (read: Windoze admins) > > > C++ requires either Visual Studio or C++ builder. Hell will > freeze over > > before I buy a product from MS. > > > > Buy C++ builder and start from scratch or Delphi and build > on what was > > already done. > > My point exactly. I don't want to buy any software to change > the product! > > > Building on what is already done was easier and Pascal isn't a hard > > language to work in, if find it easier than C and C++. > Although this is the > > first time I've coded in Pascal in over a dozen years. > > > > For non-commercial use (and I believe writing GPL code is > non-commercial), > > Delphi only costs a hundred bucks, a pretty decent deal to me. > > Still: > Pascal is a dead language. It'll be harder and harder to find > people to > maintain the source. This piece of software will probably be > rewritten pretty > soon anyway, so why not now? > > roy > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Thu May 8 22:50:53 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Fri, 9 May 2003 08:50:53 +1200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: Thanks Roy, That was quite a humourous comment you made that you think "Pascal is a dead language". I've heard this comment before about other programming languages like Perl, LabVIEW, Pascal, Cobol ... the list goes on. And really the comment only shows how unaware the person is of the often thriving developer communities. If you head to Borland.com you might find that "Pascal" (in the form of Delphi of course) is going really well, has been ported to Linux (as the ultimate Linux programming IDE called Kylix), and is heading toward .Net. (that's a full stop - they didn't change the name again... ;-) And on Kylix and Delphi, Borland have created "Personal Editions" which you can download for free and use to create GPL programmes - so you don't have to buy anything and you still get one of (if not the) best IDE's around (on top of one of the best languages - IMHO). The last thing kind of isn't much to do with Delphi, but shows how good the Borland guys are.... The framework that Delphi/C++ Builder was originally built on is called VCL. This recently changed to CLX and is an awesome framework for building programmes. In a completely uninformed opinion, but it looks to me like Microsoft's .Net looks a lot like CLX. I heard they bought one of the VCL people and I wouldn't be surprised if they "copied" the best of CLX. So the Borland ideas & products don't seem to be disappearing in a hurry. Darren. ----- Forwarded by Darren Harrison/GGL on 09/05/2003 08:25 ----- > > Message: 3 > From: Roy Sigurd Karlsbakk > My point exactly. I don't want to buy any software to change the product! > Still: > Pascal is a dead language. It'll be harder and harder to find people to=20 > maintain the source. This piece of software will probably be rewritten pr = > etty=20 > soon anyway, so why not now? > > roy > > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 9 03:55:07 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 9 May 2003 11:55:07 +1000 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: <00e101c3156d$b6ce5560$6501a8c0@notebook>; from tim@tsmgsoftware.com on Thu, May 08, 2003 at 10:25:42AM -0400 References: <3EBA2159.9060104@kisters.com> <009d01c31567$d4c98fe0$6501a8c0@notebook> <200305081559.36464.roy@karlsbakk.net> <00e101c3156d$b6ce5560$6501a8c0@notebook> Message-ID: <20030509115503.A11911@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter, your sincere and realistic support of the Nagios project, the clear rationale you have given for your work and comment on some of your words. On Thu, May 08, 2003 at 10:25:42AM -0400, Tim Shouldice wrote: > Roy: > > In my professional job, I code about 90% of the time in Perl on Unix. When looking at the best tool to approach to develop this service for NT > I went through the following thoughts. > > Coding on Windows is a horrible task, coding a service is even worse, given that how can I make it as painless as possible? > > Perl would be nice, however requiring NT admins to install Perl on their boxes is sometimes hard, some NT admins believe WSH is all > they'll ever need and think Perl is something they buy at a jewelry > store. Yep. Same here. Not all Windows admins are dills but quite a few are happy to only point-and-click. (Those here wouldn't even code in wsh. Excel macros if you are lucky). > > C++ requires either Visual Studio or C++ builder. Hell will freeze over before I buy a product from MS. > Unfortunately, it is a fact of life for committed Open Source developers. Those wanting free Win binaries are not those who usually pay for the MS OS, or have any idea about the MS way of development. It is not generally recognised that all the development tools that are taken for granted in a GNU installation are absent on the MS platform and have to be obtained. In many cases, this means paid for by the developer. There are companies (MKS for example) that actually make money out of porting Unix tools to MS platforms. (I'd use Cygwin I think). > Buy C++ builder and start from scratch or Delphi and build on what was already done. > > Building on what is already done was easier and Pascal isn't a hard language to work in, if find it easier than C and C++. > Although this is the first time I've coded in Pascal in over a dozen > years. > To my way of thinking, you are the one doing the work, and you can code in whatever language you choose. If you chose Forth, Cobol or Lisp it wouldn't be a big deal to me. > For non-commercial use (and I believe writing GPL code is non-commercial), Delphi only costs a hundred bucks, a pretty decent deal to me. > > /Tim > Finally, you may want to consider adopting Tobi Oetikers approach and encouraging those who use your work to share the costs of developing under MS Win. MS Visual Studio is not a cheap product. Those advocating its use should bear in mind that while the binary they use may be free to them, it may cost you (in Australia) considerably. The RRD way is for those who benefit from the work to think about buying Tobi a CD off his Amazon CD/DVD wish list. I think you are making a great effort to enhance the usability and prestige of Nagios, and should I need nsclient, I will certainly contribute to your costs. Since my coding skills are minimal or nonexistent, I am happy to contribute cash to superior Open Source Software such as Perl, Ntop and Nagios. I love this software enough to give something for it; to be conscious all the time of the blood sweat and tears that accompanies such massive projects; and to be very very grateful that they are giving me not only something that makes things easier for me, but that in a small way I enjoy also. Thank you, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 9 04:01:51 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 9 May 2003 12:01:51 +1000 Subject: NSClient 1.0.8.0 Released In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCC5C@eentsvr40.ehvert.com>; from dbishop@ehvert.com on Thu, May 08, 2003 at 11:23:14AM -0400 References: <2E3E9736615DD311895D00105A9CADED014BCC5C@eentsvr40.ehvert.com> Message-ID: <20030509120150.C11911@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your words about this matter and compliment you on your approach. This is a very clear description of a Nag approach to the FAQ of 'how do I monitor NT event logs ?'. On Thu, May 08, 2003 at 11:23:14AM -0400, Dean Bishop wrote: > Good morning, > > I just had to set up a site with nagios monitoring eventlogs on > windows servers. I did this by installing the BackLog service on each of > the windows servers configured to send all events to the nagios box. Backlog is now known as Snare. > The > nagios box acted as a syslog server. I then configured swatch to watch for > specific things (e.g. certain events AND certain servername). Upon finding > such an instance in the syslog file swatch executed a perl script which > formatted the event message, added the rest of the items necessary for a > nagios external command, and then pushed it into the nagios external command > file. > > This hogs resources on the nagios box. It would be more efficient to let > the windows servers watch for events in their own logs and then only fire > pre-formatted events at the nagios server. This would effectively > distribute the load. > > Later, > dean > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 9 04:20:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 08 May 2003 22:20:22 -0400 (EDT) Subject: help In-Reply-To: <002d01c3159f$1da93e40$6401a8c0@mghome> References: <002d01c3159f$1da93e40$6401a8c0@mghome> Message-ID: Sorry - cannot read html email On Thu, 8 May 2003, Anonymous Writer wrote: > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Thu May 8 22:49:02 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 8 May 2003 16:49:02 -0400 Subject: RedHat 9 Upgrade References: <97D0DDFA3C2F5B44AAC0960B99E96213019185@VMX.gilatla.com> Message-ID: <02c701c315a3$41e95890$f805ff0a@tekniq> That ps output looks pretty normal to me. You could be getting a connection refused for a number of reasons, what do your http error logs say? Perhaps go through the "web interface" setup portion of nagios again. Maybe rh9 install overwrote something you needed... like .htaccess support or a similar option. -Jason ----- Original Message ----- From: Devon Harding - GTHLA To: 'nagios-users at lists.sourceforge.net' Sent: Thursday, May 08, 2003 11:10 Subject: [Nagios-users] RedHat 9 Upgrade I just upgraded from RedHat 7.2 to RH9 and now my nagios services look like this: nagios 25800 0.0 0.2 2348 1344 ? S 10:55 0:00 [nagios] nagios 25801 0.2 0.0 1388 504 ? S 10:55 0:00 /usr/local/nagios/libexec/check_ping 10.117.1.111 -w 25,10% -c 60,100 nagios 25802 0.0 0.0 1528 452 ? S 10:55 0:00 [ping] And when I go to the url, I get 'connection refused' on the cgi's _____________________ Devon Harding System Administrator Gilat Latin America 954-858-1600 dharding at gilatla.com This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri May 9 04:24:03 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 08 May 2003 22:24:03 -0400 (EDT) Subject: Only want to be notified if a service/host fails check twice? In-Reply-To: <20030508192733.3588.qmail@pod-163.dolphin-server.co.uk> References: <20030508192733.3588.qmail@pod-163.dolphin-server.co.uk> Message-ID: On 8 May 2003, ekool wrote: > > Is this possible? > > For example: > > SMTP server is full and fails at first 5 minute interval check.... > rather then notify now, check happens again in 5 minutes, if it fails > the 2nd time then a page is dispatched? > > Possible? > > Look at the definition of the retry paramter in the service definition and the concept of hard and soft states in the docs. -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Fri May 9 05:20:07 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 8 May 2003 23:20:07 -0400 Subject: [Nagios-users] distributed monitoring/central server performance problems In-Reply-To: <025c01c31590$3227d110$f805ff0a@tekniq> References: <025c01c31590$3227d110$f805ff0a@tekniq> Message-ID: <000d01c315d9$e7c6d540$6101a8c0@acid> Most of what I said below presumed Nagios was built with "smart" ocsp functionality built in. The more I think about this, "smart" ocsp functionality can only be accomplished with a separate daemon or process, exactly as I have done with the perl script that reads the ocsp log at given intervals and then forks them into multiple send_nsca processes. Otherwise, the general check process has to be drawn out exactly like I experienced. This might be a really good feature for Nagios 2.0. I cc'd this to nagios-devel for this very reason. As a follow-up to my last email, I attempted to execute each individual service (like the default ocsp command shell script on nagios.org) through send_nsca in the consolidated send_nsca daemon and everything worked quite well. I'm very satisfied with my results. The most efficient settings for my implementation seem to be parsing the ocsp.log every 3 seconds and then forking every 4000 bytes into a send_nsca process. If you have any questions about what I did please let me know. -Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Lancaster Sent: Thursday, May 08, 2003 14:33 To: Ethan Galstad; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] distributed monitoring/central server performance problems Ethan and list, I agree the check command interval I was using may not have been the most efficient and I likely would have eventually seen a problem on the central server parsing these external commands. After making my first post, I realized my issue is with regards to how Nagios manages an outgoing ocsp command in Nagios. I came to the assumption above by experiencing the following: In my "non-distributed" test environment, I have 2683 service checks. I'm using OCSP with ocsp_timeout=3. This OCSP does not go to any other systems, it is just a simple echo, "echo $1 $2 $3 $4 >> ocsp.log." Looking at the webpage and the status.log, things are updating within a 10-15 minute interval. This is the behavior I expect and works quite well. Complicate this echo with a slightly longer to execute command by adding a "sleep 3" into the mix and I start having problems. Service and host update intervals go from approximately 10 minutes to 15, to 20, to 30... to never getting updated. The system stops executing active checks of any type, including freshness. Nagios becomes useless at this point. If I comment my sleep line out at this point, Nagios begins to sync back to it's normal 10 minute intervals. I don't know where the problem lies, it very well could be the way I have Nagios configured. Personally, I theorize this is due to how Nagios decides to manage it's ocsp commands, perhaps if one ocsp command takes a long time to execute Nagios thinks that everything needs more execution time. I don't know much about C and I don't know the source well, but I'm more than willing to work with anyone who wants more information on this issue. I've pretty much given up on handling any advanced ocsp methods within Nagios and made Nagios execute the ocsp command as quickly as possible using a simple bash echo script a fifo. I have to keep in mind important factors Ethan discussed with his last reply, therefore I'm sending consolidated nsca results at 10 second intervals. This could be lowered to make the consolidated NSCA parser send each service result through NSCA (just like the default ocsp behavior of Nagios in a distributed environment). This may in fact work. I have yet to test it but I think I will soon. Thanks, Jason ----- Original Message ----- From: "Ethan Galstad" To: Sent: Tuesday, May 06, 2003 19:24 Subject: RE: [Nagios-users] distributed monitoring/central server performance problems > NSCA may be to blame (consolidated transmits would help), but it is > more likely that you are experiencing a bottleneck with the external > command file. This file is implemented as a named pipe, which (under > Linux) has a size of 4K. If one external command for a passive check > is ~100 byes, that means you can fit about 40 passive checks into the > pipe before it fills up. Your config snippet indicates that you are > checking for external commands every 30 seconds. That's way too long > of an interval - Nagios will only process ~1.5 passive checks per > second at that rate (you've got ~10 per second incoming). Try > setting the command check interval to 3 seconds (or -1) and see if > that helps. > > Nagios 2.0 should be able to handle this much better than 1.0, as > I've written in a dedicated thread that continuously reads from the > command file and buffers the input for later handling. By default, > this should allow you to handle ~512+ passive checks per command > check interval. > > > On 6 May 2003 at 1:13, Jason Lancaster wrote: > > > Sg, > > Thanks for the input on this... I believe what I've run into is a > > bottleneck with send_nsca and the general ocsp command. 3200 services > > all using separate send_nsca commands on an average check_interval of > > 5 minutes makes for a very crazy system; almost 10 incoming/outgoing > > nsca connections a second. > > > > I've tested this theory by disabling the oscp command and using > > simpler commands (such as an echo to a log file) with success. > > > > I'm going to write an nsca "sweeper" tomorrow and see how sending > > increments of the oscp commands (50 at a time, 100 at a time, etc) > > through a single nsca connection to the central server are processed. > > > > I'll keep posting and be sure to let everyone know if I solve it. > > > > -Jason > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > Subhendu Ghosh Sent: Monday, May 05, 2003 17:26 To: > > nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] > > distributed monitoring/central server performance problems > > > > Is there any way for you run a debugging version of Nagios (DEBUG3) > > and/or strace.. > > > > -sg > > > > On Mon, 5 May 2003, Jason Lancaster wrote: > > > > > Hi everyone, > > > I have somewhat of an update on this situation. I've been able to > > > get similar results in a non-distributed environment. It may not or > > > may > > not give > > > anyone ideas but it does simplify the situation. > > > > > > Current server: Dual p3 1.2 ghz, 1gb ram, redhat 7.3, nagios 1.0 > > > Approx 2600 services, 313 hosts. 2324 passive checks sent through > > > nsca and written to external commands > > file. > > > 359 active service checks. > > > Uses cfg file posted previously. > > > > > > Host/Service status does not update regularly. All services are > > > setup > > to > > > update within 5 minute periods, but there are results still pending > > for > > > checks made over 45 minutes ago. Stale checks are attempted once but > > then > > > Nagios becomes so bogged that it can't process anything. This is > > reflected > > > in the web interface as well as the status.log. > > > > > > If anyone uses Nagios in a similar large-scale environment, I'd > > > really appreciate some input. > > > > > > Thanks, > > > Jason > > > > > > ----- Original Message ----- > > > From: "Jason Lancaster" > > > To: > > > Sent: Friday, May 02, 2003 19:54 > > > Subject: [Nagios-users] distributed monitoring/central server > > performance > > > problems > > > > > > > > > > A simple background of my environment: > > > > My central server is receiving external commands from 3 monitoring > > > servers. > > > > I have just over 3200 services monitored, all delivered to the > > central > > > > server through NSCA. Everything works perfect until the Nagios > > process on > > > > the central server attempts to parse the external commands. > > > > > > > > When first started, Nagios updates status information (alerts) > > quickly but > > > > as time goes on, status updates (alerts) are parsed slower and > > slower > > > until > > > > eventually, nothing happens and only external commands are > > > > written. > > This > > > > cripples nagios and since it is not executing local alerts or > > > > status updates, it never executes stale_check's or sends out > > > > notifications. > > I'm > > > > left with a webpage that displays results anywhere from 6 hours > > > > ago > > to > > > about > > > > 15 minutes ago. The odd thing about this is the behavior is > > completely > > > > unpredictable, although it sometimes seems like it gives an > > alphabetical > > > > priority to the first few letters in the alphabet. > > > > > > > > If the above confuses you, perhaps a snip from the log might help: > > > > [1051917099] EXTERNAL COMMAND: > > > > PROCESS_SERVICE_CHECK_RESULT;hostname.domain.com;PING;0;PING OK - > > Packet > > > > loss = 0%, RTA = 0.80 ms > > > > **repeat external command lines hundreds of times, with the > > following line > > > > below happening about 20-30 minutes after the external command** > > > > [1051917099] SERVICE ALERT: hostname.domain.com;PING;OK;HARD;1;OK > > > > - > > Packet > > > > loss = 0%, RTA = 0.80 ms > > > > > > > > The central server is far from being overworked with a load > > > > average > > of > > > 0.04 > > > > and both cpu's average about 96% idle. I can in no way attribute > > this > > > > behavior to the hardware on my central system. > > > > > > > > I've gone thought the nagios configuration file and tried almost > > every > > > > combination of tweaks including: aggregate updates, aggressive > > checking, > > > > orphaned services, inter_check_delay_methods, > > service_interleave_factors, > > > > setting up a ramdisk, etc. I've found the *best* settings seem to > > > > be > > the > > > > "smart" methods but they are FAR from perfect. Nagios still is > > overrun > > > with > > > > the external commands. > > > > > > > > I know there have to people who have successfully implemented > > > > Nagios > > in a > > > > large distributed environment and I'm hoping some of you might > > > > speak > > up > > > > about issues you may have had. > > > > > > > > I believe this problem has to do with Nagios and my guess is it's > > either a > > > > performance option available in the nagios.cfg or it's something I > > have to > > > > rewrite/set in the source. I've tried most nagios.cfg options > > available > > > with > > > > no luck. I've attached my nagios.cfg just in case someone notices > > > > a > > > blatant > > > > error (I know everything here is not the most efficient, it's just > > what my > > > > latest "test" used) > > > > > > > > Thanks for your time and sorry for the long explanation! > > > > > > > > Jason Lancaster > > > > Intranet Administrator, Affinity Internet > > > > (954) 334-8203 > > > > > > > > check_external_commands=1 > > > > command_check_interval=30s > > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > > comment_file=/usr/local/nagios/var/comment.log > > > > downtime_file=/usr/local/nagios/var/downtime.log > > > > lock_file=/usr/local/nagios/var/nagios.lock > > > > temp_file=/usr/local/nagios/var/nagios.tmp > > > > log_rotation_method=d > > > > log_archive_path=/usr/local/nagios/var/archives > > > > use_syslog=0 > > > > log_notifications=1 > > > > log_service_retries=1 > > > > log_host_retries=1 > > > > log_event_handlers=1 > > > > log_initial_states=1 > > > > log_external_commands=1 > > > > log_passive_service_checks=1 > > > > inter_check_delay_method=n > > > > service_interleave_factor=1 > > > > max_concurrent_checks=0 > > > > service_reaper_frequency=1 > > > > sleep_time=1 > > > > service_check_timeout=60 > > > > host_check_timeout=30 > > > > event_handler_timeout=30 > > > > notification_timeout=30 > > > > ocsp_timeout=5 > > > > perfdata_timeout=5 > > > > retain_state_information=1 > > > > state_retention_file=/usr/local/nagios/var/status.sav > > > > retention_update_interval=0 > > > > use_retained_program_state=0 > > > > interval_length=60 > > > > use_agressive_host_checking=0 > > > > execute_service_checks=1 > > > > accept_passive_service_checks=1 > > > > enable_notifications=1 > > > > enable_event_handlers=1 > > > > process_performance_data=0 > > > > obsess_over_services=0 > > > > check_for_orphaned_services=1 > > > > check_service_freshness=1 > > > > freshness_check_interval=600 > > > > aggregate_status_updates=1 > > > > status_update_interval=20 > > > > enable_flap_detection=0 > > > > low_service_flap_threshold=5.0 > > > > high_service_flap_threshold=20.0 > > > > low_host_flap_threshold=5.0 > > > > high_host_flap_threshold=20.0 > > > > date_format=us ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com From karl at debisschop.net Fri May 9 05:07:38 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 08 May 2003 23:07:38 -0400 Subject: check_snmp timeout In-Reply-To: <1052350211.934.22.camel@miles.debisschop.net> References: <3EB8B3CE.70908@etsetb.upc.es> <3EB8C4CB.3000606@datavis.se> <1052303765.20500.3.camel@miles.debisschop.net> <3EB91BCB.9010909@etsetb.upc.es> <1052350211.934.22.camel@miles.debisschop.net> Message-ID: <1052449658.1444.1.camel@miles.debisschop.net> On Wed, 2003-05-07 at 19:30, Karl DeBisschop wrote: > On Wed, 2003-05-07 at 10:44, Francesc Guasch wrote: > > Karl DeBisschop wrote: > > > On Wed, 2003-05-07 at 04:33, Fredrik W?nglund wrote: > > > > > >>Yes I found this myself a week ago. Here's the answer: > > >> > > >>Subhendu Ghosh wrote: > > >> > > >>This is a bug - > > >> > > >>http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 > > > > > Back on 9 Feb I asked for reports onhistorical support of the -t switch I have patched CVs HEAD and the r130 brach for this bug. If some of the people affected by this bug tested it out before we roll up a 1.3.x bug-fix release, that would be very much appreciated. -- Karl ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spstarr at sh0n.net Fri May 9 05:13:39 2003 From: spstarr at sh0n.net (Shawn Starr) Date: Thu, 8 May 2003 23:13:39 -0400 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: References: Message-ID: <002001c315d8$fdcaee40$030aa8c0@panic> Why not rewrite it using Cygwin, a free compiler and libraries what else do you need? ;-) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Darren Harrison Sent: Thursday, May 08, 2003 4:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Thanks Roy, That was quite a humourous comment you made that you think "Pascal is a dead language". I've heard this comment before about other programming languages like Perl, LabVIEW, Pascal, Cobol ... the list goes on. And really the comment only shows how unaware the person is of the often thriving developer communities. If you head to Borland.com you might find that "Pascal" (in the form of Delphi of course) is going really well, has been ported to Linux (as the ultimate Linux programming IDE called Kylix), and is heading toward .Net. (that's a full stop - they didn't change the name again... ;-) And on Kylix and Delphi, Borland have created "Personal Editions" which you can download for free and use to create GPL programmes - so you don't have to buy anything and you still get one of (if not the) best IDE's around (on top of one of the best languages - IMHO). The last thing kind of isn't much to do with Delphi, but shows how good the Borland guys are.... The framework that Delphi/C++ Builder was originally built on is called VCL. This recently changed to CLX and is an awesome framework for building programmes. In a completely uninformed opinion, but it looks to me like Microsoft's .Net looks a lot like CLX. I heard they bought one of the VCL people and I wouldn't be surprised if they "copied" the best of CLX. So the Borland ideas & products don't seem to be disappearing in a hurry. Darren. ----- Forwarded by Darren Harrison/GGL on 09/05/2003 08:25 ----- > > Message: 3 > From: Roy Sigurd Karlsbakk > My point exactly. I don't want to buy any software to change the > product! > Still: > Pascal is a dead language. It'll be harder and harder to find people to=20 > maintain the source. This piece of software will probably be rewritten > pr = > etty=20 > soon anyway, so why not now? > > roy > > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 9801 3356 > > Computers are like air conditioners. > They stop working when you open Windows. ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 9 06:36:39 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 9 May 2003 14:36:39 +1000 Subject: Passive and active checks In-Reply-To: <5.1.0.14.0.20030508113246.00b88b08@pop.icnet.com.ve>; from jbautista@icnet.com.ve on Thu, May 08, 2003 at 11:34:42AM -0400 References: <5.1.0.14.0.20030508113246.00b88b08@pop.icnet.com.ve> Message-ID: <20030509143637.E11911@IPAustralia.Gov.AU> Dear Sir, On Thu, May 08, 2003 at 11:34:42AM -0400, Jeyri Bautista wrote: > Hi, > > I want to know what is the difference between an active and passive checks. > Does http://nagios.sourceforge.net/docs/1_0/passivechecks.html help. You won't be happy with Nagios _without_ reading and trying to understand the superb docco. The concepts are simple but if you don't know them you lose. > Thanks > > jeyri Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 9 07:46:47 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 9 May 2003 15:46:47 +1000 Subject: OT Advocacy. Superb Nag propoganda in Message-ID: <20030509154645.F11911@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I found myself reading the Nag propoganda section and in particular this masterpiece by Herr Dietmar Ruzicka, http://www.linux-magazine.com/issue/29/Nagios.pdf It is a superb introduction and overview of Nagios. You may find it suitable for . an attractive overview of Nag concepts and principles . an abstract for PHBs (including the Salt mine case study) . a simply lovely brochure of Nag capabilities. This is a beautiful piece of work and I thank the author for it. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende=ZTFiZD7SMYs at public.gmane.org Fri May 9 08:57:23 2003 From: Tom.DeBlende=ZTFiZD7SMYs at public.gmane.org (Tom DE BLENDE) Date: Fri, 09 May 2003 08:57:23 +0200 Subject: Service Pending state In-Reply-To: References: Message-ID: <3EBB5153.5080600@dhl.com> Daniel nagios wrote: > Hi there, > > Is there a way to force the services back into the pending state? Why on earth would you want to do that? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri May 9 08:56:45 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 09 May 2003 08:56:45 +0200 Subject: nsclient 1.0.7.1 vs 1.0.8.0 In-Reply-To: <3EBA8464.10101@kisters.com> References: <3EBA8464.10101@kisters.com> Message-ID: <3EBB512D.3040202@dhl.com> Ralf Mellis wrote: > Looking into the eventlog of the servers, there is the entry > "NSClient Error: The CPU Processor counter seems to be corrupted, all > CPU values will be reported as 0." > which corresponds to the above given result. If you check out http://support.tsmgsoftware.com/viewtopic.php?t=4 you will see the small changelog. One of the things they changed was the way corrupt CPU counters are reported and handeled. So you have a problem that has nothing to do with NSClient, only NSCLient handles it differently in the new version. > I have searched the ms kb and google down and under, but at this time I > have not found a possibility to restore these d*mn*d broken counters... > > Perhaps another one has... > > What makes me crazy is the fact that the ms performance monitor has > absolutely no difficulties to process _all_ indicators related to the > processor object... That is strange indeed. Rebooted the box already? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tero.kokko at claymountain.com Fri May 9 09:17:59 2003 From: tero.kokko at claymountain.com (Tero Kokko) Date: Fri, 9 May 2003 10:17:59 +0300 (EEST) Subject: Notications out of timeperiods Message-ID: <64582.62.142.228.62.1052464679.squirrel@www.claymountain.com> Has anyone worked out a way how you could send notifications when timeperiod starts that has not been send cause when alert occured it was out of timeperiod? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri May 9 08:53:37 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 09 May 2003 08:53:37 +0200 Subject: Passive servicecheck on NT In-Reply-To: <3EBA80C5.3050303@kisters.com> References: <116472F1372AD3118BF20008C791626C0BDE0188@DLH00EM1> <3EBA66B6.3070100@dhl.com> <3EBA80C5.3050303@kisters.com> Message-ID: <3EBB5071.1040008@dhl.com> Ralf Mellis wrote: > My question: Could you please provide us with the services and command > definitions for the nagios host which are correlated to the citrix wsh > script? As it is a passive service check, you don't need a command definition. Please read http://nagios.sourceforge.net/docs/1_0/passivechecks.html for a better understanding. I then use this template: # Citrix Logins definition template define service{ name Citrix-Logins service_description Citrix Logins active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 notification_interval 600 notification_period 24x7 check_period none notification_options n contact_groups frango-admins check_command check_ping register 0 } And for every host I want to monitor, I have an entry like this: # Service definition define service{ use Citrix-Logins host_name citrixbox } Hope this clarifies things. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri May 9 09:16:39 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 09 May 2003 09:16:39 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: <20030509115503.A11911@IPAustralia.Gov.AU> References: <3EBA2159.9060104@kisters.com> <009d01c31567$d4c98fe0$6501a8c0@notebook> <200305081559.36464.roy@karlsbakk.net> <00e101c3156d$b6ce5560$6501a8c0@notebook> <20030509115503.A11911@IPAustralia.Gov.AU> Message-ID: <3EBB55D7.8070304@dhl.com> Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter, your sincere and realistic > support of the Nagios project, the clear rationale you have given for > your work and comment on some of your words. Amen. It's a good thing to see NSClient has come to live again! Keep on the good work. > On Thu, May 08, 2003 at 10:25:42AM -0400, Tim Shouldice wrote: >>Coding on Windows is a horrible task, coding a service is even worse, given that how can I make it as painless as possible? >> >>Perl would be nice, however requiring NT admins to install Perl on their boxes is sometimes hard, some NT admins believe WSH is all >>they'll ever need and think Perl is something they buy at a jewelry >>store. > > > Yep. Same here. Not all Windows admins are dills but quite a few are > happy to only point-and-click. (Those here wouldn't even code in wsh. > Excel macros if you are lucky). I'm a Windows admin for around 60% of my time here. And to tell you the truth, I'm very reluctant to install Active Perl on all of our Windows boxes just to be able to use a new version of NSClient. Not that I don't trust Perl to do the job, but it's just too much of a hassle and a lot of work. > To my way of thinking, you are the one doing the work, and you can code > in whatever language you choose. True. But still, it must be something easy to use and to deploy in large environments. And then the only option is using a binary, the way it is done now. Kind regards, Tom ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Nilsen=CTZd5mIhmqMAvxtiuMwx3w at public.gmane.org Fri May 9 10:16:35 2003 From: Thomas.Nilsen=CTZd5mIhmqMAvxtiuMwx3w at public.gmane.org (Thomas Nilsen) Date: Fri, 9 May 2003 10:16:35 +0200 Subject: Patches for check_mailq to support postfix Message-ID: Hope this might be of interest to others. I've added postfix support for the check_mailq plugin. The postfix entry will only give info on total number of messages in the queue... A tar archive of the changed plugin as well as a diff file (run against nagios-plugins 200303061000) 1.2) can be found on http://home.broadpark.no/~tnilsen-1/check_mailq.tar or as individual files: http://home.broadpark.no/~tnilsen-1/check_mailq http://home.broadpark.no/~tnilsen-1/check_mailq.diff Regards, Thomas Nilsen Svg Support Tel: +47 51 81 01 30 - Mob: +47 916 98 229 DISCLAIMER: This message contains information that may be privileged or confidential and is the property of the Roxar Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankie at etsetb.upc.es Fri May 9 09:50:52 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Fri, 09 May 2003 09:50:52 +0200 Subject: RedHat 9 Upgrade In-Reply-To: <02c701c315a3$41e95890$f805ff0a@tekniq> References: <97D0DDFA3C2F5B44AAC0960B99E96213019185@VMX.gilatla.com> <02c701c315a3$41e95890$f805ff0a@tekniq> Message-ID: <3EBB5DDC.30205@etsetb.upc.es> Jason Lancaster wrote: > That ps output looks pretty normal to me. I had to change cgi.cfg so it finds well the name of the daemon. Change the last item of the line : instead /usr/sbin/nagios , do [nagios] nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 '[nagios]' ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri May 9 10:13:36 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 09 May 2003 10:13:36 +0200 Subject: Notications out of timeperiods In-Reply-To: <64582.62.142.228.62.1052464679.squirrel@www.claymountain.com> References: <64582.62.142.228.62.1052464679.squirrel@www.claymountain.com> Message-ID: <3EBB6330.4060509@dhl.com> Now why on earth would you want to do that? Doesn't that kind of undermine the use of a time period? Tero Kokko wrote: > Has anyone worked out a way how you could send notifications when > timeperiod starts that has not been send cause when alert occured it was > out of timeperiod? > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Fri May 9 10:33:39 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Fri, 9 May 2003 10:33:39 +0200 Subject: cgi execution Message-ID: <003101c31605$b13453f0$520101c0@TECMSEISDEDOS> When i click the ?Performance info? link in the index frame of nagios page, i get some information about performance, but when i click the ?Scheduling queue? or ?process info? i get: ?It appears as though you do not have permission to view process information... 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.? Both links execute the same command: /nagios/cgi-bin/extinfo.cgi?&type=3 /nagios/cgi-bin/extinfo.cgi?&type=7 why can i execute the cgi with one argumnet and can?t i with the other? I configure the /usr/local/nagios/sbin directory in my apache conf as the nagios manual points out. AllowOverride AuthConfig Order deny,allow Deny from all Allow from 192.1.1 Options ExecCGI ________________________________________________________________________ _____________________________________________ Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Fri May 9 10:36:14 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 09 May 2003 10:36:14 +0200 Subject: Notications out of timeperiods In-Reply-To: <62358.62.142.228.62.1052469596.squirrel@www.claymountain.com> References: <64582.62.142.228.62.1052464679.squirrel@www.claymountain.com> <3EBB6330.4060509@dhl.com> <62358.62.142.228.62.1052469596.squirrel@www.claymountain.com> Message-ID: <3EBB687E.3060101@dhl.com> Aha. Couldn't you just use the notification_interval directive to keep on re-notifying until the time period is over? Or send the SMS warnings to a script that queues the messages until a certain time? Tero Kokko wrote: > Im now of course talking about notification timeperiods. The situation > where I would like to have this is when Im sending out notifications with > sms-messages, I dont want to send them during the night time when people > are sleeping, but if something went down during night I would like them > to know it as first thing when its their time to wake up again. > Currently if something goes down, Nagios just skips the alert for that > and will send recovery alert when its back up if that happens on > timeperiod. > > Tom DE BLENDE kirjoitti: > >>Now why on earth would you want to do that? Doesn't that kind of >>undermine the use of a time period? >> >>Tero Kokko wrote: >> >>> Has anyone worked out a way how you could send notifications when >>>timeperiod starts that has not been send cause when alert occured it >>>was out of timeperiod? > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peikko at iki.fi Fri May 9 10:40:56 2003 From: peikko at iki.fi (Tero Kokko) Date: Fri, 9 May 2003 11:40:56 +0300 (EEST) Subject: Notications out of timeperiods] Message-ID: <62361.62.142.228.62.1052469656.squirrel@www.claymountain.com> Im now of course talking about notification timeperiods. The situation where I would like to have this is when Im sending out notifications with sms-messages, I dont want to send them during the night time when people are sleeping, but if something went down during night I would like them to know it as first thing when its their time to wake up again. Currently if something goes down, Nagios just skips the alert for that and will send recovery alert when its back up if that happens on timeperiod. Tom DE BLENDE kirjoitti: > Now why on earth would you want to do that? Doesn't that kind of > undermine the use of a time period? > > Tero Kokko wrote: >> Has anyone worked out a way how you could send notifications when >> timeperiod starts that has not been send cause when alert occured it >> was out of timeperiod? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peikko at iki.fi Fri May 9 10:56:20 2003 From: peikko at iki.fi (Tero Kokko) Date: Fri, 9 May 2003 11:56:20 +0300 (EEST) Subject: Notications out of timeperiods In-Reply-To: <3EBB687E.3060101@dhl.com> References: <64582.62.142.228.62.1052464679.squirrel@www.claymountain.com> <3EBB6330.4060509@dhl.com> <62358.62.142.228.62.1052469596.squirrel@www.claymountain.com> <3EBB687E.3060101@dhl.com> Message-ID: <62884.62.142.228.62.1052470580.squirrel@www.claymountain.com> Actually yes. The solutions is found using notification_interval with service_escalations. Using both results one notification to be sent out when its on the timeperiod. Thanks Tom for the idea :) Tom DE BLENDE kirjoitti: > Aha. Couldn't you just use the notification_interval directive to keep > on re-notifying until the time period is over? Or send the SMS > warnings to a script that queues the messages until a certain time? > > Tero Kokko wrote: >> Im now of course talking about notification timeperiods. The >> situation >> where I would like to have this is when Im sending out notifications >> with sms-messages, I dont want to send them during the night time when >> people are sleeping, but if something went down during night I would >> like them to know it as first thing when its their time to wake up >> again. >> Currently if something goes down, Nagios just skips the alert for >> that >> and will send recovery alert when its back up if that happens on >> timeperiod. >> >> Tom DE BLENDE kirjoitti: >> >>>Now why on earth would you want to do that? Doesn't that kind of >>> undermine the use of a time period? >>> >>>Tero Kokko wrote: >>> >>>> Has anyone worked out a way how you could send notifications when >>>>timeperiod starts that has not been send cause when alert occured it >>>> was out of timeperiod? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Fri May 9 11:37:36 2003 From: testrm at kisters.com (Ralf Mellis) Date: Fri, 09 May 2003 11:37:36 +0200 Subject: nsclient 1.0.7.1 vs 1.0.8.0 In-Reply-To: <3EBB512D.3040202@dhl.com> References: <3EBA8464.10101@kisters.com> <3EBB512D.3040202@dhl.com> Message-ID: <3EBB76E0.9090104@kisters.com> Tom DE BLENDE wrote: > > > Ralf Mellis wrote: > >> Looking into the eventlog of the servers, there is the entry >> "NSClient Error: The CPU Processor counter seems to be corrupted, all >> CPU values will be reported as 0." >> which corresponds to the above given result. > > > If you check out http://support.tsmgsoftware.com/viewtopic.php?t=4 you > will see the small changelog. One of the things they changed was the way > corrupt CPU counters are reported and handeled. So you have a problem > that has nothing to do with NSClient, only NSCLient handles it > differently in the new version. > Oh, I know that the problem is the w2k host, not nsclient. I only wanted to expose the differences between the two versions of nsclient in behaviour regarding corrupted counters. It may be from interest for the admins, who are upgrading (and not have "found" the small changelog, because of the difficulties with the tsmg server). >> ... >> What makes me crazy is the fact that the ms performance monitor has >> absolutely no difficulties to process _all_ indicators related to the >> processor object... > That is strange indeed. Rebooted the box already? > Once? Since I'm trying to "restore" these counters (two weeks or so), I have rebooted the server approximately 10 to 15 times... You say "strange"? Is it so, that when the nsclient reports "corrupted counters" the ms performance tool should complain about these also? IMHO this would be very logical, but de facto it's ms... -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 9 11:46:44 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 9 May 2003 19:46:44 +1000 Subject: Was: NSClient 1.0.8.0 Released Now: Monitoring NT event logs with Snare/Backlog, Swatch and passive checks. In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCC5C@eentsvr40.ehvert.com>; from dbishop@ehvert.com on Thu, May 08, 2003 at 11:23:14AM -0400 References: <2E3E9736615DD311895D00105A9CADED014BCC5C@eentsvr40.ehvert.com> Message-ID: <20030509194641.B226@IPAustralia.Gov.AU> Dear Sir, You may wish to submit a Nag FAQ about this clever and effective way of monitoring NT event logs. On Thu, May 08, 2003 at 11:23:14AM -0400, Dean Bishop wrote: > Good morning, > > I just had to set up a site with nagios monitoring eventlogs on > windows servers. I did this by installing the BackLog service on each of > the windows servers configured to send all events to the nagios box. The > nagios box acted as a syslog server. I then configured swatch to watch for > specific things (e.g. certain events AND certain servername). Upon finding > such an instance in the syslog file swatch executed a perl script which > formatted the event message, added the rest of the items necessary for a > nagios external command, and then pushed it into the nagios external command > file. > > dean > I take your point about scalability although surely swatch doesn't use much does it ? Is the problem with Swatch/Perl, or Nag being hammered via the command queue. If that is the case you may be interested in the performance enhancements planned for Nag 2.0); otherwise, it may be possible to turbo charge swatch by embedding a Perl interpreter in a C program (and have that execute the Swatch logic). Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at netservers.co.uk Fri May 9 12:11:58 2003 From: chris at netservers.co.uk (Chris Wilson) Date: Fri, 9 May 2003 11:11:58 +0100 (BST) Subject: Notications out of timeperiods] In-Reply-To: <62361.62.142.228.62.1052469656.squirrel@www.claymountain.com> References: <62361.62.142.228.62.1052469656.squirrel@www.claymountain.com> Message-ID: Hi Tero (and fellow Nagios users), > Im now of course talking about notification timeperiods. The situation > where I would like to have this is when Im sending out notifications > with sms-messages, I dont want to send them during the night time when > people are sleeping, but if something went down during night I would > like them to know it as first thing when its their time to wake up > again. > Currently if something goes down, Nagios just skips the alert for that > and will send recovery alert when its back up if that happens on > timeperiod. I was thinking last night about aggregating notifications, since NANS appears to have vanished, and isn't quite what I want anyway. I was thinking that a sensible way to handle them might be to send the first notification immediately, but if another arrives within some timeperiod then it will be delayed until the end of that timeperiod, when all outstanding notifications could be sent together. The simple way to do this would be for Nagios to remember events and whether it has successfully sent a notification for them. It could also check the notification plugin for failure and keep trying until it succeeds. This would also help to solve your problem, since a notification out of timeperiod could be delayed until it was in timeperiod, rather than dropped completely. The alternative solution I came up with requires fewer changes to Nagios, and basically queues up events externally to Nagios (fed by a notify_command), but this requires either writing a daemon or using Cron to check the queue regularly; daemons are complex, and Cron jobs don't notify fast enough, so neither of these is perfect in my mind. What do others think? Should Nagios take responsibility for queueing events, or should it happen externally? Cheers, Chris. -- ___ __ _ / __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer | / (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk | \ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 | ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.Friis at idg.dk Fri May 9 12:37:08 2003 From: J.Friis at idg.dk (Jacob F Larsen) Date: Fri, 9 May 2003 12:37:08 +0200 Subject: If service fails, check ping before sending a notification Message-ID: Is it possible to do this: If a service fails, check if we can ping the host before sending a notification about every service. The reason is that one of our servers were unreachable this night, and we all got a message for every service about this. I know that I can set every service to be dependant on ping, but what if Nagios checks 4 services that fails before it discovers that ping has also failed? Regards / Venlig hilsen Jacob Friis Larsen IDG Danmark A/S | http://www.eksperten.dk ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri May 9 13:37:12 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 09 May 2003 13:37:12 +0200 Subject: If service fails, check ping before sending a notification References: Message-ID: <3EBB92E8.5000008@datavis.se> Is a service-check fails Nagios runs the host's check_command wich usually is a ping. /FredrikW Jacob F Larsen wrote: >Is it possible to do this: >If a service fails, check if we can ping the host before sending a >notification about every service. > >The reason is that one of our servers were unreachable this night, and we >all got a message for every service about this. > >I know that I can set every service to be dependant on ping, but what if >Nagios checks 4 services that fails before it discovers that ping has also >failed? > > >Regards / Venlig hilsen Jacob Friis Larsen >IDG Danmark A/S | http://www.eksperten.dk > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri May 9 13:36:17 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 9 May 2003 13:36:17 +0200 Subject: AW: Notification Problem on Escalations with yaps- 0.96 (parallelizing) In-Reply-To: <7E47A0E20913514C8F4CD1BC241A37030A456D@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A37030A456D@serv-075.icon-germany.local> Message-ID: <200305091336.17227.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 6. Mai 2003 14:31 schrieb Hagen Deike: Hi Hagen, thank you for the yaps-server, this was the right idea, but one more question: Which command have you defined for notifiing via sms? Tell me, how comes the notfication of nagios into the pipe? Here is my command: # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/yaps -t $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)" } # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/yaps -t $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)" } Thanks, Michael > Hi, > > For all of you having trouble by sending SMS to more that one with Yaps I > got a little script for you... > > "yaps-server" is a shell script that takes the requests from Nagios and > sends them one by one. > > ------------------------------------------------------- > Copy the script some where you like e.g. /usr/bin > > Create a pipe like discribed in the script ( /var/spool/nagios/yaps.cmd) > (This is the place where the Nagios commandfile is created on SuSE Linux) > > Make sure the yaps-server is allways started when Nagios starts. > (Add a few lines to the Nagios start/stop script) > > YAPS_SERVER=/usr/bin/yasp-server > PIDS=$(ps -auxw|grep $YAPS_SERVER | grep -v grep | awk "{printf(\"%d \", > \$2); }") > test -n "$PIDS" && kill -TERM $PIDS > su $USR -c "exec $YAPS_SERVER &" > > (This will probably only work with the start/stop script of the Nagios rpm > for SuSE. Anyway give it a try) > > Restart Nagios and look if the process is up and running > You can test it by typing following to the shell > > # echo "" "\"\"" > > /var/spool/nagios/yaps.cmd > > If it works, just change the configuration string in Nagios (command_line) > into the command you just entered... > That's it. > -------------------------------------------------------- > > I like to thank my collegue here for writing this small fine script. > > Regards, > Hagen Deike ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri May 9 14:07:08 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 9 May 2003 08:07:08 -0400 Subject: If service fails, check ping before sending a notification Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC60@eentsvr40.ehvert.com> Hmmm. This is how Nagios works. If a service goes from an OK state to a Non-OK state it immediately runs the check for the host (as defined in hosts.cfg). If the host check (commonly check-host-alive which is a ping check) returns an OK state, then the service in question is scheduled for a recheck at its defined retry interval. If the service is still in a Non-OK state after the service's defined max_check_attempts then notifications are sent. If the host check returns a Non-OK state, then the host check command is run at the highest priority (i.e. immediately and without interruption, interrupting normal scheduling). If, after the host's defined max_check_attempts, the host is still in a Non-OK state, then notifications for the host are sent and all services running on this host are rescheduled at their normal check interval but notifications for these services are suppressed. In other words, what you are describing is not the way Nagios works. How do have your services dependant on ping? Do the services have the unknown notification_option enabled? This shouldn't matter but maybe it does. A snippet from the configs and more info regarding the notifications would help. Later, dean -----Original Message----- From: Jacob F Larsen [mailto:J.Friis at idg.dk] Sent: May 9, 2003 6:37 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] If service fails, check ping before sending a notification Is it possible to do this: If a service fails, check if we can ping the host before sending a notification about every service. The reason is that one of our servers were unreachable this night, and we all got a message for every service about this. I know that I can set every service to be dependant on ping, but what if Nagios checks 4 services that fails before it discovers that ping has also failed? Regards / Venlig hilsen Jacob Friis Larsen IDG Danmark A/S | http://www.eksperten.dk ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri May 9 14:27:41 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 9 May 2003 08:27:41 -0400 Subject: NSClient 1.0.8.0 Released Now: Monitoring NT event logs with Snare/Backlog, Swatch and passive checks. Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC61@eentsvr40.ehvert.com> Good morning, I remember posting this to the list a while ago, I will go back and dig it up again and post to the FAQ. I have made a couple of minor changes since then. You are correct in that swatch doesn't really take much in the way of resources, but there are two other places where I see deficiencies in the plan. 1) The syslog file. This not so much in disk space since it can be cleared at any regular interval because it is used in near-real-time but rather in disk activity. I am running this on an old dual P-II 350 with a RAID 5 made of old slow disks and this can be overwhelming with 150 servers dumping every event to it. 2) network traffic. This could actually be considered three deficiencies because this setup increases the overall network traffic as well as the traffic emanating from the server and therefore stealing bandwidth from their NIC's. Not to mention the amount of traffic hitting the NIC on the Nagios server. Even if the filtering was done on the windows servers it would be a huge improvement. Then the only thing for the Nagios box to do is clean up and format the eventlog messages and send them to the external command file. This would solve both of the aforementioned deficiencies. As for the effect on Nagios' external command file, there is little. Most of the events are not important to the site (logon failures, print notifications, SMS errors, other bunk) so they never get formatted or sent to the external command file. I have, inadvertently sent all messages to the external command file and Nagios (I think I was still running a beta version) stood up well. There were roughly 3-5 events per second. Thank goodness for sendmail limits. Regards, dean -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: May 9, 2003 5:47 AM To: Dean Bishop Cc: nagios-users at lists.sourceforge.net Subject: Was: NSClient 1.0.8.0 Released Now: Monitoring NT event logs with Snare/Backlog, Swatch and passive checks. Dear Sir, You may wish to submit a Nag FAQ about this clever and effective way of monitoring NT event logs. On Thu, May 08, 2003 at 11:23:14AM -0400, Dean Bishop wrote: > Good morning, > > I just had to set up a site with nagios monitoring eventlogs on > windows servers. I did this by installing the BackLog service on each of > the windows servers configured to send all events to the nagios box. The > nagios box acted as a syslog server. I then configured swatch to watch for > specific things (e.g. certain events AND certain servername). Upon finding > such an instance in the syslog file swatch executed a perl script which > formatted the event message, added the rest of the items necessary for a > nagios external command, and then pushed it into the nagios external command > file. > > dean > I take your point about scalability although surely swatch doesn't use much does it ? Is the problem with Swatch/Perl, or Nag being hammered via the command queue. If that is the case you may be interested in the performance enhancements planned for Nag 2.0); otherwise, it may be possible to turbo charge swatch by embedding a Perl interpreter in a C program (and have that execute the Swatch logic). Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri May 9 14:30:36 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Fri, 9 May 2003 14:30:36 +0200 Subject: netsaint_statd won't start Message-ID: <200305091430.36326.Michael.Huettig@Medien-Systempartner.de> Hi, on several machines i have installed netsaint_statd, because python was not available / should not be installed. Today morning our Mail-Server (SuSE-Mail-Server II) was rebooted and netsaint_statd could not be started with error-message: Starting netsaint_statd Can't bind to socket: Address already in use Standard-Port is 1040, nmap and netstat -an don't show open port 1040, no perl is running. Starting on another port was succesfull but i don't want to reconfigure all the other servers and our nagios-server. Has someone a hint for me? Thanks Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Fri May 9 14:45:31 2003 From: jsm at inpro.net (Jeff McKeon) Date: 09 May 2003 08:45:31 -0400 Subject: Host service viewing permissions via authentication Message-ID: <1052484331.18447.4.camel@rh80-jsm.telaurus.net> I've got authentication turned on I've created a contact called "support" --snip-- # 'Support' contact definition define contact{ contact_name support alias Network Support service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r,u host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email support at foo.org --snip-- I've added the user to authentication using the htpasswd command and used the same name as in the contacts.cfg. when this user logs on, why can it see host and service details for hosts and services for which it is NOT a contact? -- Jeff McKeon ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Wirtgen at miwi-dv.com Fri May 9 14:27:40 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Fri, 9 May 2003 14:27:40 +0200 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B40B7E9D@ws_server.intern.westernsystems.de> Tim, List >> I run NSClient on servers provided my clients where I purchase my own development tools. Miracle solved, thanks :-) >>Monolithic vs. Module backwards compabillity is a valid point, haven't thought of this yet, just looked at it like "could be a plugin as well" for the checks I've seen. However, there may be some stuff, that can't be a plugin, as "permanent" monitoring is required. What I don't like is the idea of adding even more complexity into NSClient... >>For the future going to a NRPE type approach I think, we should look how to avoid any double work. I don't see any reason in implementing nrpe functionality for windows twice.... Immediately three scenarios come to my mind: a) npre on ux, nsclient with nrpe on windows, nrpe_nt (that's what I call my code currently...) on windows That's what I'd consider the worst case, as it would waste development time better spent on writing windows plugin or sitting at the beach ;-) c) npre on ux, nsclient with nrpe on windows, nrpe_nt discarded Not to much time wasted, and I'd offer a hand on your effort (haven't seen Delphi since 3.0 however...) b) npre on ux, nsclient w/o nrpe on windows, nrpe_nt on windows In that case, I'd suggest to focus nsclient on real "agent" stuff (Read: things that can't technically be plugins, as they need to register callbacks for events etc.). Also nsclient submitting passive checks back into nagios would be nice for this (that's because the kind of checks I have in mind, would mostly be submitted passive by nature...) >>To permit this type of power, it needs the same safeguards as NRPE 2.0 is implementing. ...[snip].... >>...the service itself is best written in a compiled language and interact properly with the SCM. I couldn't agree more... Just some thoughts, any comments welcome cheers MiWi -----Original Message----- From: Tim Shouldice [mailto:tim at tsmgsoftware.com] Sent: Friday, May 09, 2003 4:15 AM To: Michael.Wirtgen at miwi-dv.com Subject: Re: [Nagios-users] Re: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Michel: Many good points and thoughts but I have to start off by saying I run NSClient on servers provided my clients where I purchase my own development tools. Monolithic vs. Module I prefer modular, however as the current NSClient is somewhat monolithic and it needs backwards compatibility I would leave its current functionality pretty much 'as is'. For the future going to a NRPE type approach, the NSClient would be given the functionality of runing a plugin with a parameter on the Windows and returning the results back to check_nt / check_nrpe. To permit this type of power, it needs the same safeguards as NRPE 2.0 is implementing. The plugins could then be written in the language of choice much as the Unix ones are now. However, as I've expressed before (and you agree with), the service itself is best written in a compiled language and interact properly with the SCM. Tim ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri May 9 15:47:53 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 09 May 2003 15:47:53 +0200 Subject: Problem with command References: <97D0DDFA3C2F5B44AAC0960B99E96213019185@VMX.gilatla.com> <02c701c315a3$41e95890$f805ff0a@tekniq> <3EBB5DDC.30205@etsetb.upc.es> Message-ID: <3EBBB189.5090208@datavis.se> A strange problem.. I have the following command defined: define command { command_name notify-by-sms command_line /usr/local/nagios/sms/sendsms $CONTACTPAGER$ "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" } /usr/local/nagios/sms/sendsms is a /bin/sh-script. When Naigos call this script it silently exits after about 75%. If I add a dummy-row early in the script it exits one line earlier, so it look like it runs a fixed number of rows and the jus stops there. If I run the script manually as the Nagios-user ther is no problem. Only when its called from Nagios. Does anyone have any idea?? /FredrikW ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matorres at prisacom.com Fri May 9 16:25:53 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Fri, 9 May 2003 16:25:53 +0200 Subject: Service Dependencies Message-ID: Hello all, I'm try to configure a service dependency in nagios 1.0, my configuration is: define servicedependency{ host_name web2 service_description WEB dependent_host_name web2 dependent_service_description WEB SERVERS execution_failure_criteria w,u,c notification_failure_criteria w,u,c } I want when the WEB service in the machine web2 fail (warning, unreachable or critical) the service WEB SERVERS in the same machine turn on the warning, unreachable or critical state. It seems very easy but don`t work. When I stop the WEB service, then it turn on the critical state and the WEB SERVERS service is in the same state (OK). anyone knows what is happennig?? any comments will be ok Thanks. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaynard at outserv.net Fri May 9 16:39:28 2003 From: dmaynard at outserv.net (David Maynard) Date: Fri, 9 May 2003 09:39:28 -0500 Subject: nsclient and hosed Win2K performance counters Message-ID: <79BDC98308803B4EAE3B3CCFDE67823E11D4FF@ausexch1.outserv.net> Several bugs that caused the performance counter information to become corrupted have been fixed in the later service packs. However, installing the service pack doesn't fix the problem, it just prevents it from getting worse. It seems to be very easy for a 3rd-party app to hose the counters as well. Trying to find this information on the Microsoft site is a nightmare. I just spent 5 minutes and didn't find any useful references. I usually have better luck trying Google searches that reference the Microsoft site. The commands you need are "unlodctr" and "lodctr" (\winnt\system32). Also in that directory, you will find the ".ini" files that contain the performance counter definitions. The key is to unload the old information and then reload it from the ini file. The trick it to figure out what needs to be unloaded, what it is called, and then what the associated file name is. Sometimes the Event Log will contain clues about which set of performance counters is invalid. Microsoft has several articles that tell you how to fix the IIS counters, but I have often seen other counters become corrupted. Unfortunately, the best advise I can offer is to try some searches and start experimenting with lodctr. -----Original Message----- From: Ralf Mellis [mailto:testrm at kisters.com] Sent: Friday, May 09, 2003 4:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nsclient 1.0.7.1 vs 1.0.8.0 Tom DE BLENDE wrote: > > > Ralf Mellis wrote: > >> Looking into the eventlog of the servers, there is the entry >> "NSClient Error: The CPU Processor counter seems to be corrupted, all >> CPU values will be reported as 0." >> which corresponds to the above given result. > > > If you check out http://support.tsmgsoftware.com/viewtopic.php?t=4 you > will see the small changelog. One of the things they changed was the way > corrupt CPU counters are reported and handeled. So you have a problem > that has nothing to do with NSClient, only NSCLient handles it > differently in the new version. > Oh, I know that the problem is the w2k host, not nsclient. I only wanted to expose the differences between the two versions of nsclient in behaviour regarding corrupted counters. It may be from interest for the admins, who are upgrading (and not have "found" the small changelog, because of the difficulties with the tsmg server). >> ... >> What makes me crazy is the fact that the ms performance monitor has >> absolutely no difficulties to process _all_ indicators related to the >> processor object... > That is strange indeed. Rebooted the box already? > Once? Since I'm trying to "restore" these counters (two weeks or so), I have rebooted the server approximately 10 to 15 times... You say "strange"? Is it so, that when the nsclient reports "corrupted counters" the ms performance tool should complain about these also? IMHO this would be very logical, but de facto it's ms... -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matorres at prisacom.com Fri May 9 16:40:10 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Fri, 9 May 2003 16:40:10 +0200 Subject: Virtual Services??? Message-ID: > Hello, > > I'm configuring nagios to monitoring a lot of services. I need to group many services in a "Virtual service" who it is not associated to a host. For example: > > I have 3 machines with webs servers, so I have configured 3 independent services associated with it`s respective host. Now I want to configure a "virtual service" who include those 3 services. I have been reading all the documentation for nagios and I don`t find how can I make it. > > My question is: Is it possible with nagios? > > Thanks and excuse my poor english. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at Medien-Systempartner.de Fri May 9 17:00:49 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Fri, 9 May 2003 17:00:49 +0200 Subject: netsaint_statd won't start In-Reply-To: <200305091430.36326.Michael.Huettig@Medien-Systempartner.de> References: <200305091430.36326.Michael.Huettig@Medien-Systempartner.de> Message-ID: <200305091700.49450.Michael.Huettig@Medien-Systempartner.de> Hi all, i killed all imapd and then started netsaint_statd and now it's working, rc2.d would start inetd which started imapd, i moved S99netsaint_statd to S17netsaint_statd so it's started before S20inetd. Little improvements save the most time ;-) Greets Michael Am Freitag, 9. Mai 2003 14:30 schrieb Michael H?ttig: > Hi, > on several machines i have installed netsaint_statd, because python was not > available / should not be installed. Today morning our Mail-Server > (SuSE-Mail-Server II) was rebooted and netsaint_statd could not be started > with error-message: > > Starting netsaint_statd Can't bind to socket: Address already in use > > Standard-Port is 1040, nmap and netstat -an don't show open port 1040, no > perl is running. > > Starting on another port was succesfull but i don't want to reconfigure all > the other servers and our nagios-server. > > Has someone a hint for me? > > Thanks > Michael > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Fri May 9 17:07:17 2003 From: idavidso at juniper.net (Ian Davidson) Date: Fri, 9 May 2003 16:07:17 +0100 Subject: Nrpe problem Message-ID: Hi all, I've installed the check-nrpe services on a remote machine and a central server. When running the check_nrpe command against the remote host I see on the server... [central-server]# ./check_nrpe -H dc.lab.jnpr.net -p 5666 CHECK_NRPE: Error - Could not complete SSL handshake. [central-server]# And in /var/log/messages on the remote host... May 9 15:57:54 dc nrpe[9459]: No variable value specified in config file '/usr/local/nagios/nrpe.cfg' - Line 1 May 9 15:57:54 dc nrpe[9459]: Config file '/usr/local/nagios/nrpe.cfg' contained errors, bailing out... Anyone got any ideas? I'm having to assume that the nrpe.cfg file I have is busted ... Or I've gotten something really wrong with the install. Cheers, Ian ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Fri May 9 17:21:07 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Fri, 9 May 2003 17:21:07 +0200 Subject: performance data Message-ID: <004a01c3163e$9d13f4a0$520101c0@TECMSEISDEDOS> Is there any way to indicate a Service performance command per process, or it have to be global. I would like different commands for different services ________________________________________________________________________ _____________________________________________ Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Wiesner at dbla.com Fri May 9 17:28:53 2003 From: Thomas.Wiesner at dbla.com (Wiesner, Thomas) Date: Fri, 9 May 2003 17:28:53 +0200 Subject: Passive servicecheck on NT Message-ID: <116472F1372AD3118BF20008C791626C0BDE018B@DLH00EM1> Sorry, but the attached zip files was filtered by the mail server. Is there an ftp or web site where I can found this script and maybe some other good script which I can use to monitor our environment? Thanks for your help. Yes. Thanks to Tom DeBlende who steered me in the right direction. You can use plink (part of putty) to dump commands to the linux box using ssh. The script Tom refers to below is a Citrix checking VB script. It and plink are attached. What Tom's script does is pull the data from a registry value, formulate a proper nagios command enclosed in a proper linux command which sends the nagios command to the external command file via a plink command. Hope that helps, Dean Dear Dean, First of all: please find attached the zip file that contains: 1) The script (you will have to change some variables in the beginning of the script). 2) The plink.exe file used to make the SSH connection to the Nagios server. Running this as a scheduled task is a pain to set up, as you will have to make sure that the hostkey is in place in the registry in the default user profile [HKEY_USERS\.DEFAULT\Software\SimonTatham\PuTTY\SshHostKeys]. In other words, you will have to log in with the user account that you will use to run the scheduled task, run plink.exe once to connect to the Nagios server, and then copy its registry key to the location shown above. Don't forget to create the passive service on the Nagios setup with the exact same service name. Might be best to "tail -f" the external command file first to see what's arriving though :-) -----Original Message----- From: Wiesner, Thomas [mailto:Thomas.Wiesner at db...] Sent: May 8, 2003 7:09 AM To: 'nagios-users at li...' Subject: [Nagios-users] Passive servicecheck on NT Hi all, I evaluate the current features of Nagios and have one simple question. I know the possibility of passive service checks on a Unix host, but is it also possible to implement a passive service check on a Windows host? What I need is in interface for my scripts on the Microsoft world to transfer and display the result to the Nagios host. Thanks for your help. Thomas Mit freundlichen Gr??en Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From fjordan at hcssun01.hcs.net Fri May 9 17:25:02 2003 From: fjordan at hcssun01.hcs.net (Fred Jordan) Date: Fri, 9 May 2003 11:25:02 -0400 (EDT) Subject: Notifications via jabber In-Reply-To: References: Message-ID: Have found the following two perl scripts, notify-by-jabber.pl and notify-via-jabber.pl. Have notify-by-jabber.pl working just fine; it sends a motd message which all can see. However notify-via-jabber.pl doesn't seem to work. The user never gets the message. Have others had to modify this script 2nd script in order to get it to work? Even better, how about a notification script that could send to all perticipants of a conference on the jabber server? I just do not know enough about jabber to fix this problem or to modify eithor script to be able to send to all participants of a conference on the jabber server. Thanks Much, Fred Jordan notify-by-jabber.pl #!/usr/bin/perl # # Author David Cox # Created from various code examples found on the web # Last Modified 08/06/2002 # Feel free to use or modify as needed to suit your needs ####################################################### # MAXWAIT is used because the send message function didn't seem to # like being called to fast. The message would be sent unless I waited a second # or so. You can experiment with it but I just went with 2 seconds. ####################################################### use strict; use Net::Jabber qw(Client) ; use Net::Jabber qw(Message) ; use Net::Jabber qw(Protocol) ; use Net::Jabber qw(Presence) ; my $len = scalar @ARGV; use constant RECIPIENT => 'my.jabber.server/announce/motd'; use constant SERVER => 'my.jabber.server'; use constant PORT => 5222; use constant USER => 'nagios-id'; use constant PASSWORD => 'nagios-pw'; use constant RESOURCE => 'telnet'; use constant MESSAGE => ; use constant MAXWAIT => 2 ; my $connection = Net::Jabber::Client->new(); $connection->Connect( "hostname" => SERVER,"port" => PORT ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => PASSWORD,"resource" => RESOURCE ); if ($result[0] ne "ok") { die "Ident/Auth with server failed: $result[0] - $result[1]\n"; } my $message = Net::Jabber::Message->new(); $message->SetMessage( "to" => "stats.hcs.net/announce/ motd", "body" => MESSAGE); $connection->Send($message); sleep(MAXWAIT); $connection->Disconnect(); exit; notify-via-jabber.pl #!/usr/bin/perl # # Author David Cox # Created from various code examples found on the web # Last Modified 08/06/2002 # Feel free to use or modify as needed to suit your needs ####################################################### # MAXWAIT is used because the send message function didn't seem to # like being called to fast. The message would be sent unless I waited a second # or so. You can experiment with it but I just went with 2 seconds. ####################################################### use strict; use Net::Jabber qw(Client) ; use Net::Jabber qw(Message) ; use Net::Jabber qw(Protocol) ; use Net::Jabber qw(Presence) ; my $len = scalar @ARGV; if ($len ne 2) { die "Usage...\n notify [jabberid] [message]\n"; } my @field=split(/,/,$ARGV[0]); use constant RECIPIENT => $ARGV[0]; use constant SERVER => 'my.jabber.server'; use constant PORT => 5222; use constant USER => 'nagios-id'; use constant PASSWORD => 'nagios-pw'; use constant RESOURCE => 'telnet'; use constant MESSAGE => $ARGV[1]; use constant MAXWAIT => 2 ; my $connection = Net::Jabber::Client->new(); $connection->Connect( "hostname" => SERVER,"port" => PORT ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => PASSWORD,"resource" => RESOURCE ); if ($result[0] ne "ok") { die "Ident/Auth with server failed: $result[0] - $result[1]\n"; } foreach ( @field ) { my $message = Net::Jabber::Message->new(); $message->SetMessage( "to" => $_, "subject" => "Notification", "type" => "chat", "body" => MESSAGE); $connection->Send($message); sleep(MAXWAIT); } $connection->Disconnect(); exit; ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 9 17:27:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 09 May 2003 11:27:36 -0400 (EDT) Subject: Nrpe problem In-Reply-To: References: Message-ID: On Fri, 9 May 2003, Ian Davidson wrote: > Hi all, > > I've installed the check-nrpe services on a remote machine and a central > server. When running the check_nrpe command against the remote host I > see on the server... > > [central-server]# ./check_nrpe -H dc.lab.jnpr.net -p 5666 > CHECK_NRPE: Error - Could not complete SSL handshake. [central-server]# > > > And in /var/log/messages on the remote host... > > May 9 15:57:54 dc nrpe[9459]: No variable value specified in config > file '/usr/local/nagios/nrpe.cfg' - Line 1 > May 9 15:57:54 dc nrpe[9459]: Config file '/usr/local/nagios/nrpe.cfg' > contained errors, bailing out... > > > Anyone got any ideas? I'm having to assume that the nrpe.cfg file I have > is busted ... Or I've gotten something really wrong with the install. > > Cheers, > > Ian > Would help if you posted parts of nrpe.cfg .... -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Fri May 9 17:40:48 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Fri, 9 May 2003 11:40:48 -0400 Subject: check_http for ssl woes.. Message-ID: Hello all, I am trying to get check_http working with some SSL sites, and have not had much success. Here is what I have done. I downloaded the 1.3.0 plugins and ran the configure script with the --enable-SSL --with-openssl= options, and make all && make install. Everything works for HTTP sites, but wheneve I try someting like this: check_http -I -R "textToSearchFor" -p 443 -v it just times out and returns nothing. Am I missing something? is there another way to call the check_http to enable SSL - or can I just specify 443 as the port? Sorry if this is a "silly" question, but I have searched around and not had much luck. Thanks for any help... ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Fri May 9 17:47:14 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Fri, 9 May 2003 11:47:14 -0400 Subject: Virtual Services??? References: Message-ID: <00bb01c31642$4326ba50$f805ff0a@tekniq> Virtual Services???I'm not really understanding what you mean by a virtual service. What I was able to get out of this email was that you want to define a service such as check_http to check the same "host" multiple times, for example: define service{ host_name www.domain.com service_description HTTP check } ...but have this issue it's results to more than one host. If you try and define that service to check host www.domain.com twice, you will get an error. Therefore, you need 2 hosts defined in your hosts.cfg like: define host{ host_name www.domain.com.internal address 127.0.0.1 } define host{ host_name www.domain.com.virtual address 127.0.0.1 } Then define a service to check_http for each of these hosts, and you'll be ok. Just make sure check_http uses the ip address and not the hostname. define service{ host_name www.domain.com.internal service_description HTTP check } define service{ host_name www.domain.com.virtual service_description HTTP check } Hope this helps! -Jason ----- Original Message ----- From: Miguel A. Torres To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 10:40 Subject: [Nagios-users] Virtual Services??? Hello, I'm configuring nagios to monitoring a lot of services. I need to group many services in a "Virtual service" who it is not associated to a host. For example: I have 3 machines with webs servers, so I have configured 3 independent services associated with it`s respective host. Now I want to configure a "virtual service" who include those 3 services. I have been reading all the documentation for nagios and I don`t find how can I make it. My question is: Is it possible with nagios? Thanks and excuse my poor english. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri May 9 17:51:45 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 9 May 2003 10:51:45 -0500 Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) Message-ID: > I'm a Windows admin for around 60% of my time here. And to tell you > the truth, I'm very reluctant to install Active Perl on all of our > Windows boxes just to be able to use a new version of NSClient. Not > that I don't trust Perl to do the job, but it's just too much of a > hassle and a lot of work. NTray is written in Perl, I believe, but converted to a native Win32 binary using a utility, the name of which escapes me at the moment. I don't know if the facility exists to be able to daemonize it ? la MS Services without the assistance of something like FireDaemon. jc ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Fri May 9 18:00:31 2003 From: idavidso at juniper.net (Ian Davidson) Date: Fri, 9 May 2003 17:00:31 +0100 Subject: Nrpe problem Message-ID: It's the default nrpe.cfg file, but here's the first handful of lines... #include "../common/common.h" #include "../common/config.h" #include "nrpe.h" #include "utils.h" #ifdef HAVE_SSL #include "dh.h" #endif #define DEFAULT_COMMAND_TIMEOUT 60 /* default timeout for execution of plugins */ #define MAXFD 64 #define NASTY_METACHARS "|`&><'\"\\[]{}" int process_arguments(int,char **); void wait_for_connections(void); void handle_connection(int); int read_config_file(char *); int read_config_dir(char *); int add_command(char *,char *); command *find_command(char *); void sighandler(int); int drop_privileges(char *,char *); int check_privileges(void); void free_memory(void); int is_an_allowed_host(char *); int validate_request(packet *); int contains_nasty_metachars(char *); int process_macros(char *,char *,int); > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Subhendu Ghosh > Sent: 09 May 2003 16:28 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nrpe problem > > > On Fri, 9 May 2003, Ian Davidson wrote: > > > Hi all, > > > > I've installed the check-nrpe services on a remote machine and a > > central server. When running the check_nrpe command against > the remote > > host I see on the server... > > > > [central-server]# ./check_nrpe -H dc.lab.jnpr.net -p 5666 > > CHECK_NRPE: Error - Could not complete SSL handshake. > > [central-server]# > > > > > > And in /var/log/messages on the remote host... > > > > May 9 15:57:54 dc nrpe[9459]: No variable value specified > in config > > file '/usr/local/nagios/nrpe.cfg' - Line 1 May 9 15:57:54 dc > > nrpe[9459]: Config file '/usr/local/nagios/nrpe.cfg' > contained errors, > > bailing out... > > > > > > Anyone got any ideas? I'm having to assume that the nrpe.cfg file I > > have is busted ... Or I've gotten something really wrong with the > > install. > > > > Cheers, > > > > Ian > > > > Would help if you posted parts of nrpe.cfg .... > > -- > > -sg > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara The only event dedicated to issues related to > Linux enterprise solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 9 18:27:00 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 9 May 2003 11:27:00 -0500 Subject: Host service viewing permissions via authentication Message-ID: If you check the archives (within the past month or two), you may notice I replied to a similar query. If you dig back much further, you may notice I myself posted a similar query. Here's what I've experienced: - create DBA contact group - add DBA contact group to DBA-relevant service definitions - login as DBA - see only services defined for the DBAs (as expected) - see absolutely *no* hosts for the services which the DBAs are interested in And that was iterating through all the menu options. Quite a few of the menus resulted in the classic, "It appears you do not have permission...". I can't quite recall what change I then experimented with, but it was dramatic. As you've observed, suddenly the DBAs could see not just the host, but *all* the services on that host, not just the ones they're responsible for. And yes, that included being able to acknowledge services that they shouldn't have been able to touch, acknowledge the host itself, schedule downtime for a service they're not responsible for, schedule downtime for the host itself.... In the end, I decided to give them the truncated view of the world. I have yet to see a solution to this, but it's hardly a show-stopper. In my world, it's mainly a quibble; I'd rather not distract Ethan and company away from more interesting/more productive activities. :) jc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Friday, May 09, 2003 7:46 AM > To: Nagios List > Subject: [Nagios-users] Host service viewing permissions via > authentication > > > I've got authentication turned on I've created a contact called > "support" > > --snip-- > > # 'Support' contact definition > define contact{ > contact_name support > alias Network Support > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,c,r,u > host_notification_options d,r,u > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email support at foo.org > --snip-- > > I've added the user to authentication using the htpasswd command and > used the same name as in the contacts.cfg. when this user > logs on, why > can it see host and service details for hosts and services > for which it > is NOT a contact? > > -- > Jeff McKeon > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 9 18:28:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 09 May 2003 12:28:11 -0400 (EDT) Subject: Nrpe problem In-Reply-To: References: Message-ID: Umm... - that the C source code - not the cfg file... -sg On Fri, 9 May 2003, Ian Davidson wrote: > It's the default nrpe.cfg file, but here's the first handful of lines... > > #include "../common/common.h" > #include "../common/config.h" > #include "nrpe.h" > #include "utils.h" > > #ifdef HAVE_SSL > #include "dh.h" > #endif > > #define DEFAULT_COMMAND_TIMEOUT 60 /* default > timeout for execution of plugins */ > #define MAXFD 64 > #define NASTY_METACHARS "|`&><'\"\\[]{}" > > > int process_arguments(int,char **); > void wait_for_connections(void); > void handle_connection(int); > int read_config_file(char *); > int read_config_dir(char *); > int add_command(char *,char *); > command *find_command(char *); > void sighandler(int); > int drop_privileges(char *,char *); > int check_privileges(void); > void free_memory(void); > int is_an_allowed_host(char *); > int validate_request(packet *); > int contains_nasty_metachars(char *); > int process_macros(char *,char *,int); > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Subhendu Ghosh > > Sent: 09 May 2003 16:28 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nrpe problem > > > > > > On Fri, 9 May 2003, Ian Davidson wrote: > > > > > Hi all, > > > > > > I've installed the check-nrpe services on a remote machine and a > > > central server. When running the check_nrpe command against > > the remote > > > host I see on the server... > > > > > > [central-server]# ./check_nrpe -H dc.lab.jnpr.net -p 5666 > > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > [central-server]# > > > > > > > > > And in /var/log/messages on the remote host... > > > > > > May 9 15:57:54 dc nrpe[9459]: No variable value specified > > in config > > > file '/usr/local/nagios/nrpe.cfg' - Line 1 May 9 15:57:54 dc > > > nrpe[9459]: Config file '/usr/local/nagios/nrpe.cfg' > > contained errors, > > > bailing out... > > > > > > > > > Anyone got any ideas? I'm having to assume that the nrpe.cfg file I > > > have is busted ... Or I've gotten something really wrong with the > > > install. > > > > > > Cheers, > > > > > > Ian > > > > > > > Would help if you posted parts of nrpe.cfg .... > > > > -- > > > > -sg > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > > Santa Clara The only event dedicated to issues related to > > Linux enterprise solutions www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 9 18:31:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 09 May 2003 12:31:26 -0400 (EDT) Subject: Passive servicecheck on NT In-Reply-To: <116472F1372AD3118BF20008C791626C0BDE018B@DLH00EM1> References: <116472F1372AD3118BF20008C791626C0BDE018B@DLH00EM1> Message-ID: http://article.gmane.org/gmane.network.nagios.user/9816 On Fri, 9 May 2003, Wiesner, Thomas wrote: > Sorry, but the attached zip files was filtered by the mail server. Is there > an ftp or web site where I can found this script and maybe some other good > script which I can use to monitor our environment? > > -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 9 18:33:40 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 09 May 2003 12:33:40 -0400 (EDT) Subject: check_http for ssl woes.. In-Reply-To: References: Message-ID: you are missing the -S option for ssl-enabled sites port-numbers don't always relate to the protocol. -sg On Fri, 9 May 2003, Ian Farr wrote: > Hello all, > > I am trying to get check_http working with some SSL sites, and have not had > much success. Here is what I have done. > > I downloaded the 1.3.0 plugins and ran the configure script with the > --enable-SSL --with-openssl= options, and make all && make install. > > Everything works for HTTP sites, but wheneve I try someting like this: > > check_http -I -R "textToSearchFor" -p 443 -v it just times out > and returns nothing. > > Am I missing something? is there another way to call the check_http to > enable SSL - or can I just specify 443 as the port? > > Sorry if this is a "silly" question, but I have searched around and not had > much luck. > > Thanks for any help... > > ____________________ > Ian Farr > Director of Network Infrastructure > Oceanwide.com > 514-289-9090 ext 234 > > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matorres at prisacom.com Fri May 9 18:34:41 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Fri, 9 May 2003 18:34:41 +0200 Subject: Virtual Services??? Message-ID: Hello Jason, Thanks for your quickly answer. I think that you don't undertand what I mean by a "virtual service". I`m try to explain it better with a example: I have 3 servers with apache: define host{ host_name server1 address 1.1.1.1 } define host{ host_name server2 address 1.1.1.2 } define host{ host_name server3 address 1.1.1.3 } ======================== define service{ host_name server1 service_description HTTP check } define service{ host_name server2 service_description HTTP check } define service{ host_name server3 service_description HTTP check } These services are in diferent hosts and serve the same URL's, they are in balancing. Now I want to define a "virtual host" that group these 3 services. The "virtual host" should be configured with this rules: - If only one web server turn to critical state ------> OK - If more than one server turn to critical state ------> WARNING - If all de web servers turn to critical state ----------> CRITICAL I don`t know how to configure the "virtual host" and if it is possible. Note: The "virtual hosts" should not be associated to a host (if it was possible) Do you understand what I mean by virtual host now?? thanks a lot. -----Mensaje original----- De: Jason Lancaster [mailto:jlancaster at affinity.com] Enviado el: viernes, 09 de mayo de 2003 17:47 Para: Miguel A. Torres; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Virtual Services??? I'm not really understanding what you mean by a virtual service. What I was able to get out of this email was that you want to define a service such as check_http to check the same "host" multiple times, for example: define service{ host_name www.domain.com service_description HTTP check } ...but have this issue it's results to more than one host. If you try and define that service to check host www.domain.com twice, you will get an error. Therefore, you need 2 hosts defined in your hosts.cfg like: define host{ host_name www.domain.com.internal address 127.0.0.1 } define host{ host_name www.domain.com.virtual address 127.0.0.1 } Then define a service to check_http for each of these hosts, and you'll be ok. Just make sure check_http uses the ip address and not the hostname. define service{ host_name www.domain.com.internal service_description HTTP check } define service{ host_name www.domain.com.virtual service_description HTTP check } Hope this helps! -Jason ----- Original Message ----- From: Miguel A. Torres To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 10:40 Subject: [Nagios-users] Virtual Services??? Hello, I'm configuring nagios to monitoring a lot of services. I need to group many services in a "Virtual service" who it is not associated to a host. For example: I have 3 machines with webs servers, so I have configured 3 independent services associated with it`s respective host. Now I want to configure a "virtual service" who include those 3 services. I have been reading all the documentation for nagios and I don`t find how can I make it. My question is: Is it possible with nagios? Thanks and excuse my poor english. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri May 9 18:50:09 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 09 May 2003 12:50:09 -0400 (EDT) Subject: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem) In-Reply-To: References: Message-ID: On Fri, 9 May 2003, Carroll, Jim P [Contractor] wrote: > > I'm a Windows admin for around 60% of my time here. And to tell you > > the truth, I'm very reluctant to install Active Perl on all of our > > Windows boxes just to be able to use a new version of NSClient. Not > > that I don't trust Perl to do the job, but it's just too much of a > > hassle and a lot of work. > > NTray is written in Perl, I believe, but converted to a native Win32 > binary using a utility, the name of which escapes me at the moment. I > don't know if the facility exists to be able to daemonize it ? la MS > Services without the assistance of something like FireDaemon. > ActiveState has a perl to binary/service converter. -- -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Fri May 9 19:21:37 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Fri, 9 May 2003 13:21:37 -0400 Subject: Service Dependencies References: Message-ID: Miguel, Check the documentation for service clusters. That's exacly what you want. Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Miguel A. Torres" To: Sent: Friday, May 09, 2003 10:25 AM Subject: [Nagios-users] Service Dependencies Hello all, I'm try to configure a service dependency in nagios 1.0, my configuration is: define servicedependency{ host_name web2 service_description WEB dependent_host_name web2 dependent_service_description WEB SERVERS execution_failure_criteria w,u,c notification_failure_criteria w,u,c } I want when the WEB service in the machine web2 fail (warning, unreachable or critical) the service WEB SERVERS in the same machine turn on the warning, unreachable or critical state. It seems very easy but don`t work. When I stop the WEB service, then it turn on the critical state and the WEB SERVERS service is in the same state (OK). anyone knows what is happennig?? any comments will be ok Thanks. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Fri May 9 19:24:10 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Fri, 9 May 2003 13:24:10 -0400 Subject: check_http for ssl woes.. Message-ID: Thanks for the tip... Even though I specified where the SSL header files were - the configure script didn't take it - I guess I amde a typo or womething. re-compiled everything, and now I have the -S option available in the help file. Thanks again for the help. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, May 09, 2003 12:34 PM To: Ian Farr Cc: Nagios Users List (E-mail) Subject: Re: [Nagios-users] check_http for ssl woes.. you are missing the -S option for ssl-enabled sites port-numbers don't always relate to the protocol. -sg On Fri, 9 May 2003, Ian Farr wrote: > Hello all, > > I am trying to get check_http working with some SSL sites, and have not had > much success. Here is what I have done. > > I downloaded the 1.3.0 plugins and ran the configure script with the > --enable-SSL --with-openssl= options, and make all && make install. > > Everything works for HTTP sites, but wheneve I try someting like this: > > check_http -I -R "textToSearchFor" -p 443 -v it just times out > and returns nothing. > > Am I missing something? is there another way to call the check_http to > enable SSL - or can I just specify 443 as the port? > > Sorry if this is a "silly" question, but I have searched around and not had > much luck. > > Thanks for any help... > > ____________________ > Ian Farr > Director of Network Infrastructure > Oceanwide.com > 514-289-9090 ext 234 > > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From drich at employees.org Fri May 9 19:27:40 2003 From: drich at employees.org (Dan Rich) Date: Fri, 9 May 2003 10:27:40 -0700 (PDT) Subject: nrpe on IRIX In-Reply-To: <50224.63.237.201.12.1052435069.squirrel@www.lapseofthought.com> References: <50224.63.237.201.12.1052435069.squirrel@www.lapseofthought.com> Message-ID: <44385.63.237.201.12.1052501260.squirrel@www.lapseofthought.com> Dan Rich said: > Has anyone successfully built and installed nrpe on IRIX? I have it compiling > fine, but something odd is going on in the socket code. The connection never > succeeds and I find the following in my syslog: Ok, if anyone else ever tries this, the problem is that inet_ntoa() is broken on IRIX with gcc. The solution is the patch below. You should also remove the -lnsl -lsocket from src/Makefile, I didn't have time to figure out how to get configure to do this. --- nrpe.c.orig Fri May 9 10:24:29 2003 +++ nrpe.c Fri May 9 10:20:01 2003 @@ -23,6 +23,18 @@ #include "nrpe.h" #include "utils.h" +#ifdef sgi + char * + _gcc_workaround_inet_ntoa( struct in_addr a ) { + static char buf[64]; + unsigned char *pc = (unsigned char *)&a; + snprintf(buf, 64, "%d.%d.%d.%d", pc[0], pc[1], pc[2], pc[3]); + return buf; + } + + #define inet_ntoa _gcc_workaround_inet_ntoa +#endif + #define DEFAULT_COMMAND_TIMEOUT 60 /* default timeout for execution of plugins */ #define MAXFD 64 -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Nilsen at roxar.com Fri May 9 19:30:21 2003 From: Thomas.Nilsen at roxar.com (Thomas Nilsen) Date: Fri, 9 May 2003 19:30:21 +0200 Subject: Virtual Services??? Message-ID: Maybe a host/service dependency setup could help you here... Have a look at http://nagios.sourceforge.net/docs/1_0/dependencies.html and -----Original Message----- From: Miguel A. Torres [mailto:matorres at prisacom.com] Sent: Friday, May 09, 2003 6:35 PM To: Jason Lancaster; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Virtual Services??? Hello Jason, Thanks for your quickly answer. I think that you don't undertand what I mean by a "virtual service". I`m try to explain it better with a example: I have 3 servers with apache: define host{ host_name server1 address 1.1.1.1 } define host{ host_name server2 address 1.1.1.2 } define host{ host_name server3 address 1.1.1.3 } ======================== define service{ host_name server1 service_description HTTP check } define service{ host_name server2 service_description HTTP check } define service{ host_name server3 service_description HTTP check } These services are in diferent hosts and serve the same URL's, they are in balancing. Now I want to define a "virtual host" that group these 3 services. The "virtual host" should be configured with this rules: - If only one web server turn to critical state ------> OK - If more than one server turn to critical state ------> WARNING - If all de web servers turn to critical state ----------> CRITICAL I don`t know how to configure the "virtual host" and if it is possible. Note: The "virtual hosts" should not be associated to a host (if it was possible) Do you understand what I mean by virtual host now?? thanks a lot. -----Mensaje original----- De: Jason Lancaster [mailto:jlancaster at affinity.com] Enviado el: viernes, 09 de mayo de 2003 17:47 Para: Miguel A. Torres; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Virtual Services??? I'm not really understanding what you mean by a virtual service. What I was able to get out of this email was that you want to define a service such as check_http to check the same "host" multiple times, for example: define service{ host_name www.domain.com service_description HTTP check } ...but have this issue it's results to more than one host. If you try and define that service to check host www.domain.com twice, you will get an error. Therefore, you need 2 hosts defined in your hosts.cfg like: define host{ host_name www.domain.com.internal address 127.0.0.1 } define host{ host_name www.domain.com.virtual address 127.0.0.1 } Then define a service to check_http for each of these hosts, and you'll be ok. Just make sure check_http uses the ip address and not the hostname. define service{ host_name www.domain.com.internal service_description HTTP check } define service{ host_name www.domain.com.virtual service_description HTTP check } Hope this helps! -Jason ----- Original Message ----- From: Miguel A. Torres To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 10:40 Subject: [Nagios-users] Virtual Services??? Hello, I'm configuring nagios to monitoring a lot of services. I need to group many services in a "Virtual service" who it is not associated to a host. For example: I have 3 machines with webs servers, so I have configured 3 independent services associated with it`s respective host. Now I want to configure a "virtual service" who include those 3 services. I have been reading all the documentation for nagios and I don`t find how can I make it. My question is: Is it possible with nagios? Thanks and excuse my poor english. DISCLAIMER: This message contains information that may be privileged or confidential and is the property of the Roxar Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramog at starcalif.com Fri May 9 20:30:05 2003 From: ramog at starcalif.com (ramog) Date: Fri, 9 May 2003 11:30:05 -0700 Subject: Checking Unix Console Login Message-ID: <054701c31659$02fea890$0d2fa8c0@sysadmin.starcalif.com> Is there any Nagios Plugin command to check or monitor a unix console or terminal ( say, tty10 ) whether a unix account in a system is "logged in" to that console or not. I appreciate any feedback or help.... Thanks, RFA -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Fri May 9 21:01:27 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Fri, 9 May 2003 15:01:27 -0400 Subject: Virtual Services??? References: Message-ID: <00f001c3165d$6534e200$f805ff0a@tekniq> Virtual Services???Miguel, I don't think you can effectively do EXACTLY what you want within Nagios. If I understand you correctly and I needed to do the same I would do one of the following: - I'd then make server1 dependent on server2, server2 dependent on server1, server 3 dependent on server2, etc. The behavior might not be exactly what you need but it could suffice. - Create a check_http_cluster service check which could be a perl script that executes check_http for each host you specify in an argument and then prints out statistics. This wouldn't be a really complicated check to write, you'd execute it something like this: ./check_http_cluster --warn1 critical2 1.1.1.1,1.1.1.2,1.1.1.3 This would then execute check_http on 1.1.1.1, 1.1.1.2 and 1.1.1.3 (you could specify many more ip's too) returning its results to check_http_cluster. The warn1 would give a warning if there was one or more errors, critical2 would give critical if there were 2 or more errors. I don't really think the perl script would be worth writing so I'd just use dependencies. There might be a better way... but that's how I'd do it. -Jason ----- Original Message ----- From: Miguel A. Torres To: Jason Lancaster ; nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 12:34 Subject: RE: [Nagios-users] Virtual Services??? Hello Jason, Thanks for your quickly answer. I think that you don't undertand what I mean by a "virtual service". I`m try to explain it better with a example: I have 3 servers with apache: define host{ host_name server1 address 1.1.1.1 } define host{ host_name server2 address 1.1.1.2 } define host{ host_name server3 address 1.1.1.3 } ======================== define service{ host_name server1 service_description HTTP check } define service{ host_name server2 service_description HTTP check } define service{ host_name server3 service_description HTTP check } These services are in diferent hosts and serve the same URL's, they are in balancing. Now I want to define a "virtual host" that group these 3 services. The "virtual host" should be configured with this rules: - If only one web server turn to critical state ------> OK - If more than one server turn to critical state ------> WARNING - If all de web servers turn to critical state ----------> CRITICAL I don`t know how to configure the "virtual host" and if it is possible. Note: The "virtual hosts" should not be associated to a host (if it was possible) Do you understand what I mean by virtual host now?? thanks a lot. -----Mensaje original----- De: Jason Lancaster [mailto:jlancaster at affinity.com] Enviado el: viernes, 09 de mayo de 2003 17:47 Para: Miguel A. Torres; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Virtual Services??? I'm not really understanding what you mean by a virtual service. What I was able to get out of this email was that you want to define a service such as check_http to check the same "host" multiple times, for example: define service{ host_name www.domain.com service_description HTTP check } ...but have this issue it's results to more than one host. If you try and define that service to check host www.domain.com twice, you will get an error. Therefore, you need 2 hosts defined in your hosts.cfg like: define host{ host_name www.domain.com.internal address 127.0.0.1 } define host{ host_name www.domain.com.virtual address 127.0.0.1 } Then define a service to check_http for each of these hosts, and you'll be ok. Just make sure check_http uses the ip address and not the hostname. define service{ host_name www.domain.com.internal service_description HTTP check } define service{ host_name www.domain.com.virtual service_description HTTP check } Hope this helps! -Jason ----- Original Message ----- From: Miguel A. Torres To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 10:40 Subject: [Nagios-users] Virtual Services??? Hello, I'm configuring nagios to monitoring a lot of services. I need to group many services in a "Virtual service" who it is not associated to a host. For example: I have 3 machines with webs servers, so I have configured 3 independent services associated with it`s respective host. Now I want to configure a "virtual service" who include those 3 services. I have been reading all the documentation for nagios and I don`t find how can I make it. My question is: Is it possible with nagios? Thanks and excuse my poor english. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Fri May 9 21:32:31 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Fri, 9 May 2003 15:32:31 -0400 Subject: Checking Unix Console Login References: <054701c31659$02fea890$0d2fa8c0@sysadmin.starcalif.com> Message-ID: <016001c31661$bc166950$f805ff0a@tekniq> I'd write a script to parse the "w" or "who" output. -Jason ----- Original Message ----- From: ramog To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 14:30 Subject: [Nagios-users] Checking Unix Console Login Is there any Nagios Plugin command to check or monitor a unix console or terminal ( say, tty10 ) whether a unix account in a system is "logged in" to that console or not. I appreciate any feedback or help.... Thanks, RFA -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Fri May 9 21:43:08 2003 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 09 May 2003 15:43:08 -0400 Subject: Virtual Services??? References: Message-ID: <3EBC04CC.2000600@quadrix.com> There is a plugin I contributed, that I believe now has the name check_remote_nagios_status.pl, or something like that. What you can do is set up each service with a common name (i.e. virual-a, virutal-b, etc) and then add a check with the check_remote_nagios_status plugin. You can tell it to group service together by common service name, common host name, or pattern. It can also handle acknowledgements, downtimes, etc. The plugin runs local on a machine with Nagios running (it was renamed to _remote_ because it can be used by 1 nagios instance to get the status of another instance, over SSH, nrpe, etc). Russell Scibetti Thomas Nilsen wrote: > Maybe a host/service dependency setup could help you here... > > > > Have a look at > http://nagios.sourceforge.net/docs/1_0/dependencies.html and > > -----Original Message----- > From: Miguel A. Torres [mailto:matorres at prisacom.com] > Sent: Friday, May 09, 2003 6:35 PM > To: Jason Lancaster; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Virtual Services??? > > Hello Jason, > > > > Thanks for your quickly answer. I think that you don't undertand > what I mean by a "virtual service". I`m try to explain it > better with a example: > > > > I have 3 servers with apache: > > > > define host{ > host_name server 1 > > address 1.1.1.1 > } > > > > define host{ > host_name server2 > > address 1.1.1.2 > } > > > > define host{ > host_name server3 > > address 1.1.1.3 > } > > ======================== > > define service{ > host_name server 1 > > service_description HTTP check > > } > > > > define service{ > host_name server2 > > service_description HTTP check > > } > > > > define service{ > host_name server3 > > service_description HTTP check > > } > > > > These services are in diferent hosts and serve the same URL's, > they are in balancing. Now I want to define a "virtual host" that > group these 3 services. The "virtual host" should be configured > with this rules: > > > > - If only one web server turn to critical state ------> OK > > - If more than one server turn to critical state ------> WARNING > > - If all de web servers turn to critical state ----------> > CRITICAL > > > > I don`t know how to configure the "virtual host" and if it is > possible. Note: The "virtual hosts" should not be associated to a > host (if it was possible) > > > > Do you understand what I mean by virtual host now?? > > > > thanks a lot. > > > > > > > > -----Mensaje original----- > De: Jason Lancaster [mailto:jlancaster at affinity.com] > Enviado el: viernes, 09 de mayo de 2003 17:47 > Para: Miguel A. Torres; nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Virtual Services??? > > I'm not really understanding what you mean by a virtual > service. What I was able to get out of this email was that you > want to define a service such as check_http to check the same > "host" multiple times, for example: > > > > define service{ > > host_name www.domain.com > service_description HTTP check > > } > > > > ...but have this issue it's results to more than one host. If > you try and define that service to check host www.domain.com > twice, you will get an error. > Therefore, you need 2 hosts defined in your hosts.cfg like: > > > > define host{ > host_name www.domain.com.internal > > address 127.0.0.1 > } > > > > define host{ > host_name www.domain.com.virtual > > address 127.0.0.1 > } > > > > Then define a service to check_http for each of these hosts, > and you'll be ok. Just make sure check_http uses the ip > address and not the hostname. > > > > define service{ > > host_name www.domain.com.internal > > service_description HTTP check > > } > > > > define service{ > > host_name www.domain.com.virtual > > service_description HTTP check > > } > > > > Hope this helps! > > > > -Jason > > ----- Original Message ----- > > From: Miguel A. Torres > > To: nagios-users at lists.sourceforge.net > > > Sent: Friday, May 09, 2003 10:40 > > Subject: [Nagios-users] Virtual Services??? > > > Hello, > > I'm configuring nagios to monitoring a lot of services. I > need to group many services in a "Virtual service" who it > is not associated to a host. For example: > > I have 3 machines with webs servers, so I have configured > 3 independent services associated with it`s respective > host. Now I want to configure a "virtual service" who > include those 3 services. I have been reading all the > documentation for nagios and I don`t find how can I make it. > > My question is: Is it possible with nagios? > > Thanks and excuse my poor english. > > DISCLAIMER: > This message contains information that may be privileged or > confidential and is the property of the Roxar Group. It is intended > only for the person to whom it is addressed. If you are not the > intended recipient, you are not authorised to read, print, retain, > copy, disseminate, distribute, or use this message or any part > thereof. If you receive this message in error, please notify the > sender immediately and delete all copies of this message. > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rplewe at hpce.nec.com Fri May 9 21:51:53 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 9 May 2003 21:51:53 +0200 Subject: Checking Unix Console Login In-Reply-To: <054701c31659$02fea890$0d2fa8c0@sysadmin.starcalif.com>; from ramog@starcalif.com on Fri, May 09, 2003 at 11:30:05AM -0700 References: <054701c31659$02fea890$0d2fa8c0@sysadmin.starcalif.com> Message-ID: <20030509215153.A1547@hpce.nec.com> On Fri, May 09, 2003 at 11:30:05AM -0700, ramog wrote: > > Is there any Nagios Plugin command to check or monitor a unix console > or terminal ( say, tty10 ) whether a unix account in a system is > "logged in" to that console or not. > > I appreciate any feedback or help.... check_by_ssh plus a small shell script consisting of "who" and "grep" are your friends. Rasmus ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Fri May 9 23:06:18 2003 From: ramog at starcalif.com (ramog) Date: Fri, 9 May 2003 14:06:18 -0700 Subject: Fw: Checking Unix Console Login Message-ID: <063901c3166e$d5c22530$0d2fa8c0@sysadmin.starcalif.com> I got the script already written to check the console or tty but Nagios reports it only as informational and does'nt report say, warning or critical if an account is not logged in the console, which is what I would like just like most of the Nagios Plugins, i.e., ./check_procs, etc..... Thanks Again, RFA ----- Original Message ----- From: ramog To: nagios-users at lists.sourceforge.net Sent: Friday, May 09, 2003 11:30 AM Subject: [Nagios-users] Checking Unix Console Login Is there any Nagios Plugin command to check or monitor a unix console or terminal ( say, tty10 ) whether a unix account in a system is "logged in" to that console or not. I appreciate any feedback or help.... Thanks, RFA -------------- next part -------------- An HTML attachment was scrubbed... URL: From gv2385 at sbc.com Fri May 9 23:31:09 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Fri, 9 May 2003 17:31:09 -0400 Subject: Notes, Logos and Extended Host Info issue Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6D24@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I'm just dying here. I've got Nagios installed, and have it monitoring some of my servers just fine for now. But, I'm trying to set up extended host info (template based) and it is not working. What am I doing wrong? The host logo doesn't display, and neither does the "there are notes" image. Please assist. I'm pulling my hair out. Cgi.cfg has: xedtemplate_config_file=hostextinfo.cfg Hostextinfo.cfg has: - -rw-r--r-- 1 root root 563 May 9 16:15 hostextinfo.cfg define hostextinfo{ host_name Netivrp1 notes_url http://dtcs0816.ameritech.com/cgi-bin/dtchan.pl?HOST=netivrp1 icon_image aix.png icon_image_alt IBM AIX statusmap_image aix.gd2 vrml_image aix.png } Httpd.conf has: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI order deny,allow allow from all Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig order allow,deny allow from all Options None allow from all Logo images are located in: /usr/share/nagios/images/logos No reply necessary - -- Regards, Geordon M. VanTassle Technical Architect SBC, Call Center Technologies * phone: 847-781-3063 * pager: 630-695-0007 * text page:6306950007 at paging.acswireless.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrwdbBnDT1v4QosXEQKhCwCfZ6IjQaja22OjniY8fryBrH8x2uEAoOF+ VrUpoVcJxg0Y7nn2gzDaOcnZ =QO2f -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGPexch.rtf.pgp Type: application/octet-stream Size: 1136 bytes Desc: not available URL: From truckfund at insightbb.com Sat May 10 03:58:48 2003 From: truckfund at insightbb.com (Anthony & Terri Schutzler) Date: Fri, 9 May 2003 21:58:48 -0400 (EDT) Subject: Warning: Monitoring process may not be running! Message-ID: <2045.10.100.10.99.1052531928.squirrel@www.lanwangeek.com> Hello, I receive the following warning on the Nagios Tactical Monitoring Overview page at the top of the page. Tactical Monitoring Overview Last Updated: Fri May 9 21:51:38 EDT 2003 Updated every 90 seconds Nagios? - www.nagios.org Logged in as anthony Warning: Monitoring process may not be running! Click here for more info. If you click on the link, the following message appears. Process Commands It appears as though Nagios is not running, so commands are temporarily unavailable... All other functions work correctly but this. What can I do to fix this problem? Thanks Anthony ----------------------------------------- This email was sent using SquirrelMail. "Webmail for nuts!" http://squirrelmail.org/ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Sat May 10 04:42:04 2003 From: nick at gushlow.com (Nick Gushlow) Date: 10 May 2003 02:42:04 +0000 Subject: splitting up config files & cfg_dir Message-ID: <1052534523.1580.49.camel@rockley.barbados> Hi, I've recently tried to change my nagios install from having one config file for hosts, services, etc to having lots of config files in separate directories for each server group. I'm using cfg_dir in the nagios.cfg file rather than specifying each file. this is how the files are laid out: /nagios - main config files with generic templates - hosts, services, contacts etc /nagios/group1 - hosts, hostgroups, hostextinfo, services /nagios/group2 - hosts, hostgroups, hostextinfo, services . . . etc. The problem now is that my hostextinfo definitions don't work. I get the following error when doing a pre-flight check: ----- Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/lan/hostextinfo.cfg' on line 6. ----- the hostextinfo.cfg file looks like this: ----- ##### ## Host Extended Information File ## # Server 1 define hostextinfo{ host_name Server1 icon_image linux40.png icon_image_alt Gentoo Linux 1.4 statusmap_image linux40.gd2 } ----- Line 6 is the define hostextinfo{ line. None of my definitions have changed, yet they all worked when I had one big hostextinfo file. Anyone know why this might be happening? -- Nick Gushlow ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Sat May 10 08:47:30 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 9 May 2003 23:47:30 -0700 (PDT) Subject: Nagios & Remedy? Message-ID: Greetings! I know of a place that has a large Big Brother installation, but I have been less than satisfied with its implementation. Nagios would be a better choice, but.. they have BB set to create tickets in the Remedy Action Request System and send pages. I know Nagios can send pages, but how about creating trouble tickets? Does anybody have Nagios creating trouble tickets at all? If so, how do you do it? Thanks! -Jonathan ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Sat May 10 08:48:21 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 9 May 2003 23:48:21 -0700 (PDT) Subject: Warning: Monitoring process may not be running! In-Reply-To: <2045.10.100.10.99.1052531928.squirrel@www.lanwangeek.com> References: <2045.10.100.10.99.1052531928.squirrel@www.lanwangeek.com> Message-ID: > Process Commands > It appears as though Nagios is not running, so commands are temporarily > unavailable... > > All other functions work correctly but this. What can I do to fix this > problem? Thanks Anthony > What does the log file say? Something might me in /var/log/messages (or /var/adm/messages) or wherever Nagios is logging to... -Jonathan ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Sat May 10 08:44:29 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 9 May 2003 23:44:29 -0700 (PDT) Subject: splitting up config files & cfg_dir In-Reply-To: <1052534523.1580.49.camel@rockley.barbados> References: <1052534523.1580.49.camel@rockley.barbados> Message-ID: > > I've recently tried to change my nagios install from having one config > file for hosts, services, etc to having lots of config files in separate > directories for each server group. I'm using cfg_dir in the nagios.cfg > file rather than specifying each file. > > this is how the files are laid out: > > /nagios - main config files with generic templates - hosts, services, > contacts etc > /nagios/group1 - hosts, hostgroups, hostextinfo, services > /nagios/group2 - hosts, hostgroups, hostextinfo, services > .. that works great, doesn't it? Makes things a WHOLE lot cleaner. Definately something to add to the Nagios FAQ (if it's not already there, I honestly haven't looked) I have: cfg_dir=/etc/nagios/servers/ cfg_dir=/etc/nagios/servers/ has .cfg files for each thing that I'm monitoring. I thought about splitting it up even further but my network really isn't that big & impressive. :-) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sat May 10 11:39:46 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 10 May 2003 19:39:46 +1000 Subject: Nagios & Remedy? In-Reply-To: ; from jnichols@pbp.net on Fri, May 09, 2003 at 11:47:30PM -0700 References: Message-ID: <20030510193940.A272@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your valuable letter - many people look at Nag and say (ignorantly), "Nice product. Shame it can't interwork with product X". On Fri, May 09, 2003 at 11:47:30PM -0700, Jonathan Nichols wrote: > Greetings! > I know of a place that has a large Big Brother installation, but I > have been less than satisfied with its implementation. Nagios would be a > better choice, but.. they have BB set to create tickets in the Remedy > Action Request System and send pages. I know Nagios can send pages, but > how about creating trouble tickets? Nag can do anything that /bin/sh can do. For notifications it happens to run /usr/bin/mail however, if you have an executable that does the right things Nag will run it for you (this is the basis for event handlers. The ones here run some Perl to update a mySQL availability database [with a down interval]). > Does anybody have Nagios creating trouble tickets at all? If so, > how do you do it? If yoy can post either 1 A Remedy _non-binary_ client (preferably in some fairly portable language such as /bin/sh or Perl or C source) or 2 What BB does to stuff a ticket into Remedy or 3 What Remedy accepts (the format and destination, and the protocol) to add a trouble ticket then someone will have Nag doing it. Probably the worst case is that in the way of commercial products, Remedy supplies a few binary trouble ticket clients built for famous name products (since this is a family program, the names have been deleted, but you know who). These would doubtless require Remedy libraries also and therefore be limited to running on those name products. In this case, you would install the Remedy client on the big name of your choice (and bank account) and have Nag run it by ssh. Not much help, but you should take heart. > Thanks! > > -Jonathan Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Sat May 10 13:40:34 2003 From: nick at gushlow.com (Nick Gushlow) Date: 10 May 2003 11:40:34 +0000 Subject: splitting up config files & cfg_dir In-Reply-To: References: Message-ID: <1052566834.1614.1.camel@rockley.barbados> On Sat, 2003-05-10 at 06:44, Jonathan Nichols wrote: > . that works great, doesn't it? Makes things a WHOLE lot cleaner. > > Definately something to add to the Nagios FAQ (if it's not already there, > I honestly haven't looked) > > I have: cfg_dir=/etc/nagios/servers/ > > cfg_dir=/etc/nagios/servers/ has .cfg files for each thing that I'm > monitoring. I thought about splitting it up even further but my network > really isn't that big & impressive. :-) > Mostly it works great except for my hostextinfo problem. Do you have hostextinfo files in each of your servers dir? do they get read in ok? Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From Brian.Ipsen-sender-25cac0 at andebakken.dk Sat May 10 13:45:52 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Sat, 10 May 2003 13:45:52 +0200 Subject: Checking Avaya IP telephony Message-ID: Hi! Does anyone know of a plugin where I can check whether an Avaya IP-Office 406 (IP telephony) is running ? Regards, /Brian ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From truckfund at insightbb.com Sat May 10 14:57:26 2003 From: truckfund at insightbb.com (Anthony & Terri Schutzler) Date: Sat, 10 May 2003 08:57:26 -0400 (EDT) Subject: Warning: Monitoring process may not be running! Message-ID: <1093.10.100.10.99.1052571446.squirrel@www.lanwangeek.com> If you look at the logs, or do a PS, Nagios is running with no errors reported. I copied parts of those outputs into this email below. So, it looks like Nagios is running, and preforming the service checks, but the message above is still there. Any other ideas? Thanks Anthony {messages log] May 9 22:10:42 linux1 nagios: Nagios 1.0 starting... (PID=27256) May 9 22:10:43 linux1 nagios: Finished daemonizing... (New PID=27257) May 9 22:11:13 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;CRITICAL;SOFT ;1;PING CRITICAL - Packet loss = 60%, RTA = 9.60 ms May 9 22:11:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;WARNING;SOFT; 1;PING WARNING - Packet loss = 20%, RTA = 11.69 ms May 9 22:12:13 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;OK;SOFT;2;PIN G OK - Packet loss = 0%, RTA = 19.63 ms May 9 22:12:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;WARNING;SOFT; 2;PING WARNING - Packet loss = 20%, RTA = 13.60 ms May 9 22:13:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;OK;SOFT;3;PIN G OK - Packet loss = 0%, RTA = 18.48 ms [Output from PS command] [root at linux1 log]# ps -A PID TTY TIME CMD 27257 ? 00:00:00 nagios 15723 ? 00:00:00 nagios 15724 ? 00:00:00 check_ping 15725 ? 00:00:00 ping 15727 ? 00:00:00 nagios 15728 ? 00:00:00 check_ping 15729 ? 00:00:00 ping [root at linux1 log]# >> Process Commands >> It appears as though Nagios is not running, so commands are temporarily unavailable... >> All other functions work correctly but this. What can I do to fix this problem? Thanks Anthony > What does the log file say? Something might me in /var/log/messages (or /var/adm/messages) or wherever Nagios is logging to... > > -Jonathan > ----------------------------------------- This email was sent using SquirrelMail. "Webmail for nuts!" http://squirrelmail.org/ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Sat May 10 17:48:57 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Sat, 10 May 2003 11:48:57 -0400 Subject: Warning: Monitoring process may not be running! In-Reply-To: <1093.10.100.10.99.1052571446.squirrel@www.lanwangeek.com> References: <1093.10.100.10.99.1052571446.squirrel@www.lanwangeek.com> Message-ID: <000b01c3170b$ae27d130$6101a8c0@acid> You're speaking of the "Process Info" page? Look at your cgi.cfg's nagios_check_command or go to: http://nagios.sourceforge.net/docs/1_0/configcgi.html#nagios_check_comma nd -Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Anthony & Terri Schutzler Sent: Saturday, May 10, 2003 8:57 To: Jonathan Nichols Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning: Monitoring process may not be running! If you look at the logs, or do a PS, Nagios is running with no errors reported. I copied parts of those outputs into this email below. So, it looks like Nagios is running, and preforming the service checks, but the message above is still there. Any other ideas? Thanks Anthony {messages log] May 9 22:10:42 linux1 nagios: Nagios 1.0 starting... (PID=27256) May 9 22:10:43 linux1 nagios: Finished daemonizing... (New PID=27257) May 9 22:11:13 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;CRITICAL;SOFT ;1;PING CRITICAL - Packet loss = 60%, RTA = 9.60 ms May 9 22:11:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;WARNING;SOFT; 1;PING WARNING - Packet loss = 20%, RTA = 11.69 ms May 9 22:12:13 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;OK;SOFT;2;PIN G OK - Packet loss = 0%, RTA = 19.63 ms May 9 22:12:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;WARNING;SOFT; 2;PING WARNING - Packet loss = 20%, RTA = 13.60 ms May 9 22:13:57 linux1 nagios: SERVICE ALERT: insightbbrouter;PING;OK;SOFT;3;PIN G OK - Packet loss = 0%, RTA = 18.48 ms [Output from PS command] [root at linux1 log]# ps -A PID TTY TIME CMD 27257 ? 00:00:00 nagios 15723 ? 00:00:00 nagios 15724 ? 00:00:00 check_ping 15725 ? 00:00:00 ping 15727 ? 00:00:00 nagios 15728 ? 00:00:00 check_ping 15729 ? 00:00:00 ping [root at linux1 log]# >> Process Commands >> It appears as though Nagios is not running, so commands are temporarily unavailable... >> All other functions work correctly but this. What can I do to fix this problem? Thanks Anthony > What does the log file say? Something might me in /var/log/messages (or /var/adm/messages) or wherever Nagios is logging to... > > -Jonathan > ----------------------------------------- This email was sent using SquirrelMail. "Webmail for nuts!" http://squirrelmail.org/ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Sat May 10 21:01:47 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Sat, 10 May 2003 15:01:47 -0400 Subject: Checking Avaya IP telephony In-Reply-To: References: Message-ID: <001101c31726$9ea07da0$6101a8c0@acid> If you know how to check it from a shell (eg, ping, telnet, web, or however it's "checked") I'm sure you could write a script! Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Ipsen Sent: Saturday, May 10, 2003 7:46 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Avaya IP telephony Hi! Does anyone know of a plugin where I can check whether an Avaya IP-Office 406 (IP telephony) is running ? Regards, /Brian ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Sat May 10 21:20:04 2003 From: drich at employees.org (Dan Rich) Date: Sat, 10 May 2003 12:20:04 -0700 (PDT) Subject: More passive problems Message-ID: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> I am concerned with the way Nagios appears to handle passive alerts. As I mentioned before, I am using a script to monitor a system farm of several hundred machines. Every five minutes this script submits passive checks for each machine into Nagios. Doing the above I frequently see many (for large values of many, sometimes > 100) of Nagios processes that are blocked on a lock file in the var directory. It looks like this is due to the process that is reading the passive checks from the named pipe. However, this has frequently led to system loads over 100, and this morning brought the system to a griding halt. Does anyone have any idea why the passive checks are causing this problem? If I stop the cron job that generates the checks and restart Nagios the load goes away and doesn't return. By whole point in doing this in the first place with passive checks was to avoid the load on the system caused by hundreds of processes having to run every few minutes, but that seems to have backfired. -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com From jlancaster at affinity.com Sat May 10 21:52:50 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Sat, 10 May 2003 15:52:50 -0400 Subject: More passive problems In-Reply-To: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> References: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> Message-ID: <001301c3172d$c04c7830$6101a8c0@acid> Dan, Can you give us a better description of your environment? Are you only running one Nagios server or do you have a central server that this server is sending statistics to? What external command file frequencies, interleaving, and aggregate methods are you using in your Nagios.cfg file? -Jason -----Original Message----- From: nagios-devel-admin at lists.sourceforge.net [mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Dan Rich Sent: Saturday, May 10, 2003 15:20 To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-devel] More passive problems I am concerned with the way Nagios appears to handle passive alerts. As I mentioned before, I am using a script to monitor a system farm of several hundred machines. Every five minutes this script submits passive checks for each machine into Nagios. Doing the above I frequently see many (for large values of many, sometimes > 100) of Nagios processes that are blocked on a lock file in the var directory. It looks like this is due to the process that is reading the passive checks from the named pipe. However, this has frequently led to system loads over 100, and this morning brought the system to a griding halt. Does anyone have any idea why the passive checks are causing this problem? If I stop the cron job that generates the checks and restart Nagios the load goes away and doesn't return. By whole point in doing this in the first place with passive checks was to avoid the load on the system caused by hundreds of processes having to run every few minutes, but that seems to have backfired. -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Sat May 10 22:34:33 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sun, 11 May 2003 08:34:33 +1200 Subject: More passive problems In-Reply-To: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> References: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> Message-ID: <200305102032.h4AKWnP06316@spectre.freeparking.co.nz> decrease service_reaper? or external_command_check interval to -1? jamie On Sun, 11 May 2003 07:20, you wrote: > I am concerned with the way Nagios appears to handle passive alerts. As I > mentioned before, I am using a script to monitor a system farm of several > hundred machines. Every five minutes this script submits passive checks > for each machine into Nagios. > > Doing the above I frequently see many (for large values of many, sometimes > > 100) of Nagios processes that are blocked on a lock file in the var > directory. It looks like this is due to the process that is reading the > passive checks from the named pipe. However, this has frequently led to > system loads over 100, and this morning brought the system to a griding > halt. > > Does anyone have any idea why the passive checks are causing this problem? > If I stop the cron job that generates the checks and restart Nagios the > load goes away and doesn't return. By whole point in doing this in the > first place with passive checks was to avoid the load on the system caused > by hundreds of processes having to run every few minutes, but that seems to > have backfired. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Sun May 11 04:44:23 2003 From: drich at employees.org (Dan Rich) Date: Sat, 10 May 2003 19:44:23 -0700 (PDT) Subject: More passive problems In-Reply-To: <200305102032.h4AKWnP06316@spectre.freeparking.co.nz> References: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> <200305102032.h4AKWnP06316@spectre.freeparking.co.nz> Message-ID: <53010.172.16.42.17.1052621063.squirrel@mail.lapseofthought.com> Jamie Baddeley said: > decrease service_reaper? > or external_command_check interval to -1? Service_reaper is currently set to 10s, and external_command_check is already set to -1. > On Sun, 11 May 2003 07:20, you wrote: >> I am concerned with the way Nagios appears to handle passive alerts. As I >> mentioned before, I am using a script to monitor a system farm of several >> hundred machines. Every five minutes this script submits passive checks >> for each machine into Nagios. >> >> Doing the above I frequently see many (for large values of many, sometimes >> > 100) of Nagios processes that are blocked on a lock file in the var >> directory. It looks like this is due to the process that is reading the >> passive checks from the named pipe. However, this has frequently led to >> system loads over 100, and this morning brought the system to a griding >> halt. >> >> Does anyone have any idea why the passive checks are causing this problem? >> If I stop the cron job that generates the checks and restart Nagios the >> load goes away and doesn't return. By whole point in doing this in the >> first place with passive checks was to avoid the load on the system caused >> by hundreds of processes having to run every few minutes, but that seems to >> have backfired. > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Sun May 11 04:59:49 2003 From: drich at employees.org (Dan Rich) Date: Sat, 10 May 2003 19:59:49 -0700 (PDT) Subject: More passive problems In-Reply-To: <001301c3172d$c04c7830$6101a8c0@acid> References: <50643.172.16.42.17.1052594404.squirrel@mail.lapseofthought.com> <001301c3172d$c04c7830$6101a8c0@acid> Message-ID: <53092.172.16.42.17.1052621989.squirrel@mail.lapseofthought.com> Jason Lancaster said: > Can you give us a better description of your environment? Are you only > running one Nagios server or do you have a central server that this > server is sending statistics to? What external command file frequencies, > interleaving, and aggregate methods are you using in your Nagios.cfg > file? Sure. I have one Nagios server running two instances of Nagios (I partitioned the farm monitoring off to a separate server because it was just too much information on a single web page with both the 600+ farm systems and the rest of our servers). The server itself is a dual proccessor system (that looks like a quad processor to the OS), has 4GB of memory, a 100Mb network connection (soon to be 1Gb most likely), and also serves as our cricket and syslog server. I turned off the passive checks earlier today (the scripts still run and update my cricket server, they just don't pump any data into Nagios), and have still seen a few load spikes. However, nothing as bad as what I experienced last night. The farm monitor has 757 hosts and 2225 services. 1478 of those services are passive, updated via. two scripts. At the moment, the farm instance has 404 processes running with a load of 1.43, all forks of the master nagios process as far as I can tell. Here is my nagios.cfg file, less the cfg_file lines and comments: log_file=/var/nagios/var/nagios-farm.log status_file=/var/nagios/var/status-farm.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/nagios/var/rw/nagios-farm.cmd comment_file=/var/nagios/var/comment-farm.log downtime_file=/var/nagios/var/downtime-farm.log lock_file=/var/nagios/var/nagios-farm.lock temp_file=/var/nagios/var/nagios-farm.tmp log_rotation_method=d log_archive_path=/var/nagios/var/archives-farm use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/nagios/var/status-farm.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=drich admin_pager=pagenagios > -----Original Message----- > From: nagios-devel-admin at lists.sourceforge.net > [mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Dan Rich > Sent: Saturday, May 10, 2003 15:20 > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] More passive problems > > > I am concerned with the way Nagios appears to handle passive alerts. As > I > mentioned before, I am using a script to monitor a system farm of > several > hundred machines. Every five minutes this script submits passive checks > for > each machine into Nagios. > > Doing the above I frequently see many (for large values of many, > sometimes > > 100) of Nagios processes that are blocked on a lock file in the var > directory. > It looks like this is due to the process that is reading the passive > checks > from the named pipe. However, this has frequently led to system loads > over > 100, and this morning brought the system to a griding halt. > > Does anyone have any idea why the passive checks are causing this > problem? If > I stop the cron job that generates the checks and restart Nagios the > load goes > away and doesn't return. By whole point in doing this in the first > place with > passive checks was to avoid the load on the system caused by hundreds of > processes having to run every few minutes, but that seems to have > backfired. > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you > sure, sir? > | It means changing the bulb in the > sign..." > | - Red Dwarf (BBC) > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Sun May 11 08:12:28 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Sun, 11 May 2003 02:12:28 -0400 Subject: More passive problems In-Reply-To: <53092.172.16.42.17.1052621989.squirrel@mail.lapseofthought.com> References: <53092.172.16.42.17.1052621989.squirrel@mail.lapseofthought.com> Message-ID: <001801c31784$501f5b20$6101a8c0@acid> Dan, I've been dealing with a very similar problem in a large-scale distributed environment for the past week. Initially, I was bottle-necked by the ocsp command running on my "child" monitoring servers. I was able to resolve that. (See my thread titled "distributed monitoring/central server performance problems") I have yet to resolve my central server's performance issues monitoring anything more than about 1200 external commands. I figured this was due to a cpu issue and was planning on upgrading my central server to a faster system on Monday. Current central system is a dual 1.0ghz. I'm assuming you're running a pair of p4's with hyper-threading because of your comment about the quad processor. While I may not have a quick answer for you, I'd like to at least confirm we're both having the same issue. Mine lies with the processing time it takes for Nagios to execute a service status check update. If my terminology on that seems off, I'm talking about where Nagios forks the additional Nagios child and waits for an update to write in the status.log. I have so many external commands being written to Nagios a second that the Nagios children queue until the system reaches a breaking point in load. This can be fixed by limiting the amount of Nagios processes, but then I delay my results even further, eventually creating an infinite queue of results the system will never process. I'm still hoping the cpu's are the bottleneck in my environment. -Jason -----Original Message----- From: Dan Rich [mailto:drich at employees.org] Sent: Saturday, May 10, 2003 23:00 To: Jason Lancaster Cc: drich at employees.org; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] More passive problems Jason Lancaster said: > Can you give us a better description of your environment? Are you only > running one Nagios server or do you have a central server that this > server is sending statistics to? What external command file frequencies, > interleaving, and aggregate methods are you using in your Nagios.cfg > file? Sure. I have one Nagios server running two instances of Nagios (I partitioned the farm monitoring off to a separate server because it was just too much information on a single web page with both the 600+ farm systems and the rest of our servers). The server itself is a dual proccessor system (that looks like a quad processor to the OS), has 4GB of memory, a 100Mb network connection (soon to be 1Gb most likely), and also serves as our cricket and syslog server. I turned off the passive checks earlier today (the scripts still run and update my cricket server, they just don't pump any data into Nagios), and have still seen a few load spikes. However, nothing as bad as what I experienced last night. The farm monitor has 757 hosts and 2225 services. 1478 of those services are passive, updated via. two scripts. At the moment, the farm instance has 404 processes running with a load of 1.43, all forks of the master nagios process as far as I can tell. Here is my nagios.cfg file, less the cfg_file lines and comments: log_file=/var/nagios/var/nagios-farm.log status_file=/var/nagios/var/status-farm.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/nagios/var/rw/nagios-farm.cmd comment_file=/var/nagios/var/comment-farm.log downtime_file=/var/nagios/var/downtime-farm.log lock_file=/var/nagios/var/nagios-farm.lock temp_file=/var/nagios/var/nagios-farm.tmp log_rotation_method=d log_archive_path=/var/nagios/var/archives-farm use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/nagios/var/status-farm.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=drich admin_pager=pagenagios > -----Original Message----- > From: nagios-devel-admin at lists.sourceforge.net > [mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Dan Rich > Sent: Saturday, May 10, 2003 15:20 > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] More passive problems > > > I am concerned with the way Nagios appears to handle passive alerts. As > I > mentioned before, I am using a script to monitor a system farm of > several > hundred machines. Every five minutes this script submits passive checks > for > each machine into Nagios. > > Doing the above I frequently see many (for large values of many, > sometimes > > 100) of Nagios processes that are blocked on a lock file in the var > directory. > It looks like this is due to the process that is reading the passive > checks > from the named pipe. However, this has frequently led to system loads > over > 100, and this morning brought the system to a griding halt. > > Does anyone have any idea why the passive checks are causing this > problem? If > I stop the cron job that generates the checks and restart Nagios the > load goes > away and doesn't return. By whole point in doing this in the first > place with > passive checks was to avoid the load on the system caused by hundreds of > processes having to run every few minutes, but that seems to have > backfired. > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you > sure, sir? > | It means changing the bulb in the > sign..." > | - Red Dwarf (BBC) > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paschos at cosmoline.com Sun May 11 09:34:34 2003 From: paschos at cosmoline.com (George Paschos) Date: Sun, 11 May 2003 10:34:34 +0300 Subject: acknowledging user Message-ID: Hi, Is there a way to have the username in the service acknowledgement notification command? For example: ***** Nagios 1.0 ***** Notification Type: ACKNOWLEDGEMENT Service: Teles Port 72 - AYK A Host: Teles iSwitch Address: 192.168.62.2 State: WARNING Date/Time: Fri May 9 16:44:09 EEST 2003 Additional Info: acknowledged by : <...comment...> Thanks in advance. Regards, George ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Sun May 11 22:21:06 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Sun, 11 May 2003 22:21:06 +0200 Subject: [Nagiosplug-help] check_citrix ? In-Reply-To: ; from Brian.Ipsen-sender-67dee9@andebakken.dk on Sun, May 11, 2003 at 09:47:09PM +0200 References: Message-ID: <20030511222106.D1916@hpce.nec.com> On Sun, May 11, 2003 at 09:47:09PM +0200, Brian Ipsen wrote: > Hi! > > I have a very strange problem. I try to monitor a citrix distributed > application. If I in a shell (in the plugsions-directory) use the command: > > ./check_citrix -B 192.168.1.255 -P Explorer -W Explorer [...] > But the status of the service in Nagios is "Critical" with "(No output!)" > > Any suggestions to what the problem can be ?? Just because it's a common source of problems: You are not testing it as the nagios-user? Rasmus ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon May 12 08:25:37 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 12 May 2003 08:25:37 +0200 Subject: splitting up config files & cfg_dir References: <1052534523.1580.49.camel@rockley.barbados> Message-ID: <3EBF3E61.7040201@datavis.se> This is because Nagios tries to load all .cfg-files in the dir, including the extinfo-file... These files are not intended to be read by Nagios, but the CGI's. Rename the extinfo-files so they dont end with .cfg and add them to cgi.cfg instead (xedtemplate_config_file=). /FredrikW Nick Gushlow wrote: >Hi, > >I've recently tried to change my nagios install from having one config >file for hosts, services, etc to having lots of config files in separate >directories for each server group. I'm using cfg_dir in the nagios.cfg >file rather than specifying each file. > >this is how the files are laid out: > >/nagios - main config files with generic templates - hosts, services, >contacts etc >/nagios/group1 - hosts, hostgroups, hostextinfo, services >/nagios/group2 - hosts, hostgroups, hostextinfo, services >. >. >. >etc. > >The problem now is that my hostextinfo definitions don't work. I get the >following error when doing a pre-flight check: >----- >Error: Invalid object definition type 'hostextinfo' in file >'/etc/nagios/lan/hostextinfo.cfg' on line 6. >----- > > >the hostextinfo.cfg file looks like this: >----- >##### >## Host Extended Information File >## > ># Server 1 >define hostextinfo{ > host_name Server1 > icon_image linux40.png > icon_image_alt Gentoo Linux 1.4 > statusmap_image linux40.gd2 > } >----- > >Line 6 is the define hostextinfo{ line. None of my definitions have >changed, yet they all worked when I had one big hostextinfo file. > >Anyone know why this might be happening? > >-- Nick Gushlow > > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon May 12 09:25:05 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 12 May 2003 17:25:05 +1000 Subject: Virtual Services??? In-Reply-To: ; from matorres@prisacom.com on Fri, May 09, 2003 at 06:34:41PM +0200 References: Message-ID: <20030512172449.F53017@IPAustralia.Gov.AU> Dear Sir, If you mean a 'virtual host' in the sense of 'vip' or 'virtual server' used by Load Balancer vendors such as Foundry Networks (with the ServerIron product) and you want to check that there is a sufficient number of 'Real Servers' available then I think the approaches are 1 Set up Nag to receive SNMP traps from the load balancer and process those relating to 'Real Servers' (probably port unreachable traps) This is a bit hard to do since the process that handles these traps has to record previous 'real server' down traps. 2 Use check_snmp in a creative way to check the status of 'Real Servers' by polling the load balancer for the 'Real Server' availability This assumes that check_snmp will take the OIDs corresponding to the Ok state of _all_ the real servers. 3 a custom check that checks all the real servers and reacts to the number that are Ok (your custom check program would accept a variable number of arguments specifying the real server names/addresses eg check_virt_server -s real_1 -s real_2 -s real_3 ...) Here is a diagram of the situation your words suggest to me. ------- LB --- Real Server Real IP 1 Virtual IP --- Real Server Real IP 2 ... ie the LB accepts requests for the service on address VIP and farms them out (according to some method such as 'round robin', 'least loaded' etc) to the duplicate Real servers (which may be directly connected to the LB [because the LB is also a L2 switch] or not (if the LB does source NAT). I beg your pardon if I have missed the point. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Mon May 12 10:14:53 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Mon, 12 May 2003 10:14:53 +0200 Subject: perfdata Message-ID: <003e01c3185e$90c61940$520101c0@TECMSEISDEDOS> Hello everybody: * I have compiled nagios with the ?with-default-perfdata option, and set process_performance_data=1. * I defined the command: define command{ command_name process-service-perfdata command_line /bin/echo -e "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT $\t$STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >> /usr/local/nagios/var/service-perfdata } * when nagios starts the next message is displayed: Line 484 = 'process_performance_data=1' process_performance_data set to TRUE Line 497 = 'service_perfdata_command=process-service-perfdata' * In the service i want the performance information about i set: process_perf_data 1 retain_status_information 0 But when I see the precess info in the html interface it says: Performance Data Being Processed?No And this doesn?t work, I don?t get any service-perfdata file Can anybody help me??? ________________________________________________________________________ _____________________________________________ Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hagen_Deike at icon-scm.com Mon May 12 10:58:40 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Mon, 12 May 2003 10:58:40 +0200 Subject: AW: Notification Problem on Escalations with yaps- 0.96 (parallelizing) Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4573@serv-075.icon-germany.local> > -----Urspr?ngliche Nachricht----- > Von: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] > Gesendet: Freitag, 9. Mai 2003 13:36 > An: Hagen Deike; 'nagios-users at lists.sourceforge.net' > Betreff: Re: AW: [Nagios-users] Notification Problem on > Escalations with yaps- 0.96 (parallelizing) > > > Am Dienstag, 6. Mai 2003 14:31 schrieb Hagen Deike: > Hi Hagen, > thank you for the yaps-server, this was the right idea, but > one more question: > Which command have you defined for notifiing via sms? > Tell me, how comes the > notfication of nagios into the pipe? ---------- > > # echo "" "\" here>\"" > > > /var/spool/nagios/yaps.cmd ---------- My command look like this... Define command{ command_name notify-by-sms comman_line echo "$CONTACTPAGER$" "\"$NOTIFICATIONTYPE$ ...... \"" > /var/spool/nagios/yaps.cmd } ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mercer at btitelecom.net Thu May 8 23:15:09 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Thu, 08 May 2003 17:15:09 -0400 Subject: Plugin works interactively but not in Nagios Message-ID: I've got Nagios 1.0 running on a RedHat 8.0 x86 system. It's working quite nicely though I have a lot of tweaking to do to the configs before moving it into production. I'm using the Nagios Plugin set 1.3 installed via RPM. Here's my issue: I have several checks that always return an error code when they are performed by the Nagios daemon. Yet when executing the exact same command interactively, the check works fine. I'm doing the interactive check from the actual system running the Nagios software, and even using the Nagios account itself. The plugin in question is "check_http". Here's the command that works fine interactively: check_http -S -I x.x.x.x -p 6666 -a user:pass Here's a typical result: HTTP ok: HTTP/1.0 200 OK - 0.102 second response time |time= 0.102 Yet when I define a check command such as this: $USER1$/check_http -S -I $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ [etc] And then invoke it in a service check like this: check_https!-p!6666!-a!user:pass The check always fails with the error message "Socket timeout after 10 seconds". When doing a similar check against the same remote system but on a different port, I get the error message "Unable to open TCP socket". What's really frustrating is not being able to see exactly what command Nagios actually forks when it does the check. I'm pretty sure it must be munging something in the check command. Though i get absolutely no errors when starting/restarting nagios. The only other unusual thing is this issue only seems to happen when checking that particular remote system. I'm doing http and https checks on a number of other systems and get normal results. I've already confirmed it's not a firewall issue. Any suggestions on how to trouble shoot this, or folks who've seen similar problems? Any assistance would be greatly appreciated! ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at sneftechnologies.fr Mon May 12 14:50:43 2003 From: nagios at sneftechnologies.fr (Nagios) Date: Mon, 12 May 2003 13:50:43 +0100 Subject: How to send notification by email to an external address? References: Message-ID: <004a01c31885$1b9459d0$5966a8c0@sneftech> I've successfully installed nagios and I want to notify some users about hosts or services problems by email (exemple : test at yahoo.com). But I didn't succeed to config that. Can you help me? I join some of my configuration files. ----- Original Message ----- From: "Jeff Mercer" To: Sent: Thursday, May 08, 2003 10:15 PM Subject: [Nagios-users] Plugin works interactively but not in Nagios > I've got Nagios 1.0 running on a RedHat 8.0 x86 system. It's working > quite nicely though I have a lot of tweaking to do to the configs before > moving it into production. I'm using the Nagios Plugin set 1.3 installed > via RPM. > > Here's my issue: I have several checks that always return an error code > when they are performed by the Nagios daemon. Yet when executing the > exact same command interactively, the check works fine. I'm doing the > interactive check from the actual system running the Nagios software, > and even using the Nagios account itself. > > The plugin in question is "check_http". Here's the command that works > fine interactively: > > check_http -S -I x.x.x.x -p 6666 -a user:pass > > Here's a typical result: > > HTTP ok: HTTP/1.0 200 OK - 0.102 second response time |time= 0.102 > > Yet when I define a check command such as this: > > $USER1$/check_http -S -I $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ [etc] > > And then invoke it in a service check like this: > > check_https!-p!6666!-a!user:pass > > The check always fails with the error message "Socket timeout after 10 > seconds". When doing a similar check against the same remote system but > on a different port, I get the error message "Unable to open TCP socket". > > What's really frustrating is not being able to see exactly what command > Nagios actually forks when it does the check. I'm pretty sure it must be > munging something in the check command. Though i get absolutely no > errors when starting/restarting nagios. > > The only other unusual thing is this issue only seems to happen when > checking that particular remote system. I'm doing http and https checks > on a number of other systems and get normal results. I've already > confirmed it's not a firewall issue. > > Any suggestions on how to trouble shoot this, or folks who've seen > similar problems? Any assistance would be greatly appreciated! > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: contactgroups.cfg Type: application/octet-stream Size: 641 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contacts.cfg Type: application/octet-stream Size: 1164 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hosts.cfg Type: application/octet-stream Size: 8535 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: misccommands.cfg Type: application/octet-stream Size: 2168 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 2329 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg Type: application/octet-stream Size: 15622 bytes Desc: not available URL: From Tom.DeBlende at dhl.com Mon May 12 14:21:35 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 12 May 2003 14:21:35 +0200 Subject: Plugin works interactively but not in Nagios In-Reply-To: References: Message-ID: <3EBF91CF.3040001@dhl.com> Try this instead: $USER1$/check_http -S -I $HOSTADDRESS$ -p $ARG1$ -a "$ARG2$" check_https!6666!user:pass Jeff Mercer wrote: > I've got Nagios 1.0 running on a RedHat 8.0 x86 system. It's working > quite nicely though I have a lot of tweaking to do to the configs before > moving it into production. I'm using the Nagios Plugin set 1.3 installed > via RPM. > > Here's my issue: I have several checks that always return an error code > when they are performed by the Nagios daemon. Yet when executing the > exact same command interactively, the check works fine. I'm doing the > interactive check from the actual system running the Nagios software, > and even using the Nagios account itself. > > The plugin in question is "check_http". Here's the command that works > fine interactively: > > check_http -S -I x.x.x.x -p 6666 -a user:pass > > Here's a typical result: > > HTTP ok: HTTP/1.0 200 OK - 0.102 second response time |time= 0.102 > > Yet when I define a check command such as this: > > $USER1$/check_http -S -I $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ [etc] > > And then invoke it in a service check like this: > > check_https!-p!6666!-a!user:pass > > The check always fails with the error message "Socket timeout after 10 > seconds". When doing a similar check against the same remote system but > on a different port, I get the error message "Unable to open TCP socket". > > What's really frustrating is not being able to see exactly what command > Nagios actually forks when it does the check. I'm pretty sure it must be > munging something in the check command. Though i get absolutely no > errors when starting/restarting nagios. > > The only other unusual thing is this issue only seems to happen when > checking that particular remote system. I'm doing http and https checks > on a number of other systems and get normal results. I've already > confirmed it's not a firewall issue. > > Any suggestions on how to trouble shoot this, or folks who've seen > similar problems? Any assistance would be greatly appreciated! > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon May 12 12:00:39 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 12 May 2003 11:00:39 +0100 Subject: [Nagiosplug-help] check_citrix ? Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECCE@netfinity-1.foundation-it.local> > From: Rasmus Plewe [mailto:rplewe at hpce.nec.com] > > On Sun, May 11, 2003 at 09:47:09PM +0200, Brian Ipsen wrote: > > > > I have a very strange problem. I try to monitor a citrix > distributed > > application. If I in a shell (in the plugsions-directory) use the > > command: > > > > ./check_citrix -B 192.168.1.255 -P Explorer -W Explorer > [...] > > But the status of the service in Nagios is "Critical" with "(No > > output!)" > > > > Any suggestions to what the problem can be ?? > > Just because it's a common source of problems: > You are not testing it as the nagios-user? Lots of people (myself included) seem to have problems with that plugin in that it works from the command line but not under Nagios. That sounds like the problem being experienced here as well. I've never seen a solution in all the times the question has been posed as to why that should be. It's on my list of things to investigate so if I ever come to any conclusions, I'll make sure I post them here. Phil ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Mon May 12 15:18:57 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Mon, 12 May 2003 15:18:57 +0200 Subject: How to send notification by email to an external address? In-Reply-To: <004a01c31885$1b9459d0$5966a8c0@sneftech> References: <004a01c31885$1b9459d0$5966a8c0@sneftech> Message-ID: <002301c31889$0b31dff0$cfdda8c0@nwl.se> >I've successfully installed nagios and I want to notify some users about >hosts or services problems by email (exemple : test at yahoo.com). But I >didn't >succeed to config that. Can you help me? > >I join some of my configuration files. That is not a nagios problem, that is a problem with your MTA. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at sneftechnologies.fr Mon May 12 16:15:21 2003 From: nagios at sneftechnologies.fr (Nagios) Date: Mon, 12 May 2003 15:15:21 +0100 Subject: How to send emails to an external adress by nagios notification tools? Message-ID: <007101c31890$ed5f7840$5966a8c0@sneftech> Hi, I have successfully installed nagios on my RedHat 9. I want to notify some users about hosts problems by email (external like user at yahoo.com). So I have try yo use the notify_by_email command and I do not have anything in my emails! Can you help me? I join some of my configuration files. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contactgroups.cfg Type: application/octet-stream Size: 641 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contacts.cfg Type: application/octet-stream Size: 1164 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hosts.cfg Type: application/octet-stream Size: 8535 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: misccommands.cfg Type: application/octet-stream Size: 2168 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 2329 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg Type: application/octet-stream Size: 15622 bytes Desc: not available URL: From CabreraN at southcom.disa.mil Mon May 12 15:41:09 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Mon, 12 May 2003 09:41:09 -0400 Subject: Plugins compile error Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193F26@emsmia1.southcom.disa.mil> When compiling the Nagios 1.3.0 Plugins on RedHat 8.0 I receive the following error: $ make all gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -g -O2 -c check_p rocs.c check_procs.c: In function `main': check_procs.c:106: `PS_COMMAND' undeclared (first use in this function) check_procs.c:106: (Each undeclared identifier is reported only once check_procs.c:106: for each function it appears in.) check_procs.c:123: `PS_FORMAT' undeclared (first use in this function) make: *** [check_procs.o] Error 1 Is this an indication of something missing on my machine? Thanks for your help. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davy.gaussen at sneftechnologies.fr Mon May 12 16:57:00 2003 From: davy.gaussen at sneftechnologies.fr (Davy Gaussen) Date: Mon, 12 May 2003 15:57:00 +0100 Subject: How to send notification by email to an external address? References: <002301c31889$0b31dff0$cfdda8c0@nwl.se> Message-ID: <008f01c31896$c1626d00$5966a8c0@sneftech> MTA ??? What is MTA please? Can you help me more? Thanks ----- Original Message ----- From: "Jan Johansson" To: "'Nagios'" ; Sent: Monday, May 12, 2003 2:18 PM Subject: RE: [Nagios-users] How to send notification by email to an external address? > >I've successfully installed nagios and I want to notify some users > about > >hosts or services problems by email (exemple : test at yahoo.com). But I > >didn't > >succeed to config that. Can you help me? > > > >I join some of my configuration files. > > That is not a nagios problem, that is a problem with your MTA. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Mon May 12 15:59:37 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Mon, 12 May 2003 15:59:37 +0200 Subject: How to send notification by email to an external address? In-Reply-To: <008f01c31896$c1626d00$5966a8c0@sneftech> References: <008f01c31896$c1626d00$5966a8c0@sneftech> Message-ID: <000401c3188e$b9817e80$cfdda8c0@nwl.se> >MTA ??? >What is MTA please? Can you help me more? MTA is short for Mail Transfer Agent. In other words, the system used to send mail. This is not configured properly if you can not send mail outside the box. It is impossible for me to tell you how to fix this without knowing the exact setup of your system. You are probably using sendmail, postfix, exim or qmail. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon May 12 16:18:30 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 12 May 2003 22:18:30 +0800 Subject: help with nagiosplugins Message-ID: <200305122218.36492.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Just wondering is there anything wrong with my configuration? I am using (nagios-plugins 1.3.0-beta3) 1.7 and Nagios 1.0. When I checked disk space manually: # /usr/nagios/libexec/check_disk -w 30% -c 15% -p /var DISK WARNING [1698424 kB (20%) free on /dev/ide/host0/bus0/target0/lun0/part4] However, when Nagios checked the disk space, it returns OK. This is from nagios.log after I restarted nagios: [1052748510] SERVICE ALERT: hostname;Disk /var;OK;HARD;1;DISK OK [1698456 kB (20%) free on /dev/ide/host0/bus0/target0/lun0/part4] This is inside the service definition for checking disk space: service_description Disk /var check_command check-disk!30!15!/var This is the command definition: define command{ command_name check-disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } I mean shouldn't nagios tell me that disk /var service is in warning state already? - -- Jasmine Chua "Without change, something sleeps inside us, and seldom awakens. The sleeper must be awaken." -- Duke Leto Atreides -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+v607NgvTa7Hj2AURAlegAKDHh7lGMPdNxhL1G0CHbfKu5DupSQCgwzTC Y31wKo10ZEU+WpUVbeTqwm4= =63V4 -----END PGP SIGNATURE----- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Mon May 12 15:25:09 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Mon, 12 May 2003 08:25:09 -0500 Subject: Nagios + APC UPSsssss Message-ID: Hi, I started using Nagios a few weeks ago and things are running great. >From what I have seen on the list so far, Nagios has the ability to monitor anything in some way or another. Has anybody monitored APC UPS's with it? I am currently checking some with PING but that is about it. I would like the ability to monitor runtime, battery capacity and things like that. I have about 75 UPS, 150 printers, and other devices that I would like to do some monitoring on. It is currently in a test environment until I can get it tweaked and have a base config setup. Thanks Leonard -- Leonard W. Miller, CCNA United Defense, L.P. Learn to survive until you can gain control ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Mon May 12 16:49:38 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Mon, 12 May 2003 16:49:38 +0200 Subject: How to send notification by email to an external address? In-Reply-To: <009d01c3189d$8e6b13a0$5966a8c0@sneftech> References: <009d01c3189d$8e6b13a0$5966a8c0@sneftech> Message-ID: <000401c31895$b6369510$cfdda8c0@nwl.se> >Yes, I am using sendmail, but the question is how tell to Nagios to use >sendmail to send emails? You don't. If Nagios can send local mails, then Nagios is correctly configured. You will have to configure _sendmail_ to properly deliver mails to external recipients. Personally I abandoned sendmail in favour for Exim a long time ago, so I can not help you with configuration of Sendmail. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davy.gaussen at sneftechnologies.fr Mon May 12 17:45:44 2003 From: davy.gaussen at sneftechnologies.fr (Davy Gaussen) Date: Mon, 12 May 2003 16:45:44 +0100 Subject: How to send notification by email to an external address? References: <000401c3188e$b9817e80$cfdda8c0@nwl.se> Message-ID: <009d01c3189d$8e6b13a0$5966a8c0@sneftech> Yes, I am using sendmail, but the question is how tell to Nagios to use sendmail to send emails? ----- Original Message ----- From: "Jan Johansson" To: "'Davy Gaussen'" ; Sent: Monday, May 12, 2003 2:59 PM Subject: RE: [Nagios-users] How to send notification by email to an external address? > >MTA ??? > >What is MTA please? Can you help me more? > > MTA is short for Mail Transfer Agent. In other words, the system used to > send mail. This is not configured properly if you can not send mail > outside the box. It is impossible for me to tell you how to fix this > without knowing the exact setup of your system. You are probably using > sendmail, postfix, exim or qmail. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon May 12 16:52:06 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 12 May 2003 10:52:06 -0400 Subject: How to send notification by email to an extern al address? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC67@eentsvr40.ehvert.com> Message Transfer Agent (MTA, Mail Transport Agent) The program responsible for delivering e-mail messages. Upon receiving a message from a Mail User Agent or another MTA it stores it temporarily locally and analyses the recipients and either delivers it (local addressee) or forwards it to another MTA (routing). In either case it may edit and/or add to the message headers. The most widely used MTA for Unix is sendmail, which communicates using SMTP. Regards, dean -----Original Message----- From: Davy Gaussen [mailto:davy.gaussen at sneftechnologies.fr] Sent: May 12, 2003 10:57 AM To: Jan Johansson; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to send notification by email to an external address? MTA ??? What is MTA please? Can you help me more? Thanks ----- Original Message ----- From: "Jan Johansson" To: "'Nagios'" ; Sent: Monday, May 12, 2003 2:18 PM Subject: RE: [Nagios-users] How to send notification by email to an external address? > >I've successfully installed nagios and I want to notify some users > about > >hosts or services problems by email (exemple : test at yahoo.com). But I > >didn't > >succeed to config that. Can you help me? > > > >I join some of my configuration files. > > That is not a nagios problem, that is a problem with your MTA. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ilclaudio at supereva.it Mon May 12 17:05:15 2003 From: ilclaudio at supereva.it (ilclaudio at supereva.it) Date: 12 May 2003 15:05:15 -0000 Subject: discovery of nodes Message-ID: <20030512150515.15177.qmail@mail.supereva.it> Hi, does it exist a plug-in of nagios for the autodiscovery of nodes and hosts in a network? I've to add nodes manually in the hosts.cfg file? Thank you very much claudio ----------------------------------------------------- Trova online il tuo partner! http://incontri.supereva.it messaggio inviato con Freemail by www.superEva.it ----------------------------------------------------- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lionel.ostric at arm.com Mon May 12 16:54:34 2003 From: lionel.ostric at arm.com (Lionel Ostric) Date: Mon, 12 May 2003 16:54:34 +0200 Subject: Nagios + APC UPSsssss References: Message-ID: <035801c31896$6722f0d0$280da8c0@nice.arm.com> Yes you can monitor it by SNMP. I've written a plugin for that but it would need some clean up : #!/usr/local/bin/perl -wT # check_lsf # # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # you should have received a copy of the GNU General Public License # along with this program (or with Nagios); if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA #################################### # checks for status of platform LSF cluster # Returns: # OK if lsf is running # Critical if lsf is not running # #################################### use Net::SNMP; use Getopt::Long; &Getopt::Long::config('auto_abbrev'); my $status; my $response = ""; my $TIMEOUT = 240; my $community = "public"; my $port = 161; my $status_string = ""; my %OIDLIST = ( upsload => '.1.3.6.1.4.1.318.1.1.1.4.2.3.0', upsstatus => '.1.3.6.1.4.1.318.1.1.1.4.1.1.0' ); my %STATUSCODE = ( 'UNKNOWN' => '-1', 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2'); my $state = "UNKNOWN"; $SIG{'ALRM'} = sub { print "ERROR: No snmp response from $hostname (sigALRM)\n"; exit($STATUSCODE{"UNKNOWN"}); }; alarm($TIMEOUT); sub show_help { printf("\nPerl Powernet UPS plugin for APC UPS\n"); printf("Usage:\n"); printf(" check_ups [options] Options: -c snmp-community -p snmp-port "); printf("check_ups comes with absolutely NO WARRANTY either implied or explicit\n"); printf("This program is licensed under the terms of the\n"); printf("GNU General Public License\n(check source code for details)\n\n\n"); exit($STATUSCODE{"UNKNOWN"}); } sub SNMPGET { $OID = shift; ($session,$error) = Net::SNMP->session( Hostname => $hostname, Community => $community, Port => $port, Timeout => 60 ); if(!defined($session)) { return ""; } if(!defined($response = $session->get_request($OID))) { $session->close(); printf("$state %s\n", $session->error()); return ""; #exit($STATUSCODE{$state}); } $session->close(); return($response->{$OID}); } $status = GetOptions( "community=s", \$community, "port=i", \$port, "maxi=i", \$max, "warning=i", \$warn ); if($status == 0) { &show_help; } $hostname = shift || &show_help; $upsstatus=&SNMPGET($OIDLIST{upsstatus}); if ($upsstatus eq "") { print "No SNMP response\n"; exit($STATUSCODE{"UNKNOWN"}); } if ($upsstatus==2) { $upsload=&SNMPGET($OIDLIST{upsload}); print "Load : $upsload|$upsload\n"; exit($STATUSCODE{'OK'}); } elsif ($upsstatus==1) {print "Unknown\n" ; exit(1)} elsif ($upsstatus==3) {print "On Battery\n" ; exit(2)} elsif ($upsstatus==4) {print "On SmartBoost\n" ; exit(1)} elsif ($upsstatus==5) {print "TimedSleeping\n" ; exit(2)} elsif ($upsstatus==6) {print "SoftwareBypass\n" ; exit(2)} elsif ($upsstatus==7) {print "off\n" ; exit(2)} elsif ($upsstatus==8) {print "Rebooting\n" ; exit(2)} elsif ($upsstatus==9) {print "SwitchedBypass\n" ; exit(2)} elsif ($upsstatus==10) {print "HardwareFailureBypass\n" ; exit(2)} elsif ($upsstatus==11) {print "Sleeping until power return\n" ; exit(2)} elsif ($upsstatus==12) {print "On Smart Trim\n" ; exit(2)} ----- Original Message ----- From: "Leonard Miller" To: Sent: Monday, May 12, 2003 3:25 PM Subject: [Nagios-users] Nagios + APC UPSsssss > Hi, > I started using Nagios a few weeks ago and things are > running great. > > From what I have seen on the list so far, Nagios has the > ability to monitor anything in some way or another. > Has anybody monitored APC UPS's with it? I am currently > checking some with PING but that is about it. I would like > the ability to monitor runtime, battery capacity and things > like that. I have about 75 UPS, 150 printers, and other devices > that I would like to do some monitoring on. > > It is currently in a test environment until I can get it tweaked and > have a base config setup. > > Thanks > Leonard > > > > -- > Leonard W. Miller, CCNA > United Defense, L.P. > > Learn to survive until you can gain control > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon May 12 17:15:02 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 12 May 2003 11:15:02 -0400 Subject: help with nagiosplugins Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC68@eentsvr40.ehvert.com> Good morning, The problem is that on the command-line you are using percent and in the nagios command definition you are not. If you don't specify a unit I believe that the plugin defaults to bytes. Try adding "%" to your command definition. Later, dean -----Original Message----- From: Jasmine [mailto:jasmine.chua at securecirt.com] Sent: May 12, 2003 10:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help with nagiosplugins -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Just wondering is there anything wrong with my configuration? I am using (nagios-plugins 1.3.0-beta3) 1.7 and Nagios 1.0. When I checked disk space manually: # /usr/nagios/libexec/check_disk -w 30% -c 15% -p /var DISK WARNING [1698424 kB (20%) free on /dev/ide/host0/bus0/target0/lun0/part4] However, when Nagios checked the disk space, it returns OK. This is from nagios.log after I restarted nagios: [1052748510] SERVICE ALERT: hostname;Disk /var;OK;HARD;1;DISK OK [1698456 kB (20%) free on /dev/ide/host0/bus0/target0/lun0/part4] This is inside the service definition for checking disk space: service_description Disk /var check_command check-disk!30!15!/var This is the command definition: define command{ command_name check-disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } I mean shouldn't nagios tell me that disk /var service is in warning state already? - -- Jasmine Chua "Without change, something sleeps inside us, and seldom awakens. The sleeper must be awaken." -- Duke Leto Atreides -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+v607NgvTa7Hj2AURAlegAKDHh7lGMPdNxhL1G0CHbfKu5DupSQCgwzTC Y31wKo10ZEU+WpUVbeTqwm4= =63V4 -----END PGP SIGNATURE----- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon May 12 17:16:25 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 12 May 2003 11:16:25 -0400 Subject: Nagios + APC UPSsssss Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> Good morning, SNMP is probably the way to go. You should be able to get some decent mibs from www.mibdepot.com. Later, dean -----Original Message----- From: Leonard Miller [mailto:Leonard_Miller at udlp.com] Sent: May 12, 2003 9:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios + APC UPSsssss Hi, I started using Nagios a few weeks ago and things are running great. >From what I have seen on the list so far, Nagios has the ability to monitor anything in some way or another. Has anybody monitored APC UPS's with it? I am currently checking some with PING but that is about it. I would like the ability to monitor runtime, battery capacity and things like that. I have about 75 UPS, 150 printers, and other devices that I would like to do some monitoring on. It is currently in a test environment until I can get it tweaked and have a base config setup. Thanks Leonard -- Leonard W. Miller, CCNA United Defense, L.P. Learn to survive until you can gain control ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon May 12 17:56:57 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 12 May 2003 11:56:57 -0400 Subject: discovery of nodes Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC6B@eentsvr40.ehvert.com> There is a utility that can take nmap info and build configs. Mileage varies. I tried a version about a year ago but found that the configs were not as clean as would like. No grouping was done so, for instance, service check definitions were created for the same service on different hosts rather than creating a single service definition and adding a list of hosts to it's definition. It has been a while since I used it so it has probably been improved by Robert significantly. Hope that's not too muddy, The utility is available on the nagios download page (nmap2nagios) -----Original Message----- From: ilclaudio at supereva.it [mailto:ilclaudio at supereva.it] Sent: May 12, 2003 11:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] discovery of nodes Hi, does it exist a plug-in of nagios for the autodiscovery of nodes and hosts in a network? I've to add nodes manually in the hosts.cfg file? Thank you very much claudio ----------------------------------------------------- Trova online il tuo partner! http://incontri.supereva.it messaggio inviato con Freemail by www.superEva.it ----------------------------------------------------- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon May 12 17:36:49 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 12 May 2003 11:36:49 -0400 Subject: How to send notification by email to an extern al address? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC6A@eentsvr40.ehvert.com> Nagios comes configured to use /bin/mail to send messages. This is defined in /[nagios-root]/etc/misccommands.cfg you can change the mail handler in this file for each notification command definition. Regards, dean -----Original Message----- From: Davy Gaussen [mailto:davy.gaussen at sneftechnologies.fr] Sent: May 12, 2003 11:46 AM To: Jan Johansson; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to send notification by email to an external address? Yes, I am using sendmail, but the question is how tell to Nagios to use sendmail to send emails? ----- Original Message ----- From: "Jan Johansson" To: "'Davy Gaussen'" ; Sent: Monday, May 12, 2003 2:59 PM Subject: RE: [Nagios-users] How to send notification by email to an external address? > >MTA ??? > >What is MTA please? Can you help me more? > > MTA is short for Mail Transfer Agent. In other words, the system used to > send mail. This is not configured properly if you can not send mail > outside the box. It is impossible for me to tell you how to fix this > without knowing the exact setup of your system. You are probably using > sendmail, postfix, exim or qmail. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Mon May 12 17:40:46 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 12 May 2003 16:40:46 +0100 Subject: Plugins compile error Message-ID: <1012BD903945D411915500105A48FF57F06C27@nt.man.fwltech.com> does running ./configure before the make all give you any errors? it sounds like it's not finding ps on your system for some reason. Ewan > -----Original Message----- > From: Cabrera, Nestor (Contractor) [mailto:CabreraN at southcom.disa.mil] > Sent: 12 May 2003 14:41 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugins compile error > Importance: Low > > > When compiling the Nagios 1.3.0 Plugins on RedHat 8.0 I receive the > following error: > > $ make all > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. > -I../lib -g > -O2 -c check_p > rocs.c > check_procs.c: In function `main': > check_procs.c:106: `PS_COMMAND' undeclared (first use in this > function) > check_procs.c:106: (Each undeclared identifier is reported only once > check_procs.c:106: for each function it appears in.) > check_procs.c:123: `PS_FORMAT' undeclared (first use in this function) > make: *** [check_procs.o] Error 1 > > Is this an indication of something missing on my machine? > Thanks for your > help. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mercer at btitelecom.net Mon May 12 18:07:58 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Mon, 12 May 2003 12:07:58 -0400 (EDT) Subject: Plugin works interactively but not in Nagios In-Reply-To: <3EBF91CF.3040001@dhl.com> References: <3EBF91CF.3040001@dhl.com> Message-ID: On Mon, 12 May 2003, Tom DE BLENDE wrote: >Try this instead: > >$USER1$/check_http -S -I $HOSTADDRESS$ -p $ARG1$ -a "$ARG2$" > >check_https!6666!user:pass Hmmm, worth a try. But no luck, I get the same error. :( ___________-------------============================-------------___________ / Jeff Mercer \ | Systems Administrator - BTInet | ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matorres at prisacom.com Mon May 12 18:44:24 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Mon, 12 May 2003 18:44:24 +0200 Subject: Service Dependencies doesn't WORK???? Message-ID: Hello all, I have a problem with the Service Dependencies. I'm configuring a simple test of this feature but it doesn`t work. The configuration that I'm trying is the following: I have 2 servers with apache ============================ define service{ host_name server1 service_description MYSQL } define service{ host_name server2 service_description WEB } For check this feature I put this servicedependency in the file "dependicies.cfg". define servicedependency{ host_name server1 service_description MYSQL dependent_host_name server2 dependent_service_description WEB execution_failure_criteria w,u,c notification_failure_criteria w,u,c } With this configuration I want when the MYSQL service in server1 turn on warnnig, unreachable or critical state the WEB service in server2 turn in the same state that de MYSQL service. But ..... this DOESN'T WORK. My question is: is this configuration correct?? should I do something more? Thanks in advance. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon May 12 18:25:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 12 May 2003 12:25:47 -0400 (EDT) Subject: Nagios + APC UPSsssss In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> Message-ID: contrib / check_apc-ups.pl check_hpjd for HP JetDirect printers. If you have other network printers let us know - just finished testing a check_snmp_printer last month. -sg On Mon, 12 May 2003, Dean Bishop wrote: > Good morning, > > SNMP is probably the way to go. You should be able to get some > decent mibs from www.mibdepot.com. > > Later, > dean > > -----Original Message----- > From: Leonard Miller [mailto:Leonard_Miller at udlp.com] > Sent: May 12, 2003 9:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios + APC UPSsssss > > Hi, > I started using Nagios a few weeks ago and things are > running great. > > >From what I have seen on the list so far, Nagios has the > ability to monitor anything in some way or another. > Has anybody monitored APC UPS's with it? I am currently > checking some with PING but that is about it. I would like > the ability to monitor runtime, battery capacity and things > like that. I have about 75 UPS, 150 printers, and other devices > that I would like to do some monitoring on. > > It is currently in a test environment until I can get it tweaked and > have a base config setup. > > Thanks > Leonard > > > > -- > Leonard W. Miller, CCNA > United Defense, L.P. > > Learn to survive until you can gain control > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Mon May 12 18:46:28 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Mon, 12 May 2003 11:46:28 -0500 Subject: Nagios + APC UPSsssss Message-ID: My contrib dir doesn't have that file. Is the dir cleaned after a "make clean"? I saw the check_ups file, but that requires NUTS to work, and my UPSssssss are connected to Cisco switches. I thought about using Nagios for my switches but that would have been overkill since I already use CiscoWorks and Openview. The hpdj looks like it will do what I need it to do. I have a couple of Xerox and Sharp, but the Sharps should(fingers crossed) be going away soon. It would be nice to see the xerox since the divisions big cheese uses one, but it isn't critical. Thanks to eveybody L >>> Subhendu Ghosh 05/12/03 12:25PM >>> contrib / check_apc-ups.pl check_hpjd for HP JetDirect printers. If you have other network printers let us know - just finished testing a check_snmp_printer last month. -sg ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Mon May 12 18:48:07 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Mon, 12 May 2003 12:48:07 -0400 Subject: Checking an MSSQL Message-ID: Hello all, I would like to check an MS SQL 2000 database, and was wanting to know if there are any people out there doing this already. I know I can check the NT service with NSClient, but I wanted to do something a little more than that to make sure that the SQL service is indeed accepting requests and processing them. My idea was to have an ODBC connection from the nagios box to the MS SQL box and process the following: 1 - read data from a table 2- write new data to a table 3 - read the new data from a table to make sure that it worked 4 - delete data from the table 5 - read the table again to make sure that the data is gone. any ideas if something like this exists before I go down the road of trying to create my own script with unix ODBC and all that??? Thanks for the help.. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CabreraN at southcom.disa.mil Mon May 12 18:47:36 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Mon, 12 May 2003 12:47:36 -0400 Subject: Plugins compile error Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193F27@emsmia1.southcom.disa.mil> You might be right. I ran configure again (./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios) to see if an error came up and half way down got the following: checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for type of socket size... int checking for ps... (cached) /usr/bin/ps ** Unable to find usable ps syntax The rest seem to have had no error. I don't think I'll be using that plugin so in case I can't get it to work, is it possible to skip it during compile? -----Original Message----- From: Ewan Leith [mailto:ejl at man.fwltech.com] Sent: Monday, May 12, 2003 11:41 AM To: 'Cabrera, Nestor (Contractor)'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Plugins compile error does running ./configure before the make all give you any errors? it sounds like it's not finding ps on your system for some reason. Ewan > -----Original Message----- > From: Cabrera, Nestor (Contractor) [mailto:CabreraN at southcom.disa.mil] > Sent: 12 May 2003 14:41 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugins compile error > Importance: Low > > > When compiling the Nagios 1.3.0 Plugins on RedHat 8.0 I receive the > following error: > > $ make all > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. > -I../lib -g > -O2 -c check_p > rocs.c > check_procs.c: In function `main': > check_procs.c:106: `PS_COMMAND' undeclared (first use in this > function) > check_procs.c:106: (Each undeclared identifier is reported only once > check_procs.c:106: for each function it appears in.) > check_procs.c:123: `PS_FORMAT' undeclared (first use in this function) > make: *** [check_procs.o] Error 1 > > Is this an indication of something missing on my machine? > Thanks for your > help. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Mon May 12 18:53:25 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Mon, 12 May 2003 12:53:25 -0400 Subject: Plugin works interactively but not in Nagios References: Message-ID: Jeff, Create your own plugin, just shell script that does something like: echo $* >> /tmp/toto /usr/local/nagios/libexec/check_http $* and place it instead of check_http (either on the file system or in the command config file.). Then you will be able to see what args are passed and what's going on. Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Jeff Mercer" To: "Tom DE BLENDE" Cc: Sent: Monday, May 12, 2003 12:07 PM Subject: Re: [Nagios-users] Plugin works interactively but not in Nagios > On Mon, 12 May 2003, Tom DE BLENDE wrote: > >Try this instead: > > > >$USER1$/check_http -S -I $HOSTADDRESS$ -p $ARG1$ -a "$ARG2$" > > > >check_https!6666!user:pass > > Hmmm, worth a try. > > But no luck, I get the same error. :( > > ___________-------------============================-------------___________ > / Jeff Mercer \ > | Systems Administrator - BTInet | > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Mon May 12 18:58:12 2003 From: jasonp at iland.com (Jason Payne) Date: Mon, 12 May 2003 11:58:12 -0500 Subject: (no subject) Message-ID: This is the command I have in my cgi.cfg dilated# /home/nagios/libexec/check_nagios /home/nagios/var/status.log 5 '/home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg' Could not locate a running Nagios process! As you can see, it doesn't work, yet: nagios 149 0.0 0.7 1952 1736 ?? Ss 11:43AM 0:02.51 /home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg It is running. And: dilated Total Processes UNKNOWN 05-12-2003 11:50:43 1d 13h 24m 47s 9/9 Unable to read output This is my checkcommand: # 'check_procs' command definition define command{ command_name check_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ } dilated# ./check_procs -w 200 -c 300 Unable to read output This has been running for almost a year with no problems what so ever, and this starts happening. Anyone have any ideas? FreeBSD 4.5-RELEASE #0: Wed Jul 10 22:51:05 CDT 2002 Thanks, Jason Payne ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Russ_Conklin at stercomm.com Mon May 12 19:17:34 2003 From: Russ_Conklin at stercomm.com (Conklin, Russ) Date: Mon, 12 May 2003 13:17:34 -0400 Subject: non-password protected page for general viewing Message-ID: <7D82A32B200498449E9279D4DFE9E415011ABF79@scidubmsg02.amr.stercomm.com> I have nagios all setup and really love how it works. My only question is, how do I set up a page (specifically the "Status Overview" page) to be non-password protected. I'd like general users in the office to be able to view this page without entering a username/password. I'm not too worried about users turning off notifications, etc, so thats not a problem. Has anyone done something like this? thanks, Russ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dprice at c1-slo.com Mon May 12 19:27:25 2003 From: dprice at c1-slo.com (Price, David) Date: Mon, 12 May 2003 10:27:25 -0700 Subject: Checking an MSSQL Message-ID: <4F81C0AF5D19D411BC12009027D10498B7CFF8@c1slo1.c1-slo.com> Ian, You can check SQL performace counters using NSClient's custom check. For example, I have the following lines in my config: # Service definition define service{ use generic-service ; Name of service template to use host_name c1sql2 service_description SQL User Connections is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period workhours notification_options c,r check_command check_nt_custom!"\\SQLServer:General Statistics\\User Connections"!"User Connections: %.f" } Hope this helps David Price -----Original Message----- From: Ian Farr [mailto:ianf at Oceanwide.com] Sent: Monday, May 12, 2003 9:48 AM To: Nagios Users List (E-mail) Subject: [Nagios-users] Checking an MSSQL Hello all, I would like to check an MS SQL 2000 database, and was wanting to know if there are any people out there doing this already. I know I can check the NT service with NSClient, but I wanted to do something a little more than that to make sure that the SQL service is indeed accepting requests and processing them. My idea was to have an ODBC connection from the nagios box to the MS SQL box and process the following: 1 - read data from a table 2- write new data to a table 3 - read the new data from a table to make sure that it worked 4 - delete data from the table 5 - read the table again to make sure that the data is gone. any ideas if something like this exists before I go down the road of trying to create my own script with unix ODBC and all that??? Thanks for the help.. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon May 12 19:05:22 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 12 May 2003 18:05:22 +0100 Subject: [Nagiosplug-help] check_citrix ? Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909E850@netfinity-1.foundation-it.local> > From: Rasmus Plewe [mailto:rplewe at hpce.nec.com] > > On Sun, May 11, 2003 at 09:47:09PM +0200, Brian Ipsen wrote: > > > > I have a very strange problem. I try to monitor a citrix > distributed > > application. If I in a shell (in the plugsions-directory) use the > > command: > > > > ./check_citrix -B 192.168.1.255 -P Explorer -W Explorer > [...] > > But the status of the service in Nagios is "Critical" with "(No > > output!)" > > > > Any suggestions to what the problem can be ?? Just been having a look at this and discovered what the problem is ... and then discovered that Johannes Dagemark actually posted the solution a few weeks ago. :) As it stands, check_citrix.pl needs to be _run_ in the directory where the utils.pm library resides. As changing directory in a checkcommands.cfg command is inelegant (and doesn't seem to work anyway :), the best solution is to add the line use lib "/path/to/your/nagios/libexec/dir"; to check_citrix.pl somewhere before the "use utils" line, e.g. use lib "/usr/local/nagios/libexec"; use utils qw(%ERRORS &print_revision &support &usage); Phil ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erik.larkin at nuasis.com Mon May 12 18:45:20 2003 From: erik.larkin at nuasis.com (Erik Larkin) Date: Mon, 12 May 2003 09:45:20 -0700 Subject: [Nagios-devel] More passive problems Message-ID: You might want to look at "command_check_interval" in nagios.cfg. I have a huge number of passive checks coming in as well (via nsca), and I found that leaving it at -1, which equates to "check as often as possible", didn't check often enough. Consequently my pipe size would hit the kernel maximum (linux redhat) pretty quickly, and all new incoming nsca connections would hang until nagios cleared the pipe. I set the command_check_interval to 1s, and it seemed to help a good deal. You can also increase the allowed maximum size of a pipe, but for redhat at least that requires recompiling the kernel. -----Original Message----- From: Dan Rich [mailto:drich at employees.org] Sent: Saturday, May 10, 2003 12:20 PM To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-devel] More passive problems I am concerned with the way Nagios appears to handle passive alerts. As I mentioned before, I am using a script to monitor a system farm of several hundred machines. Every five minutes this script submits passive checks for each machine into Nagios. Doing the above I frequently see many (for large values of many, sometimes > 100) of Nagios processes that are blocked on a lock file in the var directory. It looks like this is due to the process that is reading the passive checks from the named pipe. However, this has frequently led to system loads over 100, and this morning brought the system to a griding halt. Does anyone have any idea why the passive checks are causing this problem? If I stop the cron job that generates the checks and restart Nagios the load goes away and doesn't return. By whole point in doing this in the first place with passive checks was to avoid the load on the system caused by hundreds of processes having to run every few minutes, but that seems to have backfired. -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leonard_Miller at udlp.com Mon May 12 19:33:24 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Mon, 12 May 2003 12:33:24 -0500 Subject: Statusmap errors Message-ID: When I go to Status Map, it shows question marks for hosts. I made changes in cgi.cfg/Extended Host Information and it still does not change. And when I click on a host, it returns and Internal Server Error. Running a check on the nagios.cfg does not return any errors but this is from my /var/log/httpd/error_log file. [Mon May 12 13:14:57 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: statusmap.cgi, referer: http://10.2.13.56/nagios/cgi-bin/statusmap.cgi?host=all I commented out the line I added in the cgi.cfg file and the error still occurs. Is it me? I looked at the docs and it appears that I had set everything up ok. I also stopped and restarted the nagios service Thanks L ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon May 12 19:45:31 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 12 May 2003 12:45:31 -0500 Subject: How to send notification by email to an external address? Message-ID: If you're not keen on Sendmail, check this FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=150 jc > -----Original Message----- > From: Davy Gaussen [mailto:davy.gaussen at sneftechnologies.fr] > Sent: Monday, May 12, 2003 10:46 AM > To: Jan Johansson; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How to send notification by email to an > external address? > > > Yes, I am using sendmail, but the question is how tell to > Nagios to use > sendmail to send emails? > > ----- Original Message ----- > From: "Jan Johansson" > To: "'Davy Gaussen'" ; > > Sent: Monday, May 12, 2003 2:59 PM > Subject: RE: [Nagios-users] How to send notification by email > to an external > address? > > > > >MTA ??? > > >What is MTA please? Can you help me more? > > > > MTA is short for Mail Transfer Agent. In other words, the > system used to > > send mail. This is not configured properly if you can not send mail > > outside the box. It is impossible for me to tell you how to fix this > > without knowing the exact setup of your system. You are > probably using > > sendmail, postfix, exim or qmail. > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara > > The only event dedicated to issues related to Linux > enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon May 12 20:10:27 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 12 May 2003 13:10:27 -0500 Subject: non-password protected page for general viewing Message-ID: Two options (to my knowledge): 1) Disable user authentication. Impact: If someone adds a comment or schedules downtime, you won't know who that is. Also, it could potentially be a free-for-all, but it sounds like you're ready to accept that risk. 2) Create another path/tree for Apache to work with. I'd read this solution/workaround some months ago. I don't have the info at my fingertips, but essentially you make a copy of the share and sbin directories (*without* the .htaccess files), put them in new directories (eg, guestshare and guestsbin), tweak httpd.conf accordingly, remove the CGIs from the new directory that you don't want them executing, restart Apache, and you should be good to go. Naturally your 'guest' users will need a slightly different URL, but that should be the only noteworthy difference from their POV. Other than not needing to authenticate, that is. jc > -----Original Message----- > From: Conklin, Russ [mailto:Russ_Conklin at stercomm.com] > Sent: Monday, May 12, 2003 12:18 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] non-password protected page for > general viewing > > > I have nagios all setup and really love how it works. My > only question is, > how do I set up a page (specifically the "Status Overview" page) to be > non-password protected. I'd like general users in the office > to be able to > view this page without entering a username/password. I'm not > too worried > about users turning off notifications, etc, so thats not a problem. > > Has anyone done something like this? > > thanks, > Russ > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Mon May 12 20:14:08 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Mon, 12 May 2003 14:14:08 -0400 Subject: Report question Message-ID: Hello all, I was just wondering if anyone out there is generating some pretier reports (with nice 3D graphs and all to make upper managment go oohh and ahh - that sort of thing)?? Also - anyway to automate the creation of the reports? We have to create monthly reports for individual systems or groups of systems and have the stats available for every day of the month with averages and everything, and so are looking for a way to integrate/automate this with nagios. Thanks again for all your help.. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartens at cityofevanston.org Mon May 12 20:18:58 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Mon, 12 May 2003 13:18:58 -0500 Subject: Nsca on HP-UX Message-ID: Has anyone successfully got nsca to work on HP-UX? Specifically, HP-UX 11i? I've attached the errors I get when I try to build it. I have the following software installed: autoconf 2.57 automake 1.7.4 binutils 2.11.2 bison 1.875 flex 2.5.4a gawk 3.1.2 gcc 3.1 glib 1.2.10 m4 1.4 make 3.80 Trying to build nsca v2.3. Jason ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Mon May 12 20:20:50 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Mon, 12 May 2003 13:20:50 -0500 Subject: Nsca on HP-UX (with attachment) Message-ID: Sorry, forgot attachment. Has anyone successfully got nsca to work on HP-UX? Specifically, HP-UX 11i? I've attached the errors I get when I try to build it. I have the following software installed: autoconf 2.57 automake 1.7.4 binutils 2.11.2 bison 1.875 flex 2.5.4a gawk 3.1.2 gcc 3.1 glib 1.2.10 m4 1.4 make 3.80 Trying to build nsca v2.3. Jason -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nscaBuildErrors.txt URL: From p.lambooy at narmida.com Mon May 12 20:24:23 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Mon, 12 May 2003 20:24:23 +0200 Subject: ERRORS in apache In-Reply-To: References: Message-ID: <001101c318b3$b68b7030$a52efea9@roestbak> I have a red.wav as alert (cgi config file) for the rest I don't know what those files are but it stalls the web refresh ERRORS in apache [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.srt [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.sub [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.smi [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.psb [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.ssa [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.ass [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/red.idx [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.srt [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.sub [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.smi [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.psb [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.ssa [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.ass [Mon May 12 20:18:30 2003] [error] [client 192.168.4.49] File does not exist: /usr/local/nagios/share/media/subtitles/red.idx -------------- next part -------------- A non-text attachment was scrubbed... Name: Patrick Lambooy (p.lambooy at narmida.com).vcf Type: text/x-vcard Size: 526 bytes Desc: not available URL: From jasonp at iland.com Mon May 12 20:33:38 2003 From: jasonp at iland.com (Jason Payne) Date: Mon, 12 May 2003 13:33:38 -0500 Subject: (no subject) In-Reply-To: References: Message-ID: The rabbit hole deepens. gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -I/usr/i nclude -g -O2 -c check_procs.c check_procs.c: In function `main': check_procs.c:106: `PS_COMMAND' undeclared (first use in this function) check_procs.c:106: (Each undeclared identifier is reported only once check_procs.c:106: for each function it appears in.) check_procs.c:123: `PS_FORMAT' undeclared (first use in this function) *** Error code 1 Stop in /root/nagios-plugins-1.3.0/plugins. *** Error code 1 Stop in /root/nagios-plugins-1.3.0. This is what I get after ./configure and make all. Anyone seen this before? Jason -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jason Payne Sent: Monday, May 12, 2003 11:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] (no subject) This is the command I have in my cgi.cfg dilated# /home/nagios/libexec/check_nagios /home/nagios/var/status.log 5 '/home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg' Could not locate a running Nagios process! As you can see, it doesn't work, yet: nagios 149 0.0 0.7 1952 1736 ?? Ss 11:43AM 0:02.51 /home/nagios/bin/nagios -d /home/nagios/etc/nagios.cfg It is running. And: dilated Total Processes UNKNOWN 05-12-2003 11:50:43 1d 13h 24m 47s 9/9 Unable to read output This is my checkcommand: # 'check_procs' command definition define command{ command_name check_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ } dilated# ./check_procs -w 200 -c 300 Unable to read output This has been running for almost a year with no problems what so ever, and this starts happening. Anyone have any ideas? FreeBSD 4.5-RELEASE #0: Wed Jul 10 22:51:05 CDT 2002 Thanks, Jason Payne ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mercer at btitelecom.net Mon May 12 20:40:33 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Mon, 12 May 2003 14:40:33 -0400 Subject: Statusmap errors In-Reply-To: References: Message-ID: Leonard Miller wrote: > When I go to Status Map, it shows question marks for hosts. > I made changes in cgi.cfg/Extended Host Information and it > still does not change. And when I click on a host, it returns > and Internal Server Error. Hmmm. I had a similar problem recently, though I didn't get any internal server errors. In my case the problem was the directory that held the extended information config files wasn't fully accessible to the nagios user. I had to do: chmod a+rx /usr/local/nagios/etc/extended and then everything was fine. So check your permissions, and double-check your xed entry in the cgi.cfg file. Apparently the nagios restart script won't complain even if the config file specified doesn't exist/isn't accessible. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mercer at btitelecom.net Mon May 12 20:29:03 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Mon, 12 May 2003 14:29:03 -0400 Subject: Plugin works interactively but not in Nagios In-Reply-To: References: Message-ID: Patrick LeBoutillier wrote: > Create your own plugin, just shell script that does something like: > > echo $* >> /tmp/toto > /usr/local/nagios/libexec/check_http $* > > and place it instead of check_http (either on the file system or in the > command config file.). > > Then you will be able to see what args are passed and what's going on. Thanks Patrick, that was an excellent suggestion. Hell, I should have thought of it myself. Not nearly as self-LARTing as what the problem was. I had the IP address for this particular server wrong in the configuration entry for the host. And it just so happened the IP address I did type in *was* active, and had many of the same services running on it. So most things seemed to work ok. ANd of course when checking interactively, I was always typing the correct host name/IP address. Sheesh. :} ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard_brynteson at rdale.k12.mn.us Mon May 12 20:52:26 2003 From: richard_brynteson at rdale.k12.mn.us (Richard Brynteson) Date: Mon, 12 May 2003 13:52:26 -0500 Subject: Status Map Placement Message-ID: OK, some maybe this is an easy question, but I seem to be having a problem with it. I have my status maps working, except the placement on the screen makes not sense. I have looked at using the extended info file, but how do you define what items "branch" off of what items. For example, if at one location I am monitoring 10 switches that all connect to a router, how do I display that. Everything I try it (and the default map) has everything connecting back to the Nagios server. Thanks, Richard Brynteson -------------- next part -------------- A non-text attachment was scrubbed... Name: TEXT.htm Type: application/octet-stream Size: 908 bytes Desc: not available URL: From mpowell at ena.com Mon May 12 21:11:16 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 12 May 2003 14:11:16 -0500 Subject: Status Map Placement Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6F8F@mismail.ena.com> It is my understanding that the branching in the statusmap view is defined by the 'parents' directive for each host. Specify the router as the parent for each switch in their host configuration. If there is no parent defined then Nagios is the default. Can someone confirm that? I don't use the statusmap view. -- Marc > -----Original Message----- > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > Sent: Monday, May 12, 2003 1:52 PM > To: nagios-users at lists.sourceforge.net > > OK, some maybe this is an easy question, but I seem to be having a > problem with it. I have my status maps working, except the placement on > the screen makes not sense. I have looked at using the extended info > file, but how do you define what items "branch" off of what items. > > For example, if at one location I am monitoring 10 switches that all > connect to a router, how do I display that. Everything I try it (and > the default map) has everything connecting back to the Nagios server. > > Thanks, > > Richard Brynteson ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon May 12 21:09:43 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 12 May 2003 13:09:43 -0600 Subject: Status Map Placement Message-ID: Define the router as a 'parent' to the switches in the hosts config file. http://www.nagios.org/faqs/viewfaq.php?faq_id=145 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > Sent: Monday, May 12, 2003 12:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status Map Placement > > > OK, some maybe this is an easy question, but I seem to be > having a problem with it. I have my status maps working, > except the placement on the screen makes not sense. I have > looked at using the extended info file, but how do you define > what items "branch" off of what items. > > For example, if at one location I am monitoring 10 switches > that all connect to a router, how do I display that. > Everything I try it (and the default map) has everything > connecting back to the Nagios server. > > Thanks, > > Richard Brynteson > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard_brynteson at rdale.k12.mn.us Mon May 12 21:17:56 2003 From: richard_brynteson at rdale.k12.mn.us (Richard Brynteson) Date: Mon, 12 May 2003 14:17:56 -0500 Subject: Status Map Placement Message-ID: Does anyone have the syntac for the parent/child relationship stuff. The FAQ links are both broken and looking through the PDF doc, mentions it and says: command. So, for instance, if I had a router and a switch, would I add: parent_host router1 to the switch host command? Richard >>> "Cook, Garry" 5/12/2003 2:09:43 PM >>> Define the router as a 'parent' to the switches in the hosts config file. http://www.nagios.org/faqs/viewfaq.php?faq_id=145 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > Sent: Monday, May 12, 2003 12:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status Map Placement > > > OK, some maybe this is an easy question, but I seem to be > having a problem with it. I have my status maps working, > except the placement on the screen makes not sense. I have > looked at using the extended info file, but how do you define > what items "branch" off of what items. > > For example, if at one location I am monitoring 10 switches > that all connect to a router, how do I display that. > Everything I try it (and the default map) has everything > connecting back to the Nagios server. > > Thanks, > > Richard Brynteson > -------------- next part -------------- A non-text attachment was scrubbed... Name: TEXT.htm Type: application/octet-stream Size: 2314 bytes Desc: not available URL: From mpowell at ena.com Mon May 12 21:34:16 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 12 May 2003 14:34:16 -0500 Subject: Status Map Placement Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6F96@mismail.ena.com> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Host Definition Description: A host definition is used to define a physical server, workstation, device, etc. that resides on your network. Definition Format: Note: Directives in red are required, while those in black are optional. define host{ host_name host_name alias alias address address parents host_names check_command command_name max_check_attempts # checks_enabled [0/1] event_handler command_name event_handler_enabled [0/1] low_flap_threshold # high_flap_threshold # flap_detection_enabled [0/1] process_perf_data [0/1] retain_status_information [0/1] retain_nonstatus_information [0/1] notification_interval # notification_period timeperiod_name notification_options [d,u,r] notifications_enabled [0/1] stalking_options [o,d,u] } Example Definition: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 process_perf_data 0 retain_nonstatus_information 0 notification_interval 30 notification_period 24x7 notification_options d,u,r } Directive Descriptions: [snip] parents: This directive is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the "Determining Status and Reachability of Network Hosts" document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored. [snip] -- Marc > -----Original Message----- > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > Sent: Monday, May 12, 2003 2:18 PM > To: nagios-users at lists.sourceforge.net > > Does anyone have the syntac for the parent/child relationship stuff. > The FAQ links are both broken and looking through the PDF doc, mentions > it and says: > > command. So, for instance, if I had a router and a > switch, would I add: > > parent_host router1 > > to the switch host command? > > Richard > > >>> "Cook, Garry" 5/12/2003 2:09:43 PM >>> > > Define the router as a 'parent' to the switches in the hosts config > file. > http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > -----Original Message----- > > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > > Sent: Monday, May 12, 2003 12:52 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Status Map Placement > > > > > > OK, some maybe this is an easy question, but I seem to be > > having a problem with it. I have my status maps working, > > except the placement on the screen makes not sense. I have > > looked at using the extended info file, but how do you define > > what items "branch" off of what items. > > > > For example, if at one location I am monitoring 10 switches > > that all connect to a router, how do I display that. > > Everything I try it (and the default map) has everything > > connecting back to the Nagios server. > > > > Thanks, > > > > Richard Brynteson > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard_brynteson at rdale.k12.mn.us Mon May 12 21:39:12 2003 From: richard_brynteson at rdale.k12.mn.us (Richard Brynteson) Date: Mon, 12 May 2003 14:39:12 -0500 Subject: Status Map Placement Message-ID: Thanks Marc and everyone else who helped out, This was exactly what I needed to know. Off to edit my hosts.cfg file now. Richard >>> "Marc Powell" 5/12/2003 2:34:16 PM >>> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Host Definition Description: A host definition is used to define a physical server, workstation, device, etc. that resides on your network. Definition Format: Note: Directives in red are required, while those in black are optional. define host{ host_name host_name alias alias address address parents host_names check_command command_name max_check_attempts # checks_enabled [0/1] event_handler command_name event_handler_enabled [0/1] low_flap_threshold # high_flap_threshold # flap_detection_enabled [0/1] process_perf_data [0/1] retain_status_information [0/1] retain_nonstatus_information [0/1] notification_interval # notification_period timeperiod_name notification_options [d,u,r] notifications_enabled [0/1] stalking_options [o,d,u] } Example Definition: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 process_perf_data 0 retain_nonstatus_information 0 notification_interval 30 notification_period 24x7 notification_options d,u,r } Directive Descriptions: [snip] parents: This directive is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the "Determining Status and Reachability of Network Hosts" document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored. [snip] -- Marc > -----Original Message----- > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > Sent: Monday, May 12, 2003 2:18 PM > To: nagios-users at lists.sourceforge.net > > Does anyone have the syntac for the parent/child relationship stuff. > The FAQ links are both broken and looking through the PDF doc, mentions > it and says: > > command. So, for instance, if I had a router and a > switch, would I add: > > parent_host router1 > > to the switch host command? > > Richard > > >>> "Cook, Garry" 5/12/2003 2:09:43 PM >>> > > Define the router as a 'parent' to the switches in the hosts config > file. > http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 303.881.5157 (Mobile) > > > -----Original Message----- > > From: Richard Brynteson [mailto:richard_brynteson at rdale.k12.mn.us] > > Sent: Monday, May 12, 2003 12:52 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Status Map Placement > > > > > > OK, some maybe this is an easy question, but I seem to be > > having a problem with it. I have my status maps working, > > except the placement on the screen makes not sense. I have > > looked at using the extended info file, but how do you define > > what items "branch" off of what items. > > > > For example, if at one location I am monitoring 10 switches > > that all connect to a router, how do I display that. > > Everything I try it (and the default map) has everything > > connecting back to the Nagios server. > > > > Thanks, > > > > Richard Brynteson > > -------------- next part -------------- A non-text attachment was scrubbed... Name: TEXT.htm Type: application/octet-stream Size: 6265 bytes Desc: not available URL: From als at thangorodrim.de Mon May 12 21:37:14 2003 From: als at thangorodrim.de (Alexander Schreiber) Date: Mon, 12 May 2003 21:37:14 +0200 Subject: Nagios + APC UPSsssss In-Reply-To: References: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> Message-ID: <20030512193714.GA18024@mordor.angband.thangorodrim.de> On Mon, May 12, 2003 at 12:25:47PM -0400, Subhendu Ghosh wrote: > > check_hpjd for HP JetDirect printers. If you have other network printers > let us know - just finished testing a check_snmp_printer last month. The check_hpdj plugin seems to work fine for other printers with JetDirekt too, I', monitoring a Kyocera printer with it. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevins at solium.com Mon May 12 22:20:57 2003 From: kevins at solium.com (Kevin Stussman) Date: Mon, 12 May 2003 14:20:57 -0600 Subject: Check_NTP (embedded perl) Problem Message-ID: <20030512142057.4aef7728.kevins@solium.com> Have been using Netsaint / Nagios for a while now (thank you very much!) but our recent migration to Redhat 9 and Nagios 1.0 has a few problems: --------- Problem 1 --------- 1. I cannot get the check_ntp perl script to work properly inside of nagios. For example, the command run by itself works fine: # ./check_ntp -H jessie NTP OK: Offset -0.001372 secs, jitter 2.986 msec, peer is stratum 3 Now when I start up nagios: [1052766953] SERVICE ALERT: jessie;Simple NTP Service Response;CRITICAL;SOFT;1;(No output!) I *believe* this has to do with embedded perl. So I decided to turn off embedded perl...which brings me to problem number two: --------- Problem 2 --------- 2. No matter how I try from the command line, I cannot turn off embedded perl. I use this command line configure (I tried a lot of combinations): ./configure --prefix=/monitor/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nagioscmd --with-cgiurl=/monitor/nagios/cgi-bin --with-htmurl=/nagios --enable-embedded-perl=no --disable-embedded-perl --without-embedded-perl and the results are: *** Configuration summary for nagios 1.0 11-24-2002 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagioscmd,nagios Embedded Perl: yes, without caching Install ${prefix}: /monitor/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d The only solution was to hack configure to force a no embedded version.....but unfortunately, I still get a version of nagios that does not like the check_ntp command output. Any help appreciated. Regards, Kevin. Nagios : 1.0 and 1.0b6 Plugins : nagios-plugins-1.3.0-beta3 Linux : Linux rex 2.4.20-9 #1 Wed Apr 2 13:42:50 EST 2003 i686 i686 i386 GNU/Linux GCC : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon May 12 22:19:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 12 May 2003 16:19:16 -0400 (EDT) Subject: Nagios + APC UPSsssss In-Reply-To: References: Message-ID: "make clean" should not touch the contrib directory. which tar ball version are you working with? attached is check_snmp_printer - it has been tested with XeroxN2125 - It uses the standard print mib and should work with any network printer. (need to modify the "use lib" line for correct functionality) -sg On Mon, 12 May 2003, Leonard Miller wrote: > My contrib dir doesn't have that file. Is the dir cleaned after a > "make clean"? I saw the check_ups file, but that requires NUTS > to work, and my UPSssssss are connected to Cisco switches. > I thought about using Nagios for my switches but that would have > been overkill since I already use CiscoWorks and Openview. > > The hpdj looks like it will do what I need it to do. I have a couple of > Xerox and Sharp, but the Sharps should(fingers crossed) be going > away soon. It would be nice to see the xerox since the divisions > big cheese uses one, but it isn't critical. > > Thanks to eveybody > L > > > >>> Subhendu Ghosh 05/12/03 12:25PM >>> > contrib / check_apc-ups.pl > > check_hpjd for HP JetDirect printers. If you have other network printers > let us know - just finished testing a check_snmp_printer last month. > > -sg > -- -------------- next part -------------- #!/usr/local/bin/perl -w # check_snmp_printer - check for printer status via snmp # Supports both standard PRINT-MIB (RFC-1759) and HP Enterprise print-mib # that is supported by some of the older JetDirect interfaces # Acknowledgements: # the JetDirect code is taken from check_hpjd.c by Ethan Galstad # # The idea for the plugin (as well as some code) were taken from Jim # Trocki's pinter alert script in his "mon" utility, found at # http://www.kernel.org/software/mon # # Notes: # 'JetDirect' is copyrighted by Hewlett-Packard # # # License Information: # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # ############################################################################ # # TODO: Query HOST-RESOURCE MIB for a quick status # # hrPrinterStatus = .1.3.6.1.2.1.25.3.5.1; # hrPrinterDetectedErrorState = .1.3.6.1.2.1.25.3.5.1.2 # # hrPrinterStatus OBJECT-TYPE # SYNTAX INTEGER { # other(1), # unknown(2), # idle(3), # printing(4), # warmup(5) # } # # hrPrinterDetectedErrorState OBJECT-TYPE # SYNTAX OCTET STRING # MAX-ACCESS read-only # STATUS current # DESCRIPTION # "This object represents any error conditions detected # by the printer. The error conditions are encoded as # bits in an octet string, with the following # definitions: # # Condition Bit # # # lowPaper 0 # # noPaper 1 # lowToner 2 # noToner 3 # doorOpen 4 # jammed 5 # offline 6 # serviceRequested 7 # inputTrayMissing 8 # outputTrayMissing 9 # markerSupplyMissing 10 # outputNearFull 11 # outputFull 12 # inputTrayEmpty 13 # overduePreventMaint 14 # # # use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_P $opt_t $opt_d $session $error $answer $key $response $PROGNAME $port $hostname ); use lib "/home/sghosh/npd/test/nagiosplug/plugins-scripts"; use utils qw(%ERRORS &print_revision &support &usage ); use Net::SNMP qw(:snmp); sub print_help (); sub print_usage (); $ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; # defaults my $ptype = 1; # to standard RFC printer type my $state = 'UNKNOWN'; my $community = "public"; my $snmp_version = 1; my $port = 161; Getopt::Long::Configure('bundling'); GetOptions ("d" => \$opt_d, "debug" => \$opt_d, "V" => \$opt_V, "version" => \$opt_V, "P=s" => \$opt_P, "Printer=s" => \$opt_P, # printer type - HP or RFC "v=i" => \$snmp_version, "snmp_version=i" => \$snmp_version, "p=i" => \$port, "port=i" => \$port, "C=s" => \$community,"community=s" => \$community, "h" => \$opt_h, "help" => \$opt_h, "H=s" => \$opt_H, "hostname=s" => \$opt_H); $PROGNAME = "check_snmp_printer"; if ($opt_V) { print_revision($PROGNAME,'$Revision: 1.1.1.1 $'); exit $ERRORS{'OK'}; } if ($opt_h) {print_help(); exit $ERRORS{'OK'};} unless (defined $opt_H) { print "No target hostname specified\n"; exit $ERRORS{"UNKNOWN"}; } $hostname = $opt_H; if (! utils::is_hostname($hostname)){ usage(" $hostname did not match pattern\n"); exit $ERRORS{"UNKNOWN"}; } if (defined $opt_P) { if ($opt_P eq "HP" ) { $ptype = 2; }elsif ($opt_P eq "RFC" ) { $ptype = 1; }else{ print "Only \"HP\" and \"RFC\" are supported as printer options at this time.\n"; exit $ERRORS{"UNKNOWN"}; } } if ( $snmp_version =~ /[12]/ ) { ($session, $error) = Net::SNMP->session( -hostname => $hostname, -community => $community, -port => $port, -version => $snmp_version ); if (!defined($session)) { $state='UNKNOWN'; $answer=$error; print ("$state: no session - $answer\n"); exit $ERRORS{$state}; } print "Opened session|" if (defined ($opt_d)); }elsif ( $snmp_version =~ /3/ ) { $state='UNKNOWN'; print ("$state: No support for SNMP v3 yet\n"); exit $ERRORS{$state}; }else{ $state='UNKNOWN'; print ("$state: No support for SNMP v$snmp_version yet\n"); exit $ERRORS{$state}; } ### main logic if ( $ptype == 1 ) { # STD MIB print "STD-MIB|" if (defined ($opt_d)); my %snmp_response; my $snmp_index; my $col_oid; my %std_mib_inst_count ; my %std_mib_instances; my $display; my $inst; my $group;