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; #### RFC1759 MIB OIDS # column oid - not instances my %std_mib = ( std_mib_input_type => ".1.3.6.1.2.1.43.8.2.1.2", # 2 element index std_mib_input_status => ".1.3.6.1.2.1.43.8.2.1.11", # 2 element index std_mib_input_name => ".1.3.6.1.2.1.43.8.2.1.13", # 2 element index This OID is optional (not all printers implement it) std_mib_output_remaining_capacity => ".1.3.6.1.2.1.43.9.2.1.5", std_mib_output_status => ".1.3.6.1.2.1.43.9.2.1.6", std_mib_marker_tech => ".1.3.6.1.2.1.43.10.2.1.2", std_mib_marker_status => ".1.3.6.1.2.1.43.10.2.1.15", std_mib_supplies_type => ".1.3.6.1.2.1.43.11.1.1.5", std_mib_supplies_level => ".1.3.6.1.2.1.43.11.1.1.9", std_mib_media_path_type => ".1.3.6.1.2.1.43.13.4.1.9", std_mib_media_path_status => ".1.3.6.1.2.1.43.13.4.1.11", std_mib_status_display => ".1.3.6.1.2.1.43.16.5.1.2", # 2 element index std_mib_alert_sev_level => ".1.3.6.1.2.1.43.18.1.1.2", std_mib_alert_grp => ".1.3.6.1.2.1.43.18.1.1.4", std_mib_alert_grp_index => ".1.3.6.1.2.1.43.18.1.1.5", std_mib_alert_code => ".1.3.6.1.2.1.43.18.1.1.7", std_mib_alert_description => ".1.3.6.1.2.1.43.18.1.1.8", ); # sub-unit status - textual convention; integer from 0-126 my %subunit_status = ( # Availability 0 => "avail_and_idle", # 0000 0000'b 2 => "avail_and_standby", # 0000 0010'b 4 => "avail_and_active", # 0000 0100'b 6 => "avail_and_busy", # 0000 0110'b 1 => "unavail_and_onrequest", # 0000 0001'b 3 => "unavail_and_broken", # 0000 0011'b # Non-critical 8 => "non_critical_alerts", # 0000 1000'b # Critical 16 => "critical_alerts", # 0001 0000'b # On-line 32 => "online", # 0010 0000'b # Transitioning 64 => "transitioning" # 0100 0000'b ); my %std_mib_input_type = ( 1 => "other", 2 => "unknown", 3 => "sheetFedAutoRemoveableTray", 4 => "sheetFedAutoNonRemoveableTray", 5 => "sheetFeedManual", 6 => "continuousRoll", 7 => "ContinuousFanFold", ); my %std_mib_alert_groups = ( 1 => "unspecifiedOther", 3 => "printerStorageMemory", # hostResourcesMIBStorageTable 4 => "internalDevice", # hostResourcesMIBDeviceTable 5 => "generalPrinter", 6 => "cover", 7 => "localization", 8 => "input", 9 => "output", 10 => "marker", 11 => "markerSupplies", 12 => "markerColorant", 13 => "mediaPath", 14 => "connectionChannel", 15 => "interpreter", 16 => "consoleDisplayBuffer", 17 => "consoleLights", ); my %std_mib_prt_alert_code = ( 1 => "other", # ok if on power save 2 => "unknown", # -- codes common to serveral groups 3 => "coverOpen", 4 => "coverClosed", 5 => "interlockOpen", 6 => "interlockClosed", 7 => "configurationChange", 8 => "jam", # critical # -- general Printer group 501 => "doorOpen", 502 => "doorClosed", 503 => "powerUp", 504 => "powerDown", # -- Input Group 801 => "inputMediaTrayMissing", 802 => "inputMediaSizeChange", 803 => "inputMediaWeightChange", 804 => "inputMediaTypeChange", 805 => "inputMediaColorChange", 806 => "inputMediaFormPartsChange", 807 => "inputMediaSupplyLow", 808 => "inputMediaSupplyEmpty", # -- Output Group 901 => "outputMediaTrayMissing", 902 => "outputMediaTrayAlmostFull", 903 => "outputMediaTrayFull", # -- Marker group 1001 => "markerFuserUnderTemperature", 1002 => "markerFuserOverTemperature", # -- Marker Supplies group 1101 => "markerTonerEmpty", 1102 => "markerInkEmpty", 1103 => "markerPrintRibbonEmpty", 1104 => "markerTonerAlmostEmpty", 1105 => "markerInkAlmostEmpty", 1106 => "markerPrintRibbonAlmostEmpty", 1107 => "markerWasteTonerReceptacleAlmostFull", 1108 => "markerWasteInkReceptacleAlmostFull", 1109 => "markerWasteTonerReceptacleFull", 1110 => "markerWasteInkReceptacleFull", 1111 => "markerOpcLifeAlmostOver", 1112 => "markerOpcLifeOver", 1113 => "markerDeveloperAlmostEmpty", 1114 => "markerDeveloperEmpty", # -- Media Path Device Group 1301 => "mediaPathMediaTrayMissing", 1302 => "mediaPathMediaTrayAlmostFull", 1303 => "mediaPathMediaTrayFull", # -- interpreter Group 1501 => "interpreterMemoryIncrease", 1502 => "interpreterMemoryDecrease", 1503 => "interpreterCartridgeAdded", 1504 => "interpreterCartridgeDeleted", 1505 => "interpreterResourceAdded", 1506 => "interpreterResourceDeleted", ); ## Need multiple passes as oids are all part of tables foreach $col_oid (sort keys %std_mib ){ if ( !defined( $response = $session->get_table($std_mib{$col_oid}) ) ) { print "Error col_oid $col_oid|" if (defined ($opt_d)); # alerts don't have to exist all the time! # also std_mib_input_name is part of the extended group and may not be implemented if (! ($col_oid =~ m/std_mib_alert|std_mib_input_name/ ) ) { $answer=$session->error; $session->close; $state = 'CRITICAL'; print ("$state: $answer for $std_mib{$col_oid}\n") ; exit $ERRORS{$state}; } } print "NoError col_oid $col_oid|\n" if (defined ($opt_d)); foreach $key (keys %{$response}) { $key =~ /.*\.(\d+)\.(\d+)$/; # all oids have a two part index appended $snmp_index = $1 . "." . $2; print "$key => $col_oid.$snmp_index = $response->{$key} \n" if (defined $opt_d); $snmp_response{$key} = $response->{$key} ; $std_mib_inst_count{$col_oid} += 1 ; # count how many instances $std_mib_instances{$col_oid} .= ":" . $snmp_index; } } # if (defined $opt_d) { # foreach $key ( keys %std_mib_inst_count) { # print "$key = $std_mib_inst_count{$key} $std_mib_instances{$key} \n"; # } # } # combine all lines of status display into one line $std_mib_instances{'std_mib_status_display'} = substr($std_mib_instances{'std_mib_status_display'}, 1); my @display_index = split(/:/, $std_mib_instances{'std_mib_status_display'} ); foreach $inst (@display_index) { $display .= $snmp_response{$std_mib{'std_mib_status_display'} . "." . $inst} . " "; } # see if there are any alerts if (defined ( $std_mib_inst_count{'std_mib_alert_sev_level'} ) ) { if ( ( lc($display) =~ /save/ || lc($display) =~ /warm/ ) && $std_mib_inst_count{'std_mib_alert_sev_level'} == 1 ) { $state='OK'; $answer = "Printer ok - $display "; print $answer . "\n"; exit $ERRORS{$state}; } # sometime during transitions from power save to warming there are 2 alerts # if the 2nd alert is for something else it should get caught in the # next call since warmup typically is much smaller than check time # interval. if ( lc($display) =~ /warm/ && $std_mib_inst_count{'std_mib_alert_sev_level'} == 2 ) { $state='OK'; $answer = "$state: Printer - $display "; print $answer . "\n"; exit $ERRORS{$state}; } # We have alerts and the display does not say power save or warming up $std_mib_instances{'std_mib_alert_sev_level'} = substr($std_mib_instances{'std_mib_alert_sev_level'}, 1); @display_index = split(/:/, $std_mib_instances{'std_mib_alert_sev_level'} ); $answer = "Alert location(s): "; for $inst (@display_index) { if( $snmp_response{$std_mib{'std_mib_alert_sev_level'} . "." . $inst} == 4 ) { $state = 'WARNING'; } elsif ( $snmp_response{$std_mib{'std_mib_alert_sev_level'} . "." . $inst} == 3 ) { $state = 'CRITICAL'; } elsif ( $snmp_response{$std_mib{'std_mib_alert_sev_level'} . "." . $inst} == 1 ) { $state = 'WARNING'; } if ( $snmp_response{$std_mib{'std_mib_alert_grp'} . "." . $inst} < 1) { $answer .= "unknown location "; }else{ $answer .= "(" .$snmp_response{$std_mib{'std_mib_alert_description'} . "." . $inst}; $answer .= "-".$std_mib_alert_groups{$snmp_response{$std_mib{'std_mib_alert_grp'} . "." . $inst} } . ") "; print $std_mib_alert_groups{$snmp_response{$std_mib{'std_mib_alert_grp'}. "." . $inst}} ."\n" if (defined $opt_d); } } print "$state: $answer \n"; exit $ERRORS{$state}; }else{ $state='OK'; $answer = "$state: Printer ok - $display "; print $answer . "\n"; exit $ERRORS{$state}; } } elsif( $ptype == 2 ) { # HP MIB - JetDirect #### HP MIB OIDS - instance OIDs my $HPJD_LINE_STATUS= ".1.3.6.1.4.1.11.2.3.9.1.1.2.1.0"; my $HPJD_PAPER_STATUS= ".1.3.6.1.4.1.11.2.3.9.1.1.2.2.0"; my $HPJD_INTERVENTION_REQUIRED= ".1.3.6.1.4.1.11.2.3.9.1.1.2.3.0"; my $HPJD_GD_PERIPHERAL_ERROR= ".1.3.6.1.4.1.11.2.3.9.1.1.2.6.0"; my $HPJD_GD_PAPER_JAM= ".1.3.6.1.4.1.11.2.3.9.1.1.2.8.0"; my $HPJD_GD_PAPER_OUT= ".1.3.6.1.4.1.11.2.3.9.1.1.2.9.0"; my $HPJD_GD_TONER_LOW= ".1.3.6.1.4.1.11.2.3.9.1.1.2.10.0"; my $HPJD_GD_PAGE_PUNT= ".1.3.6.1.4.1.11.2.3.9.1.1.2.11.0"; my $HPJD_GD_MEMORY_OUT= ".1.3.6.1.4.1.11.2.3.9.1.1.2.12.0"; my $HPJD_GD_DOOR_OPEN= ".1.3.6.1.4.1.11.2.3.9.1.1.2.17.0"; my $HPJD_GD_PAPER_OUTPUT= ".1.3.6.1.4.1.11.2.3.9.1.1.2.19.0"; my $HPJD_GD_STATUS_DISPLAY= ".1.3.6.1.4.1.11.2.3.9.1.1.3.0"; #define ONLINE 0 #define OFFLINE 1 my @hp_oids = ( $HPJD_LINE_STATUS,$HPJD_PAPER_STATUS,$HPJD_INTERVENTION_REQUIRED,$HPJD_GD_PERIPHERAL_ERROR, $HPJD_GD_PAPER_JAM,$HPJD_GD_PAPER_OUT,$HPJD_GD_TONER_LOW,$HPJD_GD_PAGE_PUNT,$HPJD_GD_MEMORY_OUT, $HPJD_GD_DOOR_OPEN,$HPJD_GD_PAPER_OUTPUT,$HPJD_GD_STATUS_DISPLAY); $state = $ERRORS{'OK'}; if (!defined($response = $session->get_request(@hp_oids))) { $answer=$session->error; $session->close; $state = 'CRITICAL'; print ("$state: $answer \n"); exit $ERRORS{$state}; } # cycle thru the responses and set the appropriate state if($response->{$HPJD_GD_PAPER_JAM} ) { $state='WARNING'; $answer = "Paper Jam"; } elsif($response->{$HPJD_GD_PAPER_OUT} ) { $state='WARNING'; $answer = "Out of Paper"; } elsif($response->{$HPJD_LINE_STATUS} ) { if ($response->{$HPJD_LINE_STATUS} ne "POWERSAVE ON" ) { $state='WARNING'; $answer = "Printer Offline"; } } elsif($response->{$HPJD_GD_PERIPHERAL_ERROR} ) { $state='WARNING'; $answer = "Peripheral Error"; } elsif($response->{$HPJD_INTERVENTION_REQUIRED} ) { $state='WARNING'; $answer = "Intervention Required"; } elsif($response->{$HPJD_GD_TONER_LOW} ) { $state='WARNING'; $answer = "Toner Low"; } elsif($response->{$HPJD_GD_MEMORY_OUT} ) { $state='WARNING'; $answer = "Insufficient Memory"; } elsif($response->{$HPJD_GD_DOOR_OPEN} ) { $state='WARNING'; $answer = "Insufficient Memory"; } elsif($response->{$HPJD_GD_PAPER_OUTPUT} ) { $state='WARNING'; $answer = "OutPut Tray is Full"; } elsif($response->{$HPJD_GD_PAGE_PUNT} ) { $state='WARNING'; $answer = "Data too slow for Engine"; } elsif($response->{$HPJD_PAPER_STATUS} ) { $state='WARNING'; $answer = "Unknown Paper Error"; } else # add code to parse STATUS DISPLAY here { $state='OK'; $answer = "Printer ok - $response->{$HPJD_GD_STATUS_DISPLAY} "; } # print and exit print "$state: $answer \n"; exit $ERRORS{$state}; } else{ # 3rd printer type - not yet supported print "Printer type $opt_P has not been implemented\n"; $state='UNKNOWN'; exit $ERRORS{$state}; } #### subroutines sub unit_status { my $stat = shift; } sub print_usage () { print "Usage: $PROGNAME -H [-C community] [-P HP or RFC] [-p port] [-v snmp_version] [-h help] [-V version]\n"; } sub print_help () { print_revision($PROGNAME,'$Revision: 1.2 $'); print "Copyright (c) 2002 Subhendu Ghosh/Ethan Galstad. This plugin reports the status of an network printer with an SNMP management module. "; print_usage(); print " -H, --hostname=HOST Name or IP address of host to check -C --community snmp community string (default: public) -P --Printer supported values are \"HP\" for Jetdirect printers and \"RFC\" for RFC 1759 Print MIB based implementations (default: RFC) -p --port Port where snmp agent is listening (default: 161) -v --snmp_version SNMP version to use (default: version 1) -h --help This screen -V --version Plugin version "; support(); } From kevins at solium.com Mon May 12 23:07:10 2003 From: kevins at solium.com (Kevin Stussman) Date: Mon, 12 May 2003 15:07:10 -0600 Subject: Check_NTP (embedded perl) Problem In-Reply-To: <20030512142057.4aef7728.kevins@solium.com> References: <20030512142057.4aef7728.kevins@solium.com> Message-ID: <20030512150710.1a578f37.kevins@solium.com> Well, problem one fixed. (I didn't check the newsgroups :-) Just had to add PERLLIB to the startup rc.d script. PERLLIB=/monitor/nagios/libexec/ export PERLLIB The second problem is still around though. Kevin. On Mon, 12 May 2003 14:20:57 -0600 Kevin Stussman wrote: > 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 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Mon May 12 23:12:05 2003 From: danslists at conpoint.com (Dan Spray) Date: Mon, 12 May 2003 16:12:05 -0500 Subject: Problem starting service Message-ID: <309765CC7547D7119FF30050DA7A3BD7143E55@EXCH> Hello all, I have been running Nagios for some time now. I all of a sudden started getting this error. Nothing has been changed it just quit working. Any ideas would be great. Thanks in advance, Dan [nagios at NABU nagios]$ ./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 File size limit exceeded -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From twmoore at bea.com Tue May 13 00:18:54 2003 From: twmoore at bea.com (Timothy Moore) Date: Mon, 12 May 2003 15:18:54 -0700 Subject: directives question Message-ID: <3EC01DCE.5090100@bea.com> Is it possible to create custom directives within the hosts definition? I want to create a service to ping secondary interfaces on a host. I want to keep "check-host-alive" separate to ping the primary address define host{ use generic_hosts host_name sunbox alias Sun 450 address 999.999.999.10 custom 999.999.999.12,999.999.999.14,999.999.999.16 parents WS } -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon May 12 23:30:20 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 12 May 2003 16:30:20 -0500 Subject: Problem starting service Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6FB2@mismail.ena.com> Odd... Is your nagios.log file really large, say about 2GB? That really looks to be an OS error message. What does running 'ulimit -f' as the nagios user say? The previous comments assume you're running some version of linux. -- Marc _____ From: Dan Spray [mailto:danslists at conpoint.com] Sent: Monday, May 12, 2003 4:12 PM To: Nagios-Users Hello all, I have been running Nagios for some time now. I all of a sudden started getting this error. Nothing has been changed it just quit working. Any ideas would be great. Thanks in advance, Dan [nagios at NABU nagios]$ ./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 File size limit exceeded -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfol k, NE > Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Mon May 12 23:58:11 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 12 May 2003 17:58:11 -0400 Subject: Problem starting service References: <309765CC7547D7119FF30050DA7A3BD7143E55@EXCH> Message-ID: <011101c318d1$9514ddb0$f805ff0a@tekniq> Your nagios.log might have reached 2GB. Also check the rest of the config files, etc for file size. Jason ----- Original Message ----- From: Dan Spray To: Nagios-Users Sent: Monday, May 12, 2003 17:12 Subject: [Nagios-users] Problem starting service Hello all, I have been running Nagios for some time now. I all of a sudden started getting this error. Nothing has been changed it just quit working. Any ideas would be great. Thanks in advance, Dan [nagios at NABU nagios]$ ./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 File size limit exceeded -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Tue May 13 00:06:24 2003 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 12 May 2003 23:06:24 +0100 Subject: NBAR reporting Message-ID: <000001c318d2$bab18220$0400a8c0@squarebox.com> Is anyone using Nagios to report on NBAR ( Network based Application Recognition) and QoS stats from their routers? If so what are you using to query the routers? SNMP? I'd be interested in collating some info on this as I have a specific need for this info for some research I'm doing Cheers Tom Welsh twelsh at square-box.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 jcarro10 at sprintspectrum.com Tue May 13 00:43:54 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 12 May 2003 17:43:54 -0500 Subject: Report question Message-ID: Options (off the top of my head): - there's nothing canned in Nagios that I think would do the 3-D graphing - in a Linux environment, you could consider implementing Sarvant - if you want time-series graphing, consider RRDtool/APAN - if you don't mind deviating from Nagios, there's Cricket and others jc -----Original Message----- From: Ian Farr [mailto:ianf at Oceanwide.com] Sent: Monday, May 12, 2003 1:14 PM To: Nagios Users List (E-mail) Subject: [Nagios-users] Report question 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 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 13 00:53:18 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 12 May 2003 17:53:18 -0500 Subject: directives question Message-ID: If you want to create services (plural) to ping the other interfaces for a host, the place to do it would be in services.cfg, not hosts.cfg (as per your 'custom' example). You're on the right track! Just follow through with what you've started (but do so in services.cfg, not hosts.cfg). Nota bene: Using the design approach you appear to be leaning towards, ff your primary interface goes down but the other interfaces remain up (and the services also remain up), this might not be the best approach. Do you want to be alerted if *any* interface goes down, or only if *all* interfaces go down? (Before you reply, stop and give this some thought, as you might actually figure out the desired design, thus saving you a few e-mails. ;-) jc -----Original Message----- From: Timothy Moore [mailto:twmoore at bea.com] Sent: Monday, May 12, 2003 5:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] directives question Is it possible to create custom directives within the hosts definition? I want to create a service to ping secondary interfaces on a host. I want to keep "check-host-alive" separate to ping the primary address define host{ use generic_hosts host_name sunbox alias Sun 450 address 999.999.999.10 custom 999.999.999.12,999.999.999.14,999.999.999.16 parents WS } ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13 01:44:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 09:44:18 +1000 Subject: [Nagiosplug-help] check_citrix ? In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE909E850@netfinity-1.foundation-it.local>; from philc@foundation-it.com on Mon, May 12, 2003 at 06:05:22PM +0100 References: <4E71CFD68DCB4E49B04AD93E84827EE909E850@netfinity-1.foundation-it.local> Message-ID: <20030513094414.A65962@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter about this matter and say that the failure of cehck_citrix to find utils.pm (unless they are colocated in the same path) is nothing more than the effect of the usual Perl module search mechanism. Any module you want used by a Perl program (utils.pm used by _all_ the standard Perl plugins as well as check_citrix) needs to be where Perl expects it to be namely, 1 The current working directory - so sticking utils.pm it in /libexec will work 2 The architecture independent module search paths ie 2.1 The site specific path 2.2 The site independent path for a 5.005_03 system these are (perl -V | tail) 2.1 /usr/local/lib/perl5/site_perl/5.005 2.2 /usr/libdata/perl/5.00503 In my case, utils.pm sits in /usr/local/lib/perl5/site_perl/5.005 along with all the other modules this sites plugins depend upon (HTML::Parser, Net::SMTP, LWP, Netsaint::Web_trx, Net::Smb etc) I suppose the ideal thing would be for someone to either 1. publish utils.pm on CPAN and people would have to download and install it in order to use Perl plugins Obviously an unattractive solution since the Perl plugins are thereby hobbled. 2. package utils.pm as an installable Perl module (this is trivial) and have the Nag plugin installation install it. Not much better. 3. have contrib Perl programs _fail_ with a note saying that unless you add the correct use lib pragma to the plugin it is not going to work. Probably the only feasable although disgusting solution for Contributed Perl plugins. 4. The curent option in that contributed plugins are not on the same level as standard Plugins. This means that you and you (and that means you hiding in the back row) must do some _work_ to install them and get them going. This really means inspecting the plugin text and correcting it for . incorrect paths (eg to smbclient or rpcclient) . ensuring that required modules are installed . checking things that are likely to be stumbling blocks (eg unsafe coding for embedded Perl) Why is this ? Because the contrib plugins are not . installed by the Nag installer and lack the system awareness that the standard install process acquires (with blood, sweat and tears) . tested . have not the same user base as the standard plugins With the contrib plugins, the assumption is that you have downloaded some code from somewhere and you have to port it. Let me assure you that much less is required in porting a Perl plugin than a C plugin. However, from a Nag point of view, sooner or later you will find yourself confronted with the plugin that fails with 'No output!'. The only way of dealing with this is to . be aware of how Nag can be compiled with DEBUG options to deal with this situation or . running Nag in the foreground (no -d) so that any despairing wails from the Perl runtime or the plugin are visible or . Plugin surgery (probably in conjunction with the last option) to log more output about where it's up to eg litter the plugin text with print STDERR, "8 bells and all's well\n" ; .. time and program counter passes .. print STDERR "9 bells and all's well\n" ; 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 ebiz at explodingcow.com Tue May 13 00:24:27 2003 From: ebiz at explodingcow.com (Mike R.) Date: 12 May 2003 22:24:27 -0000 Subject: Host never fails, service does... Message-ID: <20030512222427.12142.qmail@pod-163.dolphin-server.co.uk> Hmmm, I've built three monitoring servers over the last month, and this is the only one giving me issues.... I have several servers defined, and all looks well (the pre flight check returns 0 errors) the service starts, and all the servers are "green" and (Host assumed to be up) (as expected) The problem arises when I shutdown one of the servers; the Service Status Details For Host page does what I expect it too, it cycles thought the three attempts at "PING", and turns red... however I never call the host check, the host is 24/7 "UP" when it clearly is not... is there something that I'm missing here??? Thanks. -- Mike Rivett rivettmj at nospamrivett.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 Stanley.Hopcroft at IPAustralia.Gov.AU Tue May 13 02:39:26 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 10:39:26 +1000 Subject: Checking an MSSQL In-Reply-To: <4F81C0AF5D19D411BC12009027D10498B7CFF8@c1slo1.c1-slo.com>; from dprice@c1-slo.com on Mon, May 12, 2003 at 10:27:25AM -0700 References: <4F81C0AF5D19D411BC12009027D10498B7CFF8@c1slo1.c1-slo.com> Message-ID: <20030513103924.C65962@IPAustralia.Gov.AU> Dear Gentlemen, There is also a Nag FAQ about this that may be helpful, http://www.nagios.org/faqs/viewfaq.php?faq_id=156 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 Tue May 13 02:37:32 2003 From: Stanley.Hopcroft at ipaustralia.gov.au (Stanley Hopcroft) Date: Tue, 13 May 2003 10:37:32 +1000 Subject: Plugin works interactively but not in Nagios In-Reply-To: ; from patrick_leboutillier@hotmail.com on Mon, May 12, 2003 at 12:53:25PM -0400 References: Message-ID: <20030513103730.B65962@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and congratulate on you a very useful and helpful suggestion in dealing with the FAQ of 'No output!' from plugin (often a Perl plugin although not here). On Mon, May 12, 2003 at 12:53:25PM -0400, Patrick LeBoutillier wrote: > Jeff, > > Create your own plugin, just shell script that does something like: > > echo `date` >> /tmp/toto > 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.). > Would you like to submit an FAQ entry about this ? See ttp://www.nagios.org/faqs/addfaq.php I think it would be helpful and worthwhile. > Then you will be able to see what args are passed and what's going on. > > > Patrick > Thank you very much, 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 Tue May 13 05:24:12 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 13:24:12 +1000 Subject: Service Dependencies doesn't WORK???? In-Reply-To: ; from matorres@prisacom.com on Mon, May 12, 2003 at 06:44:24PM +0200 References: Message-ID: <20030513132411.E65962@IPAustralia.Gov.AU> Dear Sir, I think you have the wrong idea about service dependencies. >From the superb docco that was installed as part of the standard Nag installation. 'Service dependencies are an advanced feature of Nagios that allow you to suppress notifications and active checks of services based on the status of one or more other services. Service dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups. More information on how service dependencies work (read this!) can be found here.' The key element is 'suprress notifications .. of services based on the status of .. other services'. You cannot use dependencies to make a dependent service have the same state as the service it depends on; this is what 'dependencies' are designed to _prevent_. Dependencies relate services in the same that 'parents' and 'children' relate reachability or topological dependencies (for the same reasons: you don't want a notification avalanche if a key node - with lots of dependent leaf nodes - fails). The difference is that these are 'logical' relationships that are explicity configured (topol dependencies could be auto-configured by traceroute scans). Service dependencies are motivated by the fact that some services rely on databases, RADIUS, AD, Domains etc to work, and that you are not interested in being alerted when you know that one of these has already failed. An example of it's use at this site is that the logical devolution of plugin/check maintenance results in a server group maintaining a /bin/sh 'system_health_check' on each of their Sol hosts. So they can keep firm control of access, they insist that Nag runs this check on _one_ host by ssh (with the hostname, as a parameter, of the box that that host will then check). This host then checks the others. Obviously if the ssh service fails on that host, none of the other hosts will be checked - yet probably nothing is wrong with them. In this case, all these checks are made dependent on the ssh service of the master, so if the ssh server fails, no spurious alerts are sent (to another group: DBAs) responsible for appplications on those boxes ... Please read the docco. If it doesn't make sense to you you will help both yourself and others if you say this para or this statement doesn't make sense. 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 Tue May 13 06:04:28 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 May 2003 00:04:28 -0400 (EDT) Subject: Aix monitoring In-Reply-To: <1051185327.7452.11.camel@tbird.eventhorizon.ca> References: <1051185327.7452.11.camel@tbird.eventhorizon.ca> Message-ID: Can you also post them on Sourcforge for inclusion in contrib/aix if possible... -sg On 24 Apr 2003, Chris Rothecker wrote: > Hey Steve, > > I know its a bit outdated but Lonny Selinger and I wrote some NetSaint > plugins for AIX (they work with Nagios too). You can find them here: > > http://www.eventhorizon.ca/modules.php?name=Downloads&d_op=viewdownload&cid=7 > > There is a plugin for monitoring paging spaces on AIX and in the > NetSaint plugin package on our site there are also some other perl > scripts that check various things. I believe we have new versions of > our AIX plugins but it looks like they aren't up on the site at the > moment. > > I'll see if I can track down the location of the other AIX plugins we > put together and send you an update. > > > -- > Chris Rothecker > > > > On Thu, 2003-04-24 at 03:13, Steve Dussaux wrote: > > Hi, > > > > I'd like to monitor memory and processor usage on AIX. > > I've tried to access to these values by SNMP but unfortunately AIX SNMP Agent doesn't provide > > these values. > > So i'm thinking to use an other type of Nagios plugin to get these values. > > I'd like to have not install additional programs on AIX boxes. > > > > What plugins do you advise me ? > > > > Thanks, > > Steve > > > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to 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 13 06:10:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 May 2003 00:10:30 -0400 (EDT) Subject: Nagios + APC UPSsssss In-Reply-To: References: Message-ID: On Mon, 12 May 2003, Leonard Miller wrote: > My contrib dir doesn't have that file. Is the dir cleaned after a > "make clean"? > > >>> Subhendu Ghosh 05/12/03 12:25PM >>> > contrib / check_apc-ups.pl > should be "contrib/check_apc_ups.pl" -- -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 karl at debisschop.net Tue May 13 06:21:49 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 13 May 2003 00:21:49 -0400 Subject: Nagios + APC UPSsssss In-Reply-To: References: Message-ID: <1052799709.4532.2.camel@miles.debisschop.net> On Mon, 2003-05-12 at 12:25, Subhendu Ghosh wrote: > contrib / check_apc-ups.pl How about check_ups? Requires NUT (http://www.exploits.org/nut/) But it will work if your UPS has only a serial line, whereas SNMP will not. (and thus also chek_apc_ups) -- 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 Stanley.Hopcroft at IPAustralia.Gov.AU Tue May 13 06:48:50 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 14:48:50 +1000 Subject: Check_NTP (embedded perl) Problem In-Reply-To: <20030512142057.4aef7728.kevins@solium.com>; from kevins@solium.com on Mon, May 12, 2003 at 02:20:57PM -0600 References: <20030512142057.4aef7728.kevins@solium.com> Message-ID: <20030513144848.G65962@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and your unusually clear presentation of the problem, On Mon, May 12, 2003 at 02:20:57PM -0600, Kevin Stussman wrote: > 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: > It may. 'No output!' is the catch all message for plugins that abend or otherwise fail to output any result. Things to check are the standard things for Perl plugin . utils.pm is in a place where Perl can find it (see perl -V to see the @INC var containing the paths it looks) . argument/option mismatch between the plugin and what is coded in checkcommands.cfg and services.cfg . try Patricks suggestion of wrapping the plugin in a shell wrapper that echos useful things (like arguments, output etc etc) to the file system and give this to Nag to run. . try building the mini_epn in contrib/ (the Nagios contrib not the plugins) and try running it there. If it fails, it probably _is_ an ePN prob. However, this is unlikely since I think all the standard plugins are ePN aware (extra coding restrictions). About ePN, I have some questions about your environment. RH 9 ships with (AFAIK) a (threaded 5.8.0) Perl known to cause fatal problems with Nag - it will not start. Please would you send me the output of perl -V and explain anything extraordinary you had to do to get it to run at all with ePN ? > --------- > 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 > This puzzles me. The only way you get Nag build with an embedded Perl is _with_ the option to configure. (eg tsitc> grep -i embedded -3 build//nagios-1.0/configure USEPERL=no; INSTALLPERLSTUFF=no; # Check whether --enable-embedded-perl or --disable-embedded-perl was given. if test "${enable_embedded_perl+set}" = set; then enableval="$enable_embedded_perl" cat >> confdefs.h < 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) > -- ------------------------------------------------------------------------ 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 Tue May 13 06:54:15 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 14:54:15 +1000 Subject: Check_NTP (embedded perl) Problem In-Reply-To: <20030512150710.1a578f37.kevins@solium.com>; from kevins@solium.com on Mon, May 12, 2003 at 03:07:10PM -0600 References: <20030512142057.4aef7728.kevins@solium.com> <20030512150710.1a578f37.kevins@solium.com> Message-ID: <20030513145413.H65962@IPAustralia.Gov.AU> Dear Sir, Thank you for the feedback. On Mon, May 12, 2003 at 03:07:10PM -0600, Kevin Stussman wrote: > Well, problem one fixed. (I didn't check the newsgroups :-) > > Just had to add PERLLIB to the startup rc.d script. > > PERLLIB=/monitor/nagios/libexec/ > export PERLLIB > (This means Perl searches this path as well as all the standard locations for any .pm or .so that is 'used' by a Perl program, for all Perl programs. There may be some overhead in doing so. Suggest you hack check_ntp to add use lib 'path_of_util.pm' ; _or_ move utils.pm into the standard Perl search path [perl -V | tail] ). Ok. So it couldn't find utils.pm until you told Perl to search extra libraries. This is suprising since all the standard Perl plugins should be utils.pm aware. Please would you post the version of check_ntp you are using ? It may be a bug. > The second problem is still around though. > > Kevin. > > > 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 Michael.Huettig at Medien-Systempartner.de Tue May 13 08:55:41 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 13 May 2003 08:55:41 +0200 Subject: Nagios + APC UPSsssss In-Reply-To: <20030512193714.GA18024@mordor.angband.thangorodrim.de> References: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> <20030512193714.GA18024@mordor.angband.thangorodrim.de> Message-ID: <200305130855.41684.Michael.Huettig@Medien-Systempartner.de> Am Montag, 12. Mai 2003 21:37 schrieb Alexander Schreiber: > 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. Hi Alex, i tried to monitor a KYO FS7000 but got : Timeout - No response from host, which do you monitor? Web-Interface shows a SEH-PrintServer. I think, there was a problem with OIDs / Private KYO-MIBs ... -- Regards, 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 mounier at enac.fr Tue May 13 09:05:49 2003 From: mounier at enac.fr (Philippe Mounier) Date: Tue, 13 May 2003 09:05:49 +0200 Subject: Check service and host Message-ID: <5.2.0.9.2.20030513085432.00a6d920@elise.enac.fr> I use nagios since some months. But I don't understand something : on a machine I have check_host_alive (ping) and check_dns, but no PING service If DNS down and host DOWN, I have information state HOST DOWN. When machine "re-works", service DNS is checking, it's don't work : normal, it's always down. But, ping from check_host_alive is not tested : state host is always DOWN .... : not normal (or I don't understand ...) If I add PING service (check_ping) for this host , It's working ... Thanks for explication !! Philippe ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue May 13 09:09:35 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Tue, 13 May 2003 09:09:35 +0200 Subject: Status-Map of services Message-ID: <200305130909.35917.Michael.Huettig@Medien-Systempartner.de> Hi all, has someone written a cgi for status-map of services, which read the host- and service-dependencies. The idea is to show that working-process SAP is in some state, it depends on a lot of physical hardware and a lot of processes. All states define the working-prozess, some states are minor-critical (RAID5-Spare-drive activ) some states a very critical (Oracle-DB-prozess shut down). How to collect all the state-information together to one state? -- Regards 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 Stanley.Hopcroft at IPAustralia.Gov.AU Tue May 13 09:34:42 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 13 May 2003 17:34:42 +1000 Subject: Status-Map of services In-Reply-To: <200305130909.35917.Michael.Huettig@Medien-Systempartner.de>; from Michael.Huettig@Medien-Systempartner.de on Tue, May 13, 2003 at 09:09:35AM +0200 References: <200305130909.35917.Michael.Huettig@Medien-Systempartner.de> Message-ID: <20030513173440.L65962@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, May 13, 2003 at 09:09:35AM +0200, Michael H?ttig wrote: > Hi all, > has someone written a cgi for status-map of services, which read the host- and > service-dependencies ? > AFAIK, No. However, a contribution like this would be immensley valuable to the project (the only non graphical means of displaying service dependencies is through the configuration/dependencies link ...). It would also be good to display some indication that . the service the others depends on has failed (in the dependency display) and that therefore . the dependent services had also failed (despite the lack of notification) in some visually distinctive way A facility like this would make a good project great. 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 Lionel.Verscheure at loria.fr Tue May 13 09:54:18 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Tue, 13 May 2003 09:54:18 +0200 Subject: email in double Message-ID: <3EC0A4AA.8010103@loria.fr> hi ! i receive only one mail when a service fall but when an host fall i have two mail to tell me this information... i don't understand why ... If someone has an idear thanks a lot to tell me. i put the two commands : host notify by mail : /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ notify by mail: /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$ - $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ best regards. Lionel Verscheure ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joe.Leone at Beacon.com.au Tue May 13 10:14:02 2003 From: Joe.Leone at Beacon.com.au (Joe Leone) Date: Tue, 13 May 2003 16:14:02 +0800 Subject: compile nrpe on Solaris Message-ID: <46CD2310D5C28044BBD358967C8A804801C2A5@borrowed.beacon.com.au> Hi I am trying to compile nrpe nrpe-2.0b3 on Solaris 7. I get an error as below. gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from ../common/common.h:24, ./common/config.h:54: syntax error before "typedef" In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.3/include/sys/types.h:33, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/machtypes.h:33: syntax error before "typedef" I have seen a number of people ask about compiling nrpe on Solaris and HP but no solution to fix it. People have responded that they have compiled it successfully. I have downloaded some of the binaries but they are older version which do not have SSL. Can some one tell me how they achieved it. I suspect it has something to do with u_int32_t Thank you Joe ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MZieny at cairo.westerngeco.slb.com Tue May 13 10:07:33 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Tue, 13 May 2003 11:07:33 +0300 Subject: Error 404 Object not found Message-ID: <5.1.0.14.2.20030513110210.00accbb0@wgmail5.cairo.afr.slb.com> Hi, I am starting installing Nagios into our system for my first time. I appended the following lines to httpd.conf ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias "/nagios/" "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all But I am still get the page Object Not found Error 404 when try http://localhost/nagios/ and a link down the page to localhost, when click that link it gives me the test page of apache. Any ideas??? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Tue May 13 10:48:01 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 10:48:01 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: References: Message-ID: <200305131048.01049.roy@karlsbakk.net> On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > ActiveState has a perl to binary/service converter. hi all. As Ghosh says above, we can use perl to write services. Is it only me, or would this allow us to standardize on perl for a new NRPE+ with NRPE + NSClient functionality? I guess we can read Windoze counters from perl without problems? 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 roy at karlsbakk.net Tue May 13 10:41:30 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 10:41:30 +0200 Subject: Holy language wars? (was: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: References: Message-ID: <200305131041.30764.roy@karlsbakk.net> To be brief: I've been programming Pascal since TP 5.5 and the latest of those years in entirely OOP. I know Pascal quite well, but not a lot of others do. If we want to make nagios/nsclient maintainable and not dependant on one guy (or a few) that might get hit by a bus tomorrow, we should choose a language with more commonly available knowledge. IMO, this list might include Perl, C, C++, Java, but _not_ Pascal, Ada, Cobol, Fortran, Lisp, C#, D or other old/new/strange/dead/not born yet languages. roy On Thursday 08 May 2003 22:50, Darren Harrison wrote: > 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 -- 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 Tue May 13 11:25:35 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 13 May 2003 11:25:35 +0200 Subject: email in double In-Reply-To: <3EC0A4AA.8010103@loria.fr> References: <3EC0A4AA.8010103@loria.fr> Message-ID: <3EC0BA0F.2010807@dhl.com> Check whether you haven't got two Nagios instances running. Lionel Verscheure wrote: > hi ! > > i receive only one mail when a service fall > but when an host fall i have two mail to tell me this information... > i don't understand why ... > If someone has an idear thanks a lot to tell me. > > i put the two commands : > > host notify by mail : > /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s > "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > notify by mail: > /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$ - > $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONTACTEMAIL$ > > best regards. > Lionel Verscheure > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue May 13 11:11:38 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 11:11:38 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: <200305131048.01049.roy@karlsbakk.net> References: <200305131048.01049.roy@karlsbakk.net> Message-ID: <200305131111.38310.roy@karlsbakk.net> Check this: http://www.perlguy.com/articles/nt_service.html On Tuesday 13 May 2003 10:48, Roy Sigurd Karlsbakk wrote: > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > ActiveState has a perl to binary/service converter. > > hi all. > > As Ghosh says above, we can use perl to write services. Is it only me, or > would this allow us to standardize on perl for a new NRPE+ with NRPE + > NSClient functionality? I guess we can read Windoze counters from perl > without problems? > > 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 Wibo.Lammerts at hmg.nl Tue May 13 11:45:19 2003 From: Wibo.Lammerts at hmg.nl (Wibo Lammerts) Date: Tue, 13 May 2003 11:45:19 +0200 Subject: Creating new PNG/GD2 images. Message-ID: Hi all, Can someone tell me what the correct procedure is in creating my own statusmap images? Thanx Wibo Lammerts Holland Media Group Systems Engineering. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 13 11:47:37 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 13 May 2003 10:47:37 +0100 Subject: Plugins compile error Message-ID: <53104E20A25CD411B556009027E50636079A9A94@pnnemp02.pn.egg.com> Can you please try the 1.3.0 bugfix and the HEAD version of nagiosplug at http://nagiosplug.sourceforge.net/snapshot/ If these do not work, can you take a look at configure.in where it is running ps commands and suggest a suitable ps syntax to use for Redhat 8. It should be something like: ps -weo 'stat comm vsz rss user uid ppid args' Ton > -----Original Message----- > From: Cabrera, Nestor (Contractor) [SMTP:CabreraN at southcom.disa.mil] > Sent: Monday, May 12, 2003 5:48 PM > To: 'Ewan Leith'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugins compile error > > 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. > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 12:15:36 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Tue, 13 May 2003 12:15:36 +0200 Subject: email in double References: <3EC0A4AA.8010103@loria.fr> <3EC0BA0F.2010807@dhl.com> Message-ID: <3EC0C5C8.5080307@loria.fr> i check but i have only one instance ... ( and i repeat that i have only one mail in the case of services but 2 in case of host down) I put an "event handler" in the host definition. And an alert in case of host problem in the contact definition. is it that the problem ? Tom DE BLENDE wrote: > Check whether you haven't got two Nagios instances running. > > Lionel Verscheure wrote: > >> hi ! >> >> i receive only one mail when a service fall >> but when an host fall i have two mail to tell me this information... >> i don't understand why ... >> If someone has an idear thanks a lot to tell me. >> >> i put the two commands : >> >> host notify by mail : >> /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: >> $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: >> $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail >> -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ >> >> notify by mail: >> /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: >> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$ - >> $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: >> $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional >> Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - >> $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >> >> best regards. >> Lionel Verscheure >> >> >> >> ------------------------------------------------------- >> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >> The only event dedicated to issues related to Linux enterprise solutions >> www.enterpriselinuxforum.com >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 matt.garrett at shell.com Tue May 13 12:18:16 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 13 May 2003 11:18:16 +0100 Subject: nrpe compile on solaris 8 Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D56662E5@abe-s-039.europe.shell.com> Folks I am having problems compiling nrpe 2.0b3 on a solaris 8 system Errors I am seeing are cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket 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/sys/types.h:24, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/machtypes.h:33: syntax error before `typedef' 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 `}' ../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' ETC ETC ETC 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' *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /tmp/nrpe-2.0b3/src *** Error code 1 make: Fatal error: Command failed for target `all' I am using openssl-0.9.7b , gcc 2.95.3 , nrpe 2.0b3 Any suggestions on what I am doing wrong. Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 Michael.Wirtgen at miwi-dv.com Tue May 13 12:46:24 2003 From: Michael.Wirtgen at miwi-dv.com (Michael.Wirtgen at miwi-dv.com) Date: Tue, 13 May 2003 12:46:24 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E4FA1@ws_server.intern.westernsystems.de> hi all, just some thoughts and ideas for comments... - Perl for services Even if the idea of using perl with a wrapper for this is tempting, wearing my windows hat, I'd always prefer something really "talking" to the SCM instead of using a wrapper. I've done that several times in the past, using svcany an the like, results were mixed. I think it can be done, but if someone is taking the effort for a rewrite, why not use C and accommodate the existing sources to compile on non UX platforms. - "Porting" NRPE to windows While putting together nrpe_nt (my attempt at "porting" nrpe), I found that there is not TOO much stuff to be changed. Before attempting a complete rewrite I'd suggest to review the existing sources, and split up nrpe.c into two files, a generic one, and a platform dependent one. The platform dependent file would (for windows) roughly contain: main(), wait_for_connections() and handle_connection(), plus some additional code to make stuff like services work. (Talk to the SCM etc.). stuff like utils.c and common.h compiled on win with ~4-5 one line patches. - Integrating nrpe with nsclient functionality Personally, I think nsclient and nrpe serve different purposes on windows (or could do so in a "clean" design): nsclient is platform specific to windows, and not easily modified to allow for custom plugins. nrpe allows only for plugins, doesn't care for specific checks at all, just executes them. The way I would like to use both, would be: nsclient as a local agent, running continuous checks for stuff, that has to be checked local and/or requires activity, that can't be done in a plugin (eg. register callback to some windows functions like spooler/filesystem events etc). These could be reported back passive checks. nrpe as a "gateway" to windows checks, to either local or remote windows hosts. This allows distributed active checks, without the need for an agent like nsclient on every monitored host. (A lot of my customers are really reluctant to install any additional agent "only for monitoring"). It would be possible to integrate nrpe functions with nsclient, but you would either: - Start with from the delphi nsclient sources Roys arguments about which languages to be used applies here, as in fact not too much people use delphi these days. Also, it would make nsclient an even more complex beast to maintain. - Start a complete rewrite in perl If you'd add all nsclient functionality, the code would be platform specific to windows again, wasting the initial reason to do a rewrite. Pheew, that has become a little lengthy... So in summary I'd suggest: a) don't mix functionality between nsclient and nrpe, as they serve different purposes b) If someone is willing to start a rewrite, don't go with perl easily because "it's platform independent". It may bite back later... thanks for your attention cheers MiWi -----Original Message----- From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] Sent: Dienstag, 13. Mai 2003 10:48 To: Subhendu Ghosh; nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting nsclient? (was NSClient 1.0.8.0 Installation Problem)) On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > ActiveState has a perl to binary/service converter. hi all. As Ghosh says above, we can use perl to write services. Is it only me, or would this allow us to standardize on perl for a new NRPE+ with NRPE + NSClient functionality? I guess we can read Windoze counters from perl without problems? 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 karl at debisschop.net Tue May 13 12:44:36 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 13 May 2003 06:44:36 -0400 Subject: Plugins compile error In-Reply-To: <53104E20A25CD411B556009027E50636079A9A94@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636079A9A94@pnnemp02.pn.egg.com> Message-ID: <1052822676.5636.9.camel@miles.debisschop.net> On Tue, 2003-05-13 at 05:47, Voon, Ton wrote: > Can you please try the 1.3.0 bugfix and the HEAD version of nagiosplug at > http://nagiosplug.sourceforge.net/snapshot/ > > If these do not work, can you take a look at configure.in where it is > running ps commands and suggest a suitable ps syntax to use for Redhat 8. It > should be something like: ps -weo 'stat comm vsz rss user uid ppid args' I have no problems with build on RH 9 - both for HEAD and r130. I don't have any RH 8 systems, but I did at the time 1.3.0 was released, and ISTM I tested the build on it as well. I note the check below has the value of the ps check cached -- that should not be the case in 1.3.0 (actually, I don't think it ever was). So this check apparently reuses bad values from a previously cached run? Also, on RH9 I get /bin/ps rather than /usr/bin/ps I also get /bin/ps on rh 7.2 -- there is no ps in /usr/bin on either box -- if I had to guess, i'd say that either this box has been hardened or it has been cracked leaving sort sort of root kit. > Ton > > > -----Original Message----- > > From: Cabrera, Nestor (Contractor) [SMTP:CabreraN at southcom.disa.mil] > > Sent: Monday, May 12, 2003 5:48 PM > > To: 'Ewan Leith'; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Plugins compile error > > > > 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. > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue May 13 13:12:08 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 13 May 2003 12:12:08 +0100 Subject: [Nagiosplug-help] check_citrix ? Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECD1@netfinity-1.foundation-it.local> > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > > Any module you want used by a Perl program (utils.pm used by > _all_ the standard Perl plugins as well as check_citrix) > needs to be where Perl expects it to be namely, > > 1 The current working directory - so sticking utils.pm it in > /libexec will work Only if the plugin is run in that directory, which is not the case with the standard Nagios method for command definition ($USER1$/check_blah ...). > I suppose the ideal thing would be for someone to either > [...] > 3. have contrib Perl programs _fail_ with a note saying that > unless you > add the correct use lib pragma to the plugin it is not going to work. > > Probably the only feasable although disgusting solution for > Contributed Perl plugins. I'm not sure if you mean the failure or the need to insert a 'use lib' pragma is disgusting. :) > 4. The curent option in that contributed plugins are not on the same > level as standard Plugins. > > This means that you and you (and that means you hiding in the > back row) > must do some _work_ to install them and get them going. I don't think anybody's expecting handholding, maybe just a hint in the source that adding a 'use lib' line might be necessary to get the contributed plugin to work. The pragma seems to be the accepted Nagios method of dealing with the issue, or at least that's the way that all the Perl plugins installed by default deal with it. 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 news at villa-kuip.kabel.utwente.nl Tue May 13 13:10:33 2003 From: news at villa-kuip.kabel.utwente.nl (Willempie) Date: Tue, 13 May 2003 13:10:33 +0200 Subject: Processes lost in webinterface? Message-ID: Hi, I've install nagios, and after adding some services, I started testing. That were 68 services. Than I started adding more, until 90. I restarted nagios, but, sometimes I see total 68 processes, and sometimes 90. This is changing without changing or restarting anything. It's always this later added processes that disappear, but sometimes they come back. I see no way of getting them back manually. It also does not take the changes I made in contacts.cfg, even if I change e-mail addresses, mail keeps being delivered to the old address, even though it says it should not mail anything. This looks again like still having old config, since there it mentioned this old e-mail address, and it was set to send out notifications by e-mail. Thanks for your help. Willempie ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue May 13 13:12:13 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 13 May 2003 07:12:13 -0400 Subject: Plugins compile error In-Reply-To: <1052822676.5636.9.camel@miles.debisschop.net> References: <53104E20A25CD411B556009027E50636079A9A94@pnnemp02.pn.egg.com> <1052822676.5636.9.camel@miles.debisschop.net> Message-ID: <1052824333.5636.11.camel@miles.debisschop.net> On Tue, 2003-05-13 at 06:44, Karl DeBisschop wrote: > On Tue, 2003-05-13 at 05:47, Voon, Ton wrote: > > Can you please try the 1.3.0 bugfix and the HEAD version of nagiosplug at > > http://nagiosplug.sourceforge.net/snapshot/ > > > > If these do not work, can you take a look at configure.in where it is > > running ps commands and suggest a suitable ps syntax to use for Redhat 8. It > > should be something like: ps -weo 'stat comm vsz rss user uid ppid args' > > I have no problems with build on RH 9 - both for HEAD and r130. I don't > have any RH 8 systems, but I did at the time 1.3.0 was released, and > ISTM I tested the build on it as well. > > I note the check below has the value of the ps check cached -- that > should not be the case in 1.3.0 (actually, I don't think it ever was). > > So this check apparently reuses bad values from a previously cached run? > > Also, on RH9 I get /bin/ps rather than /usr/bin/ps > > I also get /bin/ps on rh 7.2 -- there is no ps in /usr/bin on either box > -- if I had to guess, i'd say that either this box has been hardened or > it has been cracked leaving sort sort of root kit. One other idea - is this an NFS mounted directory that was previously used to build on some different system? > > Ton > > > > > -----Original Message----- > > > From: Cabrera, Nestor (Contractor) [SMTP:CabreraN at southcom.disa.mil] > > > Sent: Monday, May 12, 2003 5:48 PM > > > To: 'Ewan Leith'; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Plugins compile error > > > > > > 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. > > > > > > > > > This private and confidential e-mail has been sent to you by Egg. > > The Egg group of companies includes Egg Banking plc > > (registered no. 2999842), Egg Financial Products Ltd (registered > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > carries out investment business on behalf of Egg and is regulated > > by the Financial Services Authority. > > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > > 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have > > received it in error, please notify the sender by replying with > > 'received in error' as the subject and then delete it from your > > mailbox. > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 philc at foundation-it.com Tue May 13 13:33:19 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 13 May 2003 12:33:19 +0100 Subject: nrpe compile on solaris 8 Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECD2@netfinity-1.foundation-it.local> > From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] > > I am having problems compiling nrpe 2.0b3 on a solaris 8 system > > Errors I am seeing are > > cd ./src/; make ; cd .. > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H > -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket > 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/sys/types.h:24, > from /usr/include/strings.h:11, > from ../common/config.h:74, > from ../common/common.h:24, > from nrpe.c:21: > /usr/include/sys/machtypes.h:33: syntax error before > `typedef' > *** Error code 1 > make: Fatal error: Command failed for target `nrpe' > Current working directory /tmp/nrpe-2.0b3/src > *** Error code 1 > make: Fatal error: Command failed for target `all' > > Any suggestions on what I am doing wrong. Just tried to compile nrpe 2.0b3 on a Solaris 8 system that happily compiled nrpe 1.8 and it failed big time on not being able to find Openssl header files (which are there, where you'd expect): cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c In file included from ../common/config.h:190, from ../common/common.h:24, from nrpe.c:21: /usr/local/ssl/include/openssl/rsa.h:63: openssl/bio.h: No such file or directory /usr/local/ssl/include/openssl/rsa.h:65: openssl/bn.h: No such file or directory /usr/local/ssl/include/openssl/rsa.h:66: openssl/crypto.h: No such file or directory etc, etc, etc So I'm afraid I can't be much help. :) 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 matorres at prisacom.com Tue May 13 13:54:03 2003 From: matorres at prisacom.com (Miguel A. Torres) Date: Tue, 13 May 2003 13:54:03 +0200 Subject: Service Dependencies doesn't WORK???? Message-ID: Hello, You are right...I have the wrong idea about service depenencies. But after to re-read the docc I think that I can use the "Service Dependencies" feature to simulate that I want. My intention is the following: I have a service A dependent on service B. If the service B turn on the critical state the service A will not be checked. Now, with my actual configuration when this occur the service A don't turn any diferent state. Then my question is: if the service A is not checked why dont't turn on other state???(for example unreachabe). I need that a dependent servie A turn on a different (anyone) state when the master service B turn on critical state. Is it possible with these feature?? and with other feature of nagios?? Thanks a lot. Miguel A. Torres -----Mensaje original----- De: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Enviado el: martes, 13 de mayo de 2003 5:24 Para: Miguel A. Torres CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Service Dependencies doesn't WORK???? Dear Sir, I think you have the wrong idea about service dependencies. >From the superb docco that was installed as part of the standard Nag installation. 'Service dependencies are an advanced feature of Nagios that allow you to suppress notifications and active checks of services based on the status of one or more other services. Service dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups. More information on how service dependencies work (read this!) can be found here.' The key element is 'suprress notifications .. of services based on the status of .. other services'. You cannot use dependencies to make a dependent service have the same state as the service it depends on; this is what 'dependencies' are designed to _prevent_. Dependencies relate services in the same that 'parents' and 'children' relate reachability or topological dependencies (for the same reasons: you don't want a notification avalanche if a key node - with lots of dependent leaf nodes - fails). The difference is that these are 'logical' relationships that are explicity configured (topol dependencies could be auto-configured by traceroute scans). Service dependencies are motivated by the fact that some services rely on databases, RADIUS, AD, Domains etc to work, and that you are not interested in being alerted when you know that one of these has already failed. An example of it's use at this site is that the logical devolution of plugin/check maintenance results in a server group maintaining a /bin/sh 'system_health_check' on each of their Sol hosts. So they can keep firm control of access, they insist that Nag runs this check on _one_ host by ssh (with the hostname, as a parameter, of the box that that host will then check). This host then checks the others. Obviously if the ssh service fails on that host, none of the other hosts will be checked - yet probably nothing is wrong with them. In this case, all these checks are made dependent on the ssh service of the master, so if the ssh server fails, no spurious alerts are sent (to another group: DBAs) responsible for appplications on those boxes ... Please read the docco. If it doesn't make sense to you you will help both yourself and others if you say this para or this statement doesn't make sense. 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 MZieny at cairo.westerngeco.slb.com Tue May 13 13:52:23 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Tue, 13 May 2003 14:52:23 +0300 Subject: Error 404 Object not found In-Reply-To: <7D55A9A792CFA24C8918768B5F977A21C632DC@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A21C632DC@quigon.hosystems> Message-ID: <5.1.0.14.2.20030513145128.02530008@wgmail5.cairo.afr.slb.com> after each change I did, I did service httpd restart , and service nagios restart... At 07:45 AM 5/13/2003 -0400, Aaron Conaway wrote: >Did you restart Apache? > > > >---------- >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: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] >Sent: Tuesday, May 13, 2003 4:08 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Error 404 Object not found > >Hi, >I am starting installing Nagios into our system for my first time. >I appended the following lines to httpd.conf > > > >ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > >Alias "/nagios/" "/usr/local/nagios/share/" > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > >But I am still get the page Object Not found Error 404 when try >http://localhost/nagios/ >and a link down the page to localhost, when click that link it gives me >the test page of apache. > >Any ideas??? > >Regards, > >Mohamed El-Zeiny >DP Project Leader - System Administrator >WesternGeco - DP Cairo Center >Schlumberger >( 202 417 9731 ? 202 417 9741 >? 2 0101 612 650 Ext. 226 >S MZieny at cairo.westerngeco.slb.com >======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From Aaron.Conaway at HOSystems.com Tue May 13 13:45:26 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Tue, 13 May 2003 07:45:26 -0400 Subject: Error 404 Object not found Message-ID: <7D55A9A792CFA24C8918768B5F977A21C632DC@quigon.hosystems> Did you restart Apache? ---------- 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: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] Sent: Tuesday, May 13, 2003 4:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error 404 Object not found Hi, I am starting installing Nagios into our system for my first time. I appended the following lines to httpd.conf ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias "/nagios/" "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all But I am still get the page Object Not found Error 404 when try http://localhost/nagios/ and a link down the page to localhost, when click that link it gives me the test page of apache. Any ideas??? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 * MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at karlsbakk.net Tue May 13 14:15:40 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 14:15:40 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E4FA1@ws_server.intern.westernsystems.de> References: <77AFA7FE1D1F6D4DBCB63CBC5066A2B41E4FA1@ws_server.intern.westernsystems.de> Message-ID: <200305131415.40904.roy@karlsbakk.net> ok. So why not: - Rewrite nsclient in C or C++ (and perhaps renaming it?) - Rewrite NRPE in perl to allow it to work in any environment Whaddayathink? On Tuesday 13 May 2003 12:46, Michael.Wirtgen at miwi-dv.com wrote: > hi all, > > just some thoughts and ideas for comments... > > - Perl for services > Even if the idea of using perl with a wrapper for this is tempting, wearing > my windows hat, I'd always prefer something really "talking" to the SCM > instead of using a wrapper. I've done that several times in the past, using > svcany an the like, results were mixed. I think it can be done, but if > someone is taking the effort for a rewrite, why not use C and accommodate > the existing sources to compile on non UX platforms. > > - "Porting" NRPE to windows > While putting together nrpe_nt (my attempt at "porting" nrpe), I found that > there is not TOO much stuff to be changed. Before attempting a complete > rewrite I'd suggest to review the existing sources, and split up nrpe.c > into two files, a generic one, and a platform dependent one. The platform > dependent file would (for windows) roughly contain: main(), > wait_for_connections() and handle_connection(), plus some additional code > to make stuff like services work. > (Talk to the SCM etc.). stuff like utils.c and common.h compiled on win > with ~4-5 one line patches. > > - Integrating nrpe with nsclient functionality > Personally, I think nsclient and nrpe serve different purposes on windows > (or could do so in a "clean" design): > nsclient is platform specific to windows, and not easily modified to allow > for custom plugins. > nrpe allows only for plugins, doesn't care for specific checks at all, just > executes them. > > The way I would like to use both, would be: > nsclient as a local agent, running continuous checks for stuff, that has to > be checked local and/or requires activity, that can't be done in a plugin > (eg. register callback to some windows functions like spooler/filesystem > events etc). These could be reported back passive checks. > > nrpe as a "gateway" to windows checks, to either local or remote windows > hosts. > This allows distributed active checks, without the need for an agent like > nsclient on every monitored host. (A lot of my customers are really > reluctant to install any additional agent "only for monitoring"). > > It would be possible to integrate nrpe functions with nsclient, but you > would either: > > - Start with from the delphi nsclient sources > Roys arguments about which languages to be used applies here, as in fact > not too much people use delphi these days. > Also, it would make nsclient an even more complex beast to maintain. > > - Start a complete rewrite in perl > If you'd add all nsclient functionality, the code would be platform > specific to windows again, wasting the initial reason to do a rewrite. > > Pheew, that has become a little lengthy... > So in summary I'd suggest: > a) don't mix functionality between nsclient and nrpe, as they serve > different purposes > b) If someone is willing to start a rewrite, don't go with perl easily > because "it's platform independent". It may bite back later... > > thanks for your attention > cheers > MiWi > > > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: Dienstag, 13. Mai 2003 10:48 > To: Subhendu Ghosh; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > nsclient? (was NSClient 1.0.8.0 Installation Problem)) > > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > ActiveState has a perl to binary/service converter. > > hi all. > > As Ghosh says above, we can use perl to write services. Is it only me, or > would this allow us to standardize on perl for a new NRPE+ with NRPE + > NSClient functionality? I guess we can read Windoze counters from perl > without problems? > > 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 matt.garrett at shell.com Tue May 13 14:08:15 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 13 May 2003 13:08:15 +0100 Subject: nrpe compile on solaris 8 (Phil Costelloe) Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D56662E7@abe-s-039.europe.shell.com> > Subject: RE: [Nagios-users] nrpe compile on solaris 8 > Date: Tue, 13 May 2003 12:33:19 +0100 > From: "Phil Costelloe" > To: "Nagios-Users (E-mail)" > > > From: Garrett, Matt M SITI-ITDIEEE > [mailto:matt.garrett at shell.com]=20 > >=20 > > I am having problems compiling nrpe 2.0b3 on a solaris 8 system > >=20 > > Errors I am seeing are > >=20 > > cd ./src/; make ; cd .. > > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H=20 > > -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket=20 SNIP SNIP > > Any suggestions on what I am doing wrong. > > Just tried to compile nrpe 2.0b3 on a Solaris 8 system that > happily compiled nrpe 1.8 and it failed big time on not > being able to find Openssl header files (which are there, > where you'd expect): > > cd ./src/; make ; cd .. > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H > -L/usr/local/ssl/lib > -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > In file included from ../common/config.h:190, > from ../common/common.h:24, > from nrpe.c:21: > /usr/local/ssl/include/openssl/rsa.h:63: openssl/bio.h: No > such file or > directory > /usr/local/ssl/include/openssl/rsa.h:65: openssl/bn.h: No such file or > directory > /usr/local/ssl/include/openssl/rsa.h:66: openssl/crypto.h: No > such file > or directory > etc, etc, etc > > So I'm afraid I can't be much help. :) > > Phil > I fixed my openssl includes to be hardcoded e.g /usr/local/ssl/include/openssl/bio.h Now looks like #ifndef OPENSSL_NO_FP_API # include #endif #include #include #include Or could have set LD_LIBRARY_PATH which I think would have worked. Still does not solve my problem or the same one that Joe Leone has Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 moritz.gartenmeister at access.unizh.ch Tue May 13 14:21:46 2003 From: moritz.gartenmeister at access.unizh.ch (Moritz Gartenmeister) Date: Tue, 13 May 2003 14:21:46 +0200 Subject: nrpe: received 0 bytes from daemon Message-ID: <3EC0E35A.1000104@access.unizh.ch> hi i have problems with the nrpe addon. nrpe_check installed on nagios-server, in checkcommands the following entry: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ in services.cfg: snip check_command check_nrpe!check_disk1 snip on the remotehost: nrpe compiled and moved to /usr/sbin/ plugins in /usr/local/plugins/libexec/ /etc/services changed to: nrpe 5666/tcp # nrpe /etc/hosts.allow: nrpe: LOCAL, 172.17.0.3, .my.domain.ch /etc/inetd.conf nrpe stream tcp nowait nagios /usr/sbin/nrpe -i /usr/local/nagios/nrpe.cfg sudo netstat -pta: tcp 0 0 *:nrpe *.* LISTEN 176/inetd but in the Webinterface shows: check_disk1 --> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. no entries in the syslog of the remotehost. any ideas? /usr/lib/nagios/plugins$ sudo ./check_nrpe -H 172.17.0.7 -p 5666 --> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. regards moritz -- Moritz Gartenmeister B?lachstrasse 9 H 8057 Z?rich 01 312 01 25 079 350 99 86 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 14:27:56 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Tue, 13 May 2003 07:27:56 -0500 Subject: Statusmap errors Message-ID: Ok, I don't have that directory. Using nagios-1.0 with nagios-plugins-1.3.0. I looked at the cgi.cfg file and the XED section says that is for database support. I didn't compile for database support, but will do it again if necessary. I imagine db support would come in handy. Are there any known issues with it? L >>> Jeff Mercer 05/12/03 02:40PM >>> 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 Leonard_Miller at udlp.com Tue May 13 14:29:53 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Tue, 13 May 2003 07:29:53 -0500 Subject: Error 404 Object not found Message-ID: What does "service httpd status" return? Can you get to other pages on your site? Did you check the permissions on the directories? >>> Mohamed El Zeiny 05/13/03 07:52AM >>> after each change I did, I did service httpd restart , and service nagios restart... ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.lambooy at narmida.com Tue May 13 14:25:23 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Tue, 13 May 2003 14:25:23 +0200 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: <7D55A9A792CFA24C8918768B5F977A21C632DC@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A21C632DC@quigon.hosystems> Message-ID: <002801c3194a$b9e93a90$a52efea9@roestbak> HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue May 13 14:32:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 May 2003 08:32:58 -0400 (EDT) Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: <200305131415.40904.roy@karlsbakk.net> References: <200305131415.40904.roy@karlsbakk.net> Message-ID: On Tue, 13 May 2003, Roy Sigurd Karlsbakk wrote: > ok. > So why not: > - Rewrite nsclient in C or C++ (and perhaps renaming it?) > - Rewrite NRPE in perl to allow it to work in any environment Adam Jacobs had written a perl version back in Netsaint days inlcuding TripleDES support -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 14:42:02 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 14:42:02 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: References: Message-ID: <200305131442.02892.roy@karlsbakk.net> > > - Rewrite NRPE in perl to allow it to work in any environment > > Adam Jacobs had written a perl version back in Netsaint days > inlcuding TripleDES support anyone that knows where that is? -- 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 matt.garrett at shell.com Tue May 13 14:43:15 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 13 May 2003 13:43:15 +0100 Subject: nrpe 2.0b3 failes to compile on SGI IRIX 6.5.19 Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D56662E9@abe-s-039.europe.shell.com> Folks I am trying to compile nrpe 2.0b3 on SGI IRIX 6.5.19 I get the following error's # make cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -o nrpe -lnsl -lsocket nrpe.c utils.c 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 nrpe.c: In function `process_arguments': nrpe.c:1439: elements of array `long_options' have incomplete type nrpe.c:1440: warning: excess elements in struct initializer nrpe.c:1440: warning: (near initialization for `long_options[0]') nrpe.c:1440: `required_argument' undeclared (first use in this function) nrpe.c:1440: (Each undeclared identifier is reported only once nrpe.c:1440: for each function it appears in.) nrpe.c:1440: warning: excess elements in struct initializer nrpe.c:1440: warning: (near initialization for `long_options[0]') nrpe.c:1440: warning: excess elements in struct initializer nrpe.c:1440: warning: (near initialization for `long_options[0]') SNIP SNIP SNIP nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[6]') nrpe.c:1447: invalid use of undefined type `struct option' nrpe.c:1439: storage size of `long_options' isn't known *** Error code 1 (bu21) *** Error code 1 (bu21) # gcc -v 2.95.3 In fact nrpe does not seem to compile on most things e.g Solaris , HPUX 11 , IRIX The only thing it seems to compile on is AIX 4.3.3 which is normally the one that has all the problems on compiling Just a small observation. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 Tom.DeBlende at dhl.com Tue May 13 15:01:37 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 13 May 2003 15:01:37 +0200 Subject: Checking an MSSQL In-Reply-To: References: Message-ID: <3EC0ECB1.4030603@dhl.com> Try the check_mssql.sh script in the contrib: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/ Ian Farr wrote: > 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 patrick_leboutillier at hotmail.com Tue May 13 14:46:24 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Tue, 13 May 2003 08:46:24 -0400 Subject: Plugin works interactively but not in Nagios References: <20030513103730.B65962@IPAustralia.Gov.AU> Message-ID: Done. I submitted a FAQ entry called "Debugging plugins". Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Stanley Hopcroft" To: "Patrick LeBoutillier" Cc: "Jeff Mercer" ; Sent: Monday, May 12, 2003 8:37 PM Subject: Re: [Nagios-users] Plugin works interactively but not in Nagios > Dear Sir, > > I am writing to thank you for your letter and congratulate on you a very > useful and helpful suggestion in dealing with the FAQ of 'No output!' > from plugin (often a Perl plugin although not here). > > On Mon, May 12, 2003 at 12:53:25PM -0400, Patrick LeBoutillier wrote: > > Jeff, > > > > Create your own plugin, just shell script that does something like: > > > > echo `date` >> /tmp/toto > > 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.). > > > > Would you like to submit an FAQ entry about this ? > > See ttp://www.nagios.org/faqs/addfaq.php > > I think it would be helpful and worthwhile. > > > > Then you will be able to see what args are passed and what's going on. > > > > > > Patrick > > > > Thank you very much, > > 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 > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MZieny at cairo.westerngeco.slb.com Tue May 13 14:44:55 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Tue, 13 May 2003 15:44:55 +0300 Subject: Error 404 Object not found In-Reply-To: References: Message-ID: <5.1.0.14.2.20030513154236.02601020@wgmail5.cairo.afr.slb.com> service nagios status PID TTY TIME CMD 1200 ? 00:00:00 nagios service httpd status httpd (pid 1117 1116 1115 1114 1113 1112 1111 1110 1039) is running... I can manually open the index.html file under usr/local/nagios/share the permission should be ok. all are owned by nagios user. only apache installed as root...!!? Regards, Mohamed At 07:29 AM 5/13/2003 -0500, Leonard Miller wrote: >What does "service httpd status" return? >Can you get to other pages on your site? >Did you check the permissions on the directories? > > >>> Mohamed El Zeiny 05/13/03 07:52AM >>> > > >after each change I did, I did service httpd restart , and service nagios >restart... Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From mercer at btitelecom.net Tue May 13 15:05:20 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Tue, 13 May 2003 09:05:20 -0400 Subject: compile nrpe on Solaris In-Reply-To: <46CD2310D5C28044BBD358967C8A804801C2A5@borrowed.beacon.com.au> References: <46CD2310D5C28044BBD358967C8A804801C2A5@borrowed.beacon.com.au> Message-ID: Joe Leone wrote: > I am trying to compile nrpe nrpe-2.0b3 on Solaris 7. Wheee! > I get an error as below. > > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > In file included from ../common/common.h:24, > ./common/config.h:54: syntax error before "typedef" > In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.3/include/sys/types.h:33, > from /usr/include/strings.h:11, > from ../common/config.h:74, > from ../common/common.h:24, > from nrpe.c:21: > /usr/include/sys/machtypes.h:33: syntax error before "typedef" > > I have seen a number of people ask about compiling nrpe on Solaris and HP but no solution to fix it. People have responded that they have compiled it successfully. I have downloaded some of the binaries but they are older version which do not have SSL. > Can some one tell me how they achieved it. I suspect it has something to do with u_int32_t I had problems with NRPE 1.8 on Solaris 7 AND Solaris 8 boxes. I was annoyed to find that on a few of my systems there was no problem, while on others it worked fine. I did indeed narrow it down to the typedef declaration for u_int32_t. From what I was able to determine, the systems where it compiled fine had Berkley DB installed. There was a /usr/include/db.h file which happened to define the u_int32_t type, and through some chain of includes I can't recall this would allow nrpe to compile. Anyways, it's a very fix. Once you've done your ./configure command sequence in the NRPE source directory (Including whatever parameters you may want to pass to the configure script), you just need to modify the common.h file in the common directory and add: typedef unsigned int u_int32_t; right near the top, just after the first #include statement. Then do a make and it should compile fine. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue May 13 15:16:17 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 13 May 2003 14:16:17 +0100 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513742@jessica.herefordshire.gov.uk> Maybe I'm paranoid but I wouldn't be too happy about having a Perl interpreter sitting on our NT boxes waiting for malicious Perl scripts to happen along ;-) I'd suggest that the C or C++ stuff for Windows should be written to be compiled under MinGW (http://sourceforge.net/projects/mingw/) and Dev-CPP (http://sourceforge.net/projects/dev-cpp/). Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: 13 May 2003 13:16 > To: Michael.Wirtgen at miwi-dv.com; sghosh at sghosh.org; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > ok. > So why not: > - Rewrite nsclient in C or C++ (and perhaps renaming it?) > - Rewrite NRPE in perl to allow it to work in any environment > > Whaddayathink? > > On Tuesday 13 May 2003 12:46, Michael.Wirtgen at miwi-dv.com wrote: > > hi all, > > > > just some thoughts and ideas for comments... > > > > - Perl for services > > Even if the idea of using perl with a wrapper for this is > tempting, wearing > > my windows hat, I'd always prefer something really > "talking" to the SCM > > instead of using a wrapper. I've done that several times in > the past, using > > svcany an the like, results were mixed. I think it can be > done, but if > > someone is taking the effort for a rewrite, why not use C > and accommodate > > the existing sources to compile on non UX platforms. > > > > - "Porting" NRPE to windows > > While putting together nrpe_nt (my attempt at "porting" > nrpe), I found that > > there is not TOO much stuff to be changed. Before > attempting a complete > > rewrite I'd suggest to review the existing sources, and > split up nrpe.c > > into two files, a generic one, and a platform dependent > one. The platform > > dependent file would (for windows) roughly contain: main(), > > wait_for_connections() and handle_connection(), plus some > additional code > > to make stuff like services work. > > (Talk to the SCM etc.). stuff like utils.c and common.h > compiled on win > > with ~4-5 one line patches. > > > > - Integrating nrpe with nsclient functionality > > Personally, I think nsclient and nrpe serve different > purposes on windows > > (or could do so in a "clean" design): > > nsclient is platform specific to windows, and not easily > modified to allow > > for custom plugins. > > nrpe allows only for plugins, doesn't care for specific > checks at all, just > > executes them. > > > > The way I would like to use both, would be: > > nsclient as a local agent, running continuous checks for > stuff, that has to > > be checked local and/or requires activity, that can't be > done in a plugin > > (eg. register callback to some windows functions like > spooler/filesystem > > events etc). These could be reported back passive checks. > > > > nrpe as a "gateway" to windows checks, to either local or > remote windows > > hosts. > > This allows distributed active checks, without the need for > an agent like > > nsclient on every monitored host. (A lot of my customers are really > > reluctant to install any additional agent "only for monitoring"). > > > > It would be possible to integrate nrpe functions with > nsclient, but you > > would either: > > > > - Start with from the delphi nsclient sources > > Roys arguments about which languages to be used applies > here, as in fact > > not too much people use delphi these days. > > Also, it would make nsclient an even more complex beast to maintain. > > > > - Start a complete rewrite in perl > > If you'd add all nsclient functionality, the code would be platform > > specific to windows again, wasting the initial reason to do > a rewrite. > > > > Pheew, that has become a little lengthy... > > So in summary I'd suggest: > > a) don't mix functionality between nsclient and nrpe, as they serve > > different purposes > > b) If someone is willing to start a rewrite, don't go with > perl easily > > because "it's platform independent". It may bite back later... > > > > thanks for your attention > > cheers > > MiWi > > > > > > -----Original Message----- > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > Sent: Dienstag, 13. Mai 2003 10:48 > > To: Subhendu Ghosh; nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > nsclient? (was NSClient 1.0.8.0 Installation Problem)) > > > > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > > ActiveState has a perl to binary/service converter. > > > > hi all. > > > > As Ghosh says above, we can use perl to write services. Is > it only me, or > > would this allow us to standardize on perl for a new NRPE+ > with NRPE + > > NSClient functionality? I guess we can read Windoze > counters from perl > > without problems? > > > > 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 kuehne at sietec.de Tue May 13 15:11:09 2003 From: kuehne at sietec.de (Alex Kuehne) Date: Tue, 13 May 2003 15:11:09 +0200 Subject: nrpe compile on solaris 8 Message-ID: <3EC0EEED.306@sietec.de> > -----Original Message----- > From: Phil Costelloe [mailto:philc at foundation-it.com] > Sent: Tuesday, May 13, 2003 1:33 PM > To: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] nrpe compile on solaris 8 > > Just tried to compile nrpe 2.0b3 on a Solaris 8 system that > happily compiled nrpe 1.8 and it failed big time on not > being able to find Openssl header files (which are there, > where you'd expect): > [...] > /usr/local/ssl/include/openssl/rsa.h:63: openssl/bio.h: No > such file or > directory > /usr/local/ssl/include/openssl/rsa.h:65: openssl/bn.h: No such file or > directory > /usr/local/ssl/include/openssl/rsa.h:66: openssl/crypto.h: No > such file I tried to compile nrpe-2.0b3 on Solaris 8, too. I solved that issue with the openssl include files. Just add another -I to CFLAGS in ./src/Makefile, if you have i.e. -I/usr/local/ssl/include/openssl, then add -I/usr/local/ssl/include, because the openssl header files contain #include . But, running gmake ends in several other errors (attn very long): cd ./src/; make ; cd .. gcc -g -O2 -I/opt/openssl/include -I/opt/openssl/include/openssl -DHAVE_CONFIG_H -L/opt/openssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket 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/sys/types.h:24, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from nrpe.c:21: /usr/include/sys/machtypes.h:33: syntax error before `typedef' 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 `}' ../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 `*' 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: `packet' undeclared (first use in this function) 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 `0L' nrpe.c:913: `calculated_crc32' undeclared (first use in this function) nrpe.c: At top level: nrpe.c:1258: parse error before `*' 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:1273: `packet' 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/sys/types.h:24, from /usr/include/strings.h:11, from ../common/config.h:74, from ../common/common.h:24, from utils.c:32: /usr/include/sys/machtypes.h:33: syntax error before `typedef' 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 `}' ../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' *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /export/src/nrpe-2.0b3/src *** Error code 1 make: Fatal error: Command failed for target `all' I have gcc 2.95.3, GNU make 3.79.1. My guess is that the errors occur because there are typedefs and other stuff from the Linux world, and therefor not working on Solaris. Best regards, Alex Kuehne ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:22:31 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 15:22:31 +0200 Subject: Checking an MSSQL In-Reply-To: <3EC0ECB1.4030603@dhl.com> References: <3EC0ECB1.4030603@dhl.com> Message-ID: <200305131522.31513.roy@karlsbakk.net> ...or try the check_mssql perl script I just sent to the list (also attached). it's not so ugly as when using a shell script :) On Tuesday 13 May 2003 15:01, Tom DE BLENDE wrote: > Try the check_mssql.sh script in the contrib: > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contri >b/ > > Ian Farr wrote: > > 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 -- 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 -------------- A non-text attachment was scrubbed... Name: check_mssql Type: application/x-perl Size: 1786 bytes Desc: not available URL: From jlancaster at affinity.com Tue May 13 15:23:29 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Tue, 13 May 2003 09:23:29 -0400 Subject: Processes lost in webinterface? References: Message-ID: <005901c31952$d82c9940$f805ff0a@tekniq> Sounds to me like you have two different nagios processes running one from before, one from now. Try using the init script with a stop, killing off all nagios processes, and starting nagios with the init script. That should fix your problem. -Jason ----- Original Message ----- From: "Willempie" To: Sent: Tuesday, May 13, 2003 7:10 Subject: [Nagios-users] Processes lost in webinterface? > Hi, > > I've install nagios, and after adding some services, I started testing. That > were 68 services. Than I started adding more, until 90. I restarted nagios, > but, sometimes I see total 68 processes, and sometimes 90. This is changing > without changing or restarting anything. It's always this later added > processes that disappear, but sometimes they come back. I see no way of > getting them back manually. > > It also does not take the changes I made in contacts.cfg, even if I change > e-mail addresses, mail keeps being delivered to the old address, even though > it says it should not mail anything. This looks again like still having old > config, since there it mentioned this old e-mail address, and it was set to > send out notifications by e-mail. > > Thanks for your help. > > Willempie > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mkazmier at sofast.net Tue May 13 15:29:24 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Tue, 13 May 2003 07:29:24 -0600 Subject: Nagios + APC UPSsssss In-Reply-To: References: Message-ID: <000301c31953$abe49490$6701010a@kazkdsxp> I am sorry Leonard, I thought you meant you have your UPS connected to the console or aux port on you cisco switch, which you were monitoring through there. IE: A method to save / avoid the Ethernet modules for the UPS. Thanks, Mike -----Original Message----- From: Leonard Miller [mailto:Leonard_Miller at udlp.com] Sent: Tuesday, May 13, 2003 6:12 AM To: mkazmier at sofast.net Subject: RE: [Nagios-users] Nagios + APC UPSsssss Mike, I use MRTG. You can pretty much graph anything that has an SNMP OID. I get Battery Replacement Indicator, tells me whether or not a battery needs replaced. Battery Status, last reason it transfered to battery, output status, battery temperature, battery capacity, line voltage, runtime remaining and load on the ups. I can't get messages from MRTG about the UPS's, but it really isn't necessary since the UPS's send e-mail when something goes wrong. But several times, I have been able to replace a battery or get the electrical lines fixed because of the graphs. This is assuming you have the APC Management card installed in, or attached to, the UPS. You can take a look at it here http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ Leonard >>> "Michael S. Kazmier" 05/12/03 06:28PM >>> Can you tell me how you monitor the UPS's connected to your switches? That seems ingenious but I have never heard of doing that before. Thanks, Mike ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:12:50 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Tue, 13 May 2003 09:12:50 -0400 Subject: nrpe compile on solaris 8 In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D56662E5@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D56662E5@abe-s-039.europe.shell.com> Message-ID: Garrett, Matt M SITI-ITDIEEE wrote: > I am having problems compiling nrpe 2.0b3 on a solaris 8 system Wheeeeeeeeeeeeeeeeeeeeeeeeee! [yadda yadda] > ../common/common.h:66: parse error before `u_int32_t' [yadda yadda] > Any suggestions on what I am doing wrong. Add this line to the common/common.h file found in your NRPE source tree before doing the make: typedef unsigned int u_int32_t; And (hopefully) Bob's your uncle. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:30:42 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Tue, 13 May 2003 09:30:42 -0400 Subject: nrpe 2.0b3 failes to compile on SGI IRIX 6.5.19 In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D56662E9@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D56662E9@abe-s-039.europe.shell.com> Message-ID: Garrett, Matt M SITI-ITDIEEE wrote: > In fact nrpe does not seem to compile on most things e.g Solaris , HPUX 11 , IRIX > The only thing it seems to compile on is AIX 4.3.3 which is normally the one that has all the problems on compiling > Just a small observation. I've gotten NRPE 1.8 to compile (with minor effort) on: Solaris 7 (sparc) Solaris 8 (sparc) RedHat 6.2 (x86) RedHat 7.1 (x86) RedHat 7.3 (x86) RedHat 8.0 (x86) YellowDog 2.1 (ppc) YellowDog 2.3 (ppc) As far as the beta for NRPE 2.0 goes, well I decided not to bother with it for now... ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:39:53 2003 From: mercer at btitelecom.net (Jeff Mercer) Date: Tue, 13 May 2003 09:39:53 -0400 Subject: Statusmap errors In-Reply-To: References: Message-ID: Leonard Miller wrote: > Ok, I don't have that directory. Using nagios-1.0 with > nagios-plugins-1.3.0. Woops, didn't mean to confuse. I made my own sub-directory structure under /usr/local/nagios/etc to organize my configs. The "extended" directory isn't created by default. It's not required. > I looked at the cgi.cfg file and the XED section says that is > for database support. Woops! Again, more confusion, sorry. There *is* a section for configuring extended information using a database to provide the config info. But that is not required to do extended information. It's just an alternate method. Here's what I have in my cgi.cfg file: xedtemplate_config_file=/usr/local/nagios/etc/extended/hosts.cfg xedtemplate_config_file=/usr/local/nagios/etc/extended/routers.cfg xedtemplate_config_file=/usr/local/nagios/etc/extended/switches.cfg xedtemplate_config_file=/usr/local/nagios/etc/extended/services.cfg Then each of those config files has the appropiate definitions for the appropiate hosts, services, etc. It's important to make sure that the nagios process can access these config files. So make sure the directories are readable as well as the actual .cfg files. Even if the ownerships are correct, if one of your directories has access set like this: drwxrw-r-- 2 nagios nagios 4096 May 10 00:09 extended then when the CGI scripts try and read the config file they will probably fail silently. The permissions should look like: drwxrwxr-x 2 nagios nagios 4096 May 10 00:09 extended Of course you don't have to make a sub-directory for the extended config files. Or you can call it whatever you want. This is just an example. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:42:55 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 13 May 2003 07:42:55 -0600 Subject: Creating new PNG/GD2 images. Message-ID: Use your favorite image editing tool (I used Photoshop) to create pics that are 40 pixels square. Then save in .png, .gif, and .jpg format. Now use the .png files to make the .gd2 files, with a command similar to this: pngtogd2 filename.png filename.gd2 0 1 This is what worked for me, YMMV. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Wibo Lammerts [mailto:Wibo.Lammerts at hmg.nl] > Sent: Tuesday, May 13, 2003 3:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Creating new PNG/GD2 images. > > > Hi all, > > Can someone tell me what the correct procedure is in > creating my own statusmap images? > > Thanx > > Wibo Lammerts > Holland Media Group > Systems Engineering. > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara The only event dedicated to issues related to > Linux enterprise solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue May 13 15:51:29 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 13 May 2003 14:51:29 +0100 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513743@jessica.herefordshire.gov.uk> The security hole is careless admins and stupid default security settings. That's why I quite like the installation of precompiled, limited applications. I guess being a Windows admin makes one paranoid ;-) Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: 13 May 2003 14:45 > To: Randal, Phil; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > Phil, > > You are too paranoid! > > Perl isn't listening to anything, and is not a part of > windoze scripting host, > and thus no security hole or anything like that > > On Tuesday 13 May 2003 15:16, Randal, Phil wrote: > > Maybe I'm paranoid but I wouldn't be too happy about having a > > Perl interpreter sitting on our NT boxes waiting for malicious > > Perl scripts to happen along ;-) > > > > I'd suggest that the C or C++ stuff for Windows should be > > written to be compiled under MinGW > > (http://sourceforge.net/projects/mingw/) and Dev-CPP > > (http://sourceforge.net/projects/dev-cpp/). > > > > Cheers, > > > > Phil > > --------------------------------------------- > > Phil Randal > > Network Engineer > > Herefordshire Council > > Hereford, UK > > > > > -----Original Message----- > > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > > Sent: 13 May 2003 13:16 > > > To: Michael.Wirtgen at miwi-dv.com; sghosh at sghosh.org; > > > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] NSClient + NRPE == NRPE+ > (was: Rewriting > > > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > > > > ok. > > > So why not: > > > - Rewrite nsclient in C or C++ (and perhaps renaming it?) > > > - Rewrite NRPE in perl to allow it to work in any environment > > > > > > Whaddayathink? > > > > > > On Tuesday 13 May 2003 12:46, Michael.Wirtgen at miwi-dv.com wrote: > > > > hi all, > > > > > > > > just some thoughts and ideas for comments... > > > > > > > > - Perl for services > > > > Even if the idea of using perl with a wrapper for this is > > > > > > tempting, wearing > > > > > > > my windows hat, I'd always prefer something really > > > > > > "talking" to the SCM > > > > > > > instead of using a wrapper. I've done that several times in > > > > > > the past, using > > > > > > > svcany an the like, results were mixed. I think it can be > > > > > > done, but if > > > > > > > someone is taking the effort for a rewrite, why not use C > > > > > > and accommodate > > > > > > > the existing sources to compile on non UX platforms. > > > > > > > > - "Porting" NRPE to windows > > > > While putting together nrpe_nt (my attempt at "porting" > > > > > > nrpe), I found that > > > > > > > there is not TOO much stuff to be changed. Before > > > > > > attempting a complete > > > > > > > rewrite I'd suggest to review the existing sources, and > > > > > > split up nrpe.c > > > > > > > into two files, a generic one, and a platform dependent > > > > > > one. The platform > > > > > > > dependent file would (for windows) roughly contain: main(), > > > > wait_for_connections() and handle_connection(), plus some > > > > > > additional code > > > > > > > to make stuff like services work. > > > > (Talk to the SCM etc.). stuff like utils.c and common.h > > > > > > compiled on win > > > > > > > with ~4-5 one line patches. > > > > > > > > - Integrating nrpe with nsclient functionality > > > > Personally, I think nsclient and nrpe serve different > > > > > > purposes on windows > > > > > > > (or could do so in a "clean" design): > > > > nsclient is platform specific to windows, and not easily > > > > > > modified to allow > > > > > > > for custom plugins. > > > > nrpe allows only for plugins, doesn't care for specific > > > > > > checks at all, just > > > > > > > executes them. > > > > > > > > The way I would like to use both, would be: > > > > nsclient as a local agent, running continuous checks for > > > > > > stuff, that has to > > > > > > > be checked local and/or requires activity, that can't be > > > > > > done in a plugin > > > > > > > (eg. register callback to some windows functions like > > > > > > spooler/filesystem > > > > > > > events etc). These could be reported back passive checks. > > > > > > > > nrpe as a "gateway" to windows checks, to either local or > > > > > > remote windows > > > > > > > hosts. > > > > This allows distributed active checks, without the need for > > > > > > an agent like > > > > > > > nsclient on every monitored host. (A lot of my > customers are really > > > > reluctant to install any additional agent "only for > monitoring"). > > > > > > > > It would be possible to integrate nrpe functions with > > > > > > nsclient, but you > > > > > > > would either: > > > > > > > > - Start with from the delphi nsclient sources > > > > Roys arguments about which languages to be used applies > > > > > > here, as in fact > > > > > > > not too much people use delphi these days. > > > > Also, it would make nsclient an even more complex beast > to maintain. > > > > > > > > - Start a complete rewrite in perl > > > > If you'd add all nsclient functionality, the code would > be platform > > > > specific to windows again, wasting the initial reason to do > > > > > > a rewrite. > > > > > > > Pheew, that has become a little lengthy... > > > > So in summary I'd suggest: > > > > a) don't mix functionality between nsclient and nrpe, > as they serve > > > > different purposes > > > > b) If someone is willing to start a rewrite, don't go with > > > > > > perl easily > > > > > > > because "it's platform independent". It may bite back later... > > > > > > > > thanks for your attention > > > > cheers > > > > MiWi > > > > > > > > > > > > -----Original Message----- > > > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > > > Sent: Dienstag, 13. Mai 2003 10:48 > > > > To: Subhendu Ghosh; nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > > > nsclient? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > > > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > > > > ActiveState has a perl to binary/service converter. > > > > > > > > hi all. > > > > > > > > As Ghosh says above, we can use perl to write services. Is > > > > > > it only me, or > > > > > > > would this allow us to standardize on perl for a new NRPE+ > > > > > > with NRPE + > > > > > > > NSClient functionality? I guess we can read Windoze > > > > > > counters from perl > > > > > > > without problems? > > > > > > > > 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 > > -- > 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 Leonard_Miller at udlp.com Tue May 13 15:49:17 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Tue, 13 May 2003 08:49:17 -0500 Subject: Error 404 Object not found Message-ID: I don't think the fact that apache installed as root would be a problem. It still sounds like permissions to me, but I could be wrong. Did you do an "ls -la" on the directory and files? I don't have the original message, can you post the section of your httpd.conf that you changed for nagios? L >>> Mohamed El Zeiny 05/13/03 08:44AM >>> service nagios status PID TTY TIME CMD 1200 ? 00:00:00 nagios service httpd status httpd (pid 1117 1116 1115 1114 1113 1112 1111 1110 1039) is running... I can manually open the index.html file under usr/local/nagios/share the permission should be ok. all are owned by nagios user. only apache installed as root...!!? Regards, Mohamed ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 15:45:08 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 13 May 2003 15:45:08 +0200 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) In-Reply-To: <0EBC45FCABFC95428EBFC3A51B368C95513742@jessica.herefordshire.gov.uk> References: <0EBC45FCABFC95428EBFC3A51B368C95513742@jessica.herefordshire.gov.uk> Message-ID: <200305131545.08635.roy@karlsbakk.net> Phil, You are too paranoid! Perl isn't listening to anything, and is not a part of windoze scripting host, and thus no security hole or anything like that On Tuesday 13 May 2003 15:16, Randal, Phil wrote: > Maybe I'm paranoid but I wouldn't be too happy about having a > Perl interpreter sitting on our NT boxes waiting for malicious > Perl scripts to happen along ;-) > > I'd suggest that the C or C++ stuff for Windows should be > written to be compiled under MinGW > (http://sourceforge.net/projects/mingw/) and Dev-CPP > (http://sourceforge.net/projects/dev-cpp/). > > Cheers, > > Phil > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > Sent: 13 May 2003 13:16 > > To: Michael.Wirtgen at miwi-dv.com; sghosh at sghosh.org; > > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > ok. > > So why not: > > - Rewrite nsclient in C or C++ (and perhaps renaming it?) > > - Rewrite NRPE in perl to allow it to work in any environment > > > > Whaddayathink? > > > > On Tuesday 13 May 2003 12:46, Michael.Wirtgen at miwi-dv.com wrote: > > > hi all, > > > > > > just some thoughts and ideas for comments... > > > > > > - Perl for services > > > Even if the idea of using perl with a wrapper for this is > > > > tempting, wearing > > > > > my windows hat, I'd always prefer something really > > > > "talking" to the SCM > > > > > instead of using a wrapper. I've done that several times in > > > > the past, using > > > > > svcany an the like, results were mixed. I think it can be > > > > done, but if > > > > > someone is taking the effort for a rewrite, why not use C > > > > and accommodate > > > > > the existing sources to compile on non UX platforms. > > > > > > - "Porting" NRPE to windows > > > While putting together nrpe_nt (my attempt at "porting" > > > > nrpe), I found that > > > > > there is not TOO much stuff to be changed. Before > > > > attempting a complete > > > > > rewrite I'd suggest to review the existing sources, and > > > > split up nrpe.c > > > > > into two files, a generic one, and a platform dependent > > > > one. The platform > > > > > dependent file would (for windows) roughly contain: main(), > > > wait_for_connections() and handle_connection(), plus some > > > > additional code > > > > > to make stuff like services work. > > > (Talk to the SCM etc.). stuff like utils.c and common.h > > > > compiled on win > > > > > with ~4-5 one line patches. > > > > > > - Integrating nrpe with nsclient functionality > > > Personally, I think nsclient and nrpe serve different > > > > purposes on windows > > > > > (or could do so in a "clean" design): > > > nsclient is platform specific to windows, and not easily > > > > modified to allow > > > > > for custom plugins. > > > nrpe allows only for plugins, doesn't care for specific > > > > checks at all, just > > > > > executes them. > > > > > > The way I would like to use both, would be: > > > nsclient as a local agent, running continuous checks for > > > > stuff, that has to > > > > > be checked local and/or requires activity, that can't be > > > > done in a plugin > > > > > (eg. register callback to some windows functions like > > > > spooler/filesystem > > > > > events etc). These could be reported back passive checks. > > > > > > nrpe as a "gateway" to windows checks, to either local or > > > > remote windows > > > > > hosts. > > > This allows distributed active checks, without the need for > > > > an agent like > > > > > nsclient on every monitored host. (A lot of my customers are really > > > reluctant to install any additional agent "only for monitoring"). > > > > > > It would be possible to integrate nrpe functions with > > > > nsclient, but you > > > > > would either: > > > > > > - Start with from the delphi nsclient sources > > > Roys arguments about which languages to be used applies > > > > here, as in fact > > > > > not too much people use delphi these days. > > > Also, it would make nsclient an even more complex beast to maintain. > > > > > > - Start a complete rewrite in perl > > > If you'd add all nsclient functionality, the code would be platform > > > specific to windows again, wasting the initial reason to do > > > > a rewrite. > > > > > Pheew, that has become a little lengthy... > > > So in summary I'd suggest: > > > a) don't mix functionality between nsclient and nrpe, as they serve > > > different purposes > > > b) If someone is willing to start a rewrite, don't go with > > > > perl easily > > > > > because "it's platform independent". It may bite back later... > > > > > > thanks for your attention > > > cheers > > > MiWi > > > > > > > > > -----Original Message----- > > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > > Sent: Dienstag, 13. Mai 2003 10:48 > > > To: Subhendu Ghosh; nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > > nsclient? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > > > ActiveState has a perl to binary/service converter. > > > > > > hi all. > > > > > > As Ghosh says above, we can use perl to write services. Is > > > > it only me, or > > > > > would this allow us to standardize on perl for a new NRPE+ > > > > with NRPE + > > > > > NSClient functionality? I guess we can read Windoze > > > > counters from perl > > > > > without problems? > > > > > > 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 -- 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 ebiz at explodingcow.com Tue May 13 16:08:16 2003 From: ebiz at explodingcow.com (Mike R.) Date: 13 May 2003 14:08:16 -0000 Subject: Host never fails, service does... Message-ID: <20030513140816.31708.qmail@pod-163.dolphin-server.co.uk> Yikes. Problem solved. This also goes to show why you don't build / debug servers without adequate sleep... In case it helps anyone else: I was missing the check-host-alive line from the hosts.cfg file. (easy to spot after a nights sleep ) -- Mike ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jacques.LUYCKX at cec.eu.int Tue May 13 15:50:32 2003 From: Jacques.LUYCKX at cec.eu.int (Jacques.LUYCKX at cec.eu.int) Date: Tue, 13 May 2003 15:50:32 +0200 Subject: Error 404 Object not found : the solution i th ink Message-ID: <5DE88A46D971D411A17A009027FC7C1107F98978@EX2BEL86MBX01> Hello Mohamed El-Zeiny Use this config ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue May 13 16:15:29 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 13 May 2003 16:15:29 +0200 Subject: Stylesheets Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I've been trying to play around with the stylesheets, but my combinations look horrible. Has anyone tried to change the look of Nagios yet, and if show, could you please share some stylesheets. :) fred PS I'm not saying that there is something wrong with black. :) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 16:02:23 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 13 May 2003 15:02:23 +0100 Subject: nrpe compile on solaris 8 Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECD3@netfinity-1.foundation-it.local> > From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] > I fixed my openssl includes to be hardcoded e.g > > /usr/local/ssl/include/openssl/bio.h > Now looks like > #ifndef OPENSSL_NO_FP_API > # include > #endif > #include > > #include > #include > > > Or could have set LD_LIBRARY_PATH which I think would have worked. Adding -I/usr/local/ssl/include to CCFLAGS in src/Makefile works as an intermediate solution as well. > Still does not solve my problem or the same one that Joe Leone has I now have the same problem too. :) Putting a colon at the end of the typedef lines in common/config.h helps somewhat and just leaves redefinition errors, e.g. In file included from nrpe.c:22: ../common/config.h:53: redefinition of `u_int32_t' ../common/config.h:53: `u_int32_t' previously declared here I got rid of most of them by removing the (redundant?) include of config.h in utils.h (still included from nrpe.c) but couldn't get rid of that last one, so I tried commenting out the include of config.h altogether to see what happened. Now I get: cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c 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 Undefined first referenced symbol in file strsep /var/tmp/ccelYvYO.o ld: fatal: Symbol referencing errors. No output written to nrpe collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /home/sysadmin/build/nagios-nrpe/nrpe-2.0b3/src *** Error code 1 make: Fatal error: Command failed for target `all' While looking into why strsep might be causing a problem, I found it doesn't exist on Solaris, e.g. http://www.winehq.com/hypermail/wine-patches/2001/11/0024.html So I don't think 2.0 beta3 is going to compile on Solaris 8 as it stands. However, I'm not a C programmer so I could be wrong. Cc:ed to Ethan for a proper opinion. :) 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 twmoore at bea.com Tue May 13 16:51:03 2003 From: twmoore at bea.com (Timothy Moore) Date: Tue, 13 May 2003 08:51:03 -0600 Subject: directives question Message-ID: <1CD25D3A9280C9469A6564995E0C18D8022A92@usdeex01.amer.bea.com> O...K...A...Y I'll play along......Where do I insert the custom directive in the services.cfg? I have created a plugin to ping the interfaces. I have created a service to call the plugin. I need to pass multiple addresses to the service to the plugin. Using arguments with the check_command directive within services.cfg requires a definition for every host, and then I'm maintaining host addresses in two configuration files. Yes, I have thought out my design. I want to "service alert" if *any* interface is down (including the primary IP), but "host alert" if a specific IP is down. Ex: page the backup admin if that interface is down, page All if host is down. Let me rephrase my question. Q: Can you create custom directives within a definition? Nota bene: (Before you reply, stop and give this some thought, as you might actually figure out the desired design, thus saving you a few e-mails. ;-) -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Monday, May 12, 2003 3:53 PM To: Timothy Moore; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] directives question If you want to create services (plural) to ping the other interfaces for a host, the place to do it would be in services.cfg, not hosts.cfg (as per your 'custom' example). You're on the right track! Just follow through with what you've started (but do so in services.cfg, not hosts.cfg). Nota bene: Using the design approach you appear to be leaning towards, ff your primary interface goes down but the other interfaces remain up (and the services also remain up), this might not be the best approach. Do you want to be alerted if *any* interface goes down, or only if *all* interfaces go down? (Before you reply, stop and give this some thought, as you might actually figure out the desired design, thus saving you a few e-mails. ;-) jc -----Original Message----- From: Timothy Moore [mailto:twmoore at bea.com] Sent: Monday, May 12, 2003 5:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] directives question Is it possible to create custom directives within the hosts definition? I want to create a service to ping secondary interfaces on a host. I want to keep "check-host-alive" separate to ping the primary address define host{ use generic_hosts host_name sunbox alias Sun 450 address 999.999.999.10 custom 999.999.999.12,999.999.999.14,999.999.999.16 parents WS } ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Tue May 13 16:44:48 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 13 May 2003 15:44:48 +0100 Subject: compile nrpe on Solaris Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D56662ED@abe-s-039.europe.shell.com> > To: nagios-users at lists.sourceforge.net > From: Jeff Mercer > Date: Tue, 13 May 2003 09:05:20 -0400 > Subject: [Nagios-users] Re: compile nrpe on Solaris > > Joe Leone wrote: > > I am trying to compile nrpe nrpe-2.0b3 on Solaris 7. > > Wheee! > > > I get an error as below. > > > > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H > -L/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > > In file included from ../common/common.h:24, > > ./common/config.h:54: syntax error before "typedef" > > In file included from > /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.3/include/sys/ > types.h:33, > > from /usr/include/strings.h:11, > > from ../common/config.h:74, > > from ../common/common.h:24, > > from nrpe.c:21: > > /usr/include/sys/machtypes.h:33: syntax error before "typedef" > > > > I have seen a number of people ask about compiling nrpe on > Solaris and HP but no solution to fix it. People have > responded that they have compiled it successfully. I have > downloaded some of the binaries but they are older version > which do not have SSL. > > Can some one tell me how they achieved it. I suspect it has > something to do with u_int32_t > > I had problems with NRPE 1.8 on Solaris 7 AND Solaris 8 > boxes. I was annoyed > to find that on a few of my systems there was no problem, > while on others it > worked fine. I did indeed narrow it down to the typedef > declaration for > u_int32_t. > > From what I was able to determine, the systems where it > compiled fine had > Berkley DB installed. There was a /usr/include/db.h file > which happened to > define the u_int32_t type, and through some chain of includes > I can't recall > this would allow nrpe to compile. > > Anyways, it's a very fix. Once you've done your ./configure > command sequence > in the NRPE source directory (Including whatever parameters > you may want to > pass to the configure script), you just need to modify the > common.h file in > the common directory and add: > > typedef unsigned int u_int32_t; > > right near the top, just after the first #include statement. > Then do a make > and it should compile fine. Unfortanltly this does not seem to fix nrpe 2.0b3 May be it is the version of Berkley DB 4.1 that I am using is to New (that must be a first) Tried different things like CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib Any other good idea's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 mpowell at ena.com Tue May 13 18:13:53 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 13 May 2003 11:13:53 -0500 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E6FF0@mismail.ena.com> I think he's referring to the output of the check_http plugin but it's far from clear. Patrick -- You're going to have to provide us more information. Right now the only answer we can give is to check to make sure the URL you are requesting is a valid URL, unless you're expecting a 403 Forbidden to be an OK response. The appropriate sections of your config files would be useful (host/service/command definitions) for further troubleshooting. -- Marc > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Tuesday, May 13, 2003 10:56 AM > To: Patrick Lambooy; nagios-users at lists.sourceforge.net > > Check file permissions... if Apache can't read the files, that could do > it. > > jc > > > -----Original Message----- > From: Patrick Lambooy [mailto:p.lambooy at narmida.com] > Sent: Tuesday, May 13, 2003 7:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden > > > HTTP WARNING: HTTP/1.1 403 Forbidden > > Anyone know how to fix this ? > > Cant find a solution > > Tnx > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue May 13 18:15:04 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Tue, 13 May 2003 11:15:04 -0500 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: Look at /var/log/httpd/error_log and see what it says. That may give you a better idea if it can't read a particular file. >>> "Carroll, Jim P [Contractor]" 05/13/03 11:56AM >>> Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 13 18:00:19 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 13 May 2003 11:00:19 -0500 Subject: NSClient + NRPE == NRPE+ (was: Rewriting nscli ent? (was NSClient 1.0.8.0 Installation Problem)) Message-ID: As I mentioned recently, NTray was written in Perl then converted to a Win32 binary using an apparently common utility (the name of which escapes me). jc > -----Original Message----- > From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Sent: Tuesday, May 13, 2003 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > Maybe I'm paranoid but I wouldn't be too happy about having a > Perl interpreter sitting on our NT boxes waiting for malicious > Perl scripts to happen along ;-) > > I'd suggest that the C or C++ stuff for Windows should be > written to be compiled under MinGW > (http://sourceforge.net/projects/mingw/) and Dev-CPP > (http://sourceforge.net/projects/dev-cpp/). > > Cheers, > > Phil > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > Sent: 13 May 2003 13:16 > > To: Michael.Wirtgen at miwi-dv.com; sghosh at sghosh.org; > > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > nscli ent? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > ok. > > So why not: > > - Rewrite nsclient in C or C++ (and perhaps renaming it?) > > - Rewrite NRPE in perl to allow it to work in any environment > > > > Whaddayathink? > > > > On Tuesday 13 May 2003 12:46, Michael.Wirtgen at miwi-dv.com wrote: > > > hi all, > > > > > > just some thoughts and ideas for comments... > > > > > > - Perl for services > > > Even if the idea of using perl with a wrapper for this is > > tempting, wearing > > > my windows hat, I'd always prefer something really > > "talking" to the SCM > > > instead of using a wrapper. I've done that several times in > > the past, using > > > svcany an the like, results were mixed. I think it can be > > done, but if > > > someone is taking the effort for a rewrite, why not use C > > and accommodate > > > the existing sources to compile on non UX platforms. > > > > > > - "Porting" NRPE to windows > > > While putting together nrpe_nt (my attempt at "porting" > > nrpe), I found that > > > there is not TOO much stuff to be changed. Before > > attempting a complete > > > rewrite I'd suggest to review the existing sources, and > > split up nrpe.c > > > into two files, a generic one, and a platform dependent > > one. The platform > > > dependent file would (for windows) roughly contain: main(), > > > wait_for_connections() and handle_connection(), plus some > > additional code > > > to make stuff like services work. > > > (Talk to the SCM etc.). stuff like utils.c and common.h > > compiled on win > > > with ~4-5 one line patches. > > > > > > - Integrating nrpe with nsclient functionality > > > Personally, I think nsclient and nrpe serve different > > purposes on windows > > > (or could do so in a "clean" design): > > > nsclient is platform specific to windows, and not easily > > modified to allow > > > for custom plugins. > > > nrpe allows only for plugins, doesn't care for specific > > checks at all, just > > > executes them. > > > > > > The way I would like to use both, would be: > > > nsclient as a local agent, running continuous checks for > > stuff, that has to > > > be checked local and/or requires activity, that can't be > > done in a plugin > > > (eg. register callback to some windows functions like > > spooler/filesystem > > > events etc). These could be reported back passive checks. > > > > > > nrpe as a "gateway" to windows checks, to either local or > > remote windows > > > hosts. > > > This allows distributed active checks, without the need for > > an agent like > > > nsclient on every monitored host. (A lot of my customers > are really > > > reluctant to install any additional agent "only for monitoring"). > > > > > > It would be possible to integrate nrpe functions with > > nsclient, but you > > > would either: > > > > > > - Start with from the delphi nsclient sources > > > Roys arguments about which languages to be used applies > > here, as in fact > > > not too much people use delphi these days. > > > Also, it would make nsclient an even more complex beast > to maintain. > > > > > > - Start a complete rewrite in perl > > > If you'd add all nsclient functionality, the code would > be platform > > > specific to windows again, wasting the initial reason to do > > a rewrite. > > > > > > Pheew, that has become a little lengthy... > > > So in summary I'd suggest: > > > a) don't mix functionality between nsclient and nrpe, as > they serve > > > different purposes > > > b) If someone is willing to start a rewrite, don't go with > > perl easily > > > because "it's platform independent". It may bite back later... > > > > > > thanks for your attention > > > cheers > > > MiWi > > > > > > > > > -----Original Message----- > > > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > > > Sent: Dienstag, 13. Mai 2003 10:48 > > > To: Subhendu Ghosh; nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] NSClient + NRPE == NRPE+ (was: Rewriting > > > nsclient? (was NSClient 1.0.8.0 Installation Problem)) > > > > > > On Friday 09 May 2003 18:50, Subhendu Ghosh wrote: > > > > ActiveState has a perl to binary/service converter. > > > > > > hi all. > > > > > > As Ghosh says above, we can use perl to write services. Is > > it only me, or > > > would this allow us to standardize on perl for a new NRPE+ > > with NRPE + > > > NSClient functionality? I guess we can read Windoze > > counters from perl > > > without problems? > > > > > > 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 jcarro10 at sprintspectrum.com Tue May 13 17:56:02 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 13 May 2003 10:56:02 -0500 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 13 18:46:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 13 May 2003 11:46:30 -0500 Subject: directives question Message-ID: Timothy Moore wrote: > O...K...A...Y I'll play along......Where do I insert the > custom directive in the services.cfg? > I have created a plugin to ping the interfaces. I have > created a service to call the plugin. I need to pass multiple > addresses to the service to the plugin. Using arguments with > the check_command directive within services.cfg requires a > definition for every host, and then I'm maintaining host > addresses in two configuration files. I'm not sure where you get "need to pass multiple addresses to the service to the plugin" from. Sure, if you want to write a custom plugin, then by all means, do so. But you're making unnecessary work, judging from what you've mentioned in this e-mail. > Yes, I have thought out my design. I want to "service alert" > if *any* interface is down (including the primary IP), but > "host alert" if a specific IP is down. Ex: page the backup > admin if that interface is down, page All if host is down. Since a service for a given IP is implicitly dependent on the host check for that IP, then if your host check is based on check_ping, once that check fails, you won't be receiving any notifications for the service check. Having said that, it should be simple enough to do what you want: - define a host check on the primary IP - define separate service checks using check_ping for each of the other IPs - associate the appropriate contact group for each of the check_ping service checks, e.g., contact_group backup-admins for the check_ping on the backup interface In case you don't already have it, add this to checkcommands.cfg: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } > Let me rephrase my question. Q: Can you create custom > directives within a definition? Not to my knowledge. The superb docco (to borrow from Mr. Hopcroft :) will tell you which directives are mandatory and which ones are optional. > Nota bene: (Before you reply, stop and give this some > thought, as you might actually figure out the desired design, > thus saving you a few e-mails. ;-) I should have originally phrased it, "thus saving *me* a few e-mails". I'm certain you have enough info to work with now. No doubt you can create beautiful definitions in your services.cfg file to satisfy your requirements without further input from me. 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 Anthony_Brock at ous.edu Tue May 13 18:51:05 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Tue, 13 May 2003 09:51:05 -0700 Subject: Undetermined Time for hosts and hostgroups Message-ID: I have recently installed nagios for testing and evaluation. While most everything seems to be working well (VERY nice product, BTW!), I am baffled by the availability reports concerning hosts (and hostgroups). After looking through the documentation and FAQ, I'm hoping that I can find some assistance here. The services appear to properly reflect up, down, unreachable and undetermined times. However, the hosts are ALWAYS listed as 100% undetermined. Does anyone know how to correct this? Or is this an expected "feature"? Thanks in advance! Tony Anthony Brock Unix Administrator/Network Engineer Oregon University System Chancellor's Office (541) 737-9607 Anthony_Brock at ous.edu ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.lambooy at narmida.com Tue May 13 18:43:29 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Tue, 13 May 2003 18:43:29 +0200 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: References: Message-ID: <000f01c3196e$c8751880$a52efea9@roestbak> But the website is functioning so apache can read it. Only thing that can cause it that /nagios is using ssl -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Carroll, Jim P [Contractor] Sent: Tuesday, May 13, 2003 5:56 PM To: Patrick Lambooy; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DHarding at gilatla.com Tue May 13 18:55:11 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Tue, 13 May 2003 12:55:11 -0400 Subject: Return code of 127 Message-ID: <97D0DDFA3C2F5B44AAC0960B99E962130191AC@VMX.gilatla.com> Has anyone got a fix for the '(Return code of 127 is out of bounds - plugin may be missing)' Problem? It seems to be happening on some services, even when I restart 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 DHarding at gilatla.com Tue May 13 18:57:24 2003 From: DHarding at gilatla.com (Devon Harding - GTHLA) Date: Tue, 13 May 2003 12:57:24 -0400 Subject: Error - Return code of 127... Message-ID: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> Has anyone got a fix for the '(Return code of 127 is out of bounds - plugin may be missing)' Problem? It seems to be happening on some services, even when I restart 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 Billt at Mahagonny.com Tue May 13 19:11:15 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Tue, 13 May 2003 10:11:15 -0700 Subject: Service Dependencies doesn't WORK???? In-Reply-To: References: Message-ID: <20030513101115.4ee43437.Billt@Mahagonny.com> On Tue, 13 May 2003 13:54:03 +0200 "Miguel A. Torres" wrote: > Hello, > > You are right...I have the wrong idea about service depenencies. But > after to re-read the docc I think that I can use the "Service > Dependencies" feature to simulate that I want. My intention is the > following: > > I have a service A dependent on service B. If the service B turn on the > critical state the service A will not be checked. Now, with my actual > configuration when this occur the service A don't turn any diferent > state. > > Then my question is: > > if the service A is not checked why dont't turn on other state???(for > example unreachabe). > > I need that a dependent servie A turn on a different (anyone) state when > the master service B turn on critical state. Is it possible with these > feature?? and with other feature of nagios?? > > > Thanks a lot. > > Miguel A. Torres If you set your dependency so that service A is not checked when service B is down, service A will remain on the monitor in the same state it was when the checking stopped. Perhaps what you want to do is have the dependency set to stop notifications on service A when service B is down, but continue to check the service. This way when service B goes down, service A will also fail and be set to "unreachable", but you will not receive an e-mail or paged notification. -- BillT at Mahagonny.com - PGP KeyID#: 0xFB966670 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 13 19:40:22 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Tue, 13 May 2003 13:40:22 -0400 Subject: Undetermined Time for hosts and hostgroups Message-ID: Hey Anthony, I also had a similar issue, and noticed (by accident) that when I enabled the "log_initial_states" in the main nagios config file, that after that the reports started working a little better, in that the "undetermined" times were now properly defined as up or down etc.. Hope this helps.. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -----Original Message----- From: Anthony Brock [mailto:Anthony_Brock at ous.edu] Sent: Tuesday, May 13, 2003 12:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Undetermined Time for hosts and hostgroups I have recently installed nagios for testing and evaluation. While most everything seems to be working well (VERY nice product, BTW!), I am baffled by the availability reports concerning hosts (and hostgroups). After looking through the documentation and FAQ, I'm hoping that I can find some assistance here. The services appear to properly reflect up, down, unreachable and undetermined times. However, the hosts are ALWAYS listed as 100% undetermined. Does anyone know how to correct this? Or is this an expected "feature"? Thanks in advance! Tony Anthony Brock Unix Administrator/Network Engineer Oregon University System Chancellor's Office (541) 737-9607 Anthony_Brock at ous.edu ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 m.hertrick at neovera.com Tue May 13 20:52:22 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Wed, 14 May 2003 04:52:22 +1000 Subject: Error - Return code of 127... References: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> Message-ID: <072301c31980$ca425940$8e0ca8c0@monster> For me at least, that message has always meant Nagios did not find the plugin where Nagios was told to find it. The fix will either be to move the plugin to the appropriate directory, change checkcommands.cfg, or reconfigure/compile nagios with --libexecdir=DIR. If none of that turns out to fix it, please reply back to the list with your findings... I'd be interested to know what it turned out to be. ~Mike. ----- Original Message ----- From: Devon Harding - GTHLA To: 'nagios-users at lists.sourceforge.net' Sent: Wednesday, May 14, 2003 2:57 AM Subject: [Nagios-users] Error - Return code of 127... Has anyone got a fix for the '(Return code of 127 is out of bounds - plugin may be missing)' Problem? It seems to be happening on some services, even when I restart 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 happy at usg.edu Tue May 13 19:50:20 2003 From: happy at usg.edu (Mark Plaksin) Date: 13 May 2003 13:50:20 -0400 Subject: PATCH for nrpe 2.0b3 on Solaris 8 and HP-UX 11.0 Message-ID: Hi, Here's a patch against nrpe 2.0b3 which makes it compile under Solaris 8 and HP-UX 11.0. The u_int32_t part is still ugly (i.e., I just picked one that worked and commented out the #ifdefs), but it works. I've only tested configuring with '--enable-ssl and --enable-command-args' but hopefully leaving those out works too. Under HP-UX, I configured like this: export CFLAGS='-Ae -I/usr/local/include +DAportable' - '-Ae' to use the ANSI C compiler - '-I/usr/local/include' because our openssl includes are in /usr/local/include/openssl - '+DAportable' so binaries should run under 10.20 and 11.00. Haven't tested 10.20 yet. -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe-2.0b3.hp+solaris.patch Type: text/x-patch Size: 3527 bytes Desc: not available URL: From Joe.Leone at Beacon.com.au Tue May 13 20:37:21 2003 From: Joe.Leone at Beacon.com.au (Joe Leone) Date: Wed, 14 May 2003 02:37:21 +0800 Subject: compile nrpe on Solaris Message-ID: <46CD2310D5C28044BBD358967C8A804801C2A6@borrowed.beacon.com.au> Thank you for the help, BUT still not complete. I have followed the various suggestion on the list and have made progress. This is the procedure I have followed so far. 1 make distclean 2 ./configure --enable-ssl --with-nrpe-user=netsaint --with-nrpe-group=netsaint --with-nrpe-port=8086 3 Edit src/Makefile to add the second -I eg CFLAGS=-g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H 4 Edit common/common.h and added the typedef just under the #include typedef unsigned int u_int32_t; 5 Edit common/config.h Here I uncomment the two "unde"f and comment out the "define" lines. Without these changed I got the errors show below. /* stupid stuff for u_int32_t */ #undef U_INT32_T_IS_USHORT #undef U_INT32_T_IS_UINT /* #define U_INT32_T_IS_ULONG 1 */ 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/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.3/include/sys/types.h:33, 6 cd src and run the command shown to compile. This got rid of all the "Undefined symbol" errors with SSL. The only Undefined symbol is with strsep does not exist in Solaris. gcc -g -O2 -o nrpe nrpe.c utils.c -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lsocket There are several mails about it and replacement code. http://www.winehq.com/hypermail/wine-patches/2001/11/0024.html http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&newwindow=1&threadm=ThWK7.4%249s2.192%40vicpull1.telstra.net&rnum=6&prev=/groups%3Fq%3Dstrsep%2Bsolaris%26hl%3Den%26lr%3Dlang_en%26ie%3DUTF-8%26newwindow%3D1%26start%3D0%26sa%3DN I gather that the function needs to be added to nrpe.c???. I'll have a go at that tomorrow. Joe Leone -----Original Message----- From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] Sent: Tuesday, 13 May 2003 10:45 To: nagios-users at lists.sourceforge.net Cc: mercer at btitelecom.net Subject: [Nagios-users] Re: compile nrpe on Solaris > To: nagios-users at lists.sourceforge.net > From: Jeff Mercer > Date: Tue, 13 May 2003 09:05:20 -0400 > Subject: [Nagios-users] Re: compile nrpe on Solaris > > Joe Leone wrote: > > I am trying to compile nrpe nrpe-2.0b3 on Solaris 7. > > Wheee! > > > I get an error as below. > > > > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H > -L/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > > In file included from ../common/common.h:24, > > ./common/config.h:54: syntax error before "typedef" > > In file included from > /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.2.3/include/sys/ > types.h:33, > > from /usr/include/strings.h:11, > > from ../common/config.h:74, > > from ../common/common.h:24, > > from nrpe.c:21: > > /usr/include/sys/machtypes.h:33: syntax error before "typedef" > > > > I have seen a number of people ask about compiling nrpe on > Solaris and HP but no solution to fix it. People have > responded that they have compiled it successfully. I have > downloaded some of the binaries but they are older version > which do not have SSL. > > Can some one tell me how they achieved it. I suspect it has > something to do with u_int32_t > > I had problems with NRPE 1.8 on Solaris 7 AND Solaris 8 > boxes. I was annoyed > to find that on a few of my systems there was no problem, > while on others it > worked fine. I did indeed narrow it down to the typedef > declaration for > u_int32_t. > > From what I was able to determine, the systems where it > compiled fine had > Berkley DB installed. There was a /usr/include/db.h file > which happened to > define the u_int32_t type, and through some chain of includes > I can't recall > this would allow nrpe to compile. > > Anyways, it's a very fix. Once you've done your ./configure > command sequence > in the NRPE source directory (Including whatever parameters > you may want to > pass to the configure script), you just need to modify the > common.h file in > the common directory and add: > > typedef unsigned int u_int32_t; > > right near the top, just after the first #include statement. > Then do a make > and it should compile fine. Unfortanltly this does not seem to fix nrpe 2.0b3 May be it is the version of Berkley DB 4.1 that I am using is to New (that must be a first) Tried different things like CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib Any other good idea's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From news at villa-kuip.kabel.utwente.nl Tue May 13 21:16:04 2003 From: news at villa-kuip.kabel.utwente.nl (Willempie) Date: Tue, 13 May 2003 21:16:04 +0200 Subject: Processes lost in webinterface? References: <005901c31952$d82c9940$f805ff0a@tekniq> Message-ID: "Jason Lancaster" wrote in message news:005901c31952$d82c9940$f805ff0a at tekniq... > Sounds to me like you have two different nagios processes running one from > before, one from now. Try using the init script with a stop, killing off all > nagios processes, and starting nagios with the init script. That should fix > your problem. Thanks, that was indeed the problem, for some reason one of the old processes was still running. No clue why, but after `killall nagios` the problem was solved. Willempie ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Tue May 13 21:17:26 2003 From: happy at usg.edu (Mark Plaksin) Date: 13 May 2003 15:17:26 -0400 Subject: compile nrpe on Solaris In-Reply-To: <46CD2310D5C28044BBD358967C8A804801C2A6@borrowed.beacon.com.au> References: <46CD2310D5C28044BBD358967C8A804801C2A6@borrowed.beacon.com.au> Message-ID: "Joe Leone" writes: > I gather that the function needs to be added to nrpe.c???. I'll have a go > at that tomorrow. In the patch I posted (a few minutes ago), I copied strsep function from the Linux kernel. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13 22:16:31 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 13 May 2003 16:16:31 -0400 (EDT) Subject: Error - Return code of 127... In-Reply-To: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> References: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> Message-ID: On Tue, 13 May 2003, Devon Harding - GTHLA wrote: > Has anyone got a fix for the '(Return code of 127 is out of bounds - plugin > may be missing)' Problem? > > > > It seems to be happening on some services, even when I restart nagios. > > > You path or permissions to plugin are incorrect. (one email is usually sufficient) -- -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 JCampisi at iona.edu Tue May 13 22:23:08 2003 From: JCampisi at iona.edu (Campisi, Joseph) Date: Tue, 13 May 2003 16:23:08 -0400 Subject: check_http problem Message-ID: <63AAC79ACC12D311B1100060081EF9E704FE5B21@ionanrmail1.iona.edu> Hi All, I've been running nagios fine for a couple of months now. Today, all of a sudden, nagios reports that my web server is down when it is not. I can telnet webserver 80 from the nagios box just fine. If I do a check_http -H ipaddressofweb I get a Socket timeout after 10 seconds. I also did the check_http command on another web server and it works fine. Any thoughts? Thanks, Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From ortizri at umdnj.edu Tue May 13 22:37:49 2003 From: ortizri at umdnj.edu (Rico Ortiz) Date: Tue, 13 May 2003 16:37:49 -0400 Subject: error with plugin 1.30 Message-ID: I am new to Linux so please be kind. I installed nagios which went smoothly. Now having problems install the nagios-plugin. following the instructions (the "install" readme) half way through the "make all" phase I start getting errors 1st error states - "/usr/include/openssl/kssl.h: no such file or directory included from /user/include/openss1/ss1.h:179, from check_http.c:146" >From that point on it goes down hill with a bunch of "parse errors before x" With x= some statement. Can anyone help me, any help would be greatly appreciated. Thank you.. Rico Rico Ortiz Analyst Information Systems & Technologies UMDNJ Voice 973-972-0327 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick_leboutillier at hotmail.com Tue May 13 22:48:54 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Tue, 13 May 2003 16:48:54 -0400 Subject: Macros in extented info (notes_url) Message-ID: Hi, Is macro expansion available in the notes_url field of the host/service extended info? It would be cool to just say: /cgi-bin/notes.cgi?host=$HOSTNAME$ Thanks, Patrick --------------------- 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 mohammad at cerberian.com Tue May 13 21:54:34 2003 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Tue, 13 May 2003 13:54:34 -0600 Subject: check_http problem In-Reply-To: <63AAC79ACC12D311B1100060081EF9E704FE5B21@ionanrmail1.iona.edu> References: <63AAC79ACC12D311B1100060081EF9E704FE5B21@ionanrmail1.iona.edu> Message-ID: <3EC14D7A.3090905@cerberian.com> This simply means that check_http did not receive response within 10 seconds. Mohammad Campisi, Joseph wrote: > Hi All, > > I?ve been running nagios fine for a couple of months now. Today, all > of a sudden, nagios reports that my web server is down when it is not. > I can telnet webserver 80 from the nagios box just fine. > > If I do a check_http ?H ipaddressofweb I get a Socket timeout after 10 > seconds. > > I also did the check_http command on another web server and it works fine. > > Any thoughts? > > Thanks, > > Joe > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nallen at humboldtbank.com Tue May 13 23:20:18 2003 From: nallen at humboldtbank.com (Nate Allen) Date: Tue, 13 May 2003 14:20:18 -0700 Subject: Negate plugin Message-ID: Have you set the Timeout (-t) value for the negate plugin to some value greater than the timeout for the check it is wrapping? It took me some time to figure that out. So, if you're wrapping check_ping with negate, and check_ping has a timeout of 10 seconds, you seem to need to do something like: /path/to/negate -t 15 /path/to/check_ping -H the.host.ip.address options Otherwise, I think the negate plugin gives up before check_ping does, and does not invert the results. On the command line, the negate plugin will still tell you the result of the wrapped command without indicating that it has been inverted. When called from withing Nagios, however, the check seems to be inverted correctly, at least for me. Nate -----Original Message----- From: Thomas Nilsen [mailto:Thomas.Nilsen at roxar.com] Sent: Wednesday, May 07, 2003 6:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Negate plugin 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. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 14 06:37:07 2003 From: nagios_news=PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (Daniel nagios) Date: Wed, 14 May 2003 14:37:07 +1000 Subject: Service Pending state Message-ID: To simplify config updates by putting in services that aren't yet commissioned however will need to be captured when turned on. We have a freshness check which turns service into "unknown" after a given time and this affect these extra service - our service have been put in Template form to reduce rework for serveral thousand services. This template form makes it hard to turn of the freshness check for individual services. Thus the need to give a pending state >From: "Tom DE BLENDE" >To: Daniel nagios >CC: nagiosplug-help=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org, >Nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >Subject: Re: [Nagiosplug-help] Service Pending state >Date: Fri, 09 May 2003 08:57:23 +0200 > > > >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 _________________________________________________________________ Hotmail now available on Australian mobile phones. Go to http://ninemsn.com.au/mobilecentral/hotmail_mobile.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 MZieny at cairo.westerngeco.slb.com Wed May 14 06:44:56 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Wed, 14 May 2003 07:44:56 +0300 Subject: Fwd: Error 404 Object not found Message-ID: <5.1.0.14.2.20030514074401.00ac3228@wgmail5.cairo.afr.slb.com> >Date: Tue, 13 May 2003 11:07:33 +0300 >To: nagios-users at lists.sourceforge.net >From: Mohamed El Zeiny >Subject: Error 404 Object not found > >Hi, >I am starting installing Nagios into our system for my first time. >I appended the following lines to httpd.conf > > >ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > >Alias "/nagios/" "/usr/local/nagios/share/" > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > >But I am still get the page Object Not found Error 404 when try >http://localhost/nagios/ >and a link down the page to localhost, when click that link it gives me >the test page of apache. > >Any ideas??? > >Regards, > >Mohamed El-Zeiny >DP Project Leader - System Administrator >WesternGeco - DP Cairo Center >Schlumberger >( 202 417 9731 ? 202 417 9741 >? 2 0101 612 650 Ext. 226 >? MZieny at cairo.westerngeco.slb.com >======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fred.Albrecht at za.tiscali.com Wed May 14 07:14:47 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 14 May 2003 07:14:47 +0200 Subject: Fwd: Error 404 Object not found Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- hmmm, mine looks like this and works (dunno whether the quotes make any difference): ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all :) fred -----Original Message----- From: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] Sent: 14 May 2003 06:45 AM To: Leonard Miller; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fwd: Error 404 Object not found Date: Tue, 13 May 2003 11:07:33 +0300 To: nagios-users at lists.sourceforge.net From: Mohamed El Zeiny Subject: Error 404 Object not found Hi, I am starting installing Nagios into our system for my first time. I appended the following lines to httpd.conf ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias "/nagios/" "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all But I am still get the page Object Not found Error 404 when try http://localhost/nagios/ and a link down the page to localhost, when click that link it gives me the test page of apache. Any ideas??? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 * MZieny at cairo.westerngeco.slb.com ======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 * MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From milindyn at rolta.com Wed May 14 07:51:52 2003 From: milindyn at rolta.com (Milind Nanal) Date: Wed, 14 May 2003 11:21:52 +0530 Subject: licensing clarification Message-ID: <1E0DD719850B74438229A52CA9A1B4A9029B2FD6@BDCRILBMCRP> Hi, We have developed an advanced monitoring solution (Netmon) using freeware GNU based package Netsaint version 0.0.7.We have modified the code & re used the same as per our customized front end. Along with our own eSecurity services we are intend to distribute Netmon as a value added service to our customer. Please clarify that under GNU license we can distribute this further? Considering the further development changes from Netsaint to Nagios, till the time we modify current Netmon base package from Netsaint to Nagios, we hope we will be able to distribute current Netmon (based on Netsaint version 0.0.7) under GNU. Waiting for your response on the same. Regards, Milind Y Nanal ------------------------------------------------------- Enterprise 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 Tom.DeBlende at dhl.com Wed May 14 08:40:35 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 14 May 2003 08:40:35 +0200 Subject: licensing clarification In-Reply-To: <1E0DD719850B74438229A52CA9A1B4A9029B2FD6@BDCRILBMCRP> References: <1E0DD719850B74438229A52CA9A1B4A9029B2FD6@BDCRILBMCRP> Message-ID: <3EC1E4E3.6060907@dhl.com> Mailing lists you could have cross posted to as well: nagios-announce at lists.sourceforge.ne nagios-checkins at lists.sourceforge.net nagiosplug-help at lists.sourceforge.net nagiosplug-checkins at lists.sourceforge.net netsaint-announce at lists.sourceforge.net netsaint-cvs at lists.sourceforge.net netsaintplug-devel at lists.sourceforge.net netsaintplug-help at lists.sourceforge.net Milind Nanal wrote: > Hi, > > We have developed an advanced monitoring solution (Netmon) using freeware > GNU based package Netsaint version 0.0.7.We have modified the code & re used > the same as per our customized front end. Along with our own eSecurity > services we are intend to distribute Netmon as a value added service to our > customer. Please clarify that under GNU license we can distribute this > further? > > Considering the further development changes from Netsaint to Nagios, till > the time we modify current Netmon base package from Netsaint to Nagios, we > hope we will be able to distribute current Netmon (based on Netsaint version > 0.0.7) under GNU. > > Waiting for your response on the same. > > Regards, > > Milind Y Nanal > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 MZieny at cairo.westerngeco.slb.com Wed May 14 09:40:03 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Wed, 14 May 2003 10:40:03 +0300 Subject: Fwd: Error 404 Object not found In-Reply-To: References: Message-ID: <5.1.0.14.2.20030514103934.00accbb0@wgmail5.cairo.afr.slb.com> quotes does not make any difference..!! Zeiny At 07:14 AM 5/14/2003 +0200, Fred Albrecht wrote: >1dd6e61d.jpg > >hmmm, mine looks like this and works (dunno whether the quotes make any >difference): > >ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > >Alias /nagios/ /usr/local/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > >:) >fred >-----Original Message----- >From: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] >Sent: 14 May 2003 06:45 AM >To: Leonard Miller; nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Fwd: Error 404 Object not found > >>Date: Tue, 13 May 2003 11:07:33 +0300 >>To: nagios-users at lists.sourceforge.net >>From: Mohamed El Zeiny >>Subject: Error 404 Object not found >> >>Hi, >>I am starting installing Nagios into our system for my first time. >>I appended the following lines to httpd.conf >> >> >> >>ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >>Alias "/nagios/" "/usr/local/nagios/share/" >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> >> >>But I am still get the page Object Not found Error 404 when try >>http://localhost/nagios/ >>and a link down the page to localhost, when click that link it gives me >>the test page of apache. >> >>Any ideas??? >> >>Regards, >> >>Mohamed El-Zeiny >>DP Project Leader - System Administrator >>WesternGeco - DP Cairo Center >>Schlumberger >>( 202 417 9731 ? 202 417 9741 >>? 2 0101 612 650 Ext. 226 >>S MZieny at cairo.westerngeco.slb.com >>======================================= >Mohamed El-Zeiny >DP Project Leader - System Administrator >WesternGeco - DP Cairo Center >Schlumberger >( 202 417 9731 ? 202 417 9741 >? 2 0101 612 650 Ext. 226 >S MZieny at cairo.westerngeco.slb.com >======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1dd6e61d.jpg Type: image/jpeg Size: 633 bytes Desc: not available URL: From bernd.roth at tbglas.de Wed May 14 10:15:25 2003 From: bernd.roth at tbglas.de (bernd) Date: 14 May 2003 08:15:25 -0000 Subject: CHECK_NRPE : Error receiving data from host Message-ID: <20030514081525.16610.qmail@pod-163.dolphin-server.co.uk> Who can me help. I speak bad english. I`m german. Wer kann mir helfen bin newbie. Folgende meldung taucht auf:CHECK_NRPE : Error receiving data from host. kanns mir nicht erkl?ren was noch fehlen soll. im voraus danke ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 14 10:33:30 2003 From: nils_mueller at hotmail.com (solkan) Date: 14 May 2003 08:33:30 -0000 Subject: CHECK_NRPE : Error receiving data from host Message-ID: <20030514083330.21024.qmail@pod-163.dolphin-server.co.uk> L?UFT denn nrpe auf dem Host? Ist in der NRPE.CFG alles entsprechend eingerichtet? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 10:44:28 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 14 May 2003 10:44:28 +0200 Subject: CHECK_NRPE : Error receiving data from host In-Reply-To: <20030514083330.21024.qmail@pod-163.dolphin-server.co.uk> References: <20030514083330.21024.qmail@pod-163.dolphin-server.co.uk> Message-ID: <200305141044.28257.roy@karlsbakk.net> Hadde det ikke v?rt fint om vi kunne holde oss til engelsk p? denne lista, s? kan alle forst? ting? or in English: Would't it be nice if we all spoke English here, so everyone could understand? On Wednesday 14 May 2003 10:33, solkan wrote: > L?UFT denn nrpe auf dem Host? Ist in der NRPE.CFG alles entsprechend > eingerichtet? > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 nils_mueller at hotmail.com Wed May 14 11:05:13 2003 From: nils_mueller at hotmail.com (solkan) Date: 14 May 2003 09:05:13 -0000 Subject: Possible to change colors in statusmap.cgi Message-ID: <20030514090513.27526.qmail@pod-163.dolphin-server.co.uk> Greetings, anyone knows a way to change the colors of the statusmap cgi? In particular, I'd like to change the text color from black to something different for better readability. 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 Jacques.LUYCKX at cec.eu.int Wed May 14 11:01:26 2003 From: Jacques.LUYCKX at cec.eu.int (Jacques.LUYCKX at cec.eu.int) Date: Wed, 14 May 2003 11:01:26 +0200 Subject: Fwd: Error 404 Object not found Message-ID: <5DE88A46D971D411A17A009027FC7C1107F98979@EX2BEL86MBX01> Hello Modify this ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" and Alias /nagios/ /usr/local/nagios/share/ to Alias /nagios "/usr/local/nagios/share/" For me this config is ok ( on rh9.0 and apache2) -----Original Message----- From: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] Sent: mercredi 14 mai 2003 9:40 To: Fred Albrecht; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Fwd: Error 404 Object not found quotes does not make any difference..!! Zeiny At 07:14 AM 5/14/2003 +0200, Fred Albrecht wrote: 1dd6e61d.jpg hmmm, mine looks like this and works (dunno whether the quotes make any difference): ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all :) fred -----Original Message----- From: Mohamed El Zeiny [ mailto:MZieny at cairo.westerngeco.slb.com ] Sent: 14 May 2003 06:45 AM To: Leonard Miller; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fwd: Error 404 Object not found Date: Tue, 13 May 2003 11:07:33 +0300 To: nagios-users at lists.sourceforge.net From: Mohamed El Zeiny Subject: Error 404 Object not found Hi, I am starting installing Nagios into our system for my first time. I appended the following lines to httpd.conf ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias "/nagios/" "/usr/local/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all But I am still get the page Object Not found Error 404 when try http://localhost/nagios/ and a link down the page to localhost, when click that link it gives me the test page of apache. Any ideas??? Regards, Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 S MZieny at cairo.westerngeco.slb.com ======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 S MZieny at cairo.westerngeco.slb.com ======================================= Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger * 202 417 9731 * 202 417 9741 * 2 0101 612 650 Ext. 226 * MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1dd6e61d.jpg Type: image/jpeg Size: 633 bytes Desc: not available URL: From mylists at ame.de Wed May 14 11:25:37 2003 From: mylists at ame.de (Matthias Eichler) Date: 14 May 2003 11:25:37 +0200 Subject: Special check_http variation Message-ID: <1052904336.710.15.camel@blindzero> Hi List, we have some special software running which gives some jpeg and motion-jpeg output of some videostream. Unfortunately this software is not very stable, so I wanted to monitor it with check_http. The image can be downloaded via http://195.30.64.242/cgi-bin/image. The motion jpeg stream can be get as an octet-stream via http://195.30.64.242/cgi-bin/video. The command "./check_http -I 195.30.64.242" brings the correct 404 page, because there is no directory index. The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a timeout after 10 seconds, although I can telnet to that address and can download the image via "GET /cgi-bin/image". Can anybody give us some hint?!? Would be great and feel free to try the URL... Thanks, Matthias Eichler -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 11:35:53 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Wed, 14 May 2003 11:35:53 +0200 Subject: negate command Message-ID: <3EC20DF9.9020300@loria.fr> hiiiii ! i try to use the negate command like this : //usr/nagios/libexec/negate /usr/nagios/libexec/check_ping -H macker/ But the negate command doesn't want the "-H" ... it return : /negate: Unknown argument - H /How to use the negate command please ? best regards. -- Lionel Verscheure ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 11:49:28 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-15?Q?Fredrik_W=E4nglund?=) Date: Wed, 14 May 2003 11:49:28 +0200 Subject: Possible to change colors in statusmap.cgi References: <20030514090513.27526.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EC21128.4080904@datavis.se> Change the stylesheets under /share/stylesheets/ /FredrikW solkan wrote: >Greetings, > >anyone knows a way to change the colors of the statusmap cgi? >In particular, I'd like to change the text color from black to something different for better readability. > >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 > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chr at gli-micram.de Wed May 14 11:02:10 2003 From: chr at gli-micram.de (Christian Malolepszy) Date: Wed, 14 May 2003 11:02:10 +0200 Subject: CHECK_NRPE : Error receiving data from host References: <20030514081525.16610.qmail@pod-163.dolphin-server.co.uk> Message-ID: <094201c319f7$8104ae50$e105000a@micram.de> hi, du fragst ?ber nrpe daten von einem host ab, die nrpe anfrage liefert aber keine Antwort check mal das logging auf dem host wo nrpe installiert ist Ciao Christian Malolepszy ----- Original Message ----- From: "bernd" To: Sent: Wednesday, May 14, 2003 10:15 AM Subject: [Nagios-users] CHECK_NRPE : Error receiving data from host > > Who can me help. I speak bad english. I`m german. > > Wer kann mir helfen bin newbie. > Folgende meldung taucht auf:CHECK_NRPE : Error receiving data from host. > kanns mir nicht erkl?ren was noch fehlen soll. > im voraus danke > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed May 14 12:04:32 2003 From: nils_mueller at hotmail.com (solkan) Date: 14 May 2003 10:04:32 -0000 Subject: Possible to change Nagios default Intro Page? Message-ID: <20030514100432.6830.qmail@pod-163.dolphin-server.co.uk> Hiya, is it possible to change nagios default greetings page? In particular, i'd like to change it from 'main.html' to the 'tac.cgi'. If yes, where to change it? Many 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 mylists at ame.de Wed May 14 12:14:03 2003 From: mylists at ame.de (Matthias Eichler) Date: 14 May 2003 12:14:03 +0200 Subject: negate command In-Reply-To: <3EC20DF9.9020300@loria.fr> References: <3EC20DF9.9020300@loria.fr> Message-ID: <1052907242.3049.33.camel@blindzero> Just try quotes: /usr/nagios/libexec/negate "/usr/nagios/libexec/check_ping -H macker/" Matthias On Wed, 2003-05-14 at 11:35, Lionel Verscheure wrote: > hiiiii ! > > i try to use the negate command like this : //usr/nagios/libexec/negate > /usr/nagios/libexec/check_ping -H macker/ > > But the negate command doesn't want the "-H" ... > it return : > > /negate: Unknown argument - H > > > /How to use the negate command please ? > > best regards. > > -- > Lionel Verscheure > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 12:46:55 2003 From: Thomas.Nilsen at roxar.com (Thomas Nilsen) Date: Wed, 14 May 2003 12:46:55 +0200 Subject: Negate plugin Message-ID: I've only tried it from the command line - as it seems odd that it would work from Nagios but not on the on console. But I understand now after trying it in Nagios. I expected the actul output text to also reflect the OK/CRITICAL status as negate does. But it only negates the exit value of the command, and cares nothing about the output text. Thanks for the tip. Regards, Thomas >-----Original Message----- >From: Nate Allen [mailto:nallen at humboldtbank.com] >Sent: Tuesday, May 13, 2003 11:20 PM >To: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Negate plugin > > >Have you set the Timeout (-t) value for the negate plugin to some value >greater than the timeout for the check it is wrapping? It >took me some time >to figure that out. > >So, if you're wrapping check_ping with negate, and check_ping >has a timeout >of 10 seconds, you seem to need to do something like: > >/path/to/negate -t 15 /path/to/check_ping -H >the.host.ip.address options > >Otherwise, I think the negate plugin gives up before >check_ping does, and >does not invert the results. > >On the command line, the negate plugin will still tell you the >result of the >wrapped command without indicating that it has been inverted. >When called >from withing Nagios, however, the check seems to be inverted >correctly, at >least for me. > >Nate > > -----Original Message----- >From: Thomas Nilsen [mailto:Thomas.Nilsen at roxar.com] >Sent: Wednesday, May 07, 2003 6:34 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Negate plugin > > >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. > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise >solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > 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. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 12:48:47 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 14 May 2003 06:48:47 -0400 Subject: Special check_http variation In-Reply-To: <1052904336.710.15.camel@blindzero> References: <1052904336.710.15.camel@blindzero> Message-ID: <1052909289.18736.6.camel@miles.debisschop.net> On Wed, 2003-05-14 at 05:25, Matthias Eichler wrote: > Hi List, > > we have some special software running which gives some jpeg and > motion-jpeg output of some videostream. Unfortunately this software > is not very stable, so I wanted to monitor it with check_http. > > The image can be downloaded via http://195.30.64.242/cgi-bin/image. > The motion jpeg stream can be get as an octet-stream via > http://195.30.64.242/cgi-bin/video. > > The command "./check_http -I 195.30.64.242" brings the correct 404 page, > because there is no directory index. > The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a > timeout after 10 seconds, although I can telnet to that address and can > download the image via "GET /cgi-bin/image". > > Can anybody give us some hint?!? > Would be great and feel free to try the URL... It took far more than 10 seconds on my end -- maybe you just need to use the timeout option? (-t or --timeout, as always, just look at the plugin help listing) -- Karl > Thanks, > > Matthias Eichler ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MZieny at cairo.westerngeco.slb.com Wed May 14 12:31:26 2003 From: MZieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Wed, 14 May 2003 13:31:26 +0300 Subject: Fwd: Error 404 Object not found- ACCESS In-Reply-To: <5DE88A46D971D411A17A009027FC7C1107F98979@EX2BEL86MBX01> References: <5DE88A46D971D411A17A009027FC7C1107F98979@EX2BEL86MBX01> Message-ID: <5.1.0.14.2.20030514132523.0258fc60@wgmail5.cairo.afr.slb.com> Nothing with quotes makes difference...! BUT I succeed . by editing the file /etc/httpd/conf/httpd.conf instead of /usr/local/appache/conf/httpd.conf this makes a lot of differences. I re-install apache2 and configure everything fine so far. the problem is now when try to access.., it does not accept the user/passwrod although I use htpasswd to create some accounts. while when comment the line #require valid-user from the file /usr/local/nagios/sbin/.htaccess there is no need for user/password for the home page, but can not access anything else any help? Regards, At 11:01 AM 5/14/2003 +0200, Jacques.LUYCKX at cec.eu.int wrote: >Hello > >Modify this > >ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > >ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" > >and > >Alias /nagios/ /usr/local/nagios/share/ to > >Alias /nagios "/usr/local/nagios/share/" > > > >For me this config is ok ( on rh9.0 and apache2) >-----Original Message----- >From: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] >Sent: mercredi 14 mai 2003 9:40 >To: Fred Albrecht; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Fwd: Error 404 Object not found > >quotes does not make any difference..!! > >Zeiny > >At 07:14 AM 5/14/2003 +0200, Fred Albrecht wrote: >>1e73ce1b.jpg >> >>hmmm, mine looks like this and works (dunno whether the quotes make any >>difference): >> >>ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> >>Alias /nagios /usr/local/nagios/share/ >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >>:) >>fred >>-----Original Message----- >>From: Mohamed El Zeiny [mailto:MZieny at cairo.westerngeco.slb.com] >>Sent: 14 May 2003 06:45 AM >>To: Leonard Miller; nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Fwd: Error 404 Object not found >> >>>Date: Tue, 13 May 2003 11:07:33 +0300 >>>To: nagios-users at lists.sourceforge.net >>>From: Mohamed El Zeiny >>>Subject: Error 404 Object not found >>> >>>Hi, >>>I am starting installing Nagios into our system for my first time. >>>I appended the following lines to httpd.conf >>> >>> >>> >>> >>> >>>ScriptAlias "/nagios/cgi-bin/" "/usr/local/nagios/sbin/" >>> >>> AllowOverride AuthConfig >>> Options ExecCGI >>> Order allow,deny >>> Allow from all >>> >>>Alias "/nagios/" "/usr/local/nagios/share/" >>> >>> Options None >>> AllowOverride AuthConfig >>> Order allow,deny >>> Allow from all >>> >>> >>> >>> >>> >>> >>>But I am still get the page Object Not found Error 404 when try >>>http://localhost/nagios/ >>>and a link down the page to localhost, when click that link it gives me >>>the test page of apache. >>> >>>Any ideas??? >>> >>>Regards, >>> >>>Mohamed El-Zeiny >>>DP Project Leader - System Administrator >>>WesternGeco - DP Cairo Center >>>Schlumberger >>>( 202 417 9731 ? 202 417 9741 >>>? 2 0101 612 650 Ext. 226 >>>S MZieny at cairo.westerngeco.slb.com >>>======================================= >>Mohamed El-Zeiny >>DP Project Leader - System Administrator >>WesternGeco - DP Cairo Center >>Schlumberger >>( 202 417 9731 ? 202 417 9741 >>? 2 0101 612 650 Ext. 226 >>S MZieny at cairo.westerngeco.slb.com >>======================================= >Mohamed El-Zeiny >DP Project Leader - System Administrator >WesternGeco - DP Cairo Center >Schlumberger >( 202 417 9731 ? 202 417 9741 >? 2 0101 612 650 Ext. 226 >? MZieny at cairo.westerngeco.slb.com >======================================= > Mohamed El-Zeiny DP Project Leader - System Administrator WesternGeco - DP Cairo Center Schlumberger ( 202 417 9731 ? 202 417 9741 ? 2 0101 612 650 Ext. 226 ? MZieny at cairo.westerngeco.slb.com ======================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1e73ce1b.jpg Type: image/jpeg Size: 633 bytes Desc: not available URL: From karl at debisschop.net Wed May 14 12:48:37 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 14 May 2003 06:48:37 -0400 Subject: negate command In-Reply-To: <1052907242.3049.33.camel@blindzero> References: <3EC20DF9.9020300@loria.fr> <1052907242.3049.33.camel@blindzero> Message-ID: <1052909110.18736.3.camel@miles.debisschop.net> On Wed, 2003-05-14 at 06:14, Matthias Eichler wrote: > Just try quotes: > > /usr/nagios/libexec/negate "/usr/nagios/libexec/check_ping -H macker/" Or get the plugin frmo CVS. BTW, not sure, but I think you may need to use single quotes, not double. -- Karl > Matthias > > On Wed, 2003-05-14 at 11:35, Lionel Verscheure wrote: > > hiiiii ! > > > > i try to use the negate command like this : //usr/nagios/libexec/negate > > /usr/nagios/libexec/check_ping -H macker/ > > > > But the negate command doesn't want the "-H" ... > > it return : > > > > /negate: Unknown argument - H > > > > > > /How to use the negate command please ? > > > > best regards. > > > > -- > > Lionel Verscheure > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 mylists at ame.de Wed May 14 12:56:40 2003 From: mylists at ame.de (Matthias Eichler) Date: 14 May 2003 12:56:40 +0200 Subject: Special check_http variation In-Reply-To: <1052909289.18736.6.camel@miles.debisschop.net> References: <1052904336.710.15.camel@blindzero> <1052909289.18736.6.camel@miles.debisschop.net> Message-ID: <1052909799.3049.40.camel@blindzero> Hi Karl, I can increase the timeout as much as I want, it will always bring an timeout here. Especially because it does not take so long to get the URL, with telnet it takes as long as you need to type "get /cgi-bin/image" and with a browser you get the picture back immediately... Matthias On Wed, 2003-05-14 at 12:48, Karl DeBisschop wrote: > On Wed, 2003-05-14 at 05:25, Matthias Eichler wrote: > > Hi List, > > > > we have some special software running which gives some jpeg and > > motion-jpeg output of some videostream. Unfortunately this software > > is not very stable, so I wanted to monitor it with check_http. > > > > The image can be downloaded via http://195.30.64.242/cgi-bin/image. > > The motion jpeg stream can be get as an octet-stream via > > http://195.30.64.242/cgi-bin/video. > > > > The command "./check_http -I 195.30.64.242" brings the correct 404 page, > > because there is no directory index. > > The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a > > timeout after 10 seconds, although I can telnet to that address and can > > download the image via "GET /cgi-bin/image". > > > > Can anybody give us some hint?!? > > Would be great and feel free to try the URL... > > It took far more than 10 seconds on my end -- maybe you just need to use > the timeout option? (-t or --timeout, as always, just look at the plugin > help listing) > > -- > Karl > > > Thanks, > > > > Matthias Eichler -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Wed May 14 13:11:10 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 14 May 2003 12:11:10 +0100 Subject: Strange Problem with check_ircd In-Reply-To: References: Message-ID: <1052910670.13983.10.camel@Monitor> Hi all, How can i try running the check_ircd thru the perl debugger to see what is causing the socket bind to fail? the problem is: > Anyone have any idea why changing the IP of the IRC server being monitored > would cause check_ircd to change from working perfectly to throwing the > error "IRCD UNKNOWN: Could not bind socket (Cannot assign requested > address)"? The IRC server is actually running on the same host as nagios > (don't ask...), and it had worked fine with it's old IP, but once I changed > the IP, that single service check broke. It is checking it via the external > IP (not local interface), and I have turned off the machine's local > firewalling policies for testing (there's very little outbound policy > anyway, for obvious reasons, and the error it's throwing leads me to believe > it's a problem with the outbound connection to the service). There are > three other tcp-based checks (check_sshd, check_tcp!443 and check_tcp!49) > targeted at the same host which continue to work fine. I get the same > result when running the check_ircd script from the command-line. > Any ideas? Best 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 chris at netservers.co.uk Wed May 14 13:09:37 2003 From: chris at netservers.co.uk (Chris Wilson) Date: Wed, 14 May 2003 12:09:37 +0100 (BST) Subject: Error - Return code of 127... In-Reply-To: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> References: <97D0DDFA3C2F5B44AAC0960B99E962130191AD@VMX.gilatla.com> Message-ID: Hi Devon, > Has anyone got a fix for the '(Return code of 127 is out of bounds - plugin > may be missing)' Problem? > > It seems to be happening on some services, even when I restart nagios. Try "nagios restart" instead of "nagios reload" and see if that fixes the problem. 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 chr at gli-micram.de Wed May 14 13:02:16 2003 From: chr at gli-micram.de (Christian Malolepszy) Date: Wed, 14 May 2003 13:02:16 +0200 Subject: Possible to change Nagios default Intro Page? References: <20030514100432.6830.qmail@pod-163.dolphin-server.co.uk> Message-ID: <0a6d01c31a08$47b4aef0$e105000a@micram.de> yes, edit index.html there is a line like this one: you can put there "/cgi-bin/tac.cgi" instead "main.html" cu Christian Malolepszy ----- Original Message ----- From: "solkan" To: Sent: Wednesday, May 14, 2003 12:04 PM Subject: [Nagios-users] Possible to change Nagios default Intro Page? > > Hiya, is it possible to change nagios default greetings page? > In particular, i'd like to change it from 'main.html' to the 'tac.cgi'. > > If yes, where to change it? > > Many 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 > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Wed May 14 13:45:43 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Wed, 14 May 2003 13:45:43 +0200 Subject: Nokia BSD Message-ID: An HTML attachment was scrubbed... URL: From jason at neospire.net Wed May 14 14:05:59 2003 From: jason at neospire.net (Jason Burnett) Date: Wed, 14 May 2003 07:05:59 -0500 Subject: check_smtp patch Message-ID: <20030514120559.GA27293@neospire.net> I have a patch that adds the functionality to be able to test smtp auth with the check_smtp plugin. Where should I send this? -- Jason Burnett Senior Engineer http://www.neospire.net voice 214-720-1442 jason at neospire.net fax 214-720-1836 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Wed May 14 14:30:47 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 14 May 2003 07:30:47 -0500 Subject: Special check_http variation Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B47C0@gsmail.govst.edu> Remove the leading / from the path. "./check_http -H 195.30.64.242 -u cgi-bin/image" returned HTTP WARNING: HTTP/1.0 404 Not Found for me. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Matthias Eichler [mailto:mylists at ame.de] Sent: Wednesday, May 14, 2003 4:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Special check_http variation Hi List, we have some special software running which gives some jpeg and motion-jpeg output of some videostream. Unfortunately this software is not very stable, so I wanted to monitor it with check_http. The image can be downloaded via http://195.30.64.242/cgi-bin/image. The motion jpeg stream can be get as an octet-stream via http://195.30.64.242/cgi-bin/video. The command "./check_http -I 195.30.64.242" brings the correct 404 page, because there is no directory index. The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a timeout after 10 seconds, although I can telnet to that address and can download the image via "GET /cgi-bin/image". Can anybody give us some hint?!? Would be great and feel free to try the URL... Thanks, Matthias Eichler -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 m.hertrick at neovera.com Wed May 14 15:31:44 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Wed, 14 May 2003 23:31:44 +1000 Subject: Nokia BSD References: Message-ID: <07cd01c31a1d$29de8ad0$8e0ca8c0@monster> Hmph... Same processor architecture in the Nokia and your build machine? Is this one of those Nokia Checkpoint boxes? ~Mike. ----- Original Message ----- From: Srv Muju To: nagios-users at lists.sourceforge.net Sent: Wednesday, May 14, 2003 9:45 PM Subject: [Nagios-users] Nokia BSD Hi all, Thanks for taking time to read this - aplogies if this email format offends, but since I hate spam this the *perfect* place to send mail from!!! Basically I am wanting to use plugins on a Nokia BSD box and decided that the best approach would be to download binaries and compile them on a FreeBSD machine (4.7 Release) After compiling this without any problem I ftp'ed the binaries (yes, I remembered the asci/binary format correctly) and ran the usual ./nrpe -d nrpe.cfg on the Nokia box. Error message: Exec format error. Wrong Architecture Hmph?! Any ideas -- thoughts ?? Srv. Ps: Thank you for a beautifull product! ------------------------------------------------------------------------------ Need to connect with online buddies? Download MSN Messenger 5.0. It's free! ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 T-VANZEE at govst.edu Wed May 14 14:33:16 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 14 May 2003 07:33:16 -0500 Subject: check_http problem Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B47C1@gsmail.govst.edu> Can we get a few more details/specifics? I had something similar happen once, added a -u // to the end of the check command and it cleared the issue up. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Campisi, Joseph [mailto:JCampisi at iona.edu] Sent: Tuesday, May 13, 2003 3:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http problem Hi All, I've been running nagios fine for a couple of months now. Today, all of a sudden, nagios reports that my web server is down when it is not. I can telnet webserver 80 from the nagios box just fine. If I do a check_http -H ipaddressofweb I get a Socket timeout after 10 seconds. I also did the check_http command on another web server and it works fine. Any thoughts? Thanks, Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Wed May 14 14:49:07 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 14 May 2003 08:49:07 -0400 Subject: check_traffic plugin Message-ID: <5.1.0.14.0.20030514084429.00b50720@pop.icnet.com.ve> Hi, I?m using the check_traffic plugin, and is running very well, but when I want to see the graph generated with the .cgi files show me the following lines: ro_nac_01 - Serial3.1:0 Interface Graphs last 4 hours (3 minutes averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0.rrd:input:AVERAGE' -2] last 24 hours (30 minutes averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0.rrd:input:AVERAGE' -2] last month (2 hour averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0.rrd:input:AVERAGE' -2] check_traffic plugin ? 2003 by ADi Anybody can help me? Thanks Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From Leonard_Miller at udlp.com Wed May 14 14:53:30 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Wed, 14 May 2003 07:53:30 -0500 Subject: Fwd: Error 404 Object not found- ACCESS Message-ID: Possibly permissions on the .htaccess or htpasswd.users file. Look at /var/log/httpd/error_log and see what it says. >>> Mohamed El Zeiny 05/14/03 06:31AM >>> Nothing with quotes makes difference...! BUT I succeed . by editing the file /etc/httpd/conf/httpd.conf instead of /usr/local/appache/conf/httpd.conf this makes a lot of differences. I re-install apache2 and configure everything fine so far. the problem is now when try to access.., it does not accept the user/passwrod although I use htpasswd to create some accounts. while when comment the line #require valid-user from the file /usr/local/nagios/sbin/.htaccess there is no need for user/password for the home page, but can not access anything else any help? 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 mylists at ame.de Wed May 14 15:17:17 2003 From: mylists at ame.de (Matthias Eichler) Date: 14 May 2003 15:17:17 +0200 Subject: Nokia BSD In-Reply-To: <07cd01c31a1d$29de8ad0$8e0ca8c0@monster> References: <07cd01c31a1d$29de8ad0$8e0ca8c0@monster> Message-ID: <1052918236.3049.49.camel@blindzero> Hi, I think you are really talking about the Nokia IPSO operating system running on the Nokia IP series. It is BSD based but NOT FreeBSD, so FreeBSD packages will mostly not run on IPSO. The processor is K6-2 or Pentium class, depends on the model... But I would highly NOT recommend to do this on these boxes for support reasons. Another thing is that these boxes have not sooo much power and that CheckPoint FW-1 or VPN-1 can easily bring this box up to a load of 5 or higher. Thats why it is for example not recommended to let other OPSEC software run besides FW-1 on a box smaller than IP6xx. If you have some spare Nokia box I would recommend you to bring Linux on such a machine, there are some howtos on the net. Greetings, Matthias Eichler On Wed, 2003-05-14 at 15:31, Michael Hertrick wrote: > Hmph... Same processor architecture in the Nokia and your build > machine? > > Is this one of those Nokia Checkpoint boxes? > > ~Mike. > ----- Original Message ----- > From: Srv Muju > To: nagios-users at lists.sourceforge.net > Sent: Wednesday, May 14, 2003 9:45 PM > Subject: [Nagios-users] Nokia BSD > > Hi all, > > Thanks for taking time to read this - aplogies if this email > format offends, but since I hate spam this the *perfect* place > to send mail from!!! > > Basically I am wanting to use plugins on a Nokia BSD box and > decided that the best approach would be to download binaries > and compile them on a FreeBSD machine (4.7 Release) After > compiling this without any problem I ftp'ed the binaries (yes, > I remembered the asci/binary format correctly) and ran the > usual ./nrpe -d nrpe.cfg on the Nokia box. > > Error message: > Exec format error. Wrong Architecture > Hmph?! Any ideas -- thoughts ?? > > Srv. > > Ps: Thank you for a beautifull product! > > > ______________________________________________________________ > Need to connect with online buddies? Download MSN Messenger > 5.0. It's free! > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara The only event dedicated to issues related to > Linux enterprise solutions www.enterpriselinuxforum.com > _______________________________________________ Nagios-users > mailing list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: > Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will > risk being sent to /dev/null -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed May 14 15:36:00 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 14 May 2003 15:36:00 +0200 Subject: statusmap Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi In the status map, what is the use of the green circles that surround some hosts??? The most I saw at a time were 2 hosts with one green circle each, and one host (which I clicked on) with 4 green circles. Puzzled. :\ fred ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 14 16:06:27 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 15 May 2003 00:06:27 +1000 Subject: heads-up: trap avalanche depletes swap and leads to killing Nag, Apache, named, ... Message-ID: <20030515000621.C226@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, This sites Nag shares a host with snmptrapd, bind, apache and the usual suspects. Nag is an ePN that can use up to half the 256 MB RAM (it is usually cycled each month). This evening a load balancer fired off ~ 120 traps in 20 minutes after an iPlanet directory server (apparently) started 'running out of file descriptors' and therefore binding and unbinding to the listening socket. tsitc> tail -800 nagios.log | grep -i process_ser | ./ns_log_localtime | head Wed May 14 19:13:09 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). ... Wed May 14 19:32:29 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;0;Ok. SLB can reach port 389 on real server castor (10.0.100.11). Wed May 14 19:33:09 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). Wed May 14 19:33:09 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;0;Ok. SLB can reach port 389 on real server castor (10.0.100.11). Wed May 14 19:33:09 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). Wed May 14 19:33:13 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;0;Ok. SLB can reach port 389 on real server castor (10.0.100.11). tsitc> snmptrapd is configured to run a /bin/sh script that interprets the trap and injects the process_service_check_result command into the command queue. On this occasion, however, apparently the swap became over committed because May 14 19:30:18 tsitc /kernel: swap_pager: out of swap space May 14 19:30:18 tsitc /kernel: swap_pager_getswapspace: failed May 14 19:30:18 tsitc /kernel: pid 143 (httpd), uid 0, was killed: out of swap space May 14 19:30:18 tsitc /kernel: pid 58178 (httpd), uid 80, was killed: out of swap space May 14 19:32:12 tsitc /kernel: swap_pager_getswapspace: failed May 14 19:32:41 tsitc /kernel: pid 81284 (nagios), uid 1000, was killed: out of swap space May 14 19:33:09 tsitc /kernel: swap_pager_getswapspace: failed May 14 19:33:11 tsitc last message repeated 112 times May 14 19:33:11 tsitc /kernel: pid 78804 (nagios), uid 1000, was killed: out of swap space May 14 19:33:11 tsitc last message repeated 2 times May 14 19:33:13 tsitc /kernel: pid 78074 (nagios), uid 1000, was killed: out of swap space May 14 19:33:15 tsitc /kernel: pid 54997 (nagios), uid 1000, was killed: out of swap space May 14 19:33:15 tsitc /kernel: pid 91002 (nagios), uid 1000, was killed: out of swap space May 14 19:42:12 tsitc /kernel: pid 75 (named), uid 53, was killed: out of swap space and I eventually realised that things were strangley quiet. Part of the collateral included 2 or 3 copies of a shell listening on port 162. Perhaps this was the forked copy of snmptrapd before the execve had completed. These processes had to be killed manually before snmptrapd could be restarted (and bind to that port). Unfortunately, while I was using the host at the time, I failed to notice the impact until I became aware of 120 Perl processes waiting on the SMS lockfile. Obviously this was the cause of the memory over commit: even though they were all asleep they still occupied 5 MB of memory each. There seems to be a need for me to rethink my notification tactics, but in any case, a high rate or large number of service criticals is going to make life hard for the Nag host. 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 Ton.Voon at egg.com Wed May 14 13:31:58 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 14 May 2003 12:31:58 +0100 Subject: negate command Message-ID: <53104E20A25CD411B556009027E50636079A9ABA@pnnemp02.pn.egg.com> Quick examples: $ /usr/nagios/libexec/negate "/usr/nagios/libexec/check_ping -H macker" This will be evaluated by the shell so arg 1 for negate is the whole string. Replacing double quotes with single quotes makes no difference as the shell considers the contents in this case the same. $ /usr/nagios/libexec/negate "/usr/bin/grep 'a b' /etc/hosts" The single quotes will get passed into arg1, and then negate will run a new shell with this command. The new shell will evaluate the single quotes and preserve the space for grep to search. $ /usr/nagios/libexec/negate '/usr/bin/grep "a b" /etc/hosts' The shell preserves the double quotes and passes it to arg1. However, negate will reject it because of the existence of double quotes in the command. You just need to be aware of the double evaluation going on if you use quotes within your command. Otherwise the outer quotes make no difference to negate. Ton > -----Original Message----- > From: Karl DeBisschop [SMTP:karl at debisschop.net] > Sent: Wednesday, May 14, 2003 11:49 AM > To: Matthias Eichler > Cc: Lionel Verscheure; Nagios Users > Subject: Re: [Nagios-users] negate command > > On Wed, 2003-05-14 at 06:14, Matthias Eichler wrote: > > Just try quotes: > > > > /usr/nagios/libexec/negate "/usr/nagios/libexec/check_ping -H macker/" > > Or get the plugin frmo CVS. > > BTW, not sure, but I think you may need to use single quotes, not > double. This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed May 14 14:39:35 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 14 May 2003 13:39:35 +0100 Subject: check_smtp patch Message-ID: <53104E20A25CD411B556009027E50636079A9ABB@pnnemp02.pn.egg.com> Please submit to SF: http://sourceforge.net/tracker/?group_id=29880&atid=397599 Thanks > -----Original Message----- > From: Jason Burnett [SMTP:jason at neospire.net] > Sent: Wednesday, May 14, 2003 1:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_smtp patch > > I have a patch that adds the functionality to be able to test smtp auth > with the check_smtp plugin. Where should I send this? > -- > Jason Burnett Senior Engineer > http://www.neospire.net voice 214-720-1442 > jason at neospire.net fax 214-720-1836 This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fyzix at yahoo.com Wed May 14 16:26:20 2003 From: fyzix at yahoo.com (Gareth Hash) Date: Wed, 14 May 2003 07:26:20 -0700 (PDT) Subject: Log rotations just stopped.... Data DISAPPEARED Message-ID: <20030514142620.29356.qmail@web20415.mail.yahoo.com> Hello. I came across a weird problem. After I changed the hosts and services file to be strictly template based, the logs DISAPPEARED at the end of the day. I went through the options in the Nagios doc, but I did not see one which said that logs will disappear at the end of the day if I have log rotation turned on. I am still receiving email notifications when a service or host goes down. Any help would be GREATLY appreciated. Thank you. Hosts file : # Generic host definition template define host{ name generic-host ; Name of template. max_check_attempts 1 checks_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options n notifications_enabled 1 register 0 ; Template only. Do not register } define host{ use generic-host host_name host1 alias host1 address 192.168.x.x } Services file : define service{ name ping service_description PING is_volatile 0 check_command check_ping!1000.0,75%!2000.0,100% max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 parallelize_check 1 check_freshness 0 notification_interval 60 notification_period 24x7 notification_options n notifications_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups dragon-admins register 0 ; Template for ping service } # Ping service definition define service{ use ping host_name host1, host2, host3, host4 } __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.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 twmoore at bea.com Wed May 14 17:04:25 2003 From: twmoore at bea.com (Timothy Moore) Date: Wed, 14 May 2003 09:04:25 -0600 Subject: Enhancement request? Message-ID: <1CD25D3A9280C9469A6564995E0C18D8022A96@usdeex01.amer.bea.com> Just a couple of enhancement suggestions for the future.... * a couple of user defined directives within a host definition and service definition. This would allow some flexibility to define additional info like physical location of a host, etc... * a date field/relationship within contacts? escalations? Trying to allow for variable "on-call schedules". Currently, I use cron to modify escalation for a rotating on-call schedule Timothy W. Moore bea Systems 4610 S. Ulster St. Suite 100 Denver, CO 80237 720-528-6177 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Timothy Moore.vcf Type: text/x-vcard Size: 202 bytes Desc: Timothy Moore.vcf URL: From testrm at kisters.com Wed May 14 17:03:52 2003 From: testrm at kisters.com (Ralf Mellis) Date: Wed, 14 May 2003 17:03:52 +0200 Subject: Probs with notification from passive check Message-ID: <3EC25AD8.8010303@kisters.com> I'm using nag 1.0 (linux) with nrpe 1.8/2.03b (various os). I have setup a passive check on my nagios host for a w2k test box. The communication from the w2k box to the nagios host is done via ssh, using plink from putty (0.52). I have changed the "citrix" wsh script (which was attached to various mails here) to suit my needs. Now: Changing the status of my service works fine, I can monitor this in the nagios.log and in the web gui. Only notification is not (always) successfull. From time to time I get a mail to the contact defined for my test service, but mostly not (At this time I have not found out exactly in which cases I get one and when not). IMHO I have setup all definitions correctly, but nevertheless here they are: 1. Definition of my "passive-checks" template: define service{ name passive-checks active_checks_enabled 0 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 check_period none check_command check-host-alive register 0 } 2. Definition of my "test service": define service{ use passive-checks service_description Test WSH host_name w2kwks-rm max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups test-admins notification_interval 120 notification_period 24x7 notification_options c,r,w,u } 3. Definition of "test-admins": define contactgroup{ contactgroup_name test-admins alias TestTheWest Administrators members RaMe } 4. Definition of contact "RaMe" define contact{ contact_name RaMe alias Nagios Admin #1 service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email myemail at at.my.company pager notdefined at localhost.localdomain } I have read the chapter "notifications" carefully and I think with the filters set up in the above given way the contact "RaMe" has to be informed by email about every changer in state regarding the "WSH" service... But this is in my theory... -- 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 doron_cs at yahoo.com Wed May 14 18:15:35 2003 From: doron_cs at yahoo.com (doron carmeli-shrim) Date: Wed, 14 May 2003 09:15:35 -0700 (PDT) Subject: HELP !!! Solaris NRPE connection problems !!! Message-ID: <20030514161535.82531.qmail@web41412.mail.yahoo.com> Greattings all I have compiled installed and configured my Linux nagios server to monitor all critical services vis tcp/ip and wished to extend the capabilities of my system to warn about machine local faults. I have used nrpe for this purpus. Since most of my core machines are solaris based i compiled nrpe and the nagios_plugins tarballs on a Solaris 8 machine. Both compilation and installation worked fine (e.g. no errors) but when i tried to communicate with the nagios server i discovered much to my dismay that there is an SSL mismatch (Cannot compleat SSL handshake). I have solved this problem by compiling nrpe (both on the nagios server and on the solaris host) without ssl e.g ./configure --disable-ssl Just to make sure i have tried communicating with a linux host (whish nrpe naturally) . The linux host remote check workers beautifully. When i did the same check with my solaris host (or should i say hosts since i have repeated the proccess on another solaris machine) i discovered the following: nrpe daemon operates fine I am able to connect to the machine both locally and remotely (telnet to port 5666 ) Since i have enabled debugging to syslog (debug=1) in the nrpe.cfg file i have turned to /var/adm/messages for answers. The only thing i found out was an nrpe daemon error : "Could not read request from client , bailing out ...." I have checked double-checked and triple checked my configuration and it appears to be fine . The same errors appear weather i activate nrpe as an independent daemon or as an inetd .... I have been working on my nagios system for days un end and do not wish to discard it all. But since all my core servers are SUN ... i will have to if i will not succeed ... Pls Help Regards .. Doron :-) __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.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 sghosh at sghosh.org Wed May 14 18:44:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 12:44:10 -0400 (EDT) Subject: Special check_http variation In-Reply-To: <1052904336.710.15.camel@blindzero> References: <1052904336.710.15.camel@blindzero> Message-ID: The url is returning the header below followed by the actual image(s). However, on occasion, it has also returned a different content-type. "application/octet-stream (Binary Executable)" HTTP/1.0 200 OK Connection: Keep-alive Content-Length: 25699 Content-Type: image/jpeg The check_http code does not end until the receive buffer is empty - i.e. full page is received. With the motion-jpeg stream, the server starts to stream the sequence of jpeg images with no end. So the receive buffer always has data. The browsers treat the server differently because of the content-type. They honor the content-type info and read the only the "content-length" worth of data. The work-around for now would be to write a shell script around "wget -q http://195.30.64.242/cgi-bin/image" delete the saved image check the response code from wget == 0 Long term patch for check_http would be to parse the initial couple of receive buffers to determine the "content-length" and close the connection after reading "content-length" worth of data. This has implications for multi-part pages (pages with images) that needs to be explored. -sg On 14 May 2003, Matthias Eichler wrote: > Hi List, > > we have some special software running which gives some jpeg and > motion-jpeg output of some videostream. Unfortunately this software > is not very stable, so I wanted to monitor it with check_http. > > The image can be downloaded via http://195.30.64.242/cgi-bin/image. > The motion jpeg stream can be get as an octet-stream via > http://195.30.64.242/cgi-bin/video. > > The command "./check_http -I 195.30.64.242" brings the correct 404 page, > because there is no directory index. > The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a > timeout after 10 seconds, although I can telnet to that address and can > download the image via "GET /cgi-bin/image". > > Can anybody give us some hint?!? > Would be great and feel free to try the URL... > > Thanks, > > Matthias Eichler > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 18:48:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 12:48:08 -0400 (EDT) Subject: Strange Problem with check_ircd In-Reply-To: <1052910670.13983.10.camel@Monitor> References: <1052910670.13983.10.camel@Monitor> Message-ID: perl -d check_ircd On 14 May 2003, Eduardo Leit?o wrote: > Hi all, > > How can i try running the check_ircd thru the perl debugger to see what > is causing the socket bind to fail? > > the problem is: > > Anyone have any idea why changing the IP of the IRC server being > monitored > > would cause check_ircd to change from working perfectly to throwing > the > > error "IRCD UNKNOWN: Could not bind socket (Cannot assign requested > > address)"? The IRC server is actually running on the same host as > nagios > > (don't ask...), and it had worked fine with it's old IP, but once I > changed > > the IP, that single service check broke. It is checking it via the > external > > IP (not local interface), and I have turned off the machine's local > > firewalling policies for testing (there's very little outbound policy > > anyway, for obvious reasons, and the error it's throwing leads me to > believe > > it's a problem with the outbound connection to the service). There > are > > three other tcp-based checks (check_sshd, check_tcp!443 and > check_tcp!49) > > targeted at the same host which continue to work fine. I get the > same > > result when running the check_ircd script from the command-line. > > > > Any ideas? > > Best 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 doron_cs at yahoo.com Wed May 14 19:11:52 2003 From: doron_cs at yahoo.com (doron carmeli-shrim) Date: Wed, 14 May 2003 10:11:52 -0700 (PDT) Subject: Fwd: Re: HELP !!! Solaris NRPE connection problems !!! Message-ID: <20030514171152.95850.qmail@web41412.mail.yahoo.com> Note: forwarded message attached. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -------------- next part -------------- An embedded message was scrubbed... From: doron carmeli-shrim Subject: Re: [Nagios-users] HELP !!! Solaris NRPE connection problems !!! Date: Wed, 14 May 2003 10:10:23 -0700 (PDT) Size: 3625 URL: From mkazmier at sofast.net Wed May 14 19:16:03 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Wed, 14 May 2003 11:16:03 -0600 Subject: check_traffic plugin In-Reply-To: <5.1.0.14.0.20030514084429.00b50720@pop.icnet.com.ve> References: <5.1.0.14.0.20030514084429.00b50720@pop.icnet.com.ve> Message-ID: <008701c31a3c$7fd102f0$6701010a@kazkdsxp> You probably want to eliminate the ?:? in your filenames -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeyri Bautista Sent: Wednesday, May 14, 2003 6:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_traffic plugin Hi, I?m using the check_traffic plugin, and is running very well, but when I want to see the graph generated with the .cgi files show me the following lines: ro_nac_01 - Serial3.1:0 Interface Graphs last 4 hours (3 minutes averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0. rrd:input:AVERAGE' -2] last 24 hours (30 minutes averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0. rrd:input:AVERAGE' -2] last month (2 hour averages) [ERROR: can't parse DEF 'inoctets=/usr/local/nagios/check_traffic-0.90b/db/210.32.200.2_Serial3.1:0. rrd:input:AVERAGE' -2] check_traffic plugin ? 2003 by ADi Anybody can help me? Thanks Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed May 14 19:20:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 13:20:50 -0400 (EDT) Subject: Special check_http variation In-Reply-To: References: Message-ID: Following up on my own posts ;) you could have wget run in debug mode, regex the content-length, verify the size of the saved image matches the content length ----sample wget output (response...) HTTP request sent, awaiting response... HTTP/1.0 200 OK Connection: Keep-alive Content-Length: 11213 Content-Type: image/jpeg Registered fd 3 for persistent reuse. Length: 11,213 [image/jpeg] 100%[====================================>] 11,213 25.47K/s ETA 00:00 13:11:25 (25.47 KB/s) - `image.4' saved [11213/11213] ---end sample--- For the check_http patch - probably needs to be done sooner than later ;) modify the while loop (line 626) such that the STATUS_LINE and HEADER is created using the loop rather than parsing the received data. Would allow more checks against content-type and content-length that some folks have asked for. Multipart-pages are not affected as we currently don't parse and retrieve all sub-parts. -sg On Wed, 14 May 2003, Subhendu Ghosh wrote: > The url is returning the header below followed by the actual image(s). > However, on occasion, it has also returned a different content-type. > "application/octet-stream (Binary Executable)" > > HTTP/1.0 200 OK > Connection: Keep-alive > Content-Length: 25699 > Content-Type: image/jpeg > > > The check_http code does not end until the receive buffer is empty - i.e. > full page is received. With the motion-jpeg stream, the server starts to > stream the sequence of jpeg images with no end. So the receive buffer > always has data. > > The browsers treat the server differently because of the content-type. > They honor the content-type info and read the only the "content-length" > worth of data. > > The work-around for now would be to write a shell script around > > "wget -q http://195.30.64.242/cgi-bin/image" > delete the saved image > check the response code from wget == 0 > > Long term patch for check_http would be to parse the initial couple of > receive buffers to determine the "content-length" and close the connection > after reading "content-length" worth of data. This has implications for > multi-part pages (pages with images) that needs to be explored. > > > -sg > > > On 14 May 2003, Matthias Eichler wrote: > > > Hi List, > > > > we have some special software running which gives some jpeg and > > motion-jpeg output of some videostream. Unfortunately this software > > is not very stable, so I wanted to monitor it with check_http. > > > > The image can be downloaded via http://195.30.64.242/cgi-bin/image. > > The motion jpeg stream can be get as an octet-stream via > > http://195.30.64.242/cgi-bin/video. > > > > The command "./check_http -I 195.30.64.242" brings the correct 404 page, > > because there is no directory index. > > The command "./check_http -I 195.30.64.242 -u /cgi-bin/image" brings a > > timeout after 10 seconds, although I can telnet to that address and can > > download the image via "GET /cgi-bin/image". > > > > Can anybody give us some hint?!? > > Would be great and feel free to try the URL... > > > > Thanks, > > > > Matthias Eichler > > > > > > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomwie at lycos.de Wed May 14 21:21:49 2003 From: tomwie at lycos.de (Thomas wienser) Date: Wed, 14 May 2003 20:21:49 +0100 Subject: Check_Disk_Smb Message-ID: <1052936509008403@lycos-europe.com> Hi all, I have a question about monitoring of NT server with scripting. If I use check_disk_smb or other scripts from the linux machine to monitor nt, how could I safe the username, password and domain? What I mean is, that I dont wont to insert the password in plain text in any script or configuration file. What is a common solution for that?? Best regards, Tom _________________________________________________________________ Neu bei Lycos Mail: SMS schnell und kosteng?nstig direkt aus Lycos Mail versenden: http://www.lycos.de/service/communication/mail/sms.html From Anthony_Brock at ous.edu Wed May 14 20:21:36 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Wed, 14 May 2003 11:21:36 -0700 Subject: Separate NAG from Web Interface Message-ID: Okay, I have Nagios 1.0 up and running on a test system. So far, I am very impressed with this as compared to Big Brother (the system I was previously using). However, how do you separate the web interface from the monitoring server? I have a machine to house the Nagios software, however I don't want to run an web server on this machine. Ideally, I would like to have a web interface with much (if not all) of the current functionality that is located on an existing (hardened and watched) web server. Is this possible? Does anyone know how to do this? Tony Anthony Brock Unix Administrator/Network Engineer Oregon University System Chancellor's Office (541) 737-9607 Anthony_Brock at ous.edu ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cybrhippie at yahoo.com Wed May 14 20:40:12 2003 From: cybrhippie at yahoo.com (cybrhippy) Date: 14 May 2003 18:40:12 -0000 Subject: How to send mail from linux to an external address Message-ID: <20030514184012.9155.qmail@pod-163.dolphin-server.co.uk> How did you fix this? I currently do not run sendmail and I don't see how the mail command can send to an outside host on its own. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 20:47:18 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 14:47:18 -0400 (EDT) Subject: [Nagiosplug-help] Service Pending state In-Reply-To: References: Message-ID: If you are pre-config' nagios for systems/services not yet in service --- create a script that disables host/service checks for the items not in service enable the checks once items are in service. pending state in Nagios means that nagios has not had a chance to check the state - not that the service is not active. -sg On Wed, 14 May 2003, Daniel nagios wrote: > To simplify config updates by putting in services that aren't yet > commissioned however will need to be captured when turned on. We have a > freshness check which turns service into "unknown" after a given time and > this affect these extra service - our service have been put in Template form > to reduce rework for serveral thousand services. This template form makes it > hard to turn of the freshness check for individual services. Thus the need > to give a pending state > > > >From: "Tom DE BLENDE" > > > > > >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 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed May 14 20:55:57 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 14 May 2003 13:55:57 -0500 Subject: nrpe responses odd Message-ID: <1052938557.2806.5.camel@tux.its.uiowa.edu> I've finally gotten nrpe installed on some machines today (had been using the bb->nagios gateway) and noticed something I haven't seen in testing before. Some of the nrpe check commands come back with CRITICAL or WARNING messages, but they are still showing up as green. Anyone seen this before? Dan ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 14 21:31:00 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 14 May 2003 15:31:00 -0400 Subject: Separate NAG from Web Interface References: Message-ID: <020c01c31a4f$59c88d40$f805ff0a@tekniq> Any solution you might be able to devise would take away from the speed that the status.log is updated therefore, I would urge you to run httpd on the server that runs nagios. If you didn't mind delayed statistics/updates in general and a lot of hard work, you could create a duplicate copy of the status.log and anything else needed every minute or so and copy it over to the server running the web interface, then copy any commands made on the web interface back using a modified form of nsca or something. I really wouldn't recommend. From what I know, Nagios is meant to be run on the system that also runs the webserver. -Jason ----- Original Message ----- From: "Anthony Brock" To: Sent: Wednesday, May 14, 2003 14:21 Subject: [Nagios-users] Separate NAG from Web Interface > Okay, I have Nagios 1.0 up and running on a test system. So far, I am > very impressed with this as compared to Big Brother (the system I was > previously using). > > However, how do you separate the web interface from the monitoring > server? I have a machine to house the Nagios software, however I don't > want to run an web server on this machine. Ideally, I would like to > have a web interface with much (if not all) of the current > functionality that is located on an existing (hardened and watched) > web server. Is this possible? Does anyone know how to do this? > > Tony > > > Anthony Brock > Unix Administrator/Network Engineer > Oregon University System > Chancellor's Office > > (541) 737-9607 > Anthony_Brock at ous.edu > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 daniel-wittenberg at uiowa.edu Wed May 14 21:40:14 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 14 May 2003 14:40:14 -0500 Subject: Separate NAG from Web Interface In-Reply-To: <020c01c31a4f$59c88d40$f805ff0a@tekniq> References: <020c01c31a4f$59c88d40$f805ff0a@tekniq> Message-ID: <1052941214.2806.10.camel@tux.its.uiowa.edu> Unless you could write something that watches the status.log in real-time and sends everything over a socket to the other machine... ? Dan On Wed, 2003-05-14 at 14:31, Jason Lancaster wrote: > Any solution you might be able to devise would take away from the speed that > the status.log is updated therefore, I would urge you to run httpd on the > server that runs nagios. > > If you didn't mind delayed statistics/updates in general and a lot of hard > work, you could create a duplicate copy of the status.log and anything else > needed every minute or so and copy it over to the server running the web > interface, then copy any commands made on the web interface back using a > modified form of nsca or something. > > I really wouldn't recommend. From what I know, Nagios is meant to be run on > the system that also runs the webserver. > > -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 Wed May 14 21:59:03 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 15:59:03 -0400 (EDT) Subject: Check_Disk_Smb In-Reply-To: <1052936509008403@lycos-europe.com> References: <1052936509008403@lycos-europe.com> Message-ID: On Wed, 14 May 2003, Thomas wienser wrote: > Hi all, > > I have a question about monitoring of NT server with scripting. > > If I use check_disk_smb or other scripts from the linux machine to > monitor nt, how could I safe the username, password and domain? > > What I mean is, that I dont wont to insert the password in plain text > in any script or configuration file. > > What is a common solution for that?? > > Best regards, > > Tom > you have to store it in the form required by smbclient (plain text) you can prevent is from being seen on the web-interface by using USERx macros. -- -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 gus at on.br Wed May 14 21:58:17 2003 From: gus at on.br (Gustavo Santos) Date: 14 May 2003 16:58:17 -0300 Subject: NRPE Message-ID: <1052942297.11598.7.camel@nyiga.on.br> Does anyone knows how to solve the following problem??? I'm trying to use the plugin check_nrpe from a linux pc to check disk space in a solaris system. I guess everything is fine but I get a message telling that the check_nrpe socket has timed out after 10 seconds... I've made another test from solaris to solaris and it worked just fine! If anyone knows....please let me know... Thanks a lot!!!!! -- Gustavo Santos ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 14 22:20:00 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 14 May 2003 16:20:00 -0400 (EDT) Subject: NBAR reporting In-Reply-To: <000001c318d2$bab18220$0400a8c0@squarebox.com> References: <000001c318d2$bab18220$0400a8c0@squarebox.com> Message-ID: On Mon, 12 May 2003, Tom Welsh wrote: > Is anyone using Nagios to report on NBAR ( Network based Application > Recognition) and QoS stats from their routers? If so what are you using > to query the routers? SNMP? I'd be interested in collating some info on > this as I have a specific need for this info for some research I'm doing > I haven't done any... but looking at the fact that the data is not easily available from snmp, scripts to login and grab data from the routers may be the only way. RANCID (shrubbery.net) has set of useful perl modules for logging into Cisco and running commands and capturing the output. The NBAR data dump on the screen look like fixed column size and so should be easily parseable. I had written some scripts similar to this for ATM bw monitoring when snmp support for atm was non-existent. Since the numbers here are data rates - you might want to feed it into rrd instead of Nagios directly. -- -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 Wed May 14 22:40:49 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 14 May 2003 16:40:49 -0400 Subject: Separate NAG from Web Interface References: <020c01c31a4f$59c88d40$f805ff0a@tekniq> <1052941214.2806.10.camel@tux.its.uiowa.edu> Message-ID: <022201c31a59$1a7e1d30$f805ff0a@tekniq> You could do this. The easiest way to accomplish that would be to use an ocsp command on your nagios server to send it's results to the web server. Only thing you have to deal with is how to process the outgoing/incoming connections. NSCA would work, but if you're going to run NSCA you should be running Nagios. (And you don't want that, do you?) -Jason ----- Original Message ----- From: "Daniel Wittenberg" To: "nagios-list" Sent: Wednesday, May 14, 2003 15:40 Subject: Re: [Nagios-users] Separate NAG from Web Interface > Unless you could write something that watches the status.log in > real-time and sends everything over a socket to the other machine... ? > > Dan > > On Wed, 2003-05-14 at 14:31, Jason Lancaster wrote: > > Any solution you might be able to devise would take away from the speed that > > the status.log is updated therefore, I would urge you to run httpd on the > > server that runs nagios. > > > > If you didn't mind delayed statistics/updates in general and a lot of hard > > work, you could create a duplicate copy of the status.log and anything else > > needed every minute or so and copy it over to the server running the web > > interface, then copy any commands made on the web interface back using a > > modified form of nsca or something. > > > > I really wouldn't recommend. From what I know, Nagios is meant to be run on > > the system that also runs the webserver. > > > > -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 jcarro10 at sprintspectrum.com Wed May 14 22:51:03 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 14 May 2003 15:51:03 -0500 Subject: How to send mail from linux to an external address Message-ID: You might want to try setting up nullmailer instead of sendmail. Check the FAQ. jc > -----Original Message----- > From: cybrhippy [mailto:cybrhippie at yahoo.com] > Sent: Wednesday, May 14, 2003 1:40 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: How to send mail from linux to an external > address > > > > How did you fix this? > > I currently do not run sendmail and I don't see how the mail > command can send to an outside host on its own. > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed May 14 22:56:28 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 14 May 2003 15:56:28 -0500 Subject: Separate NAG from Web Interface Message-ID: NSCA could possibly do this. However, this means that you will also need to set up Nagios on your webserver. If you do *not* want to set up Nagios on your webserver, then you'll have to somehow make the cgi's and so on available to the webserver. One way would be to use rsync, but that would have to hit it pretty frequently. Another way would be to use NFS. But you've stated that your webserver is already hardened; I'm sure you understand the implications of enabling NFS on a secure host. Are you sure you don't want to set up a new webserver? jc > -----Original Message----- > From: Anthony Brock [mailto:Anthony_Brock at ous.edu] > Sent: Wednesday, May 14, 2003 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Separate NAG from Web Interface > > > Okay, I have Nagios 1.0 up and running on a test system. So far, I am > very impressed with this as compared to Big Brother (the system I was > previously using). > > However, how do you separate the web interface from the monitoring > server? I have a machine to house the Nagios software, however I don't > want to run an web server on this machine. Ideally, I would like to > have a web interface with much (if not all) of the current > functionality that is located on an existing (hardened and watched) > web server. Is this possible? Does anyone know how to do this? > > Tony > > > Anthony Brock > Unix Administrator/Network Engineer > Oregon University System > Chancellor's Office > > (541) 737-9607 > Anthony_Brock at ous.edu > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed May 14 23:02:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 14 May 2003 16:02:30 -0500 Subject: Enhancement request? Message-ID: * refer to the docs regarding "hostextinfo.cfg" and "serviceextinfo.cfg" * if this is for the on-call pager, remove pager definitions from the flesh-and-blood definitions in contacts.cfg, and set up a new virtual user, let's call it oncall-pager, which wouldn't have an e-mail address, only a pager definition; write a script front-end (pretty menu, etc) which lets you login and change the virtual pager assignment (which is exactly the way we're doing it here, and it works wonderfully) jc -----Original Message----- From: Timothy Moore [mailto:twmoore at bea.com] Sent: Wednesday, May 14, 2003 10:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Enhancement request? Just a couple of enhancement suggestions for the future.... * a couple of user defined directives within a host definition and service definition. This would allow some flexibility to define additional info like physical location of a host, etc... * a date field/relationship within contacts? escalations? Trying to allow for variable "on-call schedules". Currently, I use cron to modify escalation for a rotating on-call schedule Timothy W. Moore bea Systems 4610 S. Ulster St. Suite 100 Denver, CO 80237 720-528-6177 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francois at iecholden.com Thu May 15 02:14:23 2003 From: francois at iecholden.com (Francois Meehan) Date: Wed, 14 May 2003 20:14:23 -0400 Subject: how to use multiple lines for hosts enumeration... Message-ID: Hi all, In entering info in hostgroups.cfg, I have a group that will contain 40 servers, how can I spread the servers into multiple lines? example, on the members line, I want to spread the servers name in multiple lines: # all servers host group definition define hostgroup{ hostgroup_name all-servers alias all-ctbr Servers contact_groups admins members server1,server2,...,server40 } Thanks in advance, Francois ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 06:07:23 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 15 May 2003 14:07:23 +1000 Subject: how to use multiple lines for hosts enumeration... In-Reply-To: ; from francois@iecholden.com on Wed, May 14, 2003 at 08:14:23PM -0400 References: Message-ID: <20030515140719.A92257@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, May 14, 2003 at 08:14:23PM -0400, Francois Meehan wrote: > Hi all, > > In entering info in hostgroups.cfg, I have a group that will contain 40 > servers, how can I spread the servers into multiple lines? > perhaps like this define hostgroup{ hostgroup_name Canberra Data alias Canberra LAN contact_groups network-admins members tsitc,networks2,wins,DH5000,Sir5000,Sir_29_3,Sir_29_4,Sir_29_8,Sir_29_160,Sir_29_161,Disc_NG_10,Disc_NG_11,Disc_S G_15,Disc_SG_16,Disc_SG_17,Disc_N1_20,Disc_N1_21,Disc_N1_22,Disc_N1_23,Disc_S1_25,Disc_S1_26,Disc_S1_27,Disc_N2_30,Disc_N2_31,Disc_N2_32,Disc_N2_ 33,Disc_S2_35,Disc_S2_36,Disc_S2_37,Disc_N3_40,Disc_N3_41,Disc_N3_42,Disc_S3_45,Disc_S3_46,Disc_S3_47,Disc_N4_50,Disc_N4_51,Disc_N4_52,Disc_S4_55 ,Disc_S4_56,Disc_S4_57,Sir_C1_60,Sir_C1_61,Sir_C1_62,Sir_C1_63,Sir_C1_64,Sir_C1_65,Sir_C1_66,Sir_C1_67,Sir_C1_68,Sir_B1_70,Sir_B1_71,Sir_B1_72,Si r_B1_73,Sir_B1_75,Sir_B1_76,Sir_A1_80,Sir_A1_81,Sir_A1_82,Sir_A1_83,Sir_A1_84,Sir_A1_85,Sir_A1_86,Sir_A1_87,Sir_A1_88,Sir_A1_89,Sir_A1_180,Sir_A1 _185,Sir_A1_186,Sir_A1_187,Sir_B3_90,Sir_B3_91,ServerIron,VirtualDNS,Sir_29_9,Sir_29_162,Disc_N3_43,Sir_C1_69,Disc_SG_18,Disc_S1_28,Sir_A1_92,Sir _A1_93,Sir_A1_94,dc-ups-snmp,FastIronII } The only limits are the length of the hostgroup buffers defined in the headers (search the arhives on gmane for discussion about extending those limits). It is only shells that interpret "\n" specially. To a C program like Nag, "\n" is only another character from 'type char'. Nag interprets it as white space. 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.Robertson at instill.com Thu May 15 08:52:43 2003 From: Chris.Robertson at instill.com (Chris Robertson) Date: Wed, 14 May 2003 23:52:43 -0700 Subject: Separate NAG from Web Interface Message-ID: One other possiblity would be to store all your service information in a MySQL database and replicate that to your webserver. Natively that probably wouldn't be a whole lot more secure than NFS but with a little work you should be able to pipe it across SSH and only have MySQL listening on localhost. Chris -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Wednesday, May 14, 2003 1:56 PM To: Anthony Brock; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Separate NAG from Web Interface NSCA could possibly do this. However, this means that you will also need to set up Nagios on your webserver. If you do *not* want to set up Nagios on your webserver, then you'll have to somehow make the cgi's and so on available to the webserver. One way would be to use rsync, but that would have to hit it pretty frequently. Another way would be to use NFS. But you've stated that your webserver is already hardened; I'm sure you understand the implications of enabling NFS on a secure host. Are you sure you don't want to set up a new webserver? jc > -----Original Message----- > From: Anthony Brock [mailto:Anthony_Brock at ous.edu] > Sent: Wednesday, May 14, 2003 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Separate NAG from Web Interface > > > Okay, I have Nagios 1.0 up and running on a test system. So far, I am > very impressed with this as compared to Big Brother (the system I was > previously using). > > However, how do you separate the web interface from the monitoring > server? I have a machine to house the Nagios software, however I don't > want to run an web server on this machine. Ideally, I would like to > have a web interface with much (if not all) of the current > functionality that is located on an existing (hardened and watched) > web server. Is this possible? Does anyone know how to do this? > > Tony > > > Anthony Brock > Unix Administrator/Network Engineer > Oregon University System > Chancellor's Office > > (541) 737-9607 > Anthony_Brock at ous.edu > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tom.DeBlende at dhl.com Thu May 15 09:09:42 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 15 May 2003 09:09:42 +0200 Subject: How to send mail from linux to an external address In-Reply-To: <20030514184012.9155.qmail@pod-163.dolphin-server.co.uk> References: <20030514184012.9155.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EC33D36.2060907@dhl.com> You could use a patched version of Pine (http://www.math.washington.edu/~chappa/pine/info/outgoing.html) and use an SMTP server. cybrhippy wrote: > How did you fix this? > > I currently do not run sendmail and I don't see how the mail command can send to an outside host on its own. > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tom.DeBlende at dhl.com Thu May 15 09:33:57 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 15 May 2003 09:33:57 +0200 Subject: heads-up: trap avalanche depletes swap and leads to killing Nag, Apache, named, ... In-Reply-To: <20030515000621.C226@IPAustralia.Gov.AU> References: <20030515000621.C226@IPAustralia.Gov.AU> Message-ID: <3EC342E5.8090408@dhl.com> Dear Stanley, Thanks for this interesting read. It should be of value to all of us in a sense that we should be aware that "no news" isn't always "good news". Was flap detection enabled for that passive service? Shouldn't flap detection prevent that notification flood? Kind regards, Tom Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > This sites Nag shares a host with snmptrapd, bind, apache and the usual > suspects. > > Nag is an ePN that can use up to half the 256 MB RAM (it is usually > cycled each month). > > This evening a load balancer fired off ~ 120 traps in 20 minutes after > an iPlanet directory server (apparently) started 'running out of file > descriptors' and therefore binding and unbinding to the listening > socket. > > tsitc> tail -800 nagios.log | grep -i process_ser | ./ns_log_localtime | > head > Wed May 14 19:13:09 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;2;Failed. SLB cannot reach port 389 on real server > (server failure) castor (10.0.100.11). > ... > Wed May 14 19:32:29 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;0;Ok. SLB can reach port 389 on real server castor > (10.0.100.11). > Wed May 14 19:33:09 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;2;Failed. SLB cannot reach port 389 on real server > (server failure) castor (10.0.100.11). > Wed May 14 19:33:09 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;0;Ok. SLB can reach port 389 on real server castor > (10.0.100.11). > Wed May 14 19:33:09 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;2;Failed. SLB cannot reach port 389 on real server > (server failure) castor (10.0.100.11). > Wed May 14 19:33:13 EXTERNAL > COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port > reachability trap;0;Ok. SLB can reach port 389 on real server castor > (10.0.100.11). > tsitc> > > snmptrapd is configured to run a /bin/sh script that interprets the trap > and injects the process_service_check_result command into the command > queue. > > On this occasion, however, apparently the swap became over committed > because > > May 14 19:30:18 tsitc /kernel: swap_pager: out of swap space > May 14 19:30:18 tsitc /kernel: swap_pager_getswapspace: failed > May 14 19:30:18 tsitc /kernel: pid 143 (httpd), uid 0, was killed: out > of swap space > May 14 19:30:18 tsitc /kernel: pid 58178 (httpd), uid 80, was > killed: out of swap space > May 14 19:32:12 tsitc /kernel: swap_pager_getswapspace: failed > May 14 19:32:41 tsitc /kernel: pid 81284 (nagios), uid 1000, was > killed: out of swap space > May 14 19:33:09 tsitc /kernel: swap_pager_getswapspace: failed > May 14 19:33:11 tsitc last message repeated 112 times > May 14 19:33:11 tsitc /kernel: pid 78804 (nagios), uid 1000, was > killed: out of swap space > May 14 19:33:11 tsitc last message repeated 2 times > May 14 19:33:13 tsitc /kernel: pid 78074 (nagios), uid 1000, was > killed: out of swap space > May 14 19:33:15 tsitc /kernel: pid 54997 (nagios), uid 1000, was > killed: out of swap space > May 14 19:33:15 tsitc /kernel: pid 91002 (nagios), uid 1000, was > killed: out of swap space > May 14 19:42:12 tsitc /kernel: pid 75 (named), uid 53, was killed: out > of swap space > > and I eventually realised that things were strangley quiet. > > Part of the collateral included 2 or 3 copies of a shell listening on > port 162. Perhaps this was the forked copy of snmptrapd before the > execve had completed. These processes had to be killed manually before > snmptrapd could be restarted (and bind to that port). > > Unfortunately, while I was using the host at the time, I failed to > notice the impact until I became aware of 120 Perl processes waiting on > the SMS lockfile. > > Obviously this was the cause of the memory over commit: even though they > were all asleep they still occupied 5 MB of memory each. > > There seems to be a need for me to rethink my notification tactics, but > in any case, a high rate or large number of service criticals is going > to make life hard for the Nag host. > > > Yours sincerely, > > > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chr at gli-micram.de Thu May 15 10:11:36 2003 From: chr at gli-micram.de (Christian Malolepszy) Date: Thu, 15 May 2003 10:11:36 +0200 Subject: pdf report generating addon Message-ID: <023001c31ab9$9aff7250$e105000a@micram.de> Hi all, is it possible to generate a detailed monthly pdf report for a hostgroup? We need a monthly detailed report about availability, scheduled downtime of hosts etc. Do anyone know a tool or addon for nagios? CU Christian Malolepszy ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miroslav.manasek at hitech.cz Thu May 15 10:42:01 2003 From: miroslav.manasek at hitech.cz (Miroslav Manasek) Date: 15 May 2003 10:42:01 +0200 Subject: Pending hosts Message-ID: <1052988121.7515.119.camel@manasek> Hi, I have a problem. When I add a host with no service runnig on it and I'm just checking host alive (pinging) nagios mark this host as pending (Not enough data to determine host status yet). This behavior suits me not. I want nagios to mark this hosts as Up if they responds to ping. Anybody knows what should I do ? Thank you for your advice. Kind regards -- Miroslav Manasek HiTechMedia Systems, s.r.o. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Thu May 15 11:01:39 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Thu, 15 May 2003 11:01:39 +0200 Subject: Pending hosts Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi Well then just add a check-host-alive service (which basically does a ping) for that host. :) fred > -----Original Message----- > From: Miroslav Manasek [mailto:miroslav.manasek at hitech.cz] > Sent: 15 May 2003 10:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pending hosts > > > Hi, > > I have a problem. When I add a host with no service runnig on it and > I'm just checking host alive (pinging) nagios mark this host > as pending > (Not enough data to determine host status yet). This behavior suits me > not. I want nagios to mark this hosts as Up if they responds to ping. > Anybody knows what should I do ? Thank you for your advice. > > Kind regards > -- > Miroslav Manasek > HiTechMedia Systems, s.r.o. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tom.DeBlende at dhl.com Thu May 15 11:33:59 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 15 May 2003 11:33:59 +0200 Subject: Pending hosts References: <1052988121.7515.119.camel@manasek> Message-ID: <3EC35F07.D4BE7B98@dhl.com> Miroslav Manasek wrote: > > Hi, > > I have a problem. When I add a host with no service runnig on it and > I'm just checking host alive (pinging) nagios mark this host as pending > (Not enough data to determine host status yet). This behavior suits me > not. I want nagios to mark this hosts as Up if they responds to ping. > Anybody knows what should I do ? I do. Reading the FAQs: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lukebfth at tlen.pl Thu May 15 11:41:46 2003 From: lukebfth at tlen.pl (Lukasz Lesniak) Date: Thu, 15 May 2003 11:41:46 Subject: =?iso-8859-2?Q?Extended=20information=20about=20hosts?= Message-ID: <20030515094146.DAA0A33F5D@rekin.go2.pl> I want to "pretty" my Nagios web interface and I un#-ed one line in cgi.cfg hostextinfo[xxx]=........................ in section Extended Host Information Ofcourse i put there my own strings separated by ";". There is 10 strings. Then /etc/init.d/nagios restart and ... I don't see an image beside my host name. Should I something enabled? ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Thu May 15 12:57:57 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Thu, 15 May 2003 12:57:57 +0200 Subject: Nokia BSD Message-ID: An HTML attachment was scrubbed... URL: From bas.vanderveen at kahuna.nl Thu May 15 12:46:46 2003 From: bas.vanderveen at kahuna.nl (Bas van der Veen) Date: Thu, 15 May 2003 12:46:46 +0200 Subject: Excessive alerting, every host is DOWN according to alerting Message-ID: Hi, Today, all of a sudden (I can't remember having done anything weird :) ) my FreeBSD Nagios box started mailing alerts for *every* host listed in Nagios. Weird stuff: - nagios.log doesn't show the alerts being sent out - /var/log/messages file doesn't show anything funny - /var/log/maillog shows nothing particular - the Nagios eventlog doesn't show anything related Any suggestion as to where the problem lies welcome... Bas -----Original Message----- From: Tom DE BLENDE [mailto:Tom.DeBlende at dhl.com] Sent: donderdag 15 mei 2003 11:34 To: Miroslav Manasek Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Pending hosts Miroslav Manasek wrote: > > Hi, > > I have a problem. When I add a host with no service runnig on it and > I'm just checking host alive (pinging) nagios mark this host as pending > (Not enough data to determine host status yet). This behavior suits me > not. I want nagios to mark this hosts as Up if they responds to ping. > Anybody knows what should I do ? I do. Reading the FAQs: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 footnote confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ****************************************************************** http://www.kahuna.nl ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Thu May 15 13:41:28 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 15 May 2003 13:41:28 +0200 Subject: Vedr.: Excessive alerting, every host is DOWN according to alerting Message-ID: Hello Check if your DNS is up - if you use DNS lookup in Nagios Best regards Thomas "Bas van der Veen" Til: Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] Excessive alerting, every host is DOWN according to alerting ceforge.net 15-05-03 12:46 Hi, Today, all of a sudden (I can't remember having done anything weird :) ) my FreeBSD Nagios box started mailing alerts for *every* host listed in Nagios. Weird stuff: - nagios.log doesn't show the alerts being sent out - /var/log/messages file doesn't show anything funny - /var/log/maillog shows nothing particular - the Nagios eventlog doesn't show anything related Any suggestion as to where the problem lies welcome... Bas -----Original Message----- From: Tom DE BLENDE [mailto:Tom.DeBlende at dhl.com] Sent: donderdag 15 mei 2003 11:34 To: Miroslav Manasek Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Pending hosts Miroslav Manasek wrote: > > Hi, > > I have a problem. When I add a host with no service runnig on it and > I'm just checking host alive (pinging) nagios mark this host as pending > (Not enough data to determine host status yet). This behavior suits me > not. I want nagios to mark this hosts as Up if they responds to ping. > Anybody knows what should I do ? I do. Reading the FAQs: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 footnote confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ****************************************************************** http://www.kahuna.nl ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 hrishys at yahoo.co.uk Thu May 15 14:08:43 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Thu, 15 May 2003 13:08:43 +0100 (BST) Subject: nagios Vs Big sister In-Reply-To: References: Message-ID: <20030515120843.82627.qmail@web12605.mail.yahoo.com> Hi All has anybody made a comparison of Nagios Vs Big Sister..functionality wise ..? regards Hrishy __________________________________________________ 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 eric at gatewayconnections.com Thu May 15 14:59:44 2003 From: eric at gatewayconnections.com (Eric Gregory) Date: Thu, 15 May 2003 07:59:44 -0500 Subject: Services and Hosts showing 100% undetermined under availability report Message-ID: <3EC38F40.30700@gatewayconnections.com> Anyone know what would cause this, if I view my service or host detail everything is almost always ok, but if I try to view the avaliability report all the hosts and all but 1 or 2 services always show 100% undetermined. If nagios can see that they're ok or not ok why would it not be able to determine availability? Any help is greatly appreciated. Thanks Eric ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 14:58:36 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 15 May 2003 08:58:36 -0400 Subject: check_nt Message-ID: <5.1.0.14.0.20030515085653.00b508d0@pop.icnet.com.ve> Hi, I want to monitor the cpu load generate for a process running in windows 2000. Anybody can help me? Thanks, Jeyri Bautista ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu May 15 15:49:44 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 15 May 2003 08:49:44 -0500 Subject: CGI Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D450A@mismail.ena.com> Edit status.c and recompile. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Lionel Verscheure To: nagios-users at lists.sourceforge.net Sent: Thu May 15 08:39:16 2003 Subject: [Nagios-users] CGI hiii ! i decide to change a little bit the "status.cgi" but this file is in a non-format which i can modifie ! like a binarie. So, can i do change in CGI ? Best Regard -- RuDa ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Lionel.Verscheure at loria.fr Thu May 15 15:39:16 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 15 May 2003 15:39:16 +0200 Subject: CGI Message-ID: <3EC39884.2070104@loria.fr> hiii ! i decide to change a little bit the "status.cgi" but this file is in a non-format which i can modifie ! like a binarie. So, can i do change in CGI ? Best Regard -- RuDa ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mathhew.Johnston at tma.co.uk Thu May 15 15:50:09 2003 From: Mathhew.Johnston at tma.co.uk (Mathhew Johnston) Date: Thu, 15 May 2003 14:50:09 +0100 Subject: Nagios Monitoring Exchange services Message-ID: You could use NSClient , and monitor the needed performance counters on the exchange servers. Mat. -----Original Message----- From: Baker, Brendon [mailto:BBaker at fnb.co.za] Sent: 15 May 2003 14:22 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios Monitoring Exchange services Hi everyone Can someone please help me with this. I need to be able to monitor exchange services on a few servers. The machines are running exchange server 5.5. Is there a plugin for nagios that can do this? Please help. Please bare in mind that I'm relatively new to this Regards Brendon ___________________________________________________________________________________________________ The views expressed in this email are, unless otherwise stated, those of the author and not those of the FirstRand Banking Group or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination. ________________________________ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Tom.DeBlende at dhl.com Thu May 15 16:12:10 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 15 May 2003 16:12:10 +0200 Subject: Services and Hosts showing 100% undetermined under availability report References: <3EC38F40.30700@gatewayconnections.com> Message-ID: <3EC3A03A.D2724F5E@dhl.com> Eric Gregory wrote: > > Anyone know what would cause this, if I view my service or host detail > everything is almost always ok, but if I try to view the avaliability > report all the hosts and all but 1 or 2 services always show 100% > undetermined. If nagios can see that they're ok or not ok why would it > not be able to determine availability? Because it failed to read the FAQs? http://www.nagios.org/faqs/viewfaq.php?faq_id=136 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lukebfth at tlen.pl Thu May 15 16:27:42 2003 From: lukebfth at tlen.pl (Lukasz Lesniak) Date: Thu, 15 May 2003 16:27:42 Subject: =?iso-8859-2?Q?Re:=20[Nagios-users]=20nrpe=20info=20question?= Message-ID: <20030515142742.7E3E333F8D@rekin.go2.pl> ANSWER IS: no. doron carmeli-shrim : >I i intend to run nrpe as a daemon and not under >inetd/xintd to i neet the entry in the /etc/services ? > >__________________________________ >Do you Yahoo!? >The New Yahoo! Search - Faster. Easier. Bingo. >http://search.yahoo.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 > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:11:41 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 15 May 2003 16:11:41 +0200 Subject: Services and Hosts showing 100% undetermined under availability report References: <3EC38F40.30700@gatewayconnections.com> Message-ID: <3EC3A01D.8BF4D993@dhl.com> Eric Gregory wrote: > > Anyone know what would cause this, if I view my service or host detail > everything is almost always ok, but if I try to view the avaliability > report all the hosts and all but 1 or 2 services always show 100% > undetermined. If nagios can see that they're ok or not ok why would it > not be able to determine availability? Because it failed to read the FAQs? http://www.nagios.org/faqs/viewfaq.php?faq_id=136 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doron_cs at yahoo.com Thu May 15 16:13:06 2003 From: doron_cs at yahoo.com (doron carmeli-shrim) Date: Thu, 15 May 2003 07:13:06 -0700 (PDT) Subject: nrpe info question Message-ID: <20030515141306.62884.qmail@web41410.mail.yahoo.com> I i intend to run nrpe as a daemon and not under inetd/xintd to i neet the entry in the /etc/services ? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.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 pvandenberghe at jetair.be Thu May 15 16:50:22 2003 From: pvandenberghe at jetair.be (Petervdb) Date: 15 May 2003 14:50:22 -0000 Subject: Possible to change Nagios default Intro Page? Message-ID: <20030515145022.13159.qmail@pod-163.dolphin-server.co.uk> Hi, Just modify your ubdex.html file Your frame code should have something like: ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu May 15 16:43:18 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 15 May 2003 16:43:18 +0200 Subject: CGI References: <3EC39884.2070104@loria.fr> Message-ID: <3EC3A786.2060800@datavis.se> change status.c in the source and recompile. /FredrikW Lionel Verscheure wrote: > hiii ! > > i decide to change a little bit the "status.cgi" > but this file is in a non-format which i can modifie ! > like a binarie. > > So, can i do change in CGI ? > > Best Regard > > -- > RuDa > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thu May 15 16:36:37 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 15 May 2003 10:36:37 -0400 (EDT) Subject: Discussion of future of Nagios NT client agents and their functions (NSClient and NRPE_Win) - long Message-ID: <200305151436.h4FEabSl009301@webmail1.magma.ca> All: Development of a second client for Windows (nrpe_win) has been started by Michael Wirtgen. This client will have much of the nrpe functionality that I had proposed for NSClient 3.0. Specifically, the use of the check_nrpe client, the use of ssl, use of responding to only pre-specified ip addresses and having nrpe_win functioning through executing plugins on the Windows server. The plugins can be written in any language - perl, phython, wsh, vb, c, delphi, whatever. With the increasing emphasis by Microsoft on exposing easy to use interfaces to system configuration and performance data (WMI), I see a very bright future for this approach. A plugin however has some limitations, it is executed, collects its data, determines the state and returns the state and a text string. This is good for many things (getting CPU percentages, etc.), however is not good where the monitoring process needs to be on-going. On-going monitoring is needed (or easier) for some types of checks. Anything which submits a passive check usually does so by a continually running process. A good example would be monitoring the NT Event Log and sending a passive check when certain criteria are met. For performance reasons, a plugin would have a lot of overhead to perform this type of check - it would have to maintain a state file, check it on exectuion to determine the event id of the last event it examined, it would have to open the event log and scan all events from that event id to the most current one and apply each event to the alerting criteria. This would take more time than most active checks are permitted (10-30 seconds) and would be a strain on Nagios to be waiting for the return for these types of checks if they are being executed against 20-50 Windows servers at once. A second example of where on-going monitoring is needed is when you are monitoring by Windows call-back functions. A call back function is where your program registers a function with Windows that Windows calls when an event has occured. The Service Control Manager uses call back functions to query a service for its status on startup and shutdown. This is why wrappers for services are less than ideal. There are a number of useful things in Windows that can be monitored through call-back functions, specifically a variety of security events are implemented through callbacks. Some of Microsoft's applications such as Message Queuing also use callbacks due to the asychronous nature of the events. A third example is wait functions. These use a messaging type paradigm where you register the wait function in one part of your code and then in another part you go into a wait loop and react when the function returns. Code in this needs to be threaded as this type of code obviously is blocking by nature. Good things that can be monitored by wait functions include FindFirstChangeNotification() for changes to files and directories and FindFirstPrinterChangeNotification() for changes to printers. I see NSClient evolving to handle these types events. NSClient would also continue to provide its existing functionality for backwards compatibility. I see it working as follows: NSClient is loaded as a service, monitoring only CPU (as currently). Check_nt requests active_check data and gets the results returned immediately. A mechanism then needs to be created to request NSClient go into event-based monitoring mode for things such as Event Log events, directory changes, printer changes, security changes, etc. I haven't decided on the best mechanism to submit these requests. The results would be sent to Nagios as passive check results. There could be a second Unix client that maintains a config file of NT clients and checks. This could be executed as part of the Nagios startup processes. This at least would keep configuration centralized. An alternative would be a windows client that populates a config file that NSClient reads on startup. Some may wonder - why two services instead of one? Well, with two developers, maintaining the code requires CVS and release coordination. Secondly, NSClient is currently in Delphi and short of someone else picking it up and re-writing it in C, it will continue to be in Delphi where nrpe_win will be in C/C++. Also, there is much to be said for modularity. BMC Patrol is an industrial strength monitoring tool for Windows and it implements its monitoring through 3 NT sevices, Oracle databases are typically implemented as 3-5 services. So I don't see a big issue with Nagios's windows client being implemented as two services. Thoughs, comments, suggestions? Tim Shouldice NSClient Support - http://support.tsmgsoftware.com This thread is also in the enhancements section of the above forum. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:33:36 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 15 May 2003 10:33:36 -0400 (EDT) Subject: check_nt Message-ID: <200305151433.h4FEXaPw009049@webmail1.magma.ca> Jeyri: Use the COUNTER option and the Process object, using the process you want to monitor as its instance and request the % Processor Time parameter. It will look something like this: check_nt -H myhost -v COUNTER -l "\\Process(myprocess\\% Processor Time" where myproces is the process you want the cpu load for. /Tim Shouldice NSClient support - http://support.tsmgsoftware.com On May 15, Jeyri Bautista wrote: > > Hi, > > I want to monitor the cpu load generate for a process running in windows 2000. > > Anybody can help me? > > Thanks, > > Jeyri Bautista > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 pvandenberghe at jetair.be Thu May 15 16:53:00 2003 From: pvandenberghe at jetair.be (Petervdb) Date: 15 May 2003 14:53:00 -0000 Subject: Monitor network usage In-Reply-To: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> References: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030515145300.13631.qmail@pod-163.dolphin-server.co.uk> Try out MRTG. Nagios has a check_mrtg command to check values. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Thu May 15 16:39:18 2003 From: David at feedroom.com (David Gitman) Date: Thu, 15 May 2003 10:39:18 -0400 Subject: Nagios Monitoring Exchange services Message-ID: I check to see if smtp, pop, imap, etc are running on the server. [-d] -----Original Message----- From: Baker, Brendon [mailto:BBaker at fnb.co.za] Sent: Thursday, May 15, 2003 9:22 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios Monitoring Exchange services Hi everyone Can someone please help me with this. I need to be able to monitor exchange services on a few servers. The machines are running exchange server 5.5. Is there a plugin for nagios that can do this? Please help. Please bare in mind that I'm relatively new to this Regards Brendon ___________________________________________________________________________________________________ The views expressed in this email are, unless otherwise stated, those of the author and not those of the FirstRand Banking Group or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination. ________________________________ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 francois at iecholden.com Thu May 15 16:39:46 2003 From: francois at iecholden.com (Francois Meehan) Date: Thu, 15 May 2003 10:39:46 -0400 Subject: how to use multiple lines for hosts enumeration... In-Reply-To: <20030515140719.A92257@IPAustralia.Gov.AU> References: <20030515140719.A92257@IPAustralia.Gov.AU> Message-ID: Hi Stanley, Tried you suggestion, but starting nagios with -v returns: Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 25. Which is the line in question... Regards, Francois Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > On Wed, May 14, 2003 at 08:14:23PM -0400, Francois Meehan wrote: > >>Hi all, >> >>In entering info in hostgroups.cfg, I have a group that will contain 40 >>servers, how can I spread the servers into multiple lines? >> > > > perhaps like this > > define hostgroup{ > hostgroup_name Canberra Data > alias Canberra LAN > contact_groups network-admins > members > tsitc,networks2,wins,DH5000,Sir5000,Sir_29_3,Sir_29_4,Sir_29_8,Sir_29_160,Sir_29_161,Disc_NG_10,Disc_NG_11,Disc_S > G_15,Disc_SG_16,Disc_SG_17,Disc_N1_20,Disc_N1_21,Disc_N1_22,Disc_N1_23,Disc_S1_25,Disc_S1_26,Disc_S1_27,Disc_N2_30,Disc_N2_31,Disc_N2_32,Disc_N2_ > 33,Disc_S2_35,Disc_S2_36,Disc_S2_37,Disc_N3_40,Disc_N3_41,Disc_N3_42,Disc_S3_45,Disc_S3_46,Disc_S3_47,Disc_N4_50,Disc_N4_51,Disc_N4_52,Disc_S4_55 > ,Disc_S4_56,Disc_S4_57,Sir_C1_60,Sir_C1_61,Sir_C1_62,Sir_C1_63,Sir_C1_64,Sir_C1_65,Sir_C1_66,Sir_C1_67,Sir_C1_68,Sir_B1_70,Sir_B1_71,Sir_B1_72,Si > r_B1_73,Sir_B1_75,Sir_B1_76,Sir_A1_80,Sir_A1_81,Sir_A1_82,Sir_A1_83,Sir_A1_84,Sir_A1_85,Sir_A1_86,Sir_A1_87,Sir_A1_88,Sir_A1_89,Sir_A1_180,Sir_A1 > _185,Sir_A1_186,Sir_A1_187,Sir_B3_90,Sir_B3_91,ServerIron,VirtualDNS,Sir_29_9,Sir_29_162,Disc_N3_43,Sir_C1_69,Disc_SG_18,Disc_S1_28,Sir_A1_92,Sir > _A1_93,Sir_A1_94,dc-ups-snmp,FastIronII > } > > The only limits are the length of the hostgroup buffers defined in the > headers (search the arhives on gmane for discussion about extending > those limits). > > It is only shells that interpret "\n" specially. To a C program like > Nag, "\n" is only another character from 'type char'. Nag interprets it > as white space. > > Yours sincerely. > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 15 17:31:02 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Thu, 15 May 2003 10:31:02 -0500 Subject: Nagios Monitoring Exchange services Message-ID: You could also check to see if the exchange services are running on the windows box using nsclient. Jason -----Original Message----- From: Baker, Brendon [mailto:BBaker at fnb.co.za] Sent: Thursday, May 15, 2003 8:22 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios Monitoring Exchange services Hi everyone Can someone please help me with this. I need to be able to monitor exchange services on a few servers. The machines are running exchange server 5.5. Is there a plugin for nagios that can do this? Please help. Please bare in mind that I'm relatively new to this Regards Brendon ________________________________________________________________________ ___________________________ The views expressed in this email are, unless otherwise stated, those of the author and not those of the FirstRand Banking Group or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination. ________________________________ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Keith.Hochberg at mtvi.com Thu May 15 17:24:39 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 15 May 2003 11:24:39 -0400 Subject: hostgroup escalations? Message-ID: <5F29693503507B4FB4032686ADF862670772B3@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From rhaig at hackboy.com Thu May 15 18:42:43 2003 From: rhaig at hackboy.com (Rob) Date: 15 May 2003 16:42:43 -0000 Subject: nsca-2.3 on Solaris Message-ID: <20030515164243.3903.qmail@pod-163.dolphin-server.co.uk> I'm trying to set up nsca-2.3 on a couple of solaris 8 boxen here, and I'm having nothing but trouble. here's what it looks like... ====================== gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca In file included from nsca.c:18: ../common/common.h:105: parse error before `u_int32_t' ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: parse error before `}' ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: parse error before `u_int32_t' ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class nsca.c: In function `handle_connection': nsca.c:789: `init_packet' undeclared (first use in this function) nsca.c:789: (Each undeclared identifier is reported only once nsca.c:789: for each function it appears in.) nsca.c:789: parse error before `send_packet' nsca.c:814: `send_packet' undeclared (first use in this function) nsca.c:816: `u_int32_t' undeclared (first use in this function) nsca.c: In function `handle_connection_read': nsca.c:866: `data_packet' undeclared (first use in this function) nsca.c:866: parse error before `receive_packet' nsca.c:867: `u_int32_t' undeclared (first use in this function) nsca.c:885: `receive_packet' undeclared (first use in this function) nsca.c:931: `packet_crc32' undeclared (first use in this function) nsca.c:933: `calculated_crc32' undeclared (first use in this function) In file included from netutils.c:32: ../common/common.h:105: parse error before `u_int32_t' ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: parse error before `}' ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: parse error before `u_int32_t' ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class In file included from utils.c:32: ../common/common.h:105: parse error before `u_int32_t' ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: parse error before `}' ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: parse error before `u_int32_t' ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class make: *** [nsca] Error 1 ========================== any clues anyone? I'm also not beyond running pre-compiled binaries if I can find them. But I haven't found them yet. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu May 15 18:41:54 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 15 May 2003 11:41:54 -0500 Subject: nrpe responses odd In-Reply-To: <1052938557.2806.5.camel@tux.its.uiowa.edu> References: <1052938557.2806.5.camel@tux.its.uiowa.edu> Message-ID: <1053016914.7772.21.camel@tux.its.uiowa.edu> Some examples that are "bad" but showing green.. OK 05-15-2003 11:30:19 0d 0h 17m 15s 1/4 DISK WARNING OK 05-15-2003 11:32:54 0d 0h 14m 40s 1/4 CRITICAL - 0 processes running with args OK 05-15-2003 11:35:26 0d 0h 13m 38s 1/4 CRITICAL - 0 processes running with args Just strange that it seems to happen when using nrpe, specially we're using 1.8. Dan On Wed, 2003-05-14 at 13:55, Daniel Wittenberg wrote: > I've finally gotten nrpe installed on some machines today (had been > using the bb->nagios gateway) and noticed something I haven't seen in > testing before. Some of the nrpe check commands come back with CRITICAL > or WARNING messages, but they are still showing up as green. Anyone > seen this before? > > Dan ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 18:42:00 2003 From: russell at quadrix.com (Russell Scibetti) Date: Thu, 15 May 2003 12:42:00 -0400 Subject: hostgroup escalations? References: <5F29693503507B4FB4032686ADF862670772B3@mtviny25.mtvi.com> Message-ID: <3EC3C358.5090007@quadrix.com> This might help you out. You can use the hostdependency object with "hostgroup_name" and "dependent_hostgroup_name" definitions: http://nagios.sourceforge.net/docs/1_0/templatetricks.html#hostdependency Russell Scibetti Quadrix Solutions Inc. Hochberg, Keith wrote: > I've read through all of the docs and FAQ's and I am not sure this can > be done. For future ease of administration I would like to be able to > set up hostgroup dependencies, such as: > > define hostgroupdependency{ > host_name network device > dependent_hostgroup_name hostgroup > notification_failure_criteria d,u > } > > I manage a rather large Nagios build (over 2,000 checks) and would > like to just be able to change hosts in my hostgroups file and have > the host dependencies already set up. I have service and host > dependencies set up but when I tried to set up the hostgroup > dependency it didn't like the syntax. Do you know any way around > this? I guess I can just copy and paste straight from the > hostgroups.cfg directly to the dependencies.cfg but I figured this > would be a cleaner way to do it. > > btw, I found this FAQ very helpful... I have seen many questions on > the difference between parent/child relationship and host dependencies > on this list and elsewhere: > http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > > Any help you can give me would be much appreciated! > > Thanks! > > -Keith > > ------------------------------------------------------- Enterprise > Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only > event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 happy at usg.edu Thu May 15 19:20:03 2003 From: happy at usg.edu (Mark Plaksin) Date: 15 May 2003 13:20:03 -0400 Subject: nsca-2.3 on Solaris In-Reply-To: <20030515164243.3903.qmail@pod-163.dolphin-server.co.uk> References: <20030515164243.3903.qmail@pod-163.dolphin-server.co.uk> Message-ID: Rob writes: > I'm trying to set up nsca-2.3 on a couple of solaris 8 boxen here, and I'm having nothing but trouble. This looks just like the problem nrpe 2.0b3 has under Solaris (and HP-UX). You can probably use the patch I posted for nrpe as a model for the changes needed for nsca: http://sourceforge.net/mailarchive/message.php?msg_id=4660259 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 15 19:59:53 2003 From: idavidso at juniper.net (Ian Davidson) Date: Thu, 15 May 2003 18:59:53 +0100 Subject: Extended information about hosts Message-ID: What I managed to do was, in the cgi.cfg file add: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg Then added entries into the hostextinfo.cfg such as define hostextinfo{ # Uses Windows icon host_name dcfrpar1,parists1,pate icon_image win40.png vrml_image win40.png statusmap_image win40.jpg } And so on. Works fine providing you have the image files in the correct place, which I think is /usr/local/nagios/share/images/logos Ian > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Lukasz Lesniak > Sent: 15 May 2003 12:42 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Extended information about hosts > > > I want to "pretty" my Nagios web interface and I > un#-ed one line in cgi.cfg hostextinfo[xxx]=........................ > in section Extended Host Information > Ofcourse i put there my own strings separated by ";". There > is 10 strings. > Then /etc/init.d/nagios restart > and ... I don't see an image beside my host name. > > Should I something enabled? > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara The only event dedicated to issues related to > Linux enterprise solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 shawn at greymetalprimer.com Thu May 15 20:01:54 2003 From: shawn at greymetalprimer.com (shawn at greymetalprimer.com) Date: Thu, 15 May 2003 14:01:54 -0400 (EDT) Subject: nsca-2.3 on Solaris In-Reply-To: <20030515164243.3903.qmail@pod-163.dolphin-server.co.uk> References: <20030515164243.3903.qmail@pod-163.dolphin-server.co.uk> Message-ID: I think the configure script is supposed to add #define u_int32_t unsigned int to common/config.h, but for some reason it doesn't. On 15 May 2003, Rob wrote: > > I'm trying to set up nsca-2.3 on a couple of solaris 8 boxen here, and I'm having nothing but trouble. > > here's what it looks like... > ====================== > gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca > In file included from nsca.c:18: > ../common/common.h:105: parse error before `u_int32_t' ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 docmagic.com Thu May 15 20:26:10 2003 From: nick at docmagic.com (Nick Bernstein) Date: Thu, 15 May 2003 11:26:10 -0700 Subject: FYI - RH 7.3 xinetd patch breaks nrpe bash scripts Message-ID: <1053023170.29247.21.camel@nick.docmagic.com> This is just a FYI for all of you who are using bash scripts to check various things through NRPE running under xinetd. They'll break with the new kernel patch. I'm guessing that part of the patch related to how programs are executed through xinetd (although there is no specific mention of this in the errata) but I've found that using sh instead of bash seems to fix the problem (which is strange, since /bin/sh is soft liked to /bin/bash). Anyway, hope that helps some of you avoid problems, Nick -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems 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 als at thangorodrim.de Thu May 15 21:03:44 2003 From: als at thangorodrim.de (Alexander Schreiber) Date: Thu, 15 May 2003 21:03:44 +0200 Subject: Nagios + APC UPSsssss In-Reply-To: <200305130855.41684.Michael.Huettig@Medien-Systempartner.de> References: <2E3E9736615DD311895D00105A9CADED014BCC69@eentsvr40.ehvert.com> <20030512193714.GA18024@mordor.angband.thangorodrim.de> <200305130855.41684.Michael.Huettig@Medien-Systempartner.de> Message-ID: <20030515190344.GB3668@mordor.angband.thangorodrim.de> On Tue, May 13, 2003 at 08:55:41AM +0200, Michael H?ttig wrote: > Am Montag, 12. Mai 2003 21:37 schrieb Alexander Schreiber: > > 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. > > > i tried to monitor a KYO FS7000 but got : Timeout - No response from host, > which do you monitor? Web-Interface shows a SEH-PrintServer. It is a Kyocera FS-6900. The check_hpdj plugin also nicely prints the status message (as also displayed in the printers LCD). > I think, there was a problem with OIDs / Private KYO-MIBs ... This might be possible. The data in a full SNMP dump of the printers JetDirect interface seems to indicate that the JetDirect interface itself (the ROMs) was made by HP in this particular printer. 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 als at thangorodrim.de Thu May 15 21:13:44 2003 From: als at thangorodrim.de (Alexander Schreiber) Date: Thu, 15 May 2003 21:13:44 +0200 Subject: Separate NAG from Web Interface In-Reply-To: References: Message-ID: <20030515191344.GC3668@mordor.angband.thangorodrim.de> On Wed, May 14, 2003 at 11:52:43PM -0700, Chris Robertson wrote: > One other possiblity would be to store all your service information in a > MySQL database and replicate that to your webserver. Natively that probably This does not sound like a good idea to me. The database backend of the current release of Nagios looks seriously broken to me. I initially set up my Nagios server with a PostgreSQL database as backend storage for all objects where this was supported and quickly (at around 20 hosts and 60 services) found duplicate object entries. Upon examing the source I concluded that the database backends are best avoided, switched to file based backend storage (which AFAIR is the default anyway) and that was the end of the trouble. > wouldn't be a whole lot more secure than NFS but with a little work you > should be able to pipe it across SSH and only have MySQL listening on > localhost. One approach would be to replicate the Nagios log- and datafiles in regular intervals (every minute or so, needs testing) from the Nagios server to your webserver using rsync over ssh. Not exactly elegant in my eyes, but it might just work. > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Wednesday, May 14, 2003 1:56 PM > To: Anthony Brock; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Separate NAG from Web Interface > > > NSCA could possibly do this. However, this means that you > will also need to set up Nagios on your webserver. > > If you do *not* want to set up Nagios on your webserver, > then you'll have to somehow make the cgi's and so on available > to the webserver. One way would be to use rsync, but that would > have to hit it pretty frequently. Another way would be to use > NFS. But you've stated that your webserver is already hardened; > I'm sure you understand the implications of enabling NFS on a > secure host. > > Are you sure you don't want to set up a new webserver? > > > -----Original Message----- > > From: Anthony Brock [mailto:Anthony_Brock at ous.edu] > > Sent: Wednesday, May 14, 2003 1:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Separate NAG from Web Interface > > > > > > Okay, I have Nagios 1.0 up and running on a test system. So far, I am > > very impressed with this as compared to Big Brother (the system I was > > previously using). > > > > However, how do you separate the web interface from the monitoring > > server? I have a machine to house the Nagios software, however I don't > > want to run an web server on this machine. Ideally, I would like to > > have a web interface with much (if not all) of the current > > functionality that is located on an existing (hardened and watched) > > web server. Is this possible? Does anyone know how to do this? > > 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 jlancaster at affinity.com Thu May 15 21:31:57 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Thu, 15 May 2003 15:31:57 -0400 Subject: nsca-2.3 on Solaris References: Message-ID: <004601c31b18$b2d4c740$f805ff0a@tekniq> Exactly. This is all you have to do. -Jason ----- Original Message ----- From: To: "Rob" Cc: Sent: Thursday, May 15, 2003 14:01 Subject: Re: [Nagios-users] nsca-2.3 on Solaris > I think the configure script is supposed to add > > #define u_int32_t unsigned int > > to common/config.h, but for some reason it doesn't. > > On 15 May 2003, Rob wrote: > > > > > I'm trying to set up nsca-2.3 on a couple of solaris 8 boxen here, and I'm having nothing but trouble. > > > > here's what it looks like... > > ====================== > > gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca > > In file included from nsca.c:18: > > ../common/common.h:105: parse error before `u_int32_t' > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 johannes.dagemark at op5.se Thu May 15 22:26:20 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 15 May 2003 22:26:20 +0200 Subject: Mac OSX References: <1053023170.29247.21.camel@nick.docmagic.com> Message-ID: <079601c31b20$3f3aafe0$1a4c1bac@wheeljd> Hello all I would like to have some opinions about monitoring Mac OSX servers with nagios. I guess there is plenty of people doing this. All I know of OSX is that it is some kind of unix in the core. Does this behaps mean that I can use nrpe or netsaint_statd? Looking forward to hear about what has been done with OSX. Regards Johannes Dagemark ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 15 23:51:18 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Thu, 15 May 2003 14:51:18 -0700 (PDT) Subject: Mac OSX In-Reply-To: <079601c31b20$3f3aafe0$1a4c1bac@wheeljd> References: <079601c31b20$3f3aafe0$1a4c1bac@wheeljd> Message-ID: > > I would like to have some opinions about monitoring Mac OSX servers with nagios. > I guess there is plenty of people doing this. All I know of OSX is that it is > some kind of unix in the core. Does this behaps mean that I can use nrpe or > netsaint_statd? > > Looking forward to hear about what has been done with OSX. > http://www.afp548.com/Articles/Jaguar/nagios-1.html Start there. ;-) ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 docmagic.com Fri May 16 01:22:33 2003 From: nick at docmagic.com (Nick Bernstein) Date: Thu, 15 May 2003 16:22:33 -0700 Subject: Enabeling External commands Message-ID: <1053040953.29247.305.camel@nick.docmagic.com> I turned cgi authentication on, and created a nice little .htaccess file and a nagios user, and allowed it to do everything in the cgi config file, but I still can't post comments or schedule downtime etc. I get the following error when I try: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! Read the documentation for information on how to enable external commands... What do I need to do to be able to schedule downtime, etc. I went through the docs again, but I couldn't find anything. -Nick -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems 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 vanny at artemis-it.com Fri May 16 04:35:36 2003 From: vanny at artemis-it.com (Soeun Vanny) Date: Fri, 16 May 2003 11:35:36 +0900 Subject: Any plugin to check memory usage on UNIX series? Message-ID: <001701c31b53$db2eaa90$5201a8c0@Vanny> Dear Madame and Sir, I do know that there is a plugin to probe memory usage on the Windows machine(i.e.nsclient),but i have no knowledge whether there is any plugin to check mem use on the Unix machine.If there is one, would you please release information to me how to reach it? Your consideration into this matter would be highly appreciated. Cordially yours, vanny -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Fri May 16 08:20:01 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 16 May 2003 08:20:01 +0200 Subject: Enabeling External commands In-Reply-To: <1053040953.29247.305.camel@nick.docmagic.com> References: <1053040953.29247.305.camel@nick.docmagic.com> Message-ID: <3EC48311.8090905@dhl.com> Nick Bernstein wrote: > I turned cgi authentication on, and created a nice little .htaccess file > and a nagios user, and allowed it to do everything in the cgi config > file, but I still can't post comments or schedule downtime etc. I get > the following error when I try: > > Sorry, but Nagios is currently not checking for external > commands, so your command will not be committed! > > Read the documentation for information on how to enable external > commands... > > What do I need to do to be able to schedule downtime, etc. I went > through the docs again, but I couldn't find anything. Read the documentation for information on how to enable external commands... again! How you can not find this -given the fact it's listed on the index page of the docco and Nagios gives a clear error message and suggestion- is beyond me. http://nagios.sourceforge.net/docs/1_0/extcommands.html ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 08:15:13 2003 From: fredrik.wanglund at datavis.se (=?ISO-2022-JP?B?RnJlZHJpayBXYSJuZ2x1bmQ=?=) Date: Fri, 16 May 2003 08:15:13 +0200 Subject: Any plugin to check memory usage on UNIX series? References: <001701c31b53$db2eaa90$5201a8c0@Vanny> Message-ID: <3EC481F1.5000005@datavis.se> Try Nagios-statd, http://www.twoevils.org/html/files.php /FredrikW Soeun Vanny wrote: > Dear Madame and Sir, > I do know that there is a plugin to probe memory usage on the Windows > machine(i.e.nsclient),but i have no knowledge whether there is any > plugin to check mem use on the Unix machine.If there is one, would you > please release information to me how to reach it? > Your consideration into this matter would be highly appreciated. > Cordially yours, > vanny ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 09:20:28 2003 From: testrm at kisters.com (Ralf Mellis) Date: Fri, 16 May 2003 09:20:28 +0200 Subject: Probs with notification from passive check In-Reply-To: <3EC25AD8.8010303@kisters.com> References: <3EC25AD8.8010303@kisters.com> Message-ID: <3EC4913C.7040806@kisters.com> Ralf Mellis wrote: > I'm using nag 1.0 (linux) with nrpe 1.8/2.03b (various os). > I have setup a passive check on my nagios host for a w2k test box. > The communication from the w2k box to the nagios host is done via ssh, > using plink from putty (0.52). I have changed the "citrix" wsh script > (which was attached to various mails here) to suit my needs. > Now: Changing the status of my service works fine, I can monitor this in > the nagios.log and in the web gui. Only notification is not (always) > successfull. From time to time I get a mail to the contact defined for > my test service, but mostly not (At this time I have not found out > exactly in which cases I get one and when not). > I have tested a little bit, and I'm more and more confused. Sometimes I get notifications, but in most cases not. Some snippets out of my "nagios.log": #### snip ##### nagios.log:[1053016279] SERVICE ALERT: w2kwks-rm;Test WSH;CRITICAL;SOFT;2;Test WSH external: Critical nagios.log:[1053016279] SERVICE ALERT: w2kwks-rm;Test WSH;UNKNOWN;HARD;3;Test WSH external: Unknown nagios.log:[1053016279] SERVICE NOTIFICATION: RaMe;w2kwks-rm;Test WSH;UNKNOWN;notify-by-email;Test WSH external: Unknown nagios.log:[1053016281] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK. nagios.log:[1053016286] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;2;Test WSH external: Critical nagios.log:[1053016289] SERVICE ALERT: w2kwks-rm;Test WSH;OK;HARD;3;Test WSH external: OK. nagios.log:[1053016289] SERVICE NOTIFICATION: RaMe;w2kwks-rm;Test WSH;OK;notify-by-email;Test WSH external: OK. nagios.log:[1053016290] SERVICE ALERT: w2kwks-rm;Test WSH;CRITICAL;SOFT;1;Test WSH external: Critical nagios.log:[1053016291] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK. ... [1053068857] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;2;Test WSH external: Critical [1053068859] SERVICE ALERT: w2kwks-rm;Test WSH;CRITICAL;SOFT;1;Test WSH external: Critical [1053068902] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;3;Test WSH external: Unknown [1053068909] SERVICE ALERT: w2kwks-rm;Test WSH;UNKNOWN;SOFT;2;Test WSH external: Unknown [1053068946] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;w2kwks-rm;Test WSH;0;Test WSH external: OK. [1053068949] SERVICE ALERT: w2kwks-rm;Test WSH;OK;SOFT;3;Test WSH external: OK. #### snip ends #### I don't know, where I can search anymore... Any help appreciated. 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 Ton.Voon at egg.com Fri May 16 10:18:47 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 16 May 2003 09:18:47 +0100 Subject: Mac OSX Message-ID: <53104E20A25CD411B556009027E50636079A9AD1@pnnemp02.pn.egg.com> Cool! Glad to hear nagios is being used in a production environment on Mac OS X. Release 1.3.0 (and the latest HEAD snapshot) of the plugins should compile fine without the changes mentioned in the article. I've sent an email to the author to let him know. > -----Original Message----- > From: Jonathan Nichols [SMTP:jnichols at pbp.net] > Sent: Thursday, May 15, 2003 10:51 PM > To: Johannes Dagemark > Cc: Nagios-Users > Subject: Re: [Nagios-users] Mac OSX > > > > > I would like to have some opinions about monitoring Mac OSX servers with > nagios. > > I guess there is plenty of people doing this. All I know of OSX is that > it is > > some kind of unix in the core. Does this behaps mean that I can use nrpe > or > > netsaint_statd? > > > > Looking forward to hear about what has been done with OSX. > > > http://www.afp548.com/Articles/Jaguar/nagios-1.html > > Start there. ;-) > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Fri May 16 10:21:13 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Fri, 16 May 2003 10:21:13 +0200 Subject: $HOSTNAME$ Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi Is this a bug? I don't get the host associated with the service when I try to use $HOSTNAME$ as a macro when sending service notifications. Instead I get my local shell environment variable $HOSTNAME. In other words, if I run nagios on box X, monitoring a service A on box Z, then I get X as my $HOSTNAME$ instead of Z. Should I be defining my commands differently perhaps? my notify-by-email command has changed to this: define command { command_name host-notify-by-email command_line /usr/local/nagios/libexec/host-notify-by-email.pl "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTSTATE$" "$HOSTADDRESS$" "$HOSTALIAS$" "$OUTPUT$" "$DATETIME$" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } where I wrote my own script to form my email (/usr/local/nagios/libexec/host-notify-by-email.pl). Ta Fred Albrecht Engineering: Senior Specialist Authentication TISCALI (PTY) LTD THE COMMUNICATION COMPANY Techno Centre, 082 Alexandra Road, Bellville, 7530 Mobile : +27 825200165 Office : 021 940 9807 Fax : +27 21 940 9103 E-Mail : Disclaimer: This email is considered a business record and is therefore property of Tiscali. This email, and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Tiscali. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify disclaimer at za.tiscali.com . -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 16 11:25:59 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 16 May 2003 19:25:59 +1000 Subject: $HOSTNAME$ In-Reply-To: ; from Fred.Albrecht@za.tiscali.com on Fri, May 16, 2003 at 10:21:13AM +0200 References: Message-ID: <20030516192554.A229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and sauggest that your report is consistent (as you say) with the macro not being replaced in the command line handed to /bin/sh On Fri, May 16, 2003 at 10:21:13AM +0200, Fred Albrecht wrote: > Hi > > Is this a bug? I don't get the host associated with the service when I try to use $HOSTNAME$ as a macro when sending service notifications. Instead I get my local shell environment variable $HOSTNAME. In other words, if I run nagios on box X, monitoring a service A on box Z, then I get X as my $HOSTNAME$ instead of Z. Should I be defining my commands differently perhaps? > > my notify-by-email command has changed to this: > define command { > command_name host-notify-by-email > command_line /usr/local/nagios/libexec/host-notify-by-email.pl "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTSTATE$" "$HOSTADDRESS$" "$HOSTALIAS$" "$OUTPUT$" "$DATETIME$" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > You could try . inserting a space between 'NAME$' and '!' (in case the Nag lexer is looking for white space or end of string) . if pain persists, then run up a Test Nag built with --enable-DEBUG4 and run it with check_dummy (reporting critical on a stripped config). The interesting stuff will be visible when you run it in foreground. This is a straightforward procedure. All you need do is . feed configure your options + debug + a new prefix (so it doesn't use your prod config . install it into the test (--prefix) path . strip your config and make it notify you often . run it in foreground (no -d) This should make the case plane for a Nag bug. > where I wrote my own script to form my email (/usr/local/nagios/libexec/host-notify-by-email.pl). > > (if /bin/sh can run it, it'll work). 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 eduardoleitao at interacesso.pt Fri May 16 11:36:43 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 16 May 2003 10:36:43 +0100 Subject: view statusmap Message-ID: <1053077803.10486.20.camel@Monitor> Hi all, I'm using nagios 1.0 in RedHat 8.0 with the libpng-1.2.2-6, libjpeg-6b-21, libgd-1.8.4-3cl and zlib-1.1.4-4. I can't see images in nagios like you see in the attachment. If someone knows thw reason why i can't see images please answer me. Best regards Edu ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Fri May 16 11:39:32 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 16 May 2003 10:39:32 +0100 Subject: View images Message-ID: <1053077972.10486.23.camel@Monitor> Sorry for the duplicated mail but i forgot the attachment in the first Hi all, I'm using nagios 1.0 in RedHat 8.0 with the libpng-1.2.2-6, libjpeg-6b-21, libgd-1.8.4-3cl and zlib-1.1.4-4. I can't see images in nagios like you see in the attachment. If someone knows thw reason why i can't see images please answer me. Best regards Edu -------------- next part -------------- A non-text attachment was scrubbed... Name: statusmap.png Type: image/png Size: 69103 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 16 11:43:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 16 May 2003 19:43:43 +1000 Subject: heads-up: trap avalanche depletes swap and leads to killing Nag, Apache, named, ... In-Reply-To: <3EC342E5.8090408@dhl.com>; from Tom.DeBlende@dhl.com on Thu, May 15, 2003 at 09:33:57AM +0200 References: <20030515000621.C226@IPAustralia.Gov.AU> <3EC342E5.8090408@dhl.com> Message-ID: <20030516194340.B229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you very much for your letter and say, On Thu, May 15, 2003 at 09:33:57AM +0200, Tom DE BLENDE wrote: > > Was flap detection enabled for that passive service? Shouldn't flap > detection prevent that notification flood? I am very grateful for your helpful suggestion. I have enabled the global config directive in nagios.cfg and await with much interest the next occurrence. I have been writing some very unsafe and inefficient CGIs recently that today subjected the Nag host to a 1-1.5X memory over-commit (3-400 MB when RAM + swap == 512 MB). Apart from the OS killing the apache child running the CGI, all was well. It appears that the most dangerous thing is a large number of processes rather than a few big ones Thanks for the heads up about this. Nag is simply __stuffed__ with sophisticated innovations such as this (and freshness checking). Given that the docco suggests (in at least two places) that 'Before I go any futher, let me say that flapping detection has been a little difficult to implement. How exactly does one determine what "too frequently" means in regards to state changes for a particular host or service? When I first started looking into flap detection I tried to find some information on how flapping could/should be detected. After I couldn't find any, I decided to settle with what seemed to be a reasonable solution. The methods by which Nagios detects service and host state flapping are described below...' this is a new innovation, how well does it work ? > > Kind regards, > Tom > 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 fredrik.wanglund at datavis.se Fri May 16 12:09:51 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 16 May 2003 12:09:51 +0200 Subject: Serviceescalation for many services References: Message-ID: <3EC4B8EF.7020404@datavis.se> I would like to have two contacs for all services on all hosts in one hostgroup. One contact shall receive only one mail and the other contact will be sms'd every 5 minutes. Do I have to write two serviceescalation-definitions for each service (almost everyone have unique names), or can I use wildcards/grouping in some way? /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 BBaker at fnb.co.za Fri May 16 12:26:19 2003 From: BBaker at fnb.co.za (Baker, Brendon) Date: Fri, 16 May 2003 12:26:19 +0200 Subject: Nagios email alerts Message-ID: Hi Everyone I was just wondering if anybody knows how Nagios sends out email's. Is it via sendmail or some other server. Mine seems to be taking a long time to send out an alert after it has detected that a service is down. Regards Brendon ___________________________________________________________________________________________________ The views expressed in this email are, unless otherwise stated, those of the author and not those of the FirstRand Banking Group or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination. ________________________________ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoulton at cambridge.org Fri May 16 12:54:45 2003 From: amoulton at cambridge.org (Alexei Moulton) Date: Fri, 16 May 2003 11:54:45 +0100 Subject: nsca connection problem Message-ID: <5.1.1.6.2.20030516114803.03d61338@sun1.cup.cam.ac.uk> Hi, I am trying to get nsca working but whenever i run send_nsca i get the following output: Error: Server closed connection before init packet was received Error: Could not read init packet from server i know that inetd is configured ok because it does connect (to port 5667) before the connection being immediately closed. I have tried with and without encryption enabled - always the same result. any help on how to go about debugging this would be greatly appreciated. many thanks, Alexei. ------------------------------------------------- Alexei Moulton Systems Developer Cambridge University Press 01223 32 6035 ------------------------------------------------- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 13:39:22 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 16 May 2003 13:39:22 +0200 Subject: Nagios email alerts References: Message-ID: <3EC4CDEA.9060404@datavis.se> Look at your command-definitions (usually in misccommands.cfg). By default Nagios uses 'mail' to put the mail in the queue. You then have to configure Sendmail or another MTA do be able to deliver the mail to other hosts. /FredrikW Baker, Brendon wrote: >Hi Everyone > >I was just wondering if anybody knows how Nagios sends out email's. Is it >via sendmail or some other server. Mine seems to be taking a long time to >send out an alert after it has detected that a service is down. > >Regards >Brendon > >___________________________________________________________________________________________________ > > >The views expressed in this email are, unless otherwise stated, those of the author and not those >of the FirstRand Banking Group or its management. The information in this e-mail is confidential >and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. >If you are not the intended recipient, any disclosure, copying, distribution or any action taken or >omitted in reliance on this, is prohibited and may be unlawful. >Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data >transmitted electronically and to preserve the confidentiality thereof, no liability or >responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted >or does not reach its intended destination. > > ________________________________ > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 pascal.renaut at electricite-strasbourg.fr Fri May 16 14:11:38 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Fri, 16 May 2003 14:11:38 +0200 Subject: Check_oracle - Confidenciality Message-ID: Hi all, I use nrpe for checking database on remote server with check_oracle. In my nrpe.cfg on my remote server, i 've enterer the commands with all arguments like login, password,... That's the problem Can you help me please ? .................................................................................................... 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 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 14:04:57 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Fri, 16 May 2003 08:04:57 -0400 Subject: Check_snmp Issue Message-ID: <7D55A9A792CFA24C8918768B5F977A2104EA81@quigon.hosystems> I've checked the archives and online for this problem, but any solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. As you can see below, if I do an snmpget on ifNumber.0, it returns 107. That's fine and dandy since I don't really care what the value is. If I do a check_snmp to the same OID, I get 107, but it is a warning status. If I set the warning range to 108:, it returns a warning state, but the value of 107 is between asterisks. If I set the critical range to 108:, I get a critical state with the value of 107 between asterisks. I know just enough SNMP to be dangerous, but I am obviously missing something basic here. Can anyone help? [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ ../bin/nagios -V Nagios 1.0 ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 14:55:40 2003 From: Wim.DeGeeter at bt.be (Wim.DeGeeter at bt.be) Date: Fri, 16 May 2003 14:55:40 +0200 Subject: FW: Cannot see Service and Process commands Message-ID: Hi, We have configured nagios and it's working fine. Via the Web we cannot access the Service and Process commands. Always get the messages: 'It appears as though nagios is not running, so commands are temporarily unavailable. But nagios is running. Didn't find also a permission problem. Any other possibilities. It's running on Debian Thanks and regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Fri May 16 15:00:35 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 16 May 2003 14:00:35 +0100 Subject: Check_oracle - Confidenciality Message-ID: <53104E20A25CD411B556009027E50636079A9AE5@pnnemp02.pn.egg.com> I think you are referring to the tablespace and cache tests in check_oracle. Usual techniques of hiding usernames and passwords is to use a file, but that would mean a config file on each server. Another trick is passing it through the environment variables, but we can't really do that here, unless you enter it in nrpe.cfg. Both these offer no security if the filesystem is exposed. I suggest you create a user on Oracle that is only allowed to do minimum checks with readonly access. This way, if the username and password are found, the database is not comprimised. Ton > -----Original Message----- > From: Pascal RENAUT/GROUPE-ES > [SMTP:pascal.renaut at electricite-strasbourg.fr] > Sent: Friday, May 16, 2003 1:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_oracle - Confidenciality > > Hi all, > > I use nrpe for checking database on remote server with check_oracle. In my > nrpe.cfg on my remote server, i 've enterer the commands with all > arguments > like login, password,... > That's the problem > Can you help me please ? > .......................................................................... > .......................... > 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 > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 15:10:07 2003 From: christophe.belmont at c-s.fr (BELMONT Christophe) Date: Fri, 16 May 2003 15:10:07 +0200 Subject: Status Map for Solaris 8 Message-ID: <003801c31bac$79174980$a53702c2@CLEOPATRE> Hi, I'm having difficulties when I try to show the Status Map under my Nagios running on Solaris 8. The browser shows me "Internal Server Error". The apache log file shows me that the library cannot be found: ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory [Fri May 16 15:06:32 2003] [error] [client] Premature end of script headers: /logiciels/nagios/sbin/statusmap.cgi But when I issue a find command, the libraries are in place: root at myserver # find / -name libgd.so.2 /logiciels/nagios/sources/.libs/libgd.so.2 /usr/local/lib/libgd.so.2 I was wondering whether someone has had the same problem before... might just be a problem of libraries path but I don't know where. Thanks 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 ceva at mailops.com Fri May 16 15:25:56 2003 From: ceva at mailops.com (Eduardo Faria) Date: Fri, 16 May 2003 09:25:56 -0400 Subject: make all Message-ID: <200305160925.AA168624320@mailops.com> hi people I am trying to install nagios on a debian 3.0, ./configure works fine, but when I try make all , after some time I have this: debian:/opt/nagios-1.0# make all cd ./base && make make[1]: Entering directory `/opt/nagios-1.0/base' gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o seha ndlers.o utils.o sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdat a/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c perfdata.o ../xdata/xpdfile.c ../common/downtime.c ../xda ta/xdddefault.c -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoade r/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt -lm -o nag ios make[1]: Leaving directory `/opt/nagios-1.0/base' cd ./cgi && make make[1]: Entering directory `/opt/nagios-1.0/cgi' gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCGI -c -o auth.o auth.c gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCGI -c -o popen.o popen.c gcc -g -O2 -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.6.1/CORE -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi ../xdata/xodtemplate.c: In function `xodtemplate_add_object_property': ../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this function) ../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported only once ../xdata/xodtemplate.c:1344: for each function it appears in.) ../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use in this function) make[1]: *** [avail.cgi] Error 1 make[1]: Leaving directory `/opt/nagios-1.0/cgi' make: *** [all] Error 2 what this error could be, what I can do? Thanks in advance Eduardo Ceva ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 15:59:28 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Fri, 16 May 2003 08:59:28 -0500 (CDT) Subject: check_ntp Message-ID: check_ntp -H $HOSTNAME$ works just fine from the command line of the nagios server. I cannot get the web interface to display a check. I'm confused as to whether the check occurs at all (since it works from the command line) or if Nagios is, in effect, not updating this particular service. The error message I get is: "NTP CRITICAL: No suitable peer server found - Server for ntp probably down" What I've done so far: *Updated all my plugins to the latest version from sourceforge. *Specified the location of ntpdate in utils.pm to reflect the location on the nagios server (this location is different on the client I'm checking). *ntpd seemed to be problematic on the host server, so I've stopped ntpd as a daemon and am running a cron job every 60 seconds to synchronize with my time server (stratum 2 server). Any assistance is greatly appreciated, 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 dbishop at ehvert.com Fri May 16 15:52:38 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 16 May 2003 09:52:38 -0400 Subject: Check_snmp Issue Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC90@eentsvr40.ehvert.com> Good morning, Why not check something with a more static value. if you do a ./check_snmp -H 192.168.0.1 -C public -o sysName.0 it will return the system name. This, if SNMP is enabled, will result in an OK return code each time. later, dean -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Friday, May 16, 2003 8:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_snmp Issue I've checked the archives and online for this problem, but any solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. As you can see below, if I do an snmpget on ifNumber.0, it returns 107. That's fine and dandy since I don't really care what the value is. If I do a check_snmp to the same OID, I get 107, but it is a warning status. If I set the warning range to 108:, it returns a warning state, but the value of 107 is between asterisks. If I set the critical range to 108:, I get a critical state with the value of 107 between asterisks. I know just enough SNMP to be dangerous, but I am obviously missing something basic here. Can anyone help? [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ ../bin/nagios -V Nagios 1.0 ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 HarlanRichardC at JohnDeere.com Fri May 16 16:00:37 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: 16 May 2003 14:00:37 -0000 Subject: Only want to be notified if a service/host fails check twice? Message-ID: <20030516140037.14616.qmail@pod-163.dolphin-server.co.uk> Set your Max_check_attempts to 2 and your retry_interval to 5 min. Then the system will notice the problem at the first check but will not send out notification till the services fails the check the second time 5 min latter. Hopes that 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 tim at mintoskatingclub.com Fri May 16 16:05:54 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Fri, 16 May 2003 10:05:54 -0400 (EDT) Subject: Check_oracle - Confidenciality Message-ID: <200305161405.h4GE5s5i012899@webmail2.magma.ca> In our shop, we have Oracle schedule and run the job internally and dump the results to a file. We then write a script to read and parse the file. This script is called from NRPE. This avoided the whole Oracle user id / password bit. Tim Shouldice On May 16, "Voon, Ton" wrote: > > I think you are referring to the tablespace and cache tests in check_oracle. > Usual techniques of hiding usernames and passwords is to use a file, but > that would mean a config file on each server. Another trick is passing it > through the environment variables, but we can't really do that here, unless > you enter it in nrpe.cfg. Both these offer no security if the filesystem is > exposed. > > I suggest you create a user on Oracle that is only allowed to do minimum > checks with readonly access. This way, if the username and password are > found, the database is not comprimised. > > Ton > > > -----Original Message----- > > From: Pascal RENAUT/GROUPE-ES > > [SMTP:pascal.renaut at electricite-strasbourg.fr] > > Sent: Friday, May 16, 2003 1:12 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Check_oracle - Confidenciality > > > > Hi all, > > > > I use nrpe for checking database on remote server with check_oracle. In my > > nrpe.cfg on my remote server, i 've enterer the commands with all > > arguments > > like login, password,... > > That's the problem > > Can you help me please ? > > .......................................................................... > > .......................... > > 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 > > > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise solutions > > www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 HarlanRichardC at JohnDeere.com Fri May 16 16:16:02 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: 16 May 2003 14:16:02 -0000 Subject: Check_nt and process count Message-ID: <20030516141602.18064.qmail@pod-163.dolphin-server.co.uk> Anybody know of a way to count the number of a cretin process. So say if Java.exe has more then four process then notify me of a problem. 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 Aaron.Conaway at HOSystems.com Fri May 16 16:42:56 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Fri, 16 May 2003 10:42:56 -0400 Subject: Check_snmp Issue Message-ID: <7D55A9A792CFA24C8918768B5F977A2104EA82@quigon.hosystems> Dean, Thanks for the reply, but I get warnings (or criticals) no matter what OID I use. [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysName.0 SNMP WARNING - "********" [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysUpTime.0 SNMP WARNING - Timeticks: (509177416) 58 days, 22:22:54.16 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysContact.0 SNMP WARNING - "****@****.com" I also got an email from Fredrik W?nglund (thanks, Fredrik) suggesting using "check_udp", but I get the following result; I've tried using both hostname and IP address. [nagios at palpatine libexec]$ ./check_udp -H ******** -p 161 Host name was not supplied Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] [-e expect] [-s send] [-t to_sec] [-v] It seems that my box just does not want to use SNMP at all. :( ---------- 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: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Friday, May 16, 2003 9:53 AM To: Aaron Conaway; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_snmp Issue Good morning, Why not check something with a more static value. if you do a ./check_snmp -H 192.168.0.1 -C public -o sysName.0 it will return the system name. This, if SNMP is enabled, will result in an OK return code each time. later, dean -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Friday, May 16, 2003 8:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_snmp Issue I've checked the archives and online for this problem, but any solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. As you can see below, if I do an snmpget on ifNumber.0, it returns 107. That's fine and dandy since I don't really care what the value is. If I do a check_snmp to the same OID, I get 107, but it is a warning status. If I set the warning range to 108:, it returns a warning state, but the value of 107 is between asterisks. If I set the critical range to 108:, I get a critical state with the value of 107 between asterisks. I know just enough SNMP to be dangerous, but I am obviously missing something basic here. Can anyone help? [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ ../bin/nagios -V Nagios 1.0 ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 rhaig at hackboy.com Fri May 16 16:42:29 2003 From: rhaig at hackboy.com (Rob) Date: 16 May 2003 14:42:29 -0000 Subject: missing passive updates Message-ID: <20030516144229.24448.qmail@pod-163.dolphin-server.co.uk> how do I get nagios to not claim a passive update is missing until the freshness threshold has expired? I'm using NSCA to do passive updates, and apparently they don't all get through. (I guess I'll have to write some random sleeps into my perl scripts). However, I set the freshness_threshold to 1800sec, and set the check attempts and intervals to keep trying for 30min (6 tries at 5min intervals). I still get missing passives quite a lot though. Often in less than the 1800sec. I don't want to put nagios into production here until I can resolve this, and I don't want to fix it with some wild hack. Can anyone 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 dbishop at ehvert.com Fri May 16 17:00:37 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 16 May 2003 11:00:37 -0400 Subject: Check_nt and process count Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC93@eentsvr40.ehvert.com> perhaps this is a job for SNMP. you'd have to have a look at the MIB (www.mibdepot.com) later, dean -----Original Message----- From: Harlan Richard C [mailto:HarlanRichardC at JohnDeere.com] Sent: Friday, May 16, 2003 10:16 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt and process count Anybody know of a way to count the number of a cretin process. So say if Java.exe has more then four process then notify me of a problem. 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 Lionel.Verscheure at loria.fr Fri May 16 18:01:30 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Fri, 16 May 2003 18:01:30 +0200 Subject: nrpe problem Message-ID: <3EC50B5A.7070907@loria.fr> hi ! i try different things but i have always the same problem only on one of my nrpe client !!! the command on nagios return : CHECK_NRPE: Response packet had invalid CRC32. And there is nothing in the nrpe log ! I don't find the problem. I compil nrpe on the client The only difference between this one is that it work in "inet" and the other in "xinetd" .. perhaps this line is not well in "inetd.conf" : "nrpe stream tcp nowait netsaint /usr/bin/nrpe nrpe -c /etc/nrpe.cfg -i" thanks for help. Best regards. -- Lionel Verscheure ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 18:15:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 May 2003 12:15:38 -0400 (EDT) Subject: Check_snmp Issue In-Reply-To: <7D55A9A792CFA24C8918768B5F977A2104EA82@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A2104EA82@quigon.hosystems> Message-ID: You are getting the warnings because some of the MIBs in your installation are not parsing cleanly. check_snmp will load all the mibs in the path in order to translate ifnumber.0 into .1.3.6.1.2.1.2.1.0. If there are errors reading the mibs, there is error on stderr, hence the warning. If you can run check_snmp with the explicit OID, then you can add "-m : " switch which essentially creates an empty path list to search for mibs. With no mibs being read - you shouldn't have any parsing issue and check_snmp will run a bit faster as well. -sg On Fri, 16 May 2003, Aaron Conaway wrote: > Dean, > > Thanks for the reply, but I get warnings (or criticals) no matter what OID I use. > > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysName.0 > SNMP WARNING - "********" > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysUpTime.0 > SNMP WARNING - Timeticks: (509177416) 58 days, 22:22:54.16 > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o sysContact.0 > SNMP WARNING - "****@****.com" > > > > > > I also got an email from Fredrik W?nglund (thanks, Fredrik) suggesting using "check_udp", but I get the following result; I've tried using both hostname and IP address. > > [nagios at palpatine libexec]$ ./check_udp -H ******** -p 161 > Host name was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > It seems that my box just does not want to use SNMP at all. :( > > ---------- > 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: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Friday, May 16, 2003 9:53 AM > To: Aaron Conaway; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_snmp Issue > > > Good morning, > > Why not check something with a more static value. if you do a ./check_snmp -H 192.168.0.1 -C public -o sysName.0 > > it will return the system name. This, if SNMP is enabled, will result in an OK return code each time. > > > later, > dean > > > -----Original Message----- > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > Sent: Friday, May 16, 2003 8:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_snmp Issue > > > I've checked the archives and online for this problem, but any solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. > > As you can see below, if I do an snmpget on ifNumber.0, it returns 107. That's fine and dandy since I don't really care what the value is. If I do a check_snmp to the same OID, I get 107, but it is a warning status. If I set the warning range to 108:, it returns a warning state, but the value of 107 is between asterisks. If I set the critical range to 108:, I get a critical state with the value of 107 between asterisks. > > I know just enough SNMP to be dangerous, but I am obviously missing something basic here. Can anyone help? > > [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ ../bin/nagios -V > > Nagios 1.0 > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 johnmc at johnmc.org Fri May 16 18:50:34 2003 From: johnmc at johnmc.org (John McDonnell) Date: Fri, 16 May 2003 09:50:34 -0700 (PDT) Subject: FYI - RH 7.3 xinetd patch breaks nrpe bash scripts In-Reply-To: <1053023170.29247.21.camel@nick.docmagic.com> References: <1053023170.29247.21.camel@nick.docmagic.com> Message-ID: On the 15th day of May, Nick Bernstein said to me: > This is just a FYI for all of you who are using bash scripts to check > various things through NRPE running under xinetd. They'll break with the > new kernel patch. I'm assuming you mean the xinetd package available through up2date (and other means). I installed this on a Red Hat 7.2 box and NRPE no longer works. Similar results for a 7.1 box. What baffles me is that it works fine on the other RH 7.2, the RH 7.3 and one of the RH 7.1 boxes. Any ideas? johnmc. -- . johnmc@ | microb.us - +1-916-683-2276 (home) . . http:// | johnmc.org - +1-408-386-3549 (cell) . -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 19:20:29 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 16 May 2003 11:20:29 -0600 Subject: FYI - RH 7.3 xinetd patch breaks nrpe bash scripts Message-ID: This has completely screwed up my MRTG implementation on a RH 7.1 box. I'm currenlty limping along by running a script from cron every 5 minutes to restart the MRTG daemon if it cannot find it. I can't figure out why the daemon dies out and I end up with zombies. I'm thinking about backing out of the up2date update, but haven't had a need to do so in the past and I'm not sure how difficult that will be. Any suggestions are appreciated. I should have known better than to trust in such a 'windows-like' feature. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: John McDonnell [mailto:johnmc at johnmc.org] > Sent: Friday, May 16, 2003 10:51 AM > To: Nagios-Users > Subject: Re: [Nagios-users] FYI - RH 7.3 xinetd patch breaks > nrpe bash scripts > > > On the 15th day of May, Nick Bernstein said to me: > > > This is just a FYI for all of you who are using bash > scripts to check > > various things through NRPE running under xinetd. They'll > break with > > the new kernel patch. > > I'm assuming you mean the xinetd package available through > up2date (and other means). I installed this on a Red Hat 7.2 > box and NRPE no longer works. Similar results for a 7.1 box. > > What baffles me is that it works fine on the other RH 7.2, > the RH 7.3 and one of the RH 7.1 boxes. > > Any ideas? > > johnmc. > -- > . johnmc@ | microb.us - +1-916-683-2276 (home) . > . http:// | johnmc.org - +1-408-386-3549 (cell) . > -- > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, > Santa Clara The only event dedicated to issues related to > Linux enterprise solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 irenes at wolfram.com Fri May 16 19:27:49 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Fri, 16 May 2003 12:27:49 -0500 (CDT) Subject: check_ntp In-Reply-To: References: Message-ID: The host is running an ntp server. >From checkcommands.cfg: # 'check_ntp' command definition define command{ command_name check_ntp command_line /usr/local/nagios/libexec/check_ntp $HOSTADDRESS$ -w 60 -c 180 } >From services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name host1 service_description NTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups unix-high notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ntp OS on host1 is Red Hat 6.1, kernel 2.2.19 Thanks, Irene On Fri, 16 May 2003, Subhendu Ghosh wrote: > > check_ntp -H host1 > > - requires that host1 be running a ntp server. > > What is the command config? > > -sg > > > On Fri, 16 May 2003, Irene Sakellarakis wrote: > > > check_ntp -H $HOSTNAME$ works just fine from the command line of the > > nagios server. I cannot get the web interface to display a check. I'm > > confused as to whether the check occurs at all (since it works from > > the command line) or if Nagios is, in effect, not updating this > > particular service. > > > > The error message I get is: "NTP CRITICAL: No suitable peer server found - > > Server for ntp probably down" > > > > What I've done so far: > > > > *Updated all my plugins to the latest version from sourceforge. > > > > *Specified the location of ntpdate in utils.pm to reflect the location on > > the nagios server (this location is different on the client I'm checking). > > > > *ntpd seemed to be problematic on the host server, so I've stopped ntpd as > > a daemon and am running a cron job every 60 seconds to synchronize with my > > time server (stratum 2 server). > > > > Any assistance is greatly appreciated, > > 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 > > > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 19:20:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 16 May 2003 13:20:07 -0400 (EDT) Subject: check_ntp In-Reply-To: References: Message-ID: check_ntp -H host1 - requires that host1 be running a ntp server. What is the command config? -sg On Fri, 16 May 2003, Irene Sakellarakis wrote: > check_ntp -H $HOSTNAME$ works just fine from the command line of the > nagios server. I cannot get the web interface to display a check. I'm > confused as to whether the check occurs at all (since it works from > the command line) or if Nagios is, in effect, not updating this > particular service. > > The error message I get is: "NTP CRITICAL: No suitable peer server found - > Server for ntp probably down" > > What I've done so far: > > *Updated all my plugins to the latest version from sourceforge. > > *Specified the location of ntpdate in utils.pm to reflect the location on > the nagios server (this location is different on the client I'm checking). > > *ntpd seemed to be problematic on the host server, so I've stopped ntpd as > a daemon and am running a cron job every 60 seconds to synchronize with my > time server (stratum 2 server). > > Any assistance is greatly appreciated, > 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 > -- ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 20:05:55 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 16 May 2003 13:05:55 -0500 Subject: FYI - RH 7.3 xinetd patch breaks nrpe bash scripts Message-ID: Cook, Garry wrote: > I should have known better than to trust in such a 'windows-like' > feature. I'm not sure I would blame up2date for this. apt-get[1] and yum[2] would behave similarly (except that you could set up your own mirrors/repositories for development/test/production, thus allowing you to test out an updated RPM in one environment before rolling out into a more sensitive environment). The alternative is to never patch, which will eventually cause you some heartache. jc [1] http://freshrpms.net/apt/ [2] http://www.linux.duke.edu/projects/yum/ ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 20:18:18 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Fri, 16 May 2003 14:18:18 -0400 Subject: Check_snmp Issue Message-ID: <7D55A9A792CFA24C8918768B5F977A21C6331B@quigon.hosystems> Same thing. [nagios at palpatine libexec]$ ./check_snmp -H ******** -o .1.3.6.1.2.1.2.1.0 -C ******** SNMP WARNING - 107 ---------- 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: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, May 16, 2003 12:16 PM To: Aaron Conaway Cc: Dean Bishop; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_snmp Issue You are getting the warnings because some of the MIBs in your installation are not parsing cleanly. check_snmp will load all the mibs in the path in order to translate ifnumber.0 into .1.3.6.1.2.1.2.1.0. If there are errors reading the mibs, there is error on stderr, hence the warning. If you can run check_snmp with the explicit OID, then you can add "-m : " switch which essentially creates an empty path list to search for mibs. With no mibs being read - you shouldn't have any parsing issue and check_snmp will run a bit faster as well. -sg On Fri, 16 May 2003, Aaron Conaway wrote: > Dean, > > Thanks for the reply, but I get warnings (or criticals) no matter what > OID I use. > > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o > sysName.0 SNMP WARNING - "********" [nagios at palpatine libexec]$ > ./check_snmp -H ******** -C ******** -o sysUpTime.0 SNMP WARNING - > Timeticks: (509177416) 58 days, 22:22:54.16 [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o sysContact.0 SNMP > WARNING - "****@****.com" > > > > > > I also got an email from Fredrik W?nglund (thanks, Fredrik) suggesting > using "check_udp", but I get the following result; I've tried using > both hostname and IP address. > > [nagios at palpatine libexec]$ ./check_udp -H ******** -p 161 Host name > was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > It seems that my box just does not want to use SNMP at all. :( > > ---------- > 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: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Friday, May 16, 2003 9:53 AM > To: Aaron Conaway; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_snmp Issue > > > Good morning, > > Why not check something with a more static value. if you do a > ./check_snmp -H 192.168.0.1 -C public -o sysName.0 > > it will return the system name. This, if SNMP is enabled, will result > in an OK return code each time. > > > later, > dean > > > -----Original Message----- > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > Sent: Friday, May 16, 2003 8:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_snmp Issue > > > I've checked the archives and online for this problem, but any > solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. > > As you can see below, if I do an snmpget on ifNumber.0, it returns > 107. That's fine and dandy since I don't really care what the value > is. If I do a check_snmp to the same OID, I get 107, but it is a > warning status. If I set the warning range to 108:, it returns a > warning state, but the value of 107 is between asterisks. If I set > the critical range to 108:, I get a critical state with the value of > 107 between asterisks. > > I know just enough SNMP to be dangerous, but I am obviously missing > something basic here. Can anyone help? > > [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** > ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP > WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C > ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: > SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V > check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ > ../bin/nagios -V > > Nagios 1.0 > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise > solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jbautista at icnet.com.ve Fri May 16 21:09:32 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 16 May 2003 15:09:32 -0400 Subject: Graphing the ping service Message-ID: <5.1.0.14.0.20030516150845.00bd01a8@pop.icnet.com.ve> Hi, I want to graph the ping services values. Can I do that with nagios? Jeyri Bautista ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben.Farris at key3media.com Fri May 16 23:26:06 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Fri, 16 May 2003 14:26:06 -0700 Subject: Status Map for Solaris 8 Message-ID: I have the same problem but havent figured it out yet "BELMONT Christophe" To: "Nagios List" Sent by: cc: nagios-users-admin at lists.sourc Subject: [Nagios-users] Status Map for Solaris 8 eforge.net 05/16/2003 06:10 AM Hi, I'm having difficulties when I try to show the Status Map under my Nagios running on Solaris 8. The browser shows me "Internal Server Error". The apache log file shows me that the library cannot be found: ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory [Fri May 16 15:06:32 2003] [error] [client] Premature end of script headers: /logiciels/nagios/sbin/statusmap.cgi But when I issue a find command, the libraries are in place: root at myserver # find / -name libgd.so.2 /logiciels/nagios/sources/.libs/libgd.so.2 /usr/local/lib/libgd.so.2 I was wondering whether someone has had the same problem before... might just be a problem of libraries path but I don't know where. Thanks 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 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 16 23:44:20 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Fri, 16 May 2003 17:44:20 -0400 Subject: Check_snmp Issue *RESOLVED* Message-ID: <7D55A9A792CFA24C8918768B5F977A21C63323@quigon.hosystems> I killed all the MIBs installed after the install of the OS and it works like a champ now. Thanks to everyone. ---------- 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: Aaron Conaway Sent: Friday, May 16, 2003 2:18 PM To: Subhendu Ghosh Cc: Dean Bishop; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_snmp Issue Same thing. [nagios at palpatine libexec]$ ./check_snmp -H ******** -o .1.3.6.1.2.1.2.1.0 -C ******** SNMP WARNING - 107 ---------- 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: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, May 16, 2003 12:16 PM To: Aaron Conaway Cc: Dean Bishop; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_snmp Issue You are getting the warnings because some of the MIBs in your installation are not parsing cleanly. check_snmp will load all the mibs in the path in order to translate ifnumber.0 into .1.3.6.1.2.1.2.1.0. If there are errors reading the mibs, there is error on stderr, hence the warning. If you can run check_snmp with the explicit OID, then you can add "-m : " switch which essentially creates an empty path list to search for mibs. With no mibs being read - you shouldn't have any parsing issue and check_snmp will run a bit faster as well. -sg On Fri, 16 May 2003, Aaron Conaway wrote: > Dean, > > Thanks for the reply, but I get warnings (or criticals) no matter what > OID I use. > > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o > sysName.0 SNMP WARNING - "********" [nagios at palpatine libexec]$ > ./check_snmp -H ******** -C ******** -o sysUpTime.0 SNMP WARNING - > Timeticks: (509177416) 58 days, 22:22:54.16 [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o sysContact.0 SNMP > WARNING - "****@****.com" > > > > > > I also got an email from Fredrik W?nglund (thanks, Fredrik) suggesting > using "check_udp", but I get the following result; I've tried using > both hostname and IP address. > > [nagios at palpatine libexec]$ ./check_udp -H ******** -p 161 Host name > was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > It seems that my box just does not want to use SNMP at all. :( > > ---------- > 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: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Friday, May 16, 2003 9:53 AM > To: Aaron Conaway; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_snmp Issue > > > Good morning, > > Why not check something with a more static value. if you do a > ./check_snmp -H 192.168.0.1 -C public -o sysName.0 > > it will return the system name. This, if SNMP is enabled, will result > in an OK return code each time. > > > later, > dean > > > -----Original Message----- > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > Sent: Friday, May 16, 2003 8:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_snmp Issue > > > I've checked the archives and online for this problem, but any > solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. > > As you can see below, if I do an snmpget on ifNumber.0, it returns > 107. That's fine and dandy since I don't really care what the value > is. If I do a check_snmp to the same OID, I get 107, but it is a > warning status. If I set the warning range to 108:, it returns a > warning state, but the value of 107 is between asterisks. If I set > the critical range to 108:, I get a critical state with the value of > 107 between asterisks. > > I know just enough SNMP to be dangerous, but I am obviously missing > something basic here. Can anyone help? > > [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** > ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP > WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C > ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: > SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V > check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ > ../bin/nagios -V > > Nagios 1.0 > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise > solutions www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Fri May 16 23:59:59 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Fri, 16 May 2003 18:59:59 -0300 Subject: RES: Check_nt and process count In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCC93@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCC93@eentsvr40.ehvert.com> Message-ID: I?ve searched at PerfMon, and there?s is no counter to do it. And as it seems SNMP retrieves values from those counters I doubt that you could find na OID. Maybe a new feature to NSClient (Mr. Shouldice will love it). But good luck ans PLUK if someone has success. Att., SMV -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Dean Bishop Enviada em: sexta-feira, 16 de maio de 2003 12:01 Para: 'Harlan Richard C'; Nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] Check_nt and process count perhaps this is a job for SNMP. you'd have to have a look at the MIB (www.mibdepot.com) later, dean -----Original Message----- From: Harlan Richard C [mailto:HarlanRichardC at JohnDeere.com] Sent: Friday, May 16, 2003 10:16 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt and process count Anybody know of a way to count the number of a cretin process. So say if Java.exe has more then four process then notify me of a problem. 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at cowger.us Sat May 17 01:18:51 2003 From: matt at cowger.us (Matt Cowger) Date: Fri, 16 May 2003 19:18:51 -0400 Subject: Graphing the ping service In-Reply-To: <5.1.0.14.0.20030516150845.00bd01a8@pop.icnet.com.ve> References: <5.1.0.14.0.20030516150845.00bd01a8@pop.icnet.com.ve> Message-ID: MRTG is designed for this. Jeyri Bautista wrote: > Hi, > > I want to graph the ping services values. > > Can I do that with nagios? > > Jeyri Bautista > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 17 01:40:16 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 16 May 2003 18:40:16 -0500 Subject: Graphing the ping service Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4541@mismail.ena.com> Smokeping is better. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Matt Cowger To: nagios-users at lists.sourceforge.net Sent: Fri May 16 18:18:51 2003 Subject: [Nagios-users] Re: Graphing the ping service MRTG is designed for this. Jeyri Bautista wrote: > Hi, > > I want to graph the ping services values. > > Can I do that with nagios? > > Jeyri Bautista > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 bkirsch at olosec.com Sat May 17 01:31:41 2003 From: bkirsch at olosec.com (Brian G. Kirsch) Date: Fri, 16 May 2003 16:31:41 -0700 (PDT) Subject: nsclient + windows 2000 counters Message-ID: Hi, I am trying to use nsclient v.1.0.7.1 to check various counters on win2k server. It seems that it never works when there's an instance. WORKS: -v COUNTER -l "\\Memory\\Available Bytes" -v COUNTER -l "\\Memory\\% Committed Bytes in Use" DOES NOT WORK: -v COUNTER -l "\\Processor(_Total)\\% Processor Time" -->Returns 0 -v COUNTER -l "\Processor(_Total)\% Processor Time" -->Returns 100 -v COUNTER -l "\Processor(0)\\% Processor Time" -->Returns 0 -v COUNTER -l "\\PhysicalDisk(0 C:)\\% Disk Time" -->Returns 0 -v COUNTER -l "\\PhysicalDisk(1 E:)\\% Disk Time" -->Returns 0 -v COUNTER -l "\\Network Interface(3Com EtherLink Server 10_100 PCI NIC)\Bytes Total/sec" etcetera,etcetera... Do you have some advice?? Thanks very much, Brian -- Brian Kirsch ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ereyes at galois.dgae.unam.mx Sat May 17 02:12:23 2003 From: ereyes at galois.dgae.unam.mx (Enrique Reyes) Date: Fri, 16 May 2003 19:12:23 -0500 (CDT) Subject: Status Map for Solaris 8 In-Reply-To: References: Message-ID: Hi In Linux to modify file is /etc/ld.so.conf and after ldconfig -f /etc/ld.so.conf and Solaris could you see the man page of ldd > I have the same problem but havent figured it out yet > > > > > > "BELMONT Christophe" > To: "Nagios List" > Sent by: cc: > nagios-users-admin at lists.sourc Subject: [Nagios-users] Status Map for Solaris 8 > eforge.net > > > 05/16/2003 06:10 AM > > > > > > > Hi, > > I'm having difficulties when I try to show the Status Map under my > Nagios running on Solaris 8. The browser shows me "Internal Server > Error". The apache log file shows me that the library cannot be found: > > ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or > directory > [Fri May 16 15:06:32 2003] [error] [client] Premature end of script > headers: /logiciels/nagios/sbin/statusmap.cgi > > But when I issue a find command, the libraries are in place: > root at myserver # find / -name libgd.so.2 > /logiciels/nagios/sources/.libs/libgd.so.2 > /usr/local/lib/libgd.so.2 > > I was wondering whether someone has had the same problem before... might > just be a problem of libraries path but I don't know where. > > Thanks 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 > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tong at keen.com Sat May 17 02:24:37 2003 From: Tong at keen.com (Tong Young) Date: Fri, 16 May 2003 17:24:37 -0700 Subject: check_nrpe: could not complete SSL handshake Message-ID: <96F2907F6F5F494DA70289DE3B15B11F3057181B@keenx02.keencorp.keen.com> Check your /var/log/messages for an error. I had the same error and it said it couldn't open nrpe.cfg. So I checked the file and the permissions were wrong ( only root could read the file, but I was running nrpe under a different user.) So after changing the permissions everything works fine and dandy. -----Original Message----- From: Tom Bloomfield [mailto:tom at awprojects.com] Sent: Monday, April 14, 2003 5:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe: could not complete SSL handshake Hi all, I have compiled and build NRPE on both a nagios daemon and client machine with no errors. However, when running check_nrpe as follows from the daemon machine: ./check_nrpe -t 20 -H somehost.com check_disk I receive the message: CHECK_NRPE: Error - Could not complete SSL handshake. I have enabled debug logging on the client machine, and see nothing entered into the log. I have openssl 9.6b installed on both machines. When running check_nrpe with no arguments I receive the following information: Version: 2.0b1 Last Modified: 04-03-2003 License: GPL SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required That's about all the background information I can think of ;-) Has anyone seen this before? TIA! 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 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Sat May 17 02:43:02 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Fri, 16 May 2003 21:43:02 -0300 Subject: RES: nsclient + windows 2000 counters In-Reply-To: References: Message-ID: Try NSClient 1.8.02 at http://support.tsmgsoftware.com Att., SMV -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Brian G. Kirsch Enviada em: sexta-feira, 16 de maio de 2003 20:32 Para: Nagios-users at lists.sourceforge.net Assunto: [Nagios-users] nsclient + windows 2000 counters Hi, I am trying to use nsclient v.1.0.7.1 to check various counters on win2k server. It seems that it never works when there's an instance. WORKS: -v COUNTER -l "\\Memory\\Available Bytes" -v COUNTER -l "\\Memory\\% Committed Bytes in Use" DOES NOT WORK: -v COUNTER -l "\\Processor(_Total)\\% Processor Time" -->Returns 0 -v COUNTER -l "\Processor(_Total)\% Processor Time" -->Returns 100 -v COUNTER -l "\Processor(0)\\% Processor Time" -->Returns 0 -v COUNTER -l "\\PhysicalDisk(0 C:)\\% Disk Time" -->Returns 0 -v COUNTER -l "\\PhysicalDisk(1 E:)\\% Disk Time" -->Returns 0 -v COUNTER -l "\\Network Interface(3Com EtherLink Server 10_100 PCI NIC)\Bytes Total/sec" etcetera,etcetera... Do you have some advice?? Thanks very much, Brian -- Brian Kirsch ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bkirsch at olosec.com Sat May 17 03:17:54 2003 From: bkirsch at olosec.com (Brian G. Kirsch) Date: Fri, 16 May 2003 18:17:54 -0700 (PDT) Subject: RES: nsclient + windows 2000 counters In-Reply-To: References: Message-ID: I upgraded to nsclient v.1.0.8.0 and then to v.1.0.8.2. I would like to read counters like: \\Processor(_Total)\\% Processor Time" --> Works \\PhysicalDisk(0 C:)\\% Disk Time" --> Returns Zero \\Network Interface(3Com EtherLink Server 10_100 PCI NIC)\Bytes Total/sec --> Returns a value, but seems incorrect I understand that "full" support for instances has been requested for v.2.0, but are there any other "built-in" instances like \Processor(_Total)\\% Processor Time"?? Thanks, Brian On Fri, 16 May 2003, Sandro Vaz (UOL) wrote: > Try NSClient 1.8.02 at http://support.tsmgsoftware.com > > Att., > > SMV > > -----Mensagem original--- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Brian G. Kirsch > Enviada em: sexta-feira, 16 de maio de 2003 20:32 > Para: Nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] nsclient + windows 2000 counters > > > Hi, > > I am trying to use nsclient v.1.0.7.1 to check various counters on win2k > server. It seems that it never works when there's an instance. > > WORKS: > > -v COUNTER -l "\\Memory\\Available Bytes" > > -v COUNTER -l "\\Memory\\% Committed Bytes in Use" > > DOES NOT WORK: > > -v COUNTER -l "\\Processor(_Total)\\% Processor Time" > -->Returns 0 > > -v COUNTER -l "\Processor(_Total)\% Processor Time" > -->Returns 100 > > -v COUNTER -l "\Processor(0)\\% Processor Time" > -->Returns 0 > > -v COUNTER -l "\\PhysicalDisk(0 C:)\\% Disk Time" > -->Returns 0 > > -v COUNTER -l "\\PhysicalDisk(1 E:)\\% Disk Time" > -->Returns 0 > > -v COUNTER -l "\\Network Interface(3Com EtherLink Server 10_100 PCI > NIC)\Bytes Total/sec" > > etcetera,etcetera... > > Do you have some advice?? > > Thanks very much, > > Brian > > > -- Brian Kirsch OLOSEC Network Security Solutions 164 Jefferson Dr. Unit J Menlo Park, CA 94025 Tel: + 1 650.330.1745 Fax: + 1 650.330.1694 Email: bkirsch at olosec.com url: http://www.olosec.com ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 upnix.com Sat May 17 03:19:10 2003 From: chris at upnix.com (Chris Cameron) Date: 16 May 2003 19:19:10 -0600 Subject: check_procs with OpenBSD (3.2) Message-ID: <1053134350.1582.107.camel@localhost> I'm unable to get check_procs to work correctly under OpenBSD 3.2. Under Linux the command '/home/nagios/libexec/check_procs -C mysqld -c 1,2' works correctly, but not under OpenBSD. Also, simply running ./check_procs only brings back 'OK - 3 processes running'. I should mention that running 'ps aux' displays all the processes, there's no crazy process hiding going on with the system. I'm running the plugins version 1.3.0. Anyone else seen this problem? Chris -- Chris Cameron UpNIX Internet Administrator ardvark.upnix.net bitbucket.upnix.net -- http://www.upnix.com ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at sliderule.demon.co.uk Sat May 17 03:32:32 2003 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sat, 17 May 2003 02:32:32 +0100 Subject: Graphing the ping service References: <5.1.0.14.0.20030516150845.00bd01a8@pop.icnet.com.ve> Message-ID: <3EC59130.909@sliderule.demon.co.uk> Or try smokeping by the same author. http://people.ee.ethz.ch/~oetiker/webtools/smokeping/ Matt Cowger wrote: > MRTG is designed for this. > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ > > > Jeyri Bautista wrote: > >> Hi, >> >> I want to graph the ping services values. >> >> Can I do that with nagios? >> >> Jeyri Bautista >> >> >> >> ------------------------------------------------------- >> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >> The only event dedicated to issues related to Linux enterprise solutions >> www.enterpriselinuxforum.com >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at lycos.com Sat May 17 09:50:53 2003 From: julien.touche at lycos.com (julien Touche) Date: Sat, 17 May 2003 09:50:53 +0200 Subject: nagios + chroot: Return code of 127 for check of service Message-ID: <3EC5E9DD.4050504@lycos.com> Hi i finally manage to get nagios working in apache chroot but i get tons of warning: Return code of 127 for check of service 'XXX' ... and all the rest works quite right. i ask myself if it is the cgis which make this check or the daemon ? Regards Julien here my little script to install in chroot <<< prefix=/opt/nagios chrootprefix=/var/www chrootdir=$chrootprefix/htdocs/admin/nagios tmp=`mktemp /tmp/tmp.XXXXXX` || exit 1 args="--with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include" ./configure --prefix=$prefix --sbindir=$chrootdir/sbin --datadir=$chrootdir/share --with-htmurl=/admin/nagios --with-cgiurl=/admin/nagios/cgi-bin --sysconfdir=$chrootdir/etc --localstatedir=$chrootdir/var $args ## add static patch #wget http://www.bennyvision.com/projects/nagios/nagios-1.0b6-static-cgi-v0.1.patch #patch -p0 cgi/Makefile < nagios-1.0b6-static-cgi-v0.1.patch more cgi/Makefile | sed \ 's/CFLAGS=-g/CFLAGS=-g -static/;s/GDLIBS=.*/GDLIBS=-lgd -lz -lpng -lz -lgd -ljpeg -lm/' > $tmp \ && mv $tmp cgi/Makefile make all && make install && make install-config cp daemon-init $prefix/bin/nagios-init cd $chrootdir/etc touch dependencies.cfg escalations.cfg for i in cgi.cfg timeperiods.cfg nagios.cfg resource.cfg; do [ ! -f $i ] && cp $i-sample $i done chmod 711 $chrootdir ln -s / /var/www/var/www <<< note: if you don't want the last symlink, you must have a separate commons/locations.h for the cgi with chrooted path and a chrooted nagios.cfg (with chrooted path) note2: time for resubmit a chroot port for openbsd maybe, Benny :) note3: to answer questions about why chroot, maybe because nagios is not the only thing in apache or the box, and you don't want to lower security of the rest only for nagios ... note4: last thing at work is systrace policies ;) note5: please cc. ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat May 17 15:48:06 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 17 May 2003 08:48:06 -0500 Subject: nagios + chroot: Return code of 127 for check of service Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4542@mismail.ena.com> No, its nagios. 127 means nagios could not find or execute the plugin. Verify the paths in command.cfg make sense in you're chroot environment. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: julien Touche To: nagios-users at lists.sourceforge.net Sent: Sat May 17 02:50:53 2003 Subject: [Nagios-users] nagios + chroot: Return code of 127 for check of service Hi i finally manage to get nagios working in apache chroot but i get tons of warning: Return code of 127 for check of service 'XXX' ... and all the rest works quite right. i ask myself if it is the cgis which make this check or the daemon ? Regards Julien here my little script to install in chroot <<< prefix=/opt/nagios chrootprefix=/var/www chrootdir=$chrootprefix/htdocs/admin/nagios tmp=`mktemp /tmp/tmp.XXXXXX` || exit 1 args="--with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include" ./configure --prefix=$prefix --sbindir=$chrootdir/sbin --datadir=$chrootdir/share --with-htmurl=/admin/nagios --with-cgiurl=/admin/nagios/cgi-bin --sysconfdir=$chrootdir/etc --localstatedir=$chrootdir/var $args ## add static patch #wget http://www.bennyvision.com/projects/nagios/nagios-1.0b6-static-cgi-v0.1.patch #patch -p0 cgi/Makefile < nagios-1.0b6-static-cgi-v0.1.patch more cgi/Makefile | sed \ 's/CFLAGS=-g/CFLAGS=-g -static/;s/GDLIBS=.*/GDLIBS=-lgd -lz -lpng -lz -lgd -ljpeg -lm/' > $tmp \ && mv $tmp cgi/Makefile make all && make install && make install-config cp daemon-init $prefix/bin/nagios-init cd $chrootdir/etc touch dependencies.cfg escalations.cfg for i in cgi.cfg timeperiods.cfg nagios.cfg resource.cfg; do [ ! -f $i ] && cp $i-sample $i done chmod 711 $chrootdir ln -s / /var/www/var/www <<< note: if you don't want the last symlink, you must have a separate commons/locations.h for the cgi with chrooted path and a chrooted nagios.cfg (with chrooted path) note2: time for resubmit a chroot port for openbsd maybe, Benny :) note3: to answer questions about why chroot, maybe because nagios is not the only thing in apache or the box, and you don't want to lower security of the rest only for nagios ... note4: last thing at work is systrace policies ;) note5: please cc. ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 UweKirbach at t-online.de Sat May 17 17:39:19 2003 From: UweKirbach at t-online.de (Uwe Kirbach) Date: 17 May 2003 17:39:19 +0200 Subject: Status Map for Solaris 8 In-Reply-To: References: Message-ID: <1053185958.4279.5.camel@saphire.mylocaldom.kirbach> On Sat, 2003-05-17 at 02.12 wrote Enrique Reyes: > Hi > > In Linux to modify file is /etc/ld.so.conf and after > ldconfig -f /etc/ld.so.conf > > and Solaris > could you see the man page of ldd > > > I have the same problem but havent figured it out yet > > > > Hi, > > > > I'm having difficulties when I try to show the Status Map under my > > Nagios running on Solaris 8. The browser shows me "Internal Server > > Error". The apache log file shows me that the library cannot be found: > > > > ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or > > directory > > [Fri May 16 15:06:32 2003] [error] [client] Premature end of script > > headers: /logiciels/nagios/sbin/statusmap.cgi > > > > But when I issue a find command, the libraries are in place: > > root at myserver # find / -name libgd.so.2 > > /logiciels/nagios/sources/.libs/libgd.so.2 > > /usr/local/lib/libgd.so.2 > > > > I was wondering whether someone has had the same problem before... might > > just be a problem of libraries path but I don't know where. > > > > Thanks in advance, > > Christophe. > > > > > > --- > > Christophe Belmont > > Network Engineer > > Tel : +33 1 43 13 81 08 > > Fax : +33 1 40 78 64 00 > > Did you have established or updated LD_LIBRARY_PATH ? If not, you should write in your .profile (or where it fits in your environment) LD_LIBRARAY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ export LD_LIBRARY_PATH -- Uwe Kirbach ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 18 01:50:02 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 17 May 2003 19:50:02 -0400 (EDT) Subject: Check_snmp Issue In-Reply-To: <7D55A9A792CFA24C8918768B5F977A21C6331B@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A21C6331B@quigon.hosystems> Message-ID: add "-m :" On Fri, 16 May 2003, Aaron Conaway wrote: > Same thing. > > [nagios at palpatine libexec]$ ./check_snmp -H ******** -o .1.3.6.1.2.1.2.1.0 -C ******** > SNMP WARNING - 107 > > ---------- > 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: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, May 16, 2003 12:16 PM > To: Aaron Conaway > Cc: Dean Bishop; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_snmp Issue > > > You are getting the warnings because some of the MIBs in your installation > are not parsing cleanly. check_snmp will load all the mibs in the path in > order to translate ifnumber.0 into .1.3.6.1.2.1.2.1.0. If there are > errors reading the mibs, there is error on stderr, hence the warning. > > If you can run check_snmp with the explicit OID, then you can add "-m : " > switch which essentially creates an empty path list to search for mibs. > > With no mibs being read - you shouldn't have any parsing issue and > check_snmp will run a bit faster as well. > > -sg > > On Fri, 16 May 2003, Aaron Conaway wrote: > > > Dean, > > > > Thanks for the reply, but I get warnings (or criticals) no matter what > > OID I use. > > > > [nagios at palpatine libexec]$ ./check_snmp -H ******** -C ******** -o > > sysName.0 SNMP WARNING - "********" [nagios at palpatine libexec]$ > > ./check_snmp -H ******** -C ******** -o sysUpTime.0 SNMP WARNING - > > Timeticks: (509177416) 58 days, 22:22:54.16 [nagios at palpatine > > libexec]$ ./check_snmp -H ******** -C ******** -o sysContact.0 SNMP > > WARNING - "****@****.com" > > > > > > > > > > > > I also got an email from Fredrik W?nglund (thanks, Fredrik) suggesting > > using "check_udp", but I get the following result; I've tried using > > both hostname and IP address. > > > > [nagios at palpatine libexec]$ ./check_udp -H ******** -p 161 Host name > > was not supplied > > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > > [-e expect] [-s send] [-t to_sec] [-v] > > > > It seems that my box just does not want to use SNMP at all. :( > > > > ---------- > > 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: Dean Bishop [mailto:dbishop at ehvert.com] > > Sent: Friday, May 16, 2003 9:53 AM > > To: Aaron Conaway; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Check_snmp Issue > > > > > > Good morning, > > > > Why not check something with a more static value. if you do a > > ./check_snmp -H 192.168.0.1 -C public -o sysName.0 > > > > it will return the system name. This, if SNMP is enabled, will result > > in an OK return code each time. > > > > > > later, > > dean > > > > > > -----Original Message----- > > From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] > > Sent: Friday, May 16, 2003 8:05 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Check_snmp Issue > > > > > > I've checked the archives and online for this problem, but any > > solution I have found does not work for me. My ultimate goal is to just check if SNMP is running on a box; I could care less what any SNMP value is. > > > > As you can see below, if I do an snmpget on ifNumber.0, it returns > > 107. That's fine and dandy since I don't really care what the value > > is. If I do a check_snmp to the same OID, I get 107, but it is a > > warning status. If I set the warning range to 108:, it returns a > > warning state, but the value of 107 is between asterisks. If I set > > the critical range to 108:, I get a critical state with the value of > > 107 between asterisks. > > > > I know just enough SNMP to be dangerous, but I am obviously missing > > something basic here. Can anyone help? > > > > [nagios at palpatine libexec]$ snmpget -c ******** -v 1 ******** > > ifNumber.0 RFC1213-MIB::ifNumber.0 = INTEGER: 107 [nagios at palpatine > > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 SNMP > > WARNING - 107 [nagios at palpatine libexec]$ ./check_snmp -H ******** -C > > ******** -o ifNumber.0 -w 108: SNMP WARNING - *107* [nagios at palpatine > > libexec]$ ./check_snmp -H ******** -C ******** -o ifNumber.0 -c 108: > > SNMP CRITICAL - *107* [nagios at palpatine libexec]$ ./check_snmp -V > > check_snmp (nagios-plugins 1.3.0) 1.24 [nagios at palpatine libexec]$ > > ../bin/nagios -V > > > > Nagios 1.0 > > > > ---------- > > Aaron Conaway > > Network Engineer III > > Verisign, Inc. -- Telecom Services Division http://www.verisign.com > > Office: 912.527.4343 > > Fax: 912.527.4014 > > > > > > ------------------------------------------------------- > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > > The only event dedicated to issues related to Linux enterprise > > solutions www.enterpriselinuxforum.com > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doron_cs at yahoo.com Sun May 18 11:45:18 2003 From: doron_cs at yahoo.com (doron carmeli-shrim) Date: Sun, 18 May 2003 02:45:18 -0700 (PDT) Subject: syslog messages events Message-ID: <20030518094518.30889.qmail@web41414.mail.yahoo.com> Does anybody know how can i monitor syslod messages with nagios ?? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doron_cs at yahoo.com Sun May 18 12:04:09 2003 From: doron_cs at yahoo.com (doron carmeli-shrim) Date: Sun, 18 May 2003 03:04:09 -0700 (PDT) Subject: Individual Proccesses Check with nrpe Message-ID: <20030518100409.33296.qmail@web41414.mail.yahoo.com> Hi Does anybody know how can i enable nagios monitoring of individual services under nrpe ? somthing along the lines of : ps -ef|grep named __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 12:49:58 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 18 May 2003 20:49:58 +1000 Subject: syslog messages events In-Reply-To: <20030518094518.30889.qmail@web41414.mail.yahoo.com>; from doron_cs@yahoo.com on Sun, May 18, 2003 at 02:45:18AM -0700 References: <20030518094518.30889.qmail@web41414.mail.yahoo.com> Message-ID: <20030518204953.A229@IPAustralia.Gov.AU> Dear Sir, On Sun, May 18, 2003 at 02:45:18AM -0700, doron carmeli-shrim wrote: > Does anybody know how can i monitor syslod messages > with nagios ?? > Two options (at least) 1 check_log from the standard plugin distro 2 (more complicated but more scalable) 2.1 use swatch to watch the log and detect the alertable messages 2.2 have swatch submit a passive service check result either to the Nag command queue (if swatch is co-located) otherwise with ncsa. This version is also adaptable (see the FAQ or Dean Bishops letters in the gmane Nag archives) to checking NT/2K event logs with another 'event to syslog' shim such as Snare/Backlog. 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 22:13:17 2003 From: twelsh at square-box.com (Tom Welsh) Date: Sun, 18 May 2003 21:13:17 +0100 Subject: training materiel Message-ID: <000401c31d79$ec1d5720$0400a8c0@squarebox.com> Has anybody created any Nagios training material? I've got a requirement to provide some nagios training to a prospective client and wondered if anyone has created any literature, if so would I be able to purloin a copy from you. If no one has created any then I'll create some and pass it back for peer review if that is acceptable? In a matter of fact is anyone interested in creating a library of nagios training material for the community? Answers on a post card to me and the list Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.lambooy at narmida.com Sun May 18 23:36:01 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Sun, 18 May 2003 23:36:01 +0200 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: References: Message-ID: <000301c31d85$7d8722d0$a52efea9@roestbak> Error does not give anything but ssl_error gives this : [error] [client 192.168.4.112] Directory index forbidden by rule: /var/www/html/ and 112 is the ip of the nagios server. In the services : define service{ use generic-service ; Name of service template to use host_name fileserver service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 6 retry_check_interval 1 contact_groups somename-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } All help welcome tnx dudes -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Leonard Miller Sent: Tuesday, May 13, 2003 6:15 PM To: nagios-users at lists.sourceforge.net; p.lambooy at narmida.com Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Look at /var/log/httpd/error_log and see what it says. That may give you a better idea if it can't read a particular file. >>> "Carroll, Jim P [Contractor]" 05/13/03 11:56AM >>> Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon May 19 00:28:54 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 18 May 2003 17:28:54 -0500 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4544@mismail.ena.com> Does the directory /var/www/html contain and index.html? Are you requesting the right URL that you think you are in you check_http command definition? -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Patrick Lambooy To: 'Leonard Miller' ; nagios-users at lists.sourceforge.net Sent: Sun May 18 16:36:01 2003 Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Error does not give anything but ssl_error gives this : [error] [client 192.168.4.112] Directory index forbidden by rule: /var/www/html/ and 112 is the ip of the nagios server. In the services : define service{ use generic-service ; Name of service template to use host_name fileserver service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 6 retry_check_interval 1 contact_groups somename-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } All help welcome tnx dudes -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Leonard Miller Sent: Tuesday, May 13, 2003 6:15 PM To: nagios-users at lists.sourceforge.net; p.lambooy at narmida.com Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Look at /var/log/httpd/error_log and see what it says. That may give you a better idea if it can't read a particular file. >>> "Carroll, Jim P [Contractor]" 05/13/03 11:56AM >>> Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 p.lambooy at narmida.com Mon May 19 00:41:03 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Mon, 19 May 2003 00:41:03 +0200 Subject: HTTP WARNING: HTTP/1.1 403 Forbidden ***CLOSED*** In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D4544@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D4544@mismail.ena.com> Message-ID: <000e01c31d8e$936ef5b0$a52efea9@roestbak> Yeppe some have a index.html some do not in /var/www/html all have the same error But the right on the index.html where for root and user readable did a chmod 666 for a test and it works now making it for user apache should work.. Sollution is the rights(username) on index.html Tnx a lot people ... going for the next challenge making ok warning and error thru a shell script so I can invoke it for my scripts like backup etc... Does the directory /var/www/html contain and index.html? Are you requesting the right URL that you think you are in you check_http command definition? -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Patrick Lambooy To: 'Leonard Miller' ; nagios-users at lists.sourceforge.net Sent: Sun May 18 16:36:01 2003 Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Error does not give anything but ssl_error gives this : [error] [client 192.168.4.112] Directory index forbidden by rule: /var/www/html/ and 112 is the ip of the nagios server. In the services : define service{ use generic-service ; Name of service template to use host_name fileserver service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 6 normal_check_interval 6 retry_check_interval 1 contact_groups somename-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } All help welcome tnx dudes -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Leonard Miller Sent: Tuesday, May 13, 2003 6:15 PM To: nagios-users at lists.sourceforge.net; p.lambooy at narmida.com Subject: RE: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden Look at /var/log/httpd/error_log and see what it says. That may give you a better idea if it can't read a particular file. >>> "Carroll, Jim P [Contractor]" 05/13/03 11:56AM >>> Check file permissions... if Apache can't read the files, that could do it. jc -----Original Message----- From: Patrick Lambooy [mailto:p.lambooy at narmida.com] Sent: Tuesday, May 13, 2003 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 403 Forbidden HTTP WARNING: HTTP/1.1 403 Forbidden Anyone know how to fix this ? Cant find a solution Tnx ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Jarkoff.Scott at itscfe.navy.mil Mon May 19 02:50:30 2003 From: Jarkoff.Scott at itscfe.navy.mil (Jarkoff, Scott (ITSC-FE)) Date: Mon, 19 May 2003 09:50:30 +0900 Subject: Notifications Message-ID: I cant seem to figure out how to turn off successive notifications. What I would like to be able to do is have Nagios send *1* notification when the host or service is in a warning or critical state and then *1* notification when it comes back "up." Is this possible? If so, what am I overlooking? Regards, Scott -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2427 bytes Desc: not available URL: From dbishop at ehvert.com Mon May 19 03:54:54 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Sun, 18 May 2003 21:54:54 -0400 Subject: syslog messages events Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC9E@eentsvr40.ehvert.com> Sorry all, I haven't had time to clean this up and post it to the FAQ yet. Here is the version of the script I use to convert messages from swatch for input into the Nagios external command file. Comments within tell you how to set up the rest of the required components. If you have questions drop me a line. Later, Dean Let me know of any improvements. I am no perl wizard but this does what I need. #!/usr/bin/perl # parser.pl # The purpose of this script is to receive the windows events from swatch, # format them, and dump them into the nagios external command file. # # Written, through much blood sweat and coffee by Dean Bishop # ( dbishop at ehvert.com). # Mileage may vary. # # # Swatch is watching a syslog file that is dumped to by the windows 2000 # servers using Intersect Allaince's Backlog. # (http://www.intersectalliance.com/products/BackLogNT). # # When configuring Backlog i set the Category to "local0" and "notice". # Also it is necessary to set the delimiter to "comma". # # Then add the following line to /etc/syslog.conf: #local0.* /var/log/winevents.log # # My swatch config looks like this right now. # Basically, swatch uses regex to watch for certain strings in the syslog. # in the first example you can see that it is watching for the server name # which appears in the eventlog, and eventid 529 from the source Security. # Note that this is the source of the event, not the log. #watchfor /fs03.tcdsb.org/ and /529,Security/ # exec echo $0 | /usr/local/bin/parser # #watchfor /fs03.tcdsb.org/ and /9,System|11,System|15,System|51,System/ # exec echo $0 | /usr/local/bin/parser #watchfor /Warning|Error|Failure/ # # Don't need the next two lines. Just for testing purposes. # bell 3 # echo = random # exec echo $0 | /usr/local/bin/parser # Get the windows event from swatch. $event = ; open (FILE, ">>/root/dump.txt"); print FILE "test"."$1"; close (FILE); # Substitute all commas for spaces. $event =~ s/,/ /g; # Substitute all double-spaces for single-spaces. $event =~ s/ / /g; # Substitute the irritating "^I" character from backlog (which seems to be like # a tab or other sort of whitespace thang) for nothing. In other words, # remove it. $event =~ s/\^I//g; # Split the scalar bits into an array using space as the delimiter. # Most messages seem to be <= 40 words long so that's all we will deal with. @line = split (/ /, $event ); # Clean, rearrange, and add to the message to make it clear in the # notifications. $problem= "EventID:$line[12] Date:$line[7] $line[8] $line[9] $line[11] Time:$line[10] Source:$line[5] Category:$line[17] Type:$line[16] EventNumber:$line[6] User:$line[14] Computer:$line[18] Description:"; # The first 18 words are before the description of the event. The rest is # from the description block. # Here we are jumping to the 19th word and lumping words 19-40 into one scalar. $i=19; while ( $i < "35" ) { $problem = $problem . "$line[$i] "; ++$i; }; # Get the time in seconds from UNIX epoch and clear off the trailing . chomp ($date = `date +%s`); # Form the command to be dumped into the Nagios external command file. $command = "[$date] PROCESS_SERVICE_CHECK_RESULT;$line[4];Windows Event $line[12];2;$problem\n"; # Define the Nagios external command file. $file = "/usr/local/nagios/var/rw/nagios.cmd"; # Open the Nagios external command file for appending. open (FILE, ">>$file"); # Write the full command to the Nagios external command file. print FILE $command; # Close the external command file. close (FILE); -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: May 18, 2003 6:50 AM To: doron carmeli-shrim Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] syslog messages events Dear Sir, On Sun, May 18, 2003 at 02:45:18AM -0700, doron carmeli-shrim wrote: > Does anybody know how can i monitor syslod messages > with nagios ?? > Two options (at least) 1 check_log from the standard plugin distro 2 (more complicated but more scalable) 2.1 use swatch to watch the log and detect the alertable messages 2.2 have swatch submit a passive service check result either to the Nag command queue (if swatch is co-located) otherwise with ncsa. This version is also adaptable (see the FAQ or Dean Bishops letters in the gmane Nag archives) to checking NT/2K event logs with another 'event to syslog' shim such as Snare/Backlog. 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigm at ace.com.au Mon May 19 06:02:24 2003 From: craigm at ace.com.au (Craig Marchant) Date: Mon, 19 May 2003 14:02:24 +1000 Subject: check_smtp returning critical error when everything is working fine. Message-ID: Hi, Just installed Version 1 of nagios. Everything went fine, great doc's. I'm having a small problem with the check_smtp plugin at the moment. When I view the website it is reporting that the SMTP service is critical. But it returns "SMTP OK - 0 second response". I'm using the latest versions of all the software, including the plugins. Has anbody seen / know what might be causing it to play up with this one service. Thanks, Craig Marchant ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 08:24:58 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 19 May 2003 02:24:58 -0400 Subject: check_smtp returning critical error when everything is working fine. In-Reply-To: References: Message-ID: <1053325498.4399.24.camel@miles.debisschop.net> On Mon, 2003-05-19 at 00:02, Craig Marchant wrote: > Hi, > > Just installed Version 1 of nagios. Everything went fine, great doc's. > > I'm having a small problem with the check_smtp plugin at the moment. > > When I view the website it is reporting that the SMTP service is > critical. But it returns "SMTP OK - 0 second response". > > I'm using the latest versions of all the software, including the > plugins. I will grant that you are using the 'latest version' (I must confess that others have posted to the list using those exact words, and been wrong, but surely I need not worry about that) But what does that mean? The latest relesed version from the CVS? The latest modifications to CVS on the release brach? Or perhaps the CVS HEAD? If you type 'check_smtp --version' and report the result, I will know the answer to these vexing questions. Then I cam ponder the answer to your question directly, without the need to consider the intermediate qusetions above. If you were to provide the OS you are running, and the OS and MTA you are checking, and I bet people on the list could really set down to solving the problem. (If you are using a package, rather than your own build, please mention that as well). If the MTA you are checking is publiclic available, maybe you'd consider providing thhe addess for investigation purposes. Beyond that basic info, if we knew what your service and command definitions looked like, we could even set out to reproduce the problem. > Has anbody seen / know what might be causing it to play up with this > one service. This was a known problem in some of the beta releases of the plugins. It is not known to me in 1.3.0 or CVS HEAD. But I'll galdly look, once I know which version to check. Have you tried running the test soley on the command line? check_smtp -H your.server.here -w 3 -c 5; echo $? (Of course use your command/service settings, not mine) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 08:38:43 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Mon, 19 May 2003 08:38:43 +0200 Subject: Notifications In-Reply-To: ; from Jarkoff.Scott@itscfe.navy.mil on Mon, May 19, 2003 at 09:50:30AM +0900 References: Message-ID: <20030519083843.C1629@hpce.nec.com> On Mon, May 19, 2003 at 09:50:30AM +0900, Jarkoff, Scott (ITSC-FE) wrote: > I cant seem to figure out how to turn off successive notifications. > What I would like to be able to do is have Nagios send *1* notification > when the host or service is in a warning or critical state and then *1* > notification when it comes back "up." Is this possible? If so, what am > I overlooking? You are overlooking the documentation for notification_interval. Set it to 0, and you won't get repeated notifications. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigm at ace.com.au Mon May 19 08:46:21 2003 From: craigm at ace.com.au (Craig Marchant) Date: Mon, 19 May 2003 16:46:21 +1000 Subject: check_smtp returning critical error wheneverything is working fine. Message-ID: Hi Karl, Sorry should have been a little more detailed. It's been a long day. I'm currently using Redhat Linux Version 8.0, with Postfix 2.0.9. The server im actually querying is: mail.acenet.com.au Nagios: 1.0 Release Date: 11/24/2002 <-- Downloaded from the website, so i'm guessing it's the release version Nagios Plugins: 1.3.0 <-- Downloaded from the sourceforge web site, once again I guess release version. Service definition: ------------------------------- # Service definition define service{ use generic-service ; Name of service template to use host_name mail1 service_description SMTP Service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Command Definition: ------------------------- # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ } Here is the output from check_smtp: ------------------------------------------- [root at osiris libexec]# ./check_smtp --version check_smtp (nagios-plugins 1.3.0) 1.9 [root at osiris libexec]# ./check_smtp -H mail.acenet.com.au -w 3 -c 5; echo $? SMTP OK - 1 second response time Socket timeout after 10 seconds 2 [root at osiris libexec]# ---------------------------------------------- Thanks Karl. Regards, Craig Marchant >>> Karl DeBisschop 19/05/03 4:24:58 pm >>> On Mon, 2003-05-19 at 00:02, Craig Marchant wrote: > Hi, > > Just installed Version 1 of nagios. Everything went fine, great doc's. > > I'm having a small problem with the check_smtp plugin at the moment. > > When I view the website it is reporting that the SMTP service is > critical. But it returns "SMTP OK - 0 second response". > > I'm using the latest versions of all the software, including the > plugins. I will grant that you are using the 'latest version' (I must confess that others have posted to the list using those exact words, and been wrong, but surely I need not worry about that) But what does that mean? The latest relesed version from the CVS? The latest modifications to CVS on the release brach? Or perhaps the CVS HEAD? If you type 'check_smtp --version' and report the result, I will know the answer to these vexing questions. Then I cam ponder the answer to your question directly, without the need to consider the intermediate qusetions above. If you were to provide the OS you are running, and the OS and MTA you are checking, and I bet people on the list could really set down to solving the problem. (If you are using a package, rather than your own build, please mention that as well). If the MTA you are checking is publiclic available, maybe you'd consider providing thhe addess for investigation purposes. Beyond that basic info, if we knew what your service and command definitions looked like, we could even set out to reproduce the problem. > Has anbody seen / know what might be causing it to play up with this > one service. This was a known problem in some of the beta releases of the plugins. It is not known to me in 1.3.0 or CVS HEAD. But I'll galdly look, once I know which version to check. Have you tried running the test soley on the command line? check_smtp -H your.server.here -w 3 -c 5; echo $? (Of course use your command/service settings, not mine) -- Karl ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 09:53:47 2003 From: nils_mueller at hotmail.com (solkan) Date: 19 May 2003 07:53:47 -0000 Subject: Check_disk --errors-only? Message-ID: <20030519075347.4028.qmail@pod-163.dolphin-server.co.uk> Hello, I have a strange problem with the check_disk plugin of the nagios plugin 1.3.0 release: -e, --errors-only Display only devices/mountpoints with errors But everytime is use the -e option i get: ./check_disk: invalid option -- e check_disk: unrecognized option Anyone can tell me something about this? Kind regards ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 10:05:57 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Mon, 19 May 2003 10:05:57 +0200 Subject: nrpe problem Message-ID: <3EC89065.5050006@loria.fr> hi ! i try different things but i have always the same problem only on one of my nrpe client !!! the command on nagios return : "CHECK_NRPE: Response packet had invalid CRC32." And there is nothing in the nrpe log ! I don't find the problem. I compil nrpe on the client The only difference between this one is that it work in "inet" and the other in "xinetd" .. perhaps this line is not well in "inetd.conf" : "nrpe stream tcp nowait netsaint /usr/bin/nrpe nrpe -c /etc/nrpe.cfg -i" thanks for help. Best regards. -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 10:52:20 2003 From: vanny at artemis-it.com (Soeun Vanny) Date: Mon, 19 May 2003 17:52:20 +0900 Subject: event handler!!! Message-ID: <006501c31de3$fb432850$5201a8c0@Vanny> Dear Sir; I'm wondering whether we can use "event handler" to restart a service on a remote machine.For example: _A http service on a remote machine(it is not running nagios) is stopped.And when a moniterd machine(it is running nagios) probed that the http service on the remote is being stopped,can the event handler be applied to restart that service? your consideration into this matter would be highly appreciated. Thank vanny -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardoleitao at interacesso.pt Mon May 19 11:24:14 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 19 May 2003 10:24:14 +0100 Subject: two instances Message-ID: <1053336254.1140.5.camel@Monitor> Hi all, I would like to know if anyone knows if we can run two instances of nagios in diferents machines but the two instances have to be sincronize for the case of one fail. Redundancy. because if the connection fail in the machine where nagios is tunning the aplications start sending notifications, in my case sms, because email is unavailable, the connection is down. Best regards Edu ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From touche at sigil.homeunix.net Mon May 19 12:00:17 2003 From: touche at sigil.homeunix.net (Julien TOUCHE) Date: Mon, 19 May 2003 12:00:17 +0200 Subject: about check_procs + openbsd Message-ID: <3EC8AB31.7070002@sigil.homeunix.net> as chris said, i've just view it same results on 3.2 and a bit confusing on 3.3 bash-2.05b$ /opt/nagios/libexec/check_procs getty -c 6,8 WARNING - 22 processes running bash-2.05b$ ps ax|grep getty 8097 p3 R+ 0:00.02 grep getty (bash) 3539 C0 Is+ 0:00.05 /usr/libexec/getty Pc ttyC0 14473 C1 Is+ 0:00.04 /usr/libexec/getty Pc ttyC1 21671 C2 Is+ 0:00.05 /usr/libexec/getty Pc ttyC2 21546 C3 Is+ 0:00.05 /usr/libexec/getty Pc ttyC3 18899 C5 Is+ 0:00.04 /usr/libexec/getty Pc ttyC5 bash-2.05b$ /opt/nagios/libexec/check_procs snmpd -c 1,2 WARNING - 22 processes running bash-2.05b$ ps ax|wc -l 54 plugins are 1.3.0beta3 for me i check also 1.3.0 bash-2.05b$ ps -weo 'stat comm vsz rss user ppid args'|wc -l 20 bash-2.05b$ /opt/nagios/libexec/check_procs snmpd -c 1,2 WARNING - 19 processes running small test: on openbsd bash-2.05b$ ps -weo 'stat comm vsz rss user ppid args'|wc -l 20 bash-2.05b$ ps ax |wc -l 51 bash-2.05b$ ps axe |wc -l 51 bash-2.05b$ ps -axweo 'stat comm vsz rss user ppid args'|wc -l 51 on linux $ ps -weo 'stat comm vsz rss user ppid args'|wc -l 87 $ ps ax|wc -l 87 $ ps axe|wc -l 87 $ ps -axweo 'stat comm vsz rss user ppid args'|wc -l 87 i think a change is needed for ps args on openbsd (need 'ax') :) Regards Julien ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgillett at myrealbox.com Mon May 19 12:16:10 2003 From: mgillett at myrealbox.com (Mark Gillett) Date: Mon, 19 May 2003 11:16:10 +0100 Subject: Event on Comment or Schedule Downtime ? Message-ID: <001201c31def$b096fbe0$7a0fd23e@MGVAIO> Comments and scheduled downtime are sent into the daemon through the named pipe which provides the link from the CGI to the daemon. What I was hoping to facilitate was generating an 'event' that could send an email to interested parties (regarding the host) when a comment or scheduled downtime was added; has anyone attempted this - any ideas ? Thanks for your ideas. -MG -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Mon May 19 12:39:31 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 19 May 2003 06:39:31 -0400 Subject: check_smtp returning critical error wheneverything is working fine. In-Reply-To: References: Message-ID: <1053340771.4399.53.camel@miles.debisschop.net> On Mon, 2003-05-19 at 02:46, Craig Marchant wrote: > Hi Karl, > > Sorry should have been a little more detailed. It's been a long day. > > I'm currently using Redhat Linux Version 8.0, with Postfix 2.0.9. > The server im actually querying is: mail.acenet.com.au > > Nagios: 1.0 Release Date: 11/24/2002 <-- Downloaded from the website, > so i'm guessing it's the release version > Nagios Plugins: 1.3.0 <-- Downloaded from the sourceforge web site, > once again I guess release version. > > Service definition: > ------------------------------- > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name mail1 > service_description SMTP Service > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > Command Definition: > ------------------------- > > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ > } > > Here is the output from check_smtp: > ------------------------------------------- > [root at osiris libexec]# ./check_smtp --version > check_smtp (nagios-plugins 1.3.0) 1.9 > > [root at osiris libexec]# ./check_smtp -H mail.acenet.com.au -w 3 -c 5; > echo $? > SMTP OK - 1 second response time > Socket timeout after 10 seconds > 2 > [root at osiris libexec]# > ---------------------------------------------- It seems to work for me. [kdebisschop at miles sf]$ nagiosplug/build-redhat/plugins/check_smtp \ -H mail.acenet.com.au -w 28 -c 29 -t 30 ; echo $? SMTP OK - 11.042 sec. response time|time=11.042 0 I did note that the server passes back a syntax error when there is no user in the MAILTO you might want to try the -f option. [kdebisschop at miles sf]$ nagiosplug/build-redhat/plugins/check_smtp \ -H mail.acenet.com.au -f kdebisschop at infoplease.com -w 28 -c 29 -t 30; \ echo $? SMTP OK - 1.062 sec. response time|time=1.062 0 It might be worth trying the CVS from the r1_3_0 branch (or get a nightly snapshot from the stable branch). I did commit a fix for a timer loop that could be involved here. Good luck, and keep up posted. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timo.koskela at datavahti.fi Mon May 19 14:52:21 2003 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Mon, 19 May 2003 15:52:21 +0300 Subject: problems with trends,alert histogram... Message-ID: <000801c31e05$7ce72a20$b50fa8c0@fi.poltto> Hello all, I think that it's because those picture libraries, because it's complaining about them when configuring Nagios. I have installed all those libraries, but no use, same complainings. So how do I configure nagios that it notice, that I have already installed them? And could someone list what those libraries was, maybe I have forgotten one. And do I have to somehow clear previos Nagios insallation, how do I do that? In my first installation it went fine, with good luck, but now i'm very confused. So please, could someone help me step by step how to instal Nagios with those libraries. Thanks already! Timo Koskela -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Mon May 19 15:47:05 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 19 May 2003 09:47:05 -0400 Subject: training materiel Message-ID: <5F29693503507B4FB4032686ADF8626707453A@mtviny25.mtvi.com> I think this is a great idea to further the value of Nagios in the open source community and would be happy to help... Regards, Keith Hochberg keith.hochberg at mtvi.com -----Original Message----- From: Tom Welsh [mailto:twelsh at square-box.com] Sent: Sunday, May 18, 2003 4:13 PM To: 'Nagios List' Subject: [Nagios-users] training materiel Has anybody created any Nagios training material? I've got a requirement to provide some nagios training to a prospective client and wondered if anyone has created any literature, if so would I be able to purloin a copy from you. If no one has created any then I'll create some and pass it back for peer review if that is acceptable? In a matter of fact is anyone interested in creating a library of nagios training material for the community? Answers on a post card to me and the list Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juarez.alves.unitech at vivo.com.br Mon May 19 16:21:03 2003 From: juarez.alves.unitech at vivo.com.br (juarez.alves.unitech at vivo.com.br) Date: Mon, 19 May 2003 12:21:03 -0200 Subject: Nagios - Mail Message-ID: I have one doubts. The nagios this ordering the notifications saw email but they are not arriving at the destinatarios. She has as to specify for which server of email it orders the notifications? My problem is the following one: Our server of email was disactivated and is using one of another locality that has control of e-mails, apos this change e-mails had stopped to arrive as can decide? At?s Juarez -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbroec at ferranti.be Mon May 19 16:37:11 2003 From: dbroec at ferranti.be (dbroec) Date: 19 May 2003 14:37:11 -0000 Subject: Network devices / servers Message-ID: <20030519143711.17913.qmail@pod-163.dolphin-server.co.uk> Is it possible to monitor the interfaces ( ethernet, serial ) of cisco switches and routers ? Dave Broeckx ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at nss.wproduction.cz Mon May 19 17:30:57 2003 From: lists at nss.wproduction.cz (Martin Kuchar) Date: Mon, 19 May 2003 17:30:57 +0200 Subject: traffic count for eth0:0 Message-ID: <3EC8F8B1.8060700@nss.wproduction.cz> Please, can i count traffic for the virtual interfaces like eth0:0-eth0:10 ? in /proc, i have only found informations for eth0 thanks, Martin Kuchar ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 17:40:31 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Mon, 19 May 2003 17:40:31 +0200 Subject: AW: Network devices / servers Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4578@serv-075.icon-germany.local> Yes, via SNMP > -----Urspr?ngliche Nachricht----- > Von: dbroec [mailto:dbroec at ferranti.be] > Gesendet: Montag, 19. Mai 2003 16:37 > An: Nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Network devices / servers > > > > Is it possible to monitor the interfaces ( ethernet, serial ) > of cisco switches and routers ? > > Dave Broeckx > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or > Java code to make your application fit in a relational > database is painful, > don't do it! Check out ObjectStore. Now part of Progress > Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Mon May 19 18:00:43 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 19 May 2003 11:00:43 -0500 (CDT) Subject: event handler!!! In-Reply-To: <006501c31de3$fb432850$5201a8c0@Vanny> References: <006501c31de3$fb432850$5201a8c0@Vanny> Message-ID: On Mon, 19 May 2003, Soeun Vanny wrote: > Dear Sir; > > I'm wondering whether we can use "event handler" to restart a service on a > remote machine.For example: > > _A http service on a remote machine(it is not running nagios) is stopped.And > when a moniterd machine(it is running nagios) probed that the http service > on the remote is being stopped,can the event handler be applied to restart > that service? > Sure. Take a look at the example (for restarting apache on a local machine): http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Now, configure a nagios account on the remote machine that has privileges to run apachectl. Create an ssh keypair and publish the public key in the /home/nagios/.ssh/authorized_keys file. Modify the stock event handler to do something like: ssh -l nagios remote_box /usr/sbin/apachectl restart Hope that helps. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 17:57:22 2003 From: jmartens at cityofevanston.org (Martens, Jason) Date: Mon, 19 May 2003 10:57:22 -0500 Subject: Problem with Service Reporting? Message-ID: I'm running Nagios 1.0 on Red Hat 9.0, and I have a possible problem with a history report for one specific service. Nagios has the service marked as good in the service detail section, and in the report itself there are several sections when nagios shows the service was up (report is for last 24 hours). But in the report summary, it shows the service as being critical for 100% of the last 24 hours. What could explain the apparent contradiction between the service summary, and the detail section of the same report? I've attached the text output copied from the web page. Thanks, Jason -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ServiceHistory.txt URL: From ilclaudio at supereva.it Mon May 19 18:07:08 2003 From: ilclaudio at supereva.it (claudio) Date: Mon, 19 May 2003 18:07:08 +0200 Subject: check_disk check_proc on remote hosts Message-ID: <002a01c31e20$c976f8f0$587e0b3e@athlon> Hi, I think that check_host and check_proc can be used only to monitor local disks, is it true? How can I monitor the disk and the procs of other hosts? Do I have to write a script that does it! Thank you for helpig me claudio ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:41:33 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 19 May 2003 12:41:33 -0400 (EDT) Subject: check_ntp In-Reply-To: References: Message-ID: You are missing the -H in the command definition. It may have worked without it in older versions, but release 1.3.0 requires the option. You mentioned that nptd is being run from cron - is that the case for host1 or is ntpd running as a daemon. -sg On Fri, 16 May 2003, Irene Sakellarakis wrote: > The host is running an ntp server. > > >From checkcommands.cfg: > # 'check_ntp' command definition > define command{ > command_name check_ntp > command_line /usr/local/nagios/libexec/check_ntp $HOSTADDRESS$ > -w 60 -c 180 > } > > >From services.cfg > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name host1 > service_description NTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups unix-high > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ntp > > > OS on host1 is Red Hat 6.1, kernel 2.2.19 > > Thanks, > Irene > On Fri, 16 May 2003, Subhendu Ghosh wrote: > > > > > check_ntp -H host1 > > > > - requires that host1 be running a ntp server. > > > > What is the command config? > > > > -sg > > > > > > On Fri, 16 May 2003, Irene Sakellarakis wrote: > > > > > check_ntp -H $HOSTNAME$ works just fine from the command line of the > > > nagios server. I cannot get the web interface to display a check. I'm > > > confused as to whether the check occurs at all (since it works from > > > the command line) or if Nagios is, in effect, not updating this > > > particular service. > > > > > > The error message I get is: "NTP CRITICAL: No suitable peer server found - > > > Server for ntp probably down" > > > > > > What I've done so far: > > > > > > *Updated all my plugins to the latest version from sourceforge. > > > > > > *Specified the location of ntpdate in utils.pm to reflect the location on > > > the nagios server (this location is different on the client I'm checking). > > > > > > *ntpd seemed to be problematic on the host server, so I've stopped ntpd as > > > a daemon and am running a cron job every 60 seconds to synchronize with my > > > time server (stratum 2 server). > > > > > > Any assistance is greatly appreciated, > > > 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 > > > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Mon May 19 18:28:17 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 19 May 2003 17:28:17 +0100 Subject: check_ircd Message-ID: <1053361697.1293.15.camel@Monitor> Hi all, I have problem with checking servers IRC because, when I run the next command: [root at Monitor libexec]# ./check_ircd -H tagus.nortenet.pt -v -p 6667 and the answer is the next: MAIN(debug): hostname = Monitor MAIN(debug): binding to remote host: tagus.nortenet.pt -> 6667 ->Monitor IRCD UNKNOWN: Could not connect socket (Invalid argument) my check_ircd is in attach Best regards Edu -------------- next part -------------- A non-text attachment was scrubbed... Name: check_ircd Type: text/x-perl Size: 7437 bytes Desc: not available URL: From jcarro10 at sprintspectrum.com Mon May 19 18:41:58 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 19 May 2003 11:41:58 -0500 Subject: training materiel Message-ID: I recall seeing some sort of efforts being made back around Oct/02. A quick look in my own archive found a msg from Dean Bishop where he'd sketched a flowchart. Is this the sort of thing you're looking for? jc > -----Original Message----- > From: Tom Welsh [mailto:twelsh at square-box.com] > Sent: Sunday, May 18, 2003 3:13 PM > To: 'Nagios List' > Subject: [Nagios-users] training materiel > > > Has anybody created any Nagios training material? I've got a > requirement > to provide some nagios training to a prospective client and > wondered if > anyone has created any literature, if so would I be able to purloin a > copy from you. > > If no one has created any then I'll create some and pass it back for > peer review if that is acceptable? > > In a matter of fact is anyone interested in creating a > library of nagios > training material for the community? > > Answers on a post card to me and the list > > Cheers > > Tom Welsh > twelsh at square-box.com > > > > DISCLAIMER: This e-mail contains proprietary information some > or all of > which may be legally privileged. It is for the intended > recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you > are not the > intended recipient you must not use, disclose, distribute, > copy, print, > or rely on this e-mail. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is > painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Mon May 19 18:54:16 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 19 May 2003 12:54:16 -0400 Subject: Do not receive anymore pager notification Message-ID: <1053363255.3455.9.camel@localhost> Hi All ! Since a couple of weeks, and I did not change a thing, I do not receive any email notification... this is my identification in the contacts: define contact { contact_name frank alias Frank Gadot service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r ;Warning Unknown Critical Recovery host_notification_options d,u,r ;Down Unreachable Recovery service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email frank at epscorp.com pager 00000000 at vtext.com } here is the contact list: define contactgroup{ contactgroup_name ADMIN-PAGER alias ADMIN for pagers members frank,daji,steven,dan,jeff } Here is my service stuff define service{ use generic-service host_name NS07 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups ADMIN-EMAIL,ADMIN-PAGER notification_interval 5 notification_period 24x7 notification_options u,c,r check_command check_ping!100.0,20%!500.0,60% } I receive the email, because I am a member ot ADMIN-EMAIL, but I am also in ADMIN-PAGER and do not receive those. Any idea ? ;-) ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pspa at gp.novis.pt Mon May 19 18:56:47 2003 From: pspa at gp.novis.pt (Paulo Pinto) Date: 19 May 2003 17:56:47 +0100 Subject: event handler!!! In-Reply-To: References: Message-ID: <1053363407.12401.483.camel@voodoo.ip.pt> Yep.. looks great.. but, what about windoze machines ? I know it is possible to use the Microsoft Telnet Service ... but it's highly unsecure (you have to use some hardcoded user/pass pair besides the fact that it goes unincrypted ). Does anyone has a windows implementation of event handling ? Cheers On Mon, 2003-05-19 at 17:00, Demetri Mouratis wrote: > On Mon, 19 May 2003, Soeun Vanny wrote: > > > Dear Sir; > > > > I'm wondering whether we can use "event handler" to restart a service on a > > remote machine.For example: > > > > _A http service on a remote machine(it is not running nagios) is stopped.And > > when a moniterd machine(it is running nagios) probed that the http service > > on the remote is being stopped,can the event handler be applied to restart > > that service? > > > > Sure. Take a look at the example (for restarting apache on a local > machine): > > http://nagios.sourceforge.net/docs/1_0/eventhandlers.html > > Now, configure a nagios account on the remote machine that has privileges > to run apachectl. Create an ssh keypair and publish the public key in the > /home/nagios/.ssh/authorized_keys file. > > Modify the stock event handler to do something like: > > ssh -l nagios remote_box /usr/sbin/apachectl restart > > Hope that helps. > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Paulo Pinto Novis IT - GSP ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:38:42 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 19 May 2003 11:38:42 -0500 Subject: two instances Message-ID: http://nagios.sourceforge.net/docs/1_0/redundancy.html jc > -----Original Message----- > From: Eduardo Leit?o [mailto:eduardoleitao at interacesso.pt] > Sent: Monday, May 19, 2003 4:24 AM > To: Nagios List > Subject: [Nagios-users] two instances > > > Hi all, > > I would like to know if anyone knows if we can run two instances of > nagios in diferents machines but the two instances have to be > sincronize > for the case of one fail. Redundancy. because if the > connection fail in > the machine where nagios is tunning the aplications start sending > notifications, in my case sms, because email is unavailable, the > connection is down. > > Best regards > Edu > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is > painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Mon May 19 18:59:47 2003 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 19 May 2003 17:59:47 +0100 Subject: training materiel In-Reply-To: References: Message-ID: <000c01c31e28$0df9b6a0$0400a8c0@squarebox.com> Hi Jim, Probably. I'm just trying to pull all documents together and make a concerted effort to try and write some training material. I of course realise this will be a soul destroying and tedious job, But I need it so I may as well create it and pass what I create back to the community. I'm sure lots of it will get slated, but then I'm open for that. All I want at the end is documentation we can all use to train up new employees and use as an information Library DEAN, do you still have the flow charts? My main concern is that this could spiral out of control and end up documenting stuff out of the core nagios program. Like how to interface it to some weird box etc ANYBODY, if you have docs you have created to help you pass on knowledge about nagios to others and you don?t mind me chopping and changing them then please feel free to send me what you have Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: 19 May 2003 17:42 To: Tom Welsh; Nagios List Subject: RE: [Nagios-users] training materiel I recall seeing some sort of efforts being made back around Oct/02. A quick look in my own archive found a msg from Dean Bishop where he'd sketched a flowchart. Is this the sort of thing you're looking for? jc > -----Original Message----- > From: Tom Welsh [mailto:twelsh at square-box.com] > Sent: Sunday, May 18, 2003 3:13 PM > To: 'Nagios List' > Subject: [Nagios-users] training materiel > > > Has anybody created any Nagios training material? I've got a > requirement > to provide some nagios training to a prospective client and > wondered if > anyone has created any literature, if so would I be able to purloin a > copy from you. > > If no one has created any then I'll create some and pass it back for > peer review if that is acceptable? > > In a matter of fact is anyone interested in creating a > library of nagios > training material for the community? > > Answers on a post card to me and the list > > Cheers > > Tom Welsh > twelsh at square-box.com > > > > DISCLAIMER: This e-mail contains proprietary information some > or all of > which may be legally privileged. It is for the intended > recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you > are not the > intended recipient you must not use, disclose, distribute, > copy, print, > or rely on this e-mail. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is > painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 19:03:00 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Mon, 19 May 2003 10:03:00 -0700 Subject: check_disk check_proc on remote hosts In-Reply-To: <002a01c31e20$c976f8f0$587e0b3e@athlon> References: <002a01c31e20$c976f8f0$587e0b3e@athlon> Message-ID: <3EC90E44.1070309@pbp.net> claudio wrote: > Hi, > I think that check_host and check_proc can be used only to monitor local > disks, is it true? > How can I monitor the disk and the procs of other hosts? > Do I have to write a script that does it! > > Thank you for helpig me > check_by_ssh Works great! Example: # 'check_disk_ssh' command definition define command{ command_name check_disk_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C './check_disk -w $ARG1$ -c $ARG2$' } (line wrapping might be wrong..sorry) Nagios SSH's into another machine and runs the plugin and reports back. Simple! ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlquintero at manquehue.cl Mon May 19 19:00:35 2003 From: jlquintero at manquehue.cl (Quintero Rivas, Jose Luis) Date: Mon, 19 May 2003 13:00:35 -0400 Subject: Questio. Message-ID: <6AFB09D96448C14B800CD3886EA2B376340734@espino.manquehue.cl> Hi, I've been trying to install Nagios and at this moment I can compile the file nagios.cfg (-v command). The problem is when is running as a daemon (-d command) in the status.log file appears that plugin may be missing. How can I see if the plugin (nagios-plugins-1.3.0-1.i386.rpm) is installed? because in the /libeexec directory is empty. I don't have expierience with Nagios and that is the reason that I'm asking to you. Thanks a lot, Jos? Luis Quintero Rivas Gerencia T?cnica Manquehue Net (http://www.manquehue.cl) Av. El C?ndor 760 Ciudad Empresarial, Huechuraba, Santiago jlquintero at manquehue.cl Tel: (56 2) 950 5066 Fax: (56 2) 248 2525 ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon May 19 19:12:21 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 19 May 2003 12:12:21 -0500 Subject: Questio. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7157@mismail.ena.com> rpm -qa | grep nagios-plugins If you don't have anything in your libexec directory then either they're not installed or they're installed in the wrong location. -- Marc > -----Original Message----- > From: Quintero Rivas, Jose Luis [mailto:jlquintero at manquehue.cl] > Sent: Monday, May 19, 2003 12:01 PM > To: 'nagios-users at lists.sourceforge.net' > > > Hi, I've been trying to install Nagios and at this moment I can compile > the > file nagios.cfg (-v command). The problem is when is running as a daemon > (-d > command) in the status.log file appears that plugin may be missing. How > can > I see if the plugin (nagios-plugins-1.3.0-1.i386.rpm) is installed? > because > in the /libeexec directory is empty. I don't have expierience with Nagios > and that is the reason that I'm asking to you. > > Thanks a lot, > > Jos? Luis Quintero Rivas > Gerencia T?cnica > Manquehue Net (http://www.manquehue.cl) > Av. El C?ndor 760 > Ciudad Empresarial, Huechuraba, Santiago > jlquintero at manquehue.cl > Tel: (56 2) 950 5066 Fax: (56 2) 248 2525 > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon May 19 19:27:37 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 19 May 2003 12:27:37 -0500 Subject: Questio. Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E715B@mismail.ena.com> The normal procedure is to download the plugins from http://sourceforge.net/project/showfiles.php?group_id=29880 in your favorite format (rpm in your case it seems) then rpm -i nagios-plugins-.i386.rpm or if it's source tar zxvf nagios-plugins-.tar.gz cd nagios-plugins- ./configure make make install -- Marc > -----Original Message----- > From: Quintero Rivas, Jose Luis [mailto:jlquintero at manquehue.cl] > Sent: Monday, May 19, 2003 12:13 PM > To: Marc Powell > > Ok, but how can I install the plugins, where is the documentation??? > > Thanks, > > Jose Luis Quintero Rivas. > > -----Mensaje original----- > De: Marc Powell [mailto:mpowell at ena.com] > Enviado el: Lunes, 19 de Mayo de 2003 13:12 > Para: Quintero Rivas, Jose Luis; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] Questio. > > > rpm -qa | grep nagios-plugins > > If you don't have anything in your libexec directory then either they're > not > installed or they're installed in the wrong location. > > -- > Marc > > > -----Original Message----- > > From: Quintero Rivas, Jose Luis [mailto:jlquintero at manquehue.cl] > > Sent: Monday, May 19, 2003 12:01 PM > > To: 'nagios-users at lists.sourceforge.net' > > > > > > Hi, I've been trying to install Nagios and at this moment I can compile > > the > > file nagios.cfg (-v command). The problem is when is running as a daemon > > (-d > > command) in the status.log file appears that plugin may be missing. How > > can > > I see if the plugin (nagios-plugins-1.3.0-1.i386.rpm) is installed? > > because > > in the /libeexec directory is empty. I don't have expierience with > Nagios > > and that is the reason that I'm asking to you. > > > > Thanks a lot, > > > > Jos? Luis Quintero Rivas > > Gerencia T?cnica > > Manquehue Net (http://www.manquehue.cl) > > Av. El C?ndor 760 > > Ciudad Empresarial, Huechuraba, Santiago > > jlquintero at manquehue.cl > > Tel: (56 2) 950 5066 Fax: (56 2) 248 2525 > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: If flattening out C++ or Java > > code to make your application fit in a relational database is painful, > > don't do it! Check out ObjectStore. Now part of Progress Software. > > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From troodzant at roomlinx.com Mon May 19 19:41:31 2003 From: troodzant at roomlinx.com (Tony Roodzant) Date: Mon, 19 May 2003 10:41:31 -0700 Subject: question on: CGI pages unavailable Message-ID: <000101c31e2d$e29f5400$2800a8c0@roomlinxtech3> I am having some problems with my install/config of Nagios, and was hoping for some help. I have installed everything with default paths on RedHat 7.3, as far as I know. Where I am running into problems is on the Nagios webpage, when trying to get to any of the CGI pages, I get a URL not found error. This may just show my ignorance and inexerpience with Linux, but in looking at the instructions from Nagios for the config files, it seems to me that things don't line up... yet when I change them, it doesn't work either. This is what I see: The Nagios web-page says "the requested URL /cgi-bin/nagios/*.* (status.cgi, for example) was not found" yet the Nagios install instructions said to create a ScriptAlias in the httpd.conf file like "/nagios/cgi-bin/ /usr/local/nagios/sbin" with "Options ExecCGI". so aren't the paths backwards? It seems the web-browser is looking for /cgi/nagios but the ScriptAlias is pointing /nagios/cgi-bin/ to the real path. So I changed the ScriptAlias to what the web-browser is looking for (/cgi-bin/nagios/), but this doesn't seem to work either. I have tried it both with and without trailing slashes, and still no luck. I have commented out the default ScriptAlias of /cgi-bin/ "/var/www/cgi-bin/" as well. Maybe this isn't even where my problem lies, but I would appreciate help in this issue, whatever the problem is! Tony ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From troodzant at roomlinx.com Mon May 19 19:47:10 2003 From: troodzant at roomlinx.com (Tony Roodzant) Date: Mon, 19 May 2003 10:47:10 -0700 Subject: UPDATE: question on: CGI pages unavailable Message-ID: <000201c31e2e$acd8e3d0$2800a8c0@roomlinxtech3> Hello.. I am sorry.... just after writing this message, I figured it out. It was just my inexperience, although the instructions were wrong, as well. I had changed the httpd.conf file correctly by doing the opposite of the Nagios install instructions. My problem was that I was only restarting my Nagios, and forgot to restart httpd. I simply restarted httpd, and it works. Thank you. Tony -----Original Message----- From: Tony Roodzant [mailto:troodzant at roomlinx.com] Sent: Monday, May 19, 2003 10:42 AM To: 'nagios-users at lists.sourceforge.net' Subject: question on: CGI pages unavailable I am having some problems with my install/config of Nagios, and was hoping for some help. I have installed everything with default paths on RedHat 7.3, as far as I know. Where I am running into problems is on the Nagios webpage, when trying to get to any of the CGI pages, I get a URL not found error. This may just show my ignorance and inexerpience with Linux, but in looking at the instructions from Nagios for the config files, it seems to me that things don't line up... yet when I change them, it doesn't work either. This is what I see: The Nagios web-page says "the requested URL /cgi-bin/nagios/*.* (status.cgi, for example) was not found" yet the Nagios install instructions said to create a ScriptAlias in the httpd.conf file like "/nagios/cgi-bin/ /usr/local/nagios/sbin" with "Options ExecCGI". so aren't the paths backwards? It seems the web-browser is looking for /cgi/nagios but the ScriptAlias is pointing /nagios/cgi-bin/ to the real path. So I changed the ScriptAlias to what the web-browser is looking for (/cgi-bin/nagios/), but this doesn't seem to work either. I have tried it both with and without trailing slashes, and still no luck. I have commented out the default ScriptAlias of /cgi-bin/ "/var/www/cgi-bin/" as well. Maybe this isn't even where my problem lies, but I would appreciate help in this issue, whatever the problem is! Tony ------------------------------------------------------- This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Mon May 19 20:20:58 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 19 May 2003 14:20:58 -0400 Subject: Do not receive anymore pager notification In-Reply-To: <1053363255.3455.9.camel@localhost> References: <1053363255.3455.9.camel@localhost> Message-ID: <1053368456.3455.28.camel@localhost> I meant I do not receive any pager notification. Is my configuration good here ? On Mon, 2003-05-19 at 12:54, Frank Gadot wrote: > Hi All ! > > Since a couple of weeks, and I did not change a thing, I do not receive > any email notification... > > this is my identification in the contacts: > > define contact { > contact_name frank > alias Frank Gadot > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r ;Warning Unknown Critical Recovery > host_notification_options d,u,r ;Down Unreachable Recovery > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands host-notify-by-email,host-notify-by-epager > email frank at epscorp.com > pager 00000000 at vtext.com > } > > > > > here is the contact list: > define contactgroup{ > contactgroup_name ADMIN-PAGER > alias ADMIN for pagers > members frank,daji,steven,dan,jeff > } > > > Here is my service stuff > > define service{ > use generic-service > host_name NS07 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups ADMIN-EMAIL,ADMIN-PAGER > notification_interval 5 > notification_period 24x7 > notification_options u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > I receive the email, because I am a member ot ADMIN-EMAIL, but I am also > in ADMIN-PAGER and do not receive those. > > Any idea ? ;-) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Mon May 19 21:08:05 2003 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 19 May 2003 20:08:05 +0100 Subject: Do not receive anymore pager notification In-Reply-To: <1053368456.3455.28.camel@localhost> References: <1053368456.3455.28.camel@localhost> Message-ID: <000001c31e39$fa9f0300$0400a8c0@squarebox.com> Run ... /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg That will run the pre-flight check on your config and ensure that it is ok. Was it working and then it just stopped? Do any of your co workers receive the pages you don?t get? What have you changed recently? HTH Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Frank Gadot Sent: 19 May 2003 19:21 To: Nagios-Users Subject: Re: [Nagios-users] Do not receive anymore pager notification I meant I do not receive any pager notification. Is my configuration good here ? On Mon, 2003-05-19 at 12:54, Frank Gadot wrote: > Hi All ! > > Since a couple of weeks, and I did not change a thing, I do not receive > any email notification... > > this is my identification in the contacts: > > define contact { > contact_name frank > alias Frank Gadot > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r ;Warning Unknown Critical Recovery > host_notification_options d,u,r ;Down Unreachable Recovery > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands host-notify-by-email,host-notify-by-epager > email frank at epscorp.com > pager 00000000 at vtext.com > } > > > > > here is the contact list: > define contactgroup{ > contactgroup_name ADMIN-PAGER > alias ADMIN for pagers > members frank,daji,steven,dan,jeff > } > > > Here is my service stuff > > define service{ > use generic-service > host_name NS07 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups ADMIN-EMAIL,ADMIN-PAGER > notification_interval 5 > notification_period 24x7 > notification_options u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > I receive the email, because I am a member ot ADMIN-EMAIL, but I am also > in ADMIN-PAGER and do not receive those. > > Any idea ? ;-) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Mon May 19 21:12:15 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 19 May 2003 15:12:15 -0400 Subject: Do not receive anymore pager notification In-Reply-To: <000001c31e39$fa9f0300$0400a8c0@squarebox.com> References: <000001c31e39$fa9f0300$0400a8c0@squarebox.com> Message-ID: <1053371535.3455.43.camel@localhost> Hi ! 0 warnings, 0 erros.. Yeah, it was working and then just stopped. I am checking everything line by line right now.. It is a real pain in the ass :-( On Mon, 2003-05-19 at 15:08, Tom Welsh wrote: > Run ... > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > That will run the pre-flight check on your config and ensure that it is > ok. > > Was it working and then it just stopped? > Do any of your co workers receive the pages you dont get? > What have you changed recently? > > HTH > > Tom Welsh > twelsh at square-box.com > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Frank > Gadot > Sent: 19 May 2003 19:21 > To: Nagios-Users > Subject: Re: [Nagios-users] Do not receive anymore pager notification > > I meant I do not receive any pager notification. > Is my configuration good here ? > > On Mon, 2003-05-19 at 12:54, Frank Gadot wrote: > > Hi All ! > > > > Since a couple of weeks, and I did not change a thing, I do not > receive > > any email notification... > > > > this is my identification in the contacts: > > > > define contact { > > contact_name frank > > alias Frank Gadot > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r ;Warning Unknown > Critical Recovery > > host_notification_options d,u,r ;Down Unreachable > Recovery > > service_notification_commands notify-by-email,notify-by-epager > > host_notification_commands > host-notify-by-email,host-notify-by-epager > > email frank at epscorp.com > > pager 00000000 at vtext.com > > } > > > > > > > > > > here is the contact list: > > define contactgroup{ > > contactgroup_name ADMIN-PAGER > > alias ADMIN for pagers > > members frank,daji,steven,dan,jeff > > } > > > > > > Here is my service stuff > > > > define service{ > > use generic-service > > host_name NS07 > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 1 > > contact_groups ADMIN-EMAIL,ADMIN-PAGER > > notification_interval 5 > > notification_period 24x7 > > notification_options u,c,r > > check_command check_ping!100.0,20%!500.0,60% > > } > > > > > > I receive the email, because I am a member ot ADMIN-EMAIL, but I am > also > > in ADMIN-PAGER and do not receive those. > > > > Any idea ? ;-) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: If flattening out C++ or Java > > code to make your application fit in a relational database is painful, > > > don't do it! Check out ObjectStore. Now part of Progress Software. > > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Mon May 19 21:29:53 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 19 May 2003 15:29:53 -0400 Subject: contactgroups Message-ID: <1053372593.3455.50.camel@localhost> Hi all, Does this have something to do with my problem ? (not receiving any pager message) this host in hosts.cfg define host { use generic-host host_name FRANK alias FRANK - TEST address 192.168.1.41 check_command check-host-alive max_check_attempts 3 notification_interval 5 notification_period 24x7 notification_options d,u,r } hostgroups.cfg define hostgroup{ hostgroup_name WIN2K-SERVERS alias Windows 2000 Servers contact_groups ADMIN-EMAIL members FRANK } services.cfg #TEMP define service{ use generic-service ; Name of service template to use host_name FRANK service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups ADMIN-PAGER notification_interval 5 notification_period 24x7 notification_options u,c,r check_command check_ping!100.0,20%!500.0,60% } (NOTE THAT THE CONTACT GROUP DO NOT CONTAIN ADMIN-PAGER) --=> I receive only email. So how is this handled ? Thank you for any help. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From troodzant at roomlinx.com Mon May 19 21:41:47 2003 From: troodzant at roomlinx.com (Tony Roodzant) Date: Mon, 19 May 2003 12:41:47 -0700 Subject: Questio. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E715B@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E715B@mismail.ena.com> Message-ID: <000001c31e3e$afc00af0$2800a8c0@roomlinxtech3> Hi, I am just configuring Nagios for the first time as well, and this is my first time using Linux at all. I had the same questions/problems, and just figured that the plug-ins rpm wasn't working properly, because nothing was showing up. So I just tried using the tar plug-in download instead, and configuring and installing the tarball instead of using the rpm, and it worked fine. So my advice is just to use the tar file. Tony Roodzant Junior Systems Technician RoomLinX Inc. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Monday, May 19, 2003 10:28 AM To: Quintero Rivas, Jose Luis Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Questio. The normal procedure is to download the plugins from http://sourceforge.net/project/showfiles.php?group_id=29880 in your favorite format (rpm in your case it seems) then rpm -i nagios-plugins-.i386.rpm or if it's source tar zxvf nagios-plugins-.tar.gz cd nagios-plugins- ./configure make make install -- Marc > -----Original Message----- > From: Quintero Rivas, Jose Luis [mailto:jlquintero at manquehue.cl] > Sent: Monday, May 19, 2003 12:13 PM > To: Marc Powell > > Ok, but how can I install the plugins, where is the documentation??? > > Thanks, > > Jose Luis Quintero Rivas. > > -----Mensaje original----- > De: Marc Powell [mailto:mpowell at ena.com] > Enviado el: Lunes, 19 de Mayo de 2003 13:12 > Para: Quintero Rivas, Jose Luis; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] Questio. > > > rpm -qa | grep nagios-plugins > > If you don't have anything in your libexec directory then either they're > not > installed or they're installed in the wrong location. > > -- > Marc > > > -----Original Message----- > > From: Quintero Rivas, Jose Luis [mailto:jlquintero at manquehue.cl] > > Sent: Monday, May 19, 2003 12:01 PM > > To: 'nagios-users at lists.sourceforge.net' > > > > > > Hi, I've been trying to install Nagios and at this moment I can compile > > the > > file nagios.cfg (-v command). The problem is when is running as a daemon > > (-d > > command) in the status.log file appears that plugin may be missing. How > > can > > I see if the plugin (nagios-plugins-1.3.0-1.i386.rpm) is installed? > > because > > in the /libeexec directory is empty. I don't have expierience with > Nagios > > and that is the reason that I'm asking to you. > > > > Thanks a lot, > > > > Jos? Luis Quintero Rivas > > Gerencia T?cnica > > Manquehue Net (http://www.manquehue.cl) > > Av. El C?ndor 760 > > Ciudad Empresarial, Huechuraba, Santiago > > jlquintero at manquehue.cl > > Tel: (56 2) 950 5066 Fax: (56 2) 248 2525 > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: If flattening out C++ or Java > > code to make your application fit in a relational database is painful, > > don't do it! Check out ObjectStore. Now part of Progress Software. > > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 19 22:08:47 2003 From: Wim.DeGeeter at bt.be (Wim.DeGeeter at bt.be) Date: Mon, 19 May 2003 22:08:47 +0200 Subject: Warning message from Service Information Message-ID: Hi, I'm running nagios on a debian. I always get this warning. Warning: Monitoring process may not be running! Click here for more info. Everything works fine except I can not open the Service and Process commands. Anyone any idea?? Thanks in advance. Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon May 19 22:17:48 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 19 May 2003 15:17:48 -0500 Subject: Warning message from Service Information {SPAM?} Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E717F@mismail.ena.com> What does clicking on the link tell you. It's generally very descriptive. -- Marc ________________________________________ From: Wim.DeGeeter at bt.be [mailto:Wim.DeGeeter at bt.be] Sent: Monday, May 19, 2003 3:09 PM To: nagios-users at lists.sourceforge.net Hi, ? I'm running nagios on a debian. I always get this warning. Warning: Monitoring process may not be running! Click here for more info. Everything works fine except I can not open the Service and Process commands. Anyone any idea?? Thanks in advance. Wim ? ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 23:19:24 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 19 May 2003 17:19:24 -0400 (EDT) Subject: training materiel In-Reply-To: <000c01c31e28$0df9b6a0$0400a8c0@squarebox.com> References: <000c01c31e28$0df9b6a0$0400a8c0@squarebox.com> Message-ID: Hi Tom To keep it from spiralling out of control, map out the methods and procedures used by you target audience and then consider task oriented training. It will make the task oriented modules more modular ;) and rearranging the sequence based on changes in procedures much easier. It will also highlight procedural dependencies. -sg On Mon, 19 May 2003, Tom Welsh wrote: > Hi Jim, > > Probably. I'm just trying to pull all documents together and make a > concerted effort to try and write some training material. I of course > realise this will be a soul destroying and tedious job, But I need it so > I may as well create it and pass what I create back to the community. > I'm sure lots of it will get slated, but then I'm open for that. All I > want at the end is documentation we can all use to train up new > employees and use as an information Library > > DEAN, do you still have the flow charts? My main concern is that this > could spiral out of control and end up documenting stuff out of the core > nagios program. Like how to interface it to some weird box etc > > ANYBODY, if you have docs you have created to help you pass on knowledge > about nagios to others and you don?t mind me chopping and changing them > then please feel free to send me what you have > > Cheers > > Tom Welsh > twelsh at square-box.com > > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: 19 May 2003 17:42 > To: Tom Welsh; Nagios List > Subject: RE: [Nagios-users] training materiel > > I recall seeing some sort of efforts being made back around Oct/02. A > quick look in my own archive found a msg from Dean Bishop where he'd > sketched a flowchart. > > Is this the sort of thing you're looking for? > > jc > > > > -----Original Message----- > > From: Tom Welsh [mailto:twelsh at square-box.com] > > Sent: Sunday, May 18, 2003 3:13 PM > > To: 'Nagios List' > > Subject: [Nagios-users] training materiel > > > > > > Has anybody created any Nagios training material? I've got a > > requirement > > to provide some nagios training to a prospective client and > > wondered if > > anyone has created any literature, if so would I be able to purloin a > > copy from you. > > > > If no one has created any then I'll create some and pass it back for > > peer review if that is acceptable? > > > > In a matter of fact is anyone interested in creating a > > library of nagios > > training material for the community? > > > > Answers on a post card to me and the list > > > > Cheers > > > > Tom Welsh > > twelsh at square-box.com > > > > > > > > DISCLAIMER: This e-mail contains proprietary information some > > or all of > > which may be legally privileged. It is for the intended > > recipient only. > > If an addressing or transmission error has misdirected this e-mail, > > please notify the author by replying to this e-mail. If you > > are not the > > intended recipient you must not use, disclose, distribute, > > copy, print, > > or rely on this e-mail. > > > > The views expressed in this communication may not necessarily be the > > views held by squareBOX technologies ltd > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: If flattening out C++ or Java > > code to make your application fit in a relational database is > > painful, > > don't do it! Check out ObjectStore. Now part of Progress Software. > > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 23:50:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 19 May 2003 17:50:25 -0400 (EDT) Subject: check_ircd In-Reply-To: <1053361697.1293.15.camel@Monitor> References: <1053361697.1293.15.camel@Monitor> Message-ID: Hi Eduardo The IRCD UNKNOWN error points to the fact that Socket.pm may not be properly installed on your system. Which version of perl? Can you try and update Socket.pm from CPAN? Also - when I try and query the server in question - tagus.nortenet.pt I get (different) errors. But I do connect to the IRC server. --- ./check_ircd -H tagus.nortenet.pt -p 6667 IRCD UNKNOWN: Unknown error - maybe could not authenticate --- What kind of login is supported by this IRC server? -sg On 19 May 2003, Eduardo Leit?o wrote: > Hi all, I have problem with checking servers IRC because, when I run the > next command: > [root at Monitor libexec]# ./check_ircd -H tagus.nortenet.pt -v -p 6667 > > and the answer is the next: > MAIN(debug): hostname = Monitor > MAIN(debug): binding to remote host: tagus.nortenet.pt -> 6667 ->Monitor > IRCD UNKNOWN: Could not connect socket (Invalid argument) > > my check_ircd is in attach > > Best regards > Edu > > -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at battrick.org Mon May 19 22:50:19 2003 From: al at battrick.org (Alastair Battrick) Date: Mon, 19 May 2003 21:50:19 +0100 Subject: CGI Authentication Message-ID: I'm having an authentication problem. I've followed the instructions and it won't let me modify things via the web interface. Users chris and al are superuser with access to everything. When you go to the nagios admin area it asks for the user/pass and putting either al or chris and the right password lets us in and gives "Logged in as chris" (or "al"). We can monitor everything, but trying to schedule downtime, modify the schedule queue etc, we get a "Sorry, but you are not authorized to commit the specified command." I cannot see where we are going wrong, can someone point me in the right direction? Some conf settings: etc/cgi.cfg: use_authentication=1 authorized_for_system_information=chris,al authorized_for_configuration_information=chris,al authorized_for_system_commands=chris,al authorized_for_all_services=chris,al authorized_for_all_hosts=chris,al authorized_for_all_service_commands=al,chris authorized_for_all_host_commands=al,chris cgi-bin/.htaccess AND share/.htaccess: AuthName "Nagios Access" AuthType Basic AuthUserFile /home/nagios/etc/htpasswd.users require valid-user etc/htpasswd.users: chris:fk46y2/XfPSko al:3aULzc.eHzOu2 Cheers Alastair http://www.lightwood.net http://www.datasnake.co.uk http://www.pitchcare.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKornelsen at extremenetworks.com Mon May 19 23:51:11 2003 From: RKornelsen at extremenetworks.com (Randal Kornelsen) Date: Mon, 19 May 2003 14:51:11 -0700 Subject: Stale Services in Scheduling Queue Message-ID: <44B88EC6CAD5024FADA04D5D2438970BF44A25@sc-msexch-08.extremenetworks.com> I am having trouble with scheduled services not being run and going stale. The symptoms are that at various times, blocks of services fail to be run and then are never cleaned out of the Scheduling Queue. As long as the stale service check is in the queue the service is never rescheduled. Forcing each of the stale scheduled services to be immediately run removes the the stale job from the queue and the service can again be scheduled, and checked, automatically. For example, I manually cleaned up the scheduling queue on Friday, 5/16. On Saturday at 01:16:24 through 01:20:13 a block of 73 scheduled Services failed to run. At 01:23:29 through 01:23:29 6 scheduled services failed to run. Lastly, at 01:38:30 through 01:38:31 3 scheduled services failed to run. My implementation of Nagios 1.0 is running on Solaris 8. thank you, Randal Kornelsen Extreme Networks ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tong at keen.com Tue May 20 00:19:19 2003 From: Tong at keen.com (Tong Young) Date: Mon, 19 May 2003 15:19:19 -0700 Subject: failover monitoring script Message-ID: <96F2907F6F5F494DA70289DE3B15B11F30571822@keenx02.keencorp.keen.com> The documentation says to setup a cron job that will run NRPE and based on the output send the appropriate external command. Does anyone have a script to do this? I have already setup NRPE and tested it and it works great so far. My scripting skills are not that great though, and I am stuck on how to capture the appropriate exit code and then process it to get the correct external command to send. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnmc at johnmc.org Tue May 20 00:42:00 2003 From: johnmc at johnmc.org (John McDonnell) Date: Mon, 19 May 2003 15:42:00 -0700 (PDT) Subject: FYI - RH 7.3 xinetd patch breaks nrpe bash scripts In-Reply-To: References: <1053023170.29247.21.camel@nick.docmagic.com> Message-ID: On the 16th day of May, I said to myself: > What baffles me is that it works fine on the other RH 7.2, the RH > 7.3 and one of the RH 7.1 boxes. Just in case anyone cares, or needs a similar solution, I have managed to fix the problem. Some of the systems had the nrpe service defined as xnrpe. In /etc/xinetd.d/nrpe, the service line read: service xnrpe I changed it to service nrpe and everything is working again. johnmc. -- . johnmc@ | microb.us - +1-916-683-2276 (home) . . http:// | johnmc.org - +1-408-386-3549 (cell) . -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Tue May 20 00:55:45 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 19 May 2003 18:55:45 -0400 Subject: (no subject) Message-ID: <1053384944.3455.73.camel@localhost> All right, Is there a way to have EMail for some computers, and PAGER for some other computer ? Whatever I try, I have also BOTH (pager AND email), or just emails.. thank you ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohammad at cerberian.com Tue May 20 01:05:58 2003 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Mon, 19 May 2003 17:05:58 -0600 Subject: Problem with submitting external commands In-Reply-To: References: Message-ID: <3EC96356.5010805@cerberian.com> Hello all, How can I submit an external command from the command line? Nagios ignors the result of the following command. What am I doing wrong? Is this not proper? /bin/echo -e "bk_server\tBackup\t$RET_VAL\t$MSG\n" >>nagios.cmd Thanks MGhaeini ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohammad at cerberian.com Tue May 20 01:13:45 2003 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Mon, 19 May 2003 17:13:45 -0600 Subject: (no subject) In-Reply-To: <1053384944.3455.73.camel@localhost> References: <1053384944.3455.73.camel@localhost> Message-ID: <3EC96529.4010209@cerberian.com> There may be different ways to approach this. Please provide more info. MGhaeini Frank Gadot wrote: >All right, > >Is there a way to have EMail for some computers, and PAGER for some >other computer ? Whatever I try, I have also BOTH (pager AND email), or >just emails.. > >thank you > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohammad at cerberian.com Tue May 20 02:25:55 2003 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Mon, 19 May 2003 18:25:55 -0600 Subject: Problem with submitting external commands (Summary) In-Reply-To: <3EC96356.5010805@cerberian.com> References: <3EC96356.5010805@cerberian.com> Message-ID: <3EC97613.2000805@cerberian.com> I figured out my mistake. /bin/echo -e "[`date +%s`] PROCESS_SERVICE_CHECK_RESULT;bk_server;Backup;$RET_VAL;$MSG" >>nagios.cmd Thanks MGhaeini Mohammad Ghaeini wrote: > Hello all, > > How can I submit an external command from the command line? Nagios > ignors the result of the following command. What am I doing wrong? > Is this not proper? > > /bin/echo -e "bk_server\tBackup\t$RET_VAL\t$MSG\n" >>nagios.cmd > > Thanks > > MGhaeini > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 04:36:41 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 20 May 2003 10:36:41 +0800 Subject: flapping service Message-ID: <200305201036.51174.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I am just wondering if anyone have experienced this problem with Nagios. I am using Nagios 1.0 and (nagios-plugins 1.3.0-beta3) 1.13. One of my ftp service is always in flapping state despite that I have increased the service low flap threshold to say 15 and high flap threshold to 30. It will complain a "service check timed out" or return "ok" every now and then. The ftp service for that box is running fine. I have increased the plugin time out to be 90 secs and the service check time out to 90 secs as well. I am thinking is it because I have 2 nagios processes running the background after I started nagios? Is there anything else I can do to stop it from flapping and checking the service correctly? Inside the service template : service_description FTP check_command check_ftp!90 The command template: # 'check_ftp' command definition define command{ command_name check_ftp command_line $USER1$/check_ftp -H $HOSTADDRESS$ -t $ARG1$ } Here are my nagios.cfg settings: check_external_commands=0 command_check_interval=-1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=10 service_reaper_frequency=5 sleep_time=1 service_check_timeout=90 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=10 perfdata_timeout=5 retain_state_information=0 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=0 enable_notifications=0 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=0 check_service_freshness=0 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=15.0 high_service_flap_threshold=30.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 9 Total hosts: 2 Command check interval: -1 sec Check reaper interval: 5 sec Inter-check delay method: SMART Average check interval: 180.000 sec Inter-check delay: 20.000 sec Interleave factor method: SMART Average services per host: 4.500 Service interleave factor: 5 Initial service check scheduling info: -------------------------------------- First scheduled check: 1053397975 -> Tue May 20 02:32:55 2003 Last scheduled check: 1053398135 -> Tue May 20 02:35:35 2003 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 1 Recommend value: 3 - -- 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+yZTBNgvTa7Hj2AURAlOvAJ4zdSZ+FHa3QW9gMHHNIyE03BrJKACfcSEN wTGxZmpFdGZN4bVH86++Op4= =KNp1 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 05:23:31 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 20 May 2003 11:23:31 +0800 Subject: flapping service In-Reply-To: <200305201036.51174.jasmine.chua@securecirt.com> References: <200305201036.51174.jasmine.chua@securecirt.com> Message-ID: <200305201123.33322.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Thanks.. i guess I have solved it by increasing the low flap threshold . Thanks anyway! On Tuesday 20 May 2003 10:36, Jasmine wrote: > Hi > > I am just wondering if anyone have experienced this problem with Nagios. I > am using Nagios 1.0 and (nagios-plugins 1.3.0-beta3) 1.13. > > One of my ftp service is always in flapping state despite that I have > increased the service low flap threshold to say 15 and high flap threshold > to 30. It will complain a "service check timed out" or return "ok" every > now and then. The ftp service for that box is running fine. I have > increased the plugin time out to be 90 secs and the service check time out > to 90 secs as well. I am thinking is it because I have 2 nagios processes > running the background after I started nagios? Is there anything else I can > do to stop it from flapping and checking the service correctly? > > Inside the service template : > > service_description FTP > check_command check_ftp!90 > > The command template: > > # 'check_ftp' command definition > define command{ > command_name check_ftp > command_line $USER1$/check_ftp -H $HOSTADDRESS$ -t $ARG1$ > } > > Here are my nagios.cfg settings: > > check_external_commands=0 > command_check_interval=-1 > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=10 > service_reaper_frequency=5 > sleep_time=1 > service_check_timeout=90 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=10 > perfdata_timeout=5 > retain_state_information=0 > 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=0 > enable_notifications=0 > obsess_over_services=1 > ocsp_command=submit_check_result > check_for_orphaned_services=0 > check_service_freshness=0 > freshness_check_interval=60 > aggregate_status_updates=1 > status_update_interval=15 > enable_flap_detection=1 > low_service_flap_threshold=15.0 > high_service_flap_threshold=30.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 9 > Total hosts: 2 > > Command check interval: -1 sec > Check reaper interval: 5 sec > > Inter-check delay method: SMART > Average check interval: 180.000 sec > Inter-check delay: 20.000 sec > > Interleave factor method: SMART > Average services per host: 4.500 > Service interleave factor: 5 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1053397975 -> Tue May 20 02:32:55 2003 > Last scheduled check: 1053398135 -> Tue May 20 02:35:35 2003 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 1 > Recommend value: 3 - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 "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+yZ+zNgvTa7Hj2AURAj+YAJ0UJ+P2VLQxymgErk+08W+NhPsuEQCgvR7L m+OVgQexeRm0sfOeriAwkrM= =B4oK -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 05:41:35 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 20 May 2003 11:41:35 +0800 Subject: Fwd: Re: flapping service Message-ID: <200305201141.37945.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry guys, I am still facing this problem haha.. Despite I increased the low flap threshold. Some help please. Thanks! low_service_flap_threshold=70.0 high_service_flap_threshold=90.0 - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 "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+yaPvNgvTa7Hj2AURAqIUAJ9eYd3k980jOwiUFxOh3R0uAzc1fQCffxXJ /XBaWv9/YN53XzqYMZ2NzoM= =fQtn -----END PGP SIGNATURE----- -------------- next part -------------- An embedded message was scrubbed... From: Jasmine Subject: Re: [Nagios-users] flapping service Date: Tue, 20 May 2003 11:23:31 +0800 Size: 6918 URL: From Wim.DeGeeter at bt.be Tue May 20 09:47:48 2003 From: Wim.DeGeeter at bt.be (Wim.DeGeeter at bt.be) Date: Tue, 20 May 2003 09:47:48 +0200 Subject: Warning message from Service Information {SPAM ?} Message-ID: If I click I go to process info and I see that the Process Commands are not displayed With the message: It appears as though Nagios is not not running, so commands are temporarily unavailable. And the Process Status Information is unavailable With the message: Nagios check command did not return any output. If I go to a service I see the same, Service Commands are not displayed With the same message: It appears as though Nagios is not not running, so commands are temporarily unavailable. But Nagios is running. Regards Wim -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: 19 May 2003 22:18 To: Wim.DeGeeter at bt.be; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Warning message from Service Information {SPAM?} What does clicking on the link tell you. It's generally very descriptive. -- Marc ________________________________________ From: Wim.DeGeeter at bt.be [mailto:Wim.DeGeeter at bt.be] Sent: Monday, May 19, 2003 3:09 PM To: nagios-users at lists.sourceforge.net Hi, ? I'm running nagios on a debian. I always get this warning. Warning: Monitoring process may not be running! Click here for more info. Everything works fine except I can not open the Service and Process commands. Anyone any idea?? Thanks in advance. Wim ? ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 09:57:04 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 20 May 2003 17:57:04 +1000 Subject: Flap detection for traps ? Does it work ? Message-ID: <20030520175659.B24382@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to request comments on using Nagios 'flap detection' (with standard thresholds) with a service that is checked passively (by a traphandler injecting a PROCESS_SERVICE_CHECK_RESULT into the Nagios command queue). I was hoping to deal with the case where traps pour in with alternating UP and DOWN values leading to a notification cascade. Here is one of the offending service definitions define service{ use generic-service host_name ServerIron service_description SLB castor port reachability trap check_period none notification_period 24x7 contact_groups network-admins max_check_attempts 1 flap_detection_enabled 1 check_command check_ping } and here is what happens after simulating some traps Tue May 20 17:13:35 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). Tue May 20 17:13:35 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;0;Ok. SLB can reach port 389 on real server castor (10.0.100.11). Tue May 20 17:13:35 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). Tue May 20 17:13:35 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;0;Ok. SLB can reach port 389 on real server castor (10.0.100.11). Tue May 20 17:13:35 EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ServerIron;SLB castor port reachability trap;2;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). Tue May 20 17:13:35 SERVICE NOTIFICATION: networks;ServerIron;SLB castor port reachability trap;CRITICAL;notify-by-epager;Failed. SLB cannot reach port 389 on real server (server failure) castor (10.0.100.11). The global flap detection config directive is enabled (in nagios.cfg). Obviously I haven't understood the documentation. Please let me know where to look. 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 20 11:03:23 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 20 May 2003 11:03:23 +0200 Subject: check_procs problems Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE2E@rijpat-s-346.europe.shell.com> Hello I am trying to monitor 3 Processes with nagios. /usr/sbin/inetd pbs_server /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose -not I have tried the following. check_procs -c 1:1 -C /usr/sbin/inetd this works fine "OK - 1 processes running with command name /usr/sbin/inetd" check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 processes running with command name pbs_server" but ps -ef|grep pbs_server reports "root 19925 1 0 May 07 ? 0:25 pbs_server" so the service is up, but check_procs is not seeing it????? any ideas? also the third process i dont know how to check as the number in the command line changes with every instance of the process, so check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose -not" this will not work as only 1 process has that number. Any help from much appreciated. Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From awi at id.pl Tue May 20 13:12:43 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 20 May 2003 13:12:43 +0200 Subject: warning - critical Message-ID: <1053429162.2441.38.camel@andy> Hi I have a little problem. My service is down and I take a notification (critical) about it. 5 minutes later critical state (red color) change to warning state (yellow color). And I have not a notification about it :(. Normally I take a notification about OK state when critical (red color) change to OK (green color). Any idea ? PLease help me :o) -- AndY ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 11:25:11 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 20 May 2003 19:25:11 +1000 Subject: Flap detection for traps ? Does it work ? In-Reply-To: <20030520175659.B24382@IPAustralia.Gov.AU>; from Stanley.Hopcroft@ipaustralia.gov.au on Tue, May 20, 2003 at 05:57:04PM +1000 References: <20030520175659.B24382@IPAustralia.Gov.AU> Message-ID: <20030520192507.A226@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am sorry for the noise about this matter. The docco states 'Whenever a service check is performed that results in a hard state or a soft recovery state, Nagios checks to see if the services has started or stopped flapping. It does this by storing the results of the last 21 checks of the service in an array.' In this case, the checks are passive so there are _no_ regular service checks. Therefore, the buffer of service check results will always contain equal numbers of state transitions (between CRITICAL and OK) and thus will _not_ contain an accurate record of the service history: this sort of service will by definition be flapping (although hopefully with a high periodicity) It seems I will have to examine the flap detection threshold mechanism more carefully. 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 11:47:26 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Tue, 20 May 2003 11:47:26 +0200 Subject: warning - critical References: <1053429162.2441.38.camel@andy> Message-ID: <3EC9F9AE.5000205@loria.fr> Andrzej Wisniewski wrote: >Hi >I have a little problem. > >My service is down and I take a notification (critical) about it. > >5 minutes later critical state (red color) change to warning state >(yellow color). And I have not a notification about it :(. > >Normally I take a notification about OK state when critical (red color) >change to OK (green color). > >Any idea ? >PLease help me :o) > > > Hi Have you specify in "service.cfg" (about this service) that you have to be handle in warning case ? -- Lionel Verscheure ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue May 20 11:55:19 2003 From: nidecker at nidecker.net (nidecker) Date: 20 May 2003 09:55:19 -0000 Subject: Listen Zope Server Message-ID: <20030520095519.21965.qmail@pod-163.dolphin-server.co.uk> Hi, I would like to monitor a server Zope wich run on 8080 port. So i make a variation in the checkcommands.cfg like : # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ } So i can pass the port in argument, but nagios can't listen on this port and return : Socket timeout after 10 seconds Is there anybody who listen already a Zope Server ? Thanx ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Tue May 20 12:14:09 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 20 May 2003 12:14:09 +0200 (CEST) Subject: Trends and statusmap cgi problem Message-ID: <20030520101409.958.qmail@web10905.mail.yahoo.com> Hello, I have installed Nagios and i meet some problems with Trends.cgi and map.cgi Each time i try to access one of these cgi, I've got this error in my web browser : "Serveur error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: statusmap.cgi ERROR 500" I'm running RedHat 8.0, Apache 2.0.4 and Nagios 1.0 What can i do to solve this problem ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue May 20 12:32:07 2003 From: nidecker at nidecker.net (nidecker) Date: 20 May 2003 10:32:07 -0000 Subject: Network devices / servers Message-ID: <20030520103207.30010.qmail@pod-163.dolphin-server.co.uk> If they have different IP it would be possible in my opinion ... ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 20 12:48:41 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 11:48:41 +0100 Subject: check_procs problems Message-ID: <53104E20A25CD411B556009027E50636079A9AF5@pnnemp02.pn.egg.com> Which version of the plugins? If you run check_procs -v, it will show the ps command used. There maybe differences between the command used and ps -ef that you have used for the 2nd case below. For the 3rd case, -a matches substrings, so just use the start of the command "/opt/CTXSmf/slib/ctxXtw -session". Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 10:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_procs problems > > Hello > > I am trying to monitor 3 Processes with nagios. > > /usr/sbin/inetd > pbs_server > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose > -not > > > I have tried the following. > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine "OK > - 1 processes running with command name /usr/sbin/inetd" > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > processes running with command name pbs_server" > but ps -ef|grep pbs_server reports "root 19925 1 0 May 07 > ? 0:25 pbs_server" > so the service is up, but check_procs is not seeing it????? any ideas? > > also the third process i dont know how to check as the number in the > command line changes with every instance of the process, so > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate > -notransfills -frameexpose -not" this will not work as only 1 > process has that number. > > Any help from much appreciated. > > > Stuart > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 12:42:53 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 20 May 2003 20:42:53 +1000 Subject: RFC Negative experience of flap detection with passive service checks (traps). Message-ID: <20030520204251.B226@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am writing to report my unsatisfactory experience with Nagios 1.0 and flap detection for passive service checks (produced by SNMP traps). 1 Flap detection does not seem to work in this case (for services that are not checked periodically by Nag). Enabling flap_detection on the service or dropping the global high_flap_threshold (from 20% to 10%) does not change the behaviour: each time a trap changes the state the contact group is notified; the state change is notified (for flip-flop traps). 2 The service template files do not accept the flap_threshold values (with or without a decimal point). The config check rejects the service definition with the catch all error (failed to add resource at line %d). This seems to be a docco problem or a bug. I realise that hoping to have flap detection in such a case may be simply rediculous (because there never will be a service history to compare the current rate of service changes with) but it would be very helpful, at least to me, to do so. Has anyone had any experience with trap handling and flap detection they would like to share ? 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Tue May 20 12:53:44 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 20 May 2003 11:53:44 +0100 Subject: check_ircd In-Reply-To: References: Message-ID: <1053428024.29943.26.camel@Monitor> Hi -sg I'm using perl 5.8. I update socket.pm and the result is the same. if i use "check_tcp -H -p 6667" i can say that the server irc is ok???? best regards edu ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 20 12:45:39 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 11:45:39 +0100 Subject: about check_procs + openbsd Message-ID: <53104E20A25CD411B556009027E50636079A9AF4@pnnemp02.pn.egg.com> Which version of check_procs are you using? If you run check_procs -v, it will tell you the ps command used Check configure.in for the syntax checks that it is trying to find. A diff -u patch will be most appreciated! Ton > -----Original Message----- > From: Julien TOUCHE [SMTP:touche at sigil.homeunix.net] > Sent: Monday, May 19, 2003 11:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] about check_procs + openbsd > > > as chris said, i've just view it > same results on 3.2 > > and a bit confusing on 3.3 > > bash-2.05b$ /opt/nagios/libexec/check_procs getty -c 6,8 > WARNING - 22 processes running > bash-2.05b$ ps ax|grep getty > 8097 p3 R+ 0:00.02 grep getty (bash) > 3539 C0 Is+ 0:00.05 /usr/libexec/getty Pc ttyC0 > 14473 C1 Is+ 0:00.04 /usr/libexec/getty Pc ttyC1 > 21671 C2 Is+ 0:00.05 /usr/libexec/getty Pc ttyC2 > 21546 C3 Is+ 0:00.05 /usr/libexec/getty Pc ttyC3 > 18899 C5 Is+ 0:00.04 /usr/libexec/getty Pc ttyC5 > bash-2.05b$ /opt/nagios/libexec/check_procs snmpd -c 1,2 > WARNING - 22 processes running > bash-2.05b$ ps ax|wc -l > 54 > > plugins are 1.3.0beta3 for me > i check also 1.3.0 > > bash-2.05b$ ps -weo 'stat comm vsz rss user ppid args'|wc -l > 20 > bash-2.05b$ /opt/nagios/libexec/check_procs snmpd -c 1,2 > WARNING - 19 processes running > > small test: on openbsd > bash-2.05b$ ps -weo 'stat comm vsz rss user ppid args'|wc -l > 20 > bash-2.05b$ ps ax |wc -l > 51 > bash-2.05b$ ps axe |wc -l > 51 > bash-2.05b$ ps -axweo 'stat comm vsz rss user ppid args'|wc -l > 51 > > on linux > $ ps -weo 'stat comm vsz rss user ppid args'|wc -l > 87 > $ ps ax|wc -l > 87 > $ ps axe|wc -l > 87 > $ ps -axweo 'stat comm vsz rss user ppid args'|wc -l > 87 > > i think a change is needed for ps args on openbsd (need 'ax') :) > > > Regards > > Julien > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 20 13:01:48 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 20 May 2003 13:01:48 +0200 Subject: check_procs problems Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE33@rijpat-s-346.europe.shell.com> Thanks for reply Ton,, still no luck though here is my config # Service definition define service{ use generic-service ; Name of service template to use host_name citric-server service_description Check Citrix Daemon is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" } # 'check_procs_array' command definition define command{ command_name check_procs_array command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ } CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw -session BUT these services are running, lots of them in fact # ./check_procs -v /usr/bin/ps -Ao 's uid ppid comm args' OK - 68 processes running My version of ps is the standard solaris 8 version Cheers, help appreciated Stuart -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: 20 May 2003 12:49 To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs problems Which version of the plugins? If you run check_procs -v, it will show the ps command used. There maybe differences between the command used and ps -ef that you have used for the 2nd case below. For the 3rd case, -a matches substrings, so just use the start of the command "/opt/CTXSmf/slib/ctxXtw -session". Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 10:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_procs problems > > Hello > > I am trying to monitor 3 Processes with nagios. > > /usr/sbin/inetd > pbs_server > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills -frameexpose > -not > > > I have tried the following. > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine "OK > - 1 processes running with command name /usr/sbin/inetd" > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > processes running with command name pbs_server" > but ps -ef|grep pbs_server reports "root 19925 1 0 May 07 > ? 0:25 pbs_server" > so the service is up, but check_procs is not seeing it????? any ideas? > > also the third process i dont know how to check as the number in the > command line changes with every instance of the process, so > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate > -notransfills -frameexpose -not" this will not work as only 1 > process has that number. > > Any help from much appreciated. > > > Stuart > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frits.witjas at dexiabank.nl Tue May 20 13:07:32 2003 From: frits.witjas at dexiabank.nl (Frits Witjas) Date: Tue, 20 May 2003 13:07:32 +0200 Subject: Availability reports Message-ID: Hi all, Is there information available on how the availability reports are showing their info? Thanks in advance Met vriendelijke groet, Frits Witjas ______________ Dexia Bank Nederland ICT Professional Services T +31 (0)20 348 6451 | M +31 (0)6 22665753 F +31 (0)20 348 5700 | E Frits.Witjas at Dexiabank.nl Piet Heinkade 55 | 1019 GM Amsterdam P.O. Box 808 | 1000 AV Amsterdam ------------------------------------------------------------------------- No legal consequences can be derived from the contents of this e-mail neither is sender committed to these. The content of this e-mail is exclusively intended for addressee(s) and information purposes. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. ------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Tue May 20 13:14:44 2003 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 20 May 2003 12:14:44 +0100 Subject: Trends and statusmap cgi problem In-Reply-To: <20030520101409.958.qmail@web10905.mail.yahoo.com> References: <20030520101409.958.qmail@web10905.mail.yahoo.com> Message-ID: <000101c31ec1$0477fe40$0400a8c0@squarebox.com> Looks like the install didn?t find your gd libs. Verify that you have gd and gd-devel if its there it looks like nagios did not find it on compilation you may need to specify the path to the include and lib dirs using the ./configure switches --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files HTH Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Dussaux Sent: 20 May 2003 11:14 To: nagios-users at sourceforge.net Subject: [Nagios-users] Trends and statusmap cgi problem Hello, I have installed Nagios and i meet some problems with Trends.cgi and map.cgi Each time i try to access one of these cgi, I've got this error in my web browser : "Serveur error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: statusmap.cgi ERROR 500" I'm running RedHat 8.0, Apache 2.0.4 and Nagios 1.0 What can i do to solve this problem ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 20 13:29:46 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 12:29:46 +0100 Subject: check_procs problems Message-ID: <53104E20A25CD411B556009027E50636079A9AF7@pnnemp02.pn.egg.com> Try on the command line first, to remove the definitions out of the loop. I get on SunOS 5.6: $ ps -Ao 's uid ppid comm args' | grep ttymon S 0 1 /usr/lib/saf/ttymon /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d /dev/console -l co S 0 404 /usr/lib/saf/ttymon /usr/lib/saf/ttymon $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " OK - 1 processes running with args /usr/lib/saf/ttymon -g What do you get with: ps -Ao 's uid ppid comm args' | grep ctxXtw ? Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 12:02 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > Thanks for reply Ton,, > > still no luck though > > here is my config > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name citric-server > service_description Check Citrix Daemon > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > } > > # 'check_procs_array' command definition > define command{ > command_name check_procs_array > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > } > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw -session > > BUT these services are running, lots of them in fact > > # ./check_procs -v > /usr/bin/ps -Ao 's uid ppid comm args' > OK - 68 processes running > > My version of ps is the standard solaris 8 version > > > Cheers, help appreciated > > Stuart > > > > > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 12:49 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Which version of the plugins? > > If you run check_procs -v, it will show the ps command used. There maybe > differences between the command used and ps -ef that you have used for the > 2nd case below. > > For the 3rd case, -a matches substrings, so just use the start of the > command "/opt/CTXSmf/slib/ctxXtw -session". > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 10:03 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_procs problems > > > > Hello > > > > I am trying to monitor 3 Processes with nagios. > > > > /usr/sbin/inetd > > pbs_server > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > -frameexpose > > -not > > > > > > I have tried the following. > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine > "OK > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > > processes running with command name pbs_server" > > but ps -ef|grep pbs_server reports "root 19925 1 0 May > 07 > > ? 0:25 pbs_server" > > so the service is up, but check_procs is not seeing it????? any ideas? > > > > > also the third process i dont know how to check as the number in the > > command line changes with every instance of the process, so > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate > > -notransfills -frameexpose -not" this will not work as only 1 > > process has that number. > > > > Any help from much appreciated. > > > > > > Stuart > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 20 13:34:08 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 20 May 2003 13:34:08 +0200 Subject: check_procs problems Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE35@rijpat-s-346.europe.shell.com> Here is a small portion of the output, looks to me like i should be looking for thesame string as with ps -ef ps -Ao 's uid ppid comm args' | grep ctxXtw S 1910 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills -frameexpose -no S 1910 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills -frameexpose -not S 1949 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills -frameexpose -no S 4219 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills -frameexpose -no S 1949 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills -frameexpose -not S 19711 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills -frameexpose -no S 5316 335 /opt/CTXSmf/slib/ctxXtw /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills -frameexpose -no S 19711 21016 grep grep ctxXtw -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: 20 May 2003 13:30 To: Webster, Stuart SITI-ITDIUR; Voon, Ton; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs problems Try on the command line first, to remove the definitions out of the loop. I get on SunOS 5.6: $ ps -Ao 's uid ppid comm args' | grep ttymon S 0 1 /usr/lib/saf/ttymon /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d /dev/console -l co S 0 404 /usr/lib/saf/ttymon /usr/lib/saf/ttymon $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " OK - 1 processes running with args /usr/lib/saf/ttymon -g What do you get with: ps -Ao 's uid ppid comm args' | grep ctxXtw ? Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 12:02 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > Thanks for reply Ton,, > > still no luck though > > here is my config > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name citric-server > service_description Check Citrix Daemon > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > } > > # 'check_procs_array' command definition > define command{ > command_name check_procs_array > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > } > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw -session > > BUT these services are running, lots of them in fact > > # ./check_procs -v > /usr/bin/ps -Ao 's uid ppid comm args' > OK - 68 processes running > > My version of ps is the standard solaris 8 version > > > Cheers, help appreciated > > Stuart > > > > > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 12:49 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Which version of the plugins? > > If you run check_procs -v, it will show the ps command used. There maybe > differences between the command used and ps -ef that you have used for the > 2nd case below. > > For the 3rd case, -a matches substrings, so just use the start of the > command "/opt/CTXSmf/slib/ctxXtw -session". > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 10:03 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_procs problems > > > > Hello > > > > I am trying to monitor 3 Processes with nagios. > > > > /usr/sbin/inetd > > pbs_server > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > -frameexpose > > -not > > > > > > I have tried the following. > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine > "OK > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > > processes running with command name pbs_server" > > but ps -ef|grep pbs_server reports "root 19925 1 0 May > 07 > > ? 0:25 pbs_server" > > so the service is up, but check_procs is not seeing it????? any ideas? > > > > > also the third process i dont know how to check as the number in the > > command line changes with every instance of the process, so > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 -terminate > > -notransfills -frameexpose -not" this will not work as only 1 > > process has that number. > > > > Any help from much appreciated. > > > > > > Stuart > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Tue May 20 14:06:50 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 20 May 2003 14:06:50 +0200 (CEST) Subject: Trends and statusmap cgi problem In-Reply-To: <000101c31ec1$0477fe40$0400a8c0@squarebox.com> References: <000101c31ec1$0477fe40$0400a8c0@squarebox.com> Message-ID: <20030520120650.54754.qmail@web10906.mail.yahoo.com> Tom thanks for your help I try with these options : --with-gd-lib=/usr/lib --with-gd-inc=/usr/local/include When i run ./configure, it tells me that it found the gd library But when i compile i have this Warning : "Changing search order for system directory "/usr/local/include" as it has already been specified as a non-system directory" I try with the new cgis compiled and it does the same error. How can i do ? Steve --- Tom Welsh a ?crit?: > Looks like the install didn?t find your gd libs. > > Verify that you have gd and gd-devel if its there it looks like nagios > did not find it on compilation you may need to specify the path to the > include and lib dirs using the ./configure switches > > --with-gd-lib=DIR sets location of the gd library > --with-gd-inc=DIR sets location of the gd include files > > HTH > > Tom Welsh > twelsh at square-box.com > > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve > Dussaux > Sent: 20 May 2003 11:14 > To: nagios-users at sourceforge.net > Subject: [Nagios-users] Trends and statusmap cgi problem > > Hello, > > I have installed Nagios and i meet some problems with Trends.cgi and > map.cgi > Each time i try to access one of these cgi, I've got this error in my > web browser : > > "Serveur error! > The server encountered an internal error and was unable to complete your > request. > > Error message: > Premature end of script headers: statusmap.cgi > ERROR 500" > > I'm running RedHat 8.0, Apache 2.0.4 and Nagios 1.0 > What can i do to solve this problem ? > > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Tue May 20 14:34:37 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 20 May 2003 14:34:37 +0200 (CEST) Subject: Trends and statusmap cgi problem In-Reply-To: <20030520120650.54754.qmail@web10906.mail.yahoo.com> References: <20030520120650.54754.qmail@web10906.mail.yahoo.com> Message-ID: <20030520123437.97193.qmail@web10909.mail.yahoo.com> I've managed to solve the problem. I reinstall gd lib from RedHat RPM instead of sources. Thanks your help --- Steve Dussaux a ?crit?: > Tom thanks for your help > > I try with these options : > --with-gd-lib=/usr/lib > --with-gd-inc=/usr/local/include > > When i run ./configure, it tells me that it found the gd library > But when i compile i have this Warning : > > "Changing search order for system directory "/usr/local/include" as > it has already been specified as a non-system directory" > > I try with the new cgis compiled and it does the same error. > How can i do ? > > Steve > > --- Tom Welsh a ?crit?: > Looks like the install didn?t find your gd > libs. > > > > Verify that you have gd and gd-devel if its there it looks like nagios > > did not find it on compilation you may need to specify the path to the > > include and lib dirs using the ./configure switches > > > > --with-gd-lib=DIR sets location of the gd library > > --with-gd-inc=DIR sets location of the gd include files > > > > HTH > > > > Tom Welsh > > twelsh at square-box.com > > > > > > > > DISCLAIMER: This e-mail contains proprietary information some or all of > > which may be legally privileged. It is for the intended recipient only. > > If an addressing or transmission error has misdirected this e-mail, > > please notify the author by replying to this e-mail. If you are not the > > intended recipient you must not use, disclose, distribute, copy, print, > > or rely on this e-mail. > > > > The views expressed in this communication may not necessarily be the > > views held by squareBOX technologies ltd > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve > > Dussaux > > Sent: 20 May 2003 11:14 > > To: nagios-users at sourceforge.net > > Subject: [Nagios-users] Trends and statusmap cgi problem > > > > Hello, > > > > I have installed Nagios and i meet some problems with Trends.cgi and > > map.cgi > > Each time i try to access one of these cgi, I've got this error in my > > web browser : > > > > "Serveur error! > > The server encountered an internal error and was unable to complete your > > request. > > > > Error message: > > Premature end of script headers: statusmap.cgi > > ERROR 500" > > > > I'm running RedHat 8.0, Apache 2.0.4 and Nagios 1.0 > > What can i do to solve this problem ? > > > > > > Thanks, > > Steve > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 20 14:39:15 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 20 May 2003 14:39:15 +0200 Subject: check_procs problems Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE39@rijpat-s-346.europe.shell.com> Im baffled now ./check_procs -C /opt/CTXSmf/slib/ctxXtw OK - 17 processes running with command name /opt/CTXSmf/slib/ctxXtw that works when run on rempte hosts command line,, so there MUST be something with my config on the nagios server. but i cant spot it!!!!!!! # 'check_procs' command definition define command{ command_name check_procs command_line $USER1$/check_procs -c $ARG1$ -C $ARG2$ } # Service definition define service{ use generic-service ; Name of service template to use host_name rtssip33 service_description Check Citrix Daemon is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_procs!1:1!/opt/CTXSmf/slib/ctxXtw } -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: 20 May 2003 14:24 To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs problems Everything looks right, so I'm baffled. Couple of options: 1) check_procs -C /opt/CTXSmf/slib/ctxXtw should work 2) newer r1_3_0 branch at http://nagiosplug.sf.net/snapshot. Was an enhancement to -a argument, as r1.3.0 only matches from beginning of argument 3) use HEAD snapshot. check_procs -v -v -v will give maximum debug output 4) add debug statements in check_procs.c to work out why it is being rejected I bet it is something really obvious... Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 12:34 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > > Here is a small portion of the output, looks to me like i should be > looking for thesame string as with ps -ef > > ps -Ao 's uid ppid comm args' | grep ctxXtw > S 1910 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills > -frameexpose -no > S 1910 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills -frameexpose > -not > S 1949 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills > -frameexpose -no > S 4219 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills > -frameexpose -no > S 1949 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills -frameexpose > -not > S 19711 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills > -frameexpose -no > S 5316 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills > -frameexpose -no > > /opt/CTXSmf/slib/ctxXtw -session > S 19711 21016 grep > grep ctxXtw > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 13:30 > To: Webster, Stuart SITI-ITDIUR; Voon, Ton; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Try on the command line first, to remove the definitions out of the loop. > I > get on SunOS 5.6: > > $ ps -Ao 's uid ppid comm args' | grep ttymon > S 0 1 /usr/lib/saf/ttymon > /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d /dev/console > -l > co > S 0 404 /usr/lib/saf/ttymon > /usr/lib/saf/ttymon > $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " > OK - 1 processes running with args /usr/lib/saf/ttymon -g > > What do you get with: > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > ? > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 12:02 PM > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > Thanks for reply Ton,, > > > > still no luck though > > > > here is my config > > > > # Service definition > > define service{ > > use generic-service ; Name > of > > service template to use > > host_name citric-server > > service_description Check Citrix Daemon > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 15 > > retry_check_interval 1 > > contact_groups nagios-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command > > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > > } > > > > # 'check_procs_array' command definition > > define command{ > > command_name check_procs_array > > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > > } > > > > > > > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw > -session > > > > BUT these services are running, lots of them in fact > > > > # ./check_procs -v > > /usr/bin/ps -Ao 's uid ppid comm args' > > OK - 68 processes running > > > > My version of ps is the standard solaris 8 version > > > > > > Cheers, help appreciated > > > > Stuart > > > > > > > > > > > > -----Original Message----- > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > Sent: 20 May 2003 12:49 > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Which version of the plugins? > > > > If you run check_procs -v, it will show the ps command used. There maybe > > differences between the command used and ps -ef that you have used for > the > > 2nd case below. > > > > For the 3rd case, -a matches substrings, so just use the start of the > > command "/opt/CTXSmf/slib/ctxXtw -session". > > > > Ton > > > > > -----Original Message----- > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > Sent: Tuesday, May 20, 2003 10:03 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_procs problems > > > > > > Hello > > > > > > I am trying to monitor 3 Processes with nagios. > > > > > > /usr/sbin/inetd > > > pbs_server > > > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > > -frameexpose > > > -not > > > > > > > > > I have tried the following. > > > > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine > > "OK > > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > > > processes running with command name pbs_server" > > > but ps -ef|grep pbs_server reports "root 19925 1 0 > May > > 07 > > > ? 0:25 pbs_server" > > > so the service is up, but check_procs is not seeing it????? any > ideas? > > > > > > > > also the third process i dont know how to check as the number in the > > > command line changes with every instance of the process, so > > > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 > -terminate > > > -notransfills -frameexpose -not" this will not work as only > 1 > > > process has that number. > > > > > > Any help from much appreciated. > > > > > > > > > Stuart > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 20 14:23:34 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 13:23:34 +0100 Subject: check_procs problems Message-ID: <53104E20A25CD411B556009027E50636079A9AF8@pnnemp02.pn.egg.com> Everything looks right, so I'm baffled. Couple of options: 1) check_procs -C /opt/CTXSmf/slib/ctxXtw should work 2) newer r1_3_0 branch at http://nagiosplug.sf.net/snapshot. Was an enhancement to -a argument, as r1.3.0 only matches from beginning of argument 3) use HEAD snapshot. check_procs -v -v -v will give maximum debug output 4) add debug statements in check_procs.c to work out why it is being rejected I bet it is something really obvious... Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 12:34 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > > Here is a small portion of the output, looks to me like i should be > looking for thesame string as with ps -ef > > ps -Ao 's uid ppid comm args' | grep ctxXtw > S 1910 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills > -frameexpose -no > S 1910 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills -frameexpose > -not > S 1949 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills > -frameexpose -no > S 4219 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills > -frameexpose -no > S 1949 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills -frameexpose > -not > S 19711 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills > -frameexpose -no > S 5316 335 /opt/CTXSmf/slib/ctxXtw > /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills > -frameexpose -no > > /opt/CTXSmf/slib/ctxXtw -session > S 19711 21016 grep > grep ctxXtw > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 13:30 > To: Webster, Stuart SITI-ITDIUR; Voon, Ton; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Try on the command line first, to remove the definitions out of the loop. > I > get on SunOS 5.6: > > $ ps -Ao 's uid ppid comm args' | grep ttymon > S 0 1 /usr/lib/saf/ttymon > /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d /dev/console > -l > co > S 0 404 /usr/lib/saf/ttymon > /usr/lib/saf/ttymon > $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " > OK - 1 processes running with args /usr/lib/saf/ttymon -g > > What do you get with: > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > ? > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 12:02 PM > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > Thanks for reply Ton,, > > > > still no luck though > > > > here is my config > > > > # Service definition > > define service{ > > use generic-service ; Name > of > > service template to use > > host_name citric-server > > service_description Check Citrix Daemon > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 15 > > retry_check_interval 1 > > contact_groups nagios-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command > > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > > } > > > > # 'check_procs_array' command definition > > define command{ > > command_name check_procs_array > > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > > } > > > > > > > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw > -session > > > > BUT these services are running, lots of them in fact > > > > # ./check_procs -v > > /usr/bin/ps -Ao 's uid ppid comm args' > > OK - 68 processes running > > > > My version of ps is the standard solaris 8 version > > > > > > Cheers, help appreciated > > > > Stuart > > > > > > > > > > > > -----Original Message----- > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > Sent: 20 May 2003 12:49 > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Which version of the plugins? > > > > If you run check_procs -v, it will show the ps command used. There maybe > > differences between the command used and ps -ef that you have used for > the > > 2nd case below. > > > > For the 3rd case, -a matches substrings, so just use the start of the > > command "/opt/CTXSmf/slib/ctxXtw -session". > > > > Ton > > > > > -----Original Message----- > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > Sent: Tuesday, May 20, 2003 10:03 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_procs problems > > > > > > Hello > > > > > > I am trying to monitor 3 Processes with nagios. > > > > > > /usr/sbin/inetd > > > pbs_server > > > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > > -frameexpose > > > -not > > > > > > > > > I have tried the following. > > > > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works fine > > "OK > > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - 0 > > > processes running with command name pbs_server" > > > but ps -ef|grep pbs_server reports "root 19925 1 0 > May > > 07 > > > ? 0:25 pbs_server" > > > so the service is up, but check_procs is not seeing it????? any > ideas? > > > > > > > > also the third process i dont know how to check as the number in the > > > command line changes with every instance of the process, so > > > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 > -terminate > > > -notransfills -frameexpose -not" this will not work as only > 1 > > > process has that number. > > > > > > Any help from much appreciated. > > > > > > > > > Stuart > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 20 14:52:39 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 20 May 2003 14:52:39 +0200 Subject: check_procs problems Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE3D@rijpat-s-346.europe.shell.com> Yeah i knew that (if i understand what your saying ;-) ), nrpe is running on my remote host,, and its checking /usr/sbin/inetd just fine. OK - 1 processes running with command name /usr/sbin/inetd but I still get CRITICAL - 0 processes running with command name /opt/CTXSmf/slib/ctxXtw even though multiple instances are running. -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: 20 May 2003 14:44 To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs problems Ah-ha, making sense now. Do you realise plugins are run locally? You need nrpe or check_by_ssh to run a command on a remote server. > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 1:39 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > Im baffled now > ./check_procs -C /opt/CTXSmf/slib/ctxXtw > OK - 17 processes running with command name /opt/CTXSmf/slib/ctxXtw > > that works when run on rempte hosts command line,, so there MUST be > something with my config on the nagios server. but i cant spot it!!!!!!! > > # 'check_procs' command definition > define command{ > command_name check_procs > command_line $USER1$/check_procs -c $ARG1$ -C $ARG2$ > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name rtssip33 > service_description Check Citrix Daemon > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_procs!1:1!/opt/CTXSmf/slib/ctxXtw > } > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 14:24 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Everything looks right, so I'm baffled. Couple of options: > > 1) check_procs -C /opt/CTXSmf/slib/ctxXtw should work > 2) newer r1_3_0 branch at http://nagiosplug.sf.net/snapshot. Was an > enhancement to -a argument, as r1.3.0 only matches from beginning of > argument > 3) use HEAD snapshot. check_procs -v -v -v will give maximum debug output > 4) add debug statements in check_procs.c to work out why it is being > rejected > > I bet it is something really obvious... > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 12:34 PM > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > Here is a small portion of the output, looks to me like i should be > > looking for thesame string as with ps -ef > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills > > -frameexpose -no > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills > -frameexpose > > -not > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills > > -frameexpose -no > > S 4219 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills > > -frameexpose -no > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills > -frameexpose > > -not > > S 19711 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills > > -frameexpose -no > > S 5316 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills > > -frameexpose -no > > > > /opt/CTXSmf/slib/ctxXtw -session > > S 19711 21016 grep > > grep ctxXtw > > > > -----Original Message----- > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > Sent: 20 May 2003 13:30 > > To: Webster, Stuart SITI-ITDIUR; Voon, Ton; > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Try on the command line first, to remove the definitions out of the > loop. > > I > > get on SunOS 5.6: > > > > $ ps -Ao 's uid ppid comm args' | grep ttymon > > S 0 1 /usr/lib/saf/ttymon > > /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d > /dev/console > > -l > > co > > S 0 404 /usr/lib/saf/ttymon > > /usr/lib/saf/ttymon > > $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " > > OK - 1 processes running with args /usr/lib/saf/ttymon -g > > > > What do you get with: > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > > > ? > > > > Ton > > > > > -----Original Message----- > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > Sent: Tuesday, May 20, 2003 12:02 PM > > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Thanks for reply Ton,, > > > > > > still no luck though > > > > > > here is my config > > > > > > # Service definition > > > define service{ > > > use generic-service ; Name > > of > > > service template to use > > > host_name citric-server > > > service_description Check Citrix Daemon > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 15 > > > retry_check_interval 1 > > > contact_groups nagios-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command > > > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > > > } > > > > > > # 'check_procs_array' command definition > > > define command{ > > > command_name check_procs_array > > > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > > > } > > > > > > > > > > > > > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw > > -session > > > > > > BUT these services are running, lots of them in fact > > > > > > # ./check_procs -v > > > /usr/bin/ps -Ao 's uid ppid comm args' > > > OK - 68 processes running > > > > > > My version of ps is the standard solaris 8 version > > > > > > > > > Cheers, help appreciated > > > > > > Stuart > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > > Sent: 20 May 2003 12:49 > > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > > Which version of the plugins? > > > > > > If you run check_procs -v, it will show the ps command used. There > maybe > > > differences between the command used and ps -ef that you have used for > > the > > > 2nd case below. > > > > > > For the 3rd case, -a matches substrings, so just use the start of the > > > command "/opt/CTXSmf/slib/ctxXtw -session". > > > > > > Ton > > > > > > > -----Original Message----- > > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > > Sent: Tuesday, May 20, 2003 10:03 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] check_procs problems > > > > > > > > Hello > > > > > > > > I am trying to monitor 3 Processes with nagios. > > > > > > > > /usr/sbin/inetd > > > > pbs_server > > > > > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > > > -frameexpose > > > > -not > > > > > > > > > > > > I have tried the following. > > > > > > > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works > fine > > > "OK > > > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - > 0 > > > > processes running with command name pbs_server" > > > > but ps -ef|grep pbs_server reports "root 19925 1 0 > > May > > > 07 > > > > ? 0:25 pbs_server" > > > > so the service is up, but check_procs is not seeing it????? any > > ideas? > > > > > > > > > > > also the third process i dont know how to check as the number in the > > > > command line changes with every instance of the process, so > > > > > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 > > -terminate > > > > -notransfills -frameexpose -not" this will not work as > only > > 1 > > > > process has that number. > > > > > > > > Any help from much appreciated. > > > > > > > > > > > > Stuart > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Tue May 20 15:06:57 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Tue, 20 May 2003 18:36:57 +0530 Subject: Disk, CPU and Memory in Solaris (SPARC) with snmp Message-ID: <009e01c31ed0$b1dbaaa0$5f7b0297@atul> Hello, Can anyone tell me how can I monitor the CPU, Memory and Disk in Solaris (SPARC) with SNMP. If anyone can tell me how can I load the net-snmp or ucd-snmp mibs in solaris then the problem is solved. Or tell me the default oids for solaris for these events. The same requirement is for Windows. By the default Win SNMP i can't monitor the memory utilization. For that i am using NSClient but why this is not possible with net-snmp for windows. I have searched the net but not get much info about it. Any ideas !!!!!! Regards and have a nice day, Atul Shrivastava -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Tue May 20 14:43:38 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 13:43:38 +0100 Subject: check_procs problems Message-ID: <53104E20A25CD411B556009027E50636079A9AF9@pnnemp02.pn.egg.com> Ah-ha, making sense now. Do you realise plugins are run locally? You need nrpe or check_by_ssh to run a command on a remote server. > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 1:39 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > Im baffled now > ./check_procs -C /opt/CTXSmf/slib/ctxXtw > OK - 17 processes running with command name /opt/CTXSmf/slib/ctxXtw > > that works when run on rempte hosts command line,, so there MUST be > something with my config on the nagios server. but i cant spot it!!!!!!! > > # 'check_procs' command definition > define command{ > command_name check_procs > command_line $USER1$/check_procs -c $ARG1$ -C $ARG2$ > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name rtssip33 > service_description Check Citrix Daemon > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_procs!1:1!/opt/CTXSmf/slib/ctxXtw > } > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 14:24 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Everything looks right, so I'm baffled. Couple of options: > > 1) check_procs -C /opt/CTXSmf/slib/ctxXtw should work > 2) newer r1_3_0 branch at http://nagiosplug.sf.net/snapshot. Was an > enhancement to -a argument, as r1.3.0 only matches from beginning of > argument > 3) use HEAD snapshot. check_procs -v -v -v will give maximum debug output > 4) add debug statements in check_procs.c to work out why it is being > rejected > > I bet it is something really obvious... > > Ton > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 12:34 PM > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > Here is a small portion of the output, looks to me like i should be > > looking for thesame string as with ps -ef > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills > > -frameexpose -no > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills > -frameexpose > > -not > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills > > -frameexpose -no > > S 4219 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills > > -frameexpose -no > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills > -frameexpose > > -not > > S 19711 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills > > -frameexpose -no > > S 5316 335 /opt/CTXSmf/slib/ctxXtw > > /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills > > -frameexpose -no > > > > /opt/CTXSmf/slib/ctxXtw -session > > S 19711 21016 grep > > grep ctxXtw > > > > -----Original Message----- > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > Sent: 20 May 2003 13:30 > > To: Webster, Stuart SITI-ITDIUR; Voon, Ton; > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Try on the command line first, to remove the definitions out of the > loop. > > I > > get on SunOS 5.6: > > > > $ ps -Ao 's uid ppid comm args' | grep ttymon > > S 0 1 /usr/lib/saf/ttymon > > /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d > /dev/console > > -l > > co > > S 0 404 /usr/lib/saf/ttymon > > /usr/lib/saf/ttymon > > $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " > > OK - 1 processes running with args /usr/lib/saf/ttymon -g > > > > What do you get with: > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > > > ? > > > > Ton > > > > > -----Original Message----- > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > Sent: Tuesday, May 20, 2003 12:02 PM > > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Thanks for reply Ton,, > > > > > > still no luck though > > > > > > here is my config > > > > > > # Service definition > > > define service{ > > > use generic-service ; Name > > of > > > service template to use > > > host_name citric-server > > > service_description Check Citrix Daemon > > > is_volatile 0 > > > check_period 24x7 > > > max_check_attempts 3 > > > normal_check_interval 15 > > > retry_check_interval 1 > > > contact_groups nagios-admins > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r > > > check_command > > > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > > > } > > > > > > # 'check_procs_array' command definition > > > define command{ > > > command_name check_procs_array > > > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > > > } > > > > > > > > > > > > > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw > > -session > > > > > > BUT these services are running, lots of them in fact > > > > > > # ./check_procs -v > > > /usr/bin/ps -Ao 's uid ppid comm args' > > > OK - 68 processes running > > > > > > My version of ps is the standard solaris 8 version > > > > > > > > > Cheers, help appreciated > > > > > > Stuart > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > > Sent: 20 May 2003 12:49 > > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > > Which version of the plugins? > > > > > > If you run check_procs -v, it will show the ps command used. There > maybe > > > differences between the command used and ps -ef that you have used for > > the > > > 2nd case below. > > > > > > For the 3rd case, -a matches substrings, so just use the start of the > > > command "/opt/CTXSmf/slib/ctxXtw -session". > > > > > > Ton > > > > > > > -----Original Message----- > > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > > Sent: Tuesday, May 20, 2003 10:03 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] check_procs problems > > > > > > > > Hello > > > > > > > > I am trying to monitor 3 Processes with nagios. > > > > > > > > /usr/sbin/inetd > > > > pbs_server > > > > > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > > > -frameexpose > > > > -not > > > > > > > > > > > > I have tried the following. > > > > > > > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works > fine > > > "OK > > > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL - > 0 > > > > processes running with command name pbs_server" > > > > but ps -ef|grep pbs_server reports "root 19925 1 0 > > May > > > 07 > > > > ? 0:25 pbs_server" > > > > so the service is up, but check_procs is not seeing it????? any > > ideas? > > > > > > > > > > > also the third process i dont know how to check as the number in the > > > > command line changes with every instance of the process, so > > > > > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 > > -terminate > > > > -notransfills -frameexpose -not" this will not work as > only > > 1 > > > > process has that number. > > > > > > > > Any help from much appreciated. > > > > > > > > > > > > Stuart > > > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:37:46 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 20 May 2003 08:37:46 -0500 Subject: Trends and statusmap cgi problem Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7185@mismail.ena.com> Check your http error log. It'll be more descriptive. -- Marc > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: Tuesday, May 20, 2003 5:14 AM > To: nagios-users at sourceforge.net > > Hello, > > I have installed Nagios and i meet some problems with Trends.cgi and > map.cgi > Each time i try to access one of these cgi, I've got this error in my web > browser : > > "Serveur error! > The server encountered an internal error and was unable to complete your > request. > > Error message: > Premature end of script headers: statusmap.cgi > ERROR 500" > > I'm running RedHat 8.0, Apache 2.0.4 and Nagios 1.0 > What can i do to solve this problem ? > > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue May 20 15:16:14 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 20 May 2003 14:16:14 +0100 Subject: check_procs problems Message-ID: <53104E20A25CD411B556009027E50636079A9AFA@pnnemp02.pn.egg.com> You need to use check_nrpe from the central Nagios server to your remote host. Your check_command is running check_procs on the central Nagios server, not on the remote host. You need on the Nagios server something like: define service{ use generic-service host_name host service_description MEMORY check_command check_nrpe!check_swap } define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -to 30 -c $ARG1$ } And, on the remote host, nrpe.cfg something like: command[check_swap]=/usr/local/nagios/libexec/check_swap -w 100000 -c 50000 Ton > -----Original Message----- > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > Sent: Tuesday, May 20, 2003 1:53 PM > To: Voon, Ton; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > Yeah i knew that (if i understand what your saying ;-) ), nrpe is running > on my remote host,, and its checking /usr/sbin/inetd just fine. > > OK - 1 processes running with command name /usr/sbin/inetd > but I still get > CRITICAL - 0 processes running with command name /opt/CTXSmf/slib/ctxXtw > > even though multiple instances are running. > > -----Original Message----- > From: Voon, Ton [mailto:Ton.Voon at egg.com] > Sent: 20 May 2003 14:44 > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs problems > > > Ah-ha, making sense now. Do you realise plugins are run locally? You need > nrpe or check_by_ssh to run a command on a remote server. > > > -----Original Message----- > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > Sent: Tuesday, May 20, 2003 1:39 PM > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > Im baffled now > > ./check_procs -C /opt/CTXSmf/slib/ctxXtw > > OK - 17 processes running with command name /opt/CTXSmf/slib/ctxXtw > > > > that works when run on rempte hosts command line,, so there MUST be > > something with my config on the nagios server. but i cant spot it!!!!!!! > > > > # 'check_procs' command definition > > define command{ > > command_name check_procs > > command_line $USER1$/check_procs -c $ARG1$ -C $ARG2$ > > } > > > > > > # Service definition > > define service{ > > use generic-service ; Name > of > > service template to use > > host_name rtssip33 > > service_description Check Citrix Daemon > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 15 > > retry_check_interval 1 > > contact_groups nagios-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command > > check_procs!1:1!/opt/CTXSmf/slib/ctxXtw > > } > > > > -----Original Message----- > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > Sent: 20 May 2003 14:24 > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_procs problems > > > > > > Everything looks right, so I'm baffled. Couple of options: > > > > 1) check_procs -C /opt/CTXSmf/slib/ctxXtw should work > > 2) newer r1_3_0 branch at http://nagiosplug.sf.net/snapshot. Was an > > enhancement to -a argument, as r1.3.0 only matches from beginning of > > argument > > 3) use HEAD snapshot. check_procs -v -v -v will give maximum debug > output > > 4) add debug statements in check_procs.c to work out why it is being > > rejected > > > > I bet it is something really obvious... > > > > Ton > > > > > -----Original Message----- > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > Sent: Tuesday, May 20, 2003 12:34 PM > > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > > > > > Here is a small portion of the output, looks to me like i should be > > > looking for thesame string as with ps -ef > > > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 1022 -terminate -notransfills > > > -frameexpose -no > > > S 1910 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 207 -terminate -notransfills > > -frameexpose > > > -not > > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 1034 -terminate -notransfills > > > -frameexpose -no > > > S 4219 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 1044 -terminate -notransfills > > > -frameexpose -no > > > S 1949 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 772 -terminate -notransfills > > -frameexpose > > > -not > > > S 19711 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 1050 -terminate -notransfills > > > -frameexpose -no > > > S 5316 335 /opt/CTXSmf/slib/ctxXtw > > > /opt/CTXSmf/slib/ctxXtw -session 1084 -terminate -notransfills > > > -frameexpose -no > > > > > > /opt/CTXSmf/slib/ctxXtw -session > > > S 19711 21016 grep > > > grep ctxXtw > > > > > > -----Original Message----- > > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > > Sent: 20 May 2003 13:30 > > > To: Webster, Stuart SITI-ITDIUR; Voon, Ton; > > > nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > > Try on the command line first, to remove the definitions out of the > > loop. > > > I > > > get on SunOS 5.6: > > > > > > $ ps -Ao 's uid ppid comm args' | grep ttymon > > > S 0 1 /usr/lib/saf/ttymon > > > /usr/lib/saf/ttymon -g -h -p snail console login: -T sun -d > > /dev/console > > > -l > > > co > > > S 0 404 /usr/lib/saf/ttymon > > > /usr/lib/saf/ttymon > > > $ ./check_procs -c 1:20 -a "/usr/lib/saf/ttymon -g " > > > OK - 1 processes running with args /usr/lib/saf/ttymon -g > > > > > > What do you get with: > > > > > > ps -Ao 's uid ppid comm args' | grep ctxXtw > > > > > > ? > > > > > > Ton > > > > > > > -----Original Message----- > > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > > Sent: Tuesday, May 20, 2003 12:02 PM > > > > To: Voon, Ton; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > Thanks for reply Ton,, > > > > > > > > still no luck though > > > > > > > > here is my config > > > > > > > > # Service definition > > > > define service{ > > > > use generic-service ; > Name > > > of > > > > service template to use > > > > host_name citric-server > > > > service_description Check Citrix Daemon > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 3 > > > > normal_check_interval 15 > > > > retry_check_interval 1 > > > > contact_groups nagios-admins > > > > notification_interval 120 > > > > notification_period 24x7 > > > > notification_options w,u,c,r > > > > check_command > > > > check_procs_array!1:100!"/opt/CTXSmf/slib/ctxXtw -session" > > > > } > > > > > > > > # 'check_procs_array' command definition > > > > define command{ > > > > command_name check_procs_array > > > > command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ > > > > } > > > > > > > > > > > > > > > > > > > > > > > > CRITICAL - 0 processes running with args /opt/CTXSmf/slib/ctxXtw > > > -session > > > > > > > > BUT these services are running, lots of them in fact > > > > > > > > # ./check_procs -v > > > > /usr/bin/ps -Ao 's uid ppid comm args' > > > > OK - 68 processes running > > > > > > > > My version of ps is the standard solaris 8 version > > > > > > > > > > > > Cheers, help appreciated > > > > > > > > Stuart > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Voon, Ton [mailto:Ton.Voon at egg.com] > > > > Sent: 20 May 2003 12:49 > > > > To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] check_procs problems > > > > > > > > > > > > Which version of the plugins? > > > > > > > > If you run check_procs -v, it will show the ps command used. There > > maybe > > > > differences between the command used and ps -ef that you have used > for > > > the > > > > 2nd case below. > > > > > > > > For the 3rd case, -a matches substrings, so just use the start of > the > > > > command "/opt/CTXSmf/slib/ctxXtw -session". > > > > > > > > Ton > > > > > > > > > -----Original Message----- > > > > > From: Webster, Stuart SITI-ITDIUR [SMTP:Stuart.Webster at shell.com] > > > > > Sent: Tuesday, May 20, 2003 10:03 AM > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] check_procs problems > > > > > > > > > > Hello > > > > > > > > > > I am trying to monitor 3 Processes with nagios. > > > > > > > > > > /usr/sbin/inetd > > > > > pbs_server > > > > > > > > > > /opt/CTXSmf/slib/ctxXtw -session 835 -terminate -notransfills > > > > -frameexpose > > > > > -not > > > > > > > > > > > > > > > I have tried the following. > > > > > > > > > > > > > > > check_procs -c 1:1 -C /usr/sbin/inetd this works > > fine > > > > "OK > > > > > - 1 processes running with command name /usr/sbin/inetd" > > > > > > > > > > > > > > > check_procs -c 1:1 -C pbs_server this reports "CRITICAL > - > > 0 > > > > > processes running with command name pbs_server" > > > > > but ps -ef|grep pbs_server reports "root 19925 1 0 > > > May > > > > 07 > > > > > ? 0:25 pbs_server" > > > > > so the service is up, but check_procs is not seeing it????? any > > > ideas? > > > > > > > > > > > > > > also the third process i dont know how to check as the number in > the > > > > > command line changes with every instance of the process, so > > > > > > > > > > check_procs -c 1:20 -a "/opt/CTXSmf/slib/ctxXtw -session 835 > > > -terminate > > > > > -notransfills -frameexpose -not" this will not work as > > only > > > 1 > > > > > process has that number. > > > > > > > > > > Any help from much appreciated. > > > > > > > > > > > > > > > Stuart > > > > > > > > > This private and confidential e-mail has been sent to you by Egg. > > The Egg group of companies includes Egg Banking plc > > (registered no. 2999842), Egg Financial Products Ltd (registered > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > carries out investment business on behalf of Egg and is regulated > > by the Financial Services Authority. > > Registered in England and Wales. Registered offices: 1 Waterhouse > Square, > > 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have > > received it in error, please notify the sender by replying with > > 'received in error' as the subject and then delete it from your > > mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:32:35 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 20 May 2003 08:32:35 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7183@mismail.ena.com> Set up one contact group for the pager user, set up another contact group for the email user. Use the pager contact group as the contact for those hosts that should page. Use the email contact group as the contact for those hosts that should email. -- Marc > -----Original Message----- > From: Frank Gadot [mailto:frank.gadot at epscorp.com] > Sent: Monday, May 19, 2003 5:56 PM > To: Nagios-Users > > All right, > > Is there a way to have EMail for some computers, and PAGER for some > other computer ? Whatever I try, I have also BOTH (pager AND email), or > just emails.. > > thank you > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:14:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 20 May 2003 10:14:21 -0400 (EDT) Subject: check_ircd In-Reply-To: <1053428024.29943.26.camel@Monitor> References: <1053428024.29943.26.camel@Monitor> Message-ID: On 20 May 2003, Eduardo Leit?o wrote: > Hi -sg > > I'm using perl 5.8. I update socket.pm and the result is the same. > > if i use "check_tcp -H -p 6667" i can say that the server > irc is ok???? > Yes that will work. It will tell you if the irc server is upo or down. It will not tell you how many users are logged on. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nidecker at nidecker.net Tue May 20 17:22:02 2003 From: nidecker at nidecker.net (nidecker) Date: 20 May 2003 15:22:02 -0000 Subject: Listen Zope Server Message-ID: <20030520152202.945.qmail@pod-163.dolphin-server.co.uk> > Try this... > > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ > } > > Regards, > Hagen Thanks : that's rock ! ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at userve.net Tue May 20 17:51:26 2003 From: matt at userve.net (Matt Churchyard) Date: Tue, 20 May 2003 16:51:26 +0100 Subject: Turn off authentication Message-ID: <008b01c31ee7$abbfac90$9c00a8c0@userve.net> Hello, Hopefully someone can help me with what seems a simple setup My nagios server in inside a firewall and so i would like to turn off all authentication. I have set use_authentication to 0, set the default_user to nagiosadmin and added nagiosadmin to all the auth lists (authorized_for_system_information/etc...) but still cannot use the cmd.cgi Does anyone have some simple instructions on how i can completely disable the nagios authentication as it is useless to us.. Regards, Matt Churchyard _______________________________ Project Development Manager Userve Internet matt at userve.net http://www.userve.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.gadot at epscorp.com Tue May 20 18:19:03 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 20 May 2003 12:19:03 -0400 Subject: (no subject) In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7183@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7183@mismail.ena.com> Message-ID: <1053447542.7568.14.camel@localhost> Hi ! This is actually what I did: I have a contact group called ADMIN-EMAIL and another contact group called ADMIN-PAGER . On the hostgroups.cfg file, I defined a hostgroup with for contact group ADMIN-EMAIL,ADMIN-PAGER What is this going to do ? Now, if I go to services.cfg, I have for example a host which has for contact_group ADMIN-EMAIL If that computer is down, I receive an Email AND pager anyway.. Is there a link with the hostgroups.cfg file ? thank you. On Tue, 2003-05-20 at 09:32, Marc Powell wrote: > Set up one contact group for the pager user, set up another contact > group for the email user. Use the pager contact group as the contact for > those hosts that should page. Use the email contact group as the contact > for those hosts that should email. > > -- > > Marc > > > -----Original Message----- > > From: Frank Gadot [mailto:frank.gadot at epscorp.com] > > Sent: Monday, May 19, 2003 5:56 PM > > To: Nagios-Users > > > > All right, > > > > Is there a way to have EMail for some computers, and PAGER for some > > other computer ? Whatever I try, I have also BOTH (pager AND email), > or > > just emails.. > > > > thank you > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 19:52:11 2003 From: drich at employees.org (Dan Rich) Date: Tue, 20 May 2003 10:52:11 -0700 (PDT) Subject: training materiel In-Reply-To: <000401c31d79$ec1d5720$0400a8c0@squarebox.com> References: <000401c31d79$ec1d5720$0400a8c0@squarebox.com> Message-ID: <46264.63.237.201.12.1053453131.squirrel@www.lapseofthought.com> Tom Welsh said: > Has anybody created any Nagios training material? I've got a requirement > to provide some nagios training to a prospective client and wondered if > anyone has created any literature, if so would I be able to purloin a > copy from you. I have a very basic tutorial that I put together for the folks in my group. It's all web based, and as long as you are running on our network :) it will bring up a 2nd window with a copy of our running Nagios displays in it to show the user how it works. If you would like to take a look at it, I have put a copy up on my personal server at: http://www.lapseofthought.com/NagiosOverview/ I am also interested in feedback, as I consider it to be a living document and it keeps changing weekly. -- 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 19:40:14 2003 From: drich at employees.org (Dan Rich) Date: Tue, 20 May 2003 10:40:14 -0700 (PDT) Subject: More passive problems In-Reply-To: References: Message-ID: <43011.63.237.201.12.1053452414.squirrel@www.lapseofthought.com> Thanks to everyone who offered suggestions on this problem, I think I have it licked. As a few of you said, most if it comes down to the command_check_interval. Setting it to 1 seems to have taken care of most of the problems. I also dropped the service_reaper_frequency down to 5 and turned off external command logging (just to take away the I/O). I still see occasional high loads, but they tend to be in the 15-20 range rather than in the 100+ range. I would have sent this out to everyone sooner, but I wanted to give things a week or so to "burn in". We even had an event the other day where most of our farm when down, and Nagios handled it with flying colors (I wish the same could be said of the person who got the flock of pages when things started to come down. :) Thanks again to everyone who offered suggestions! Now back to trying to make the current plugin snapshot version of check_disk stop dumping core on IRIX...... Erik Larkin said: > > 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 > > -- 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From touche at sigil.homeunix.net Tue May 20 19:46:40 2003 From: touche at sigil.homeunix.net (Julien TOUCHE) Date: Tue, 20 May 2003 19:46:40 +0200 Subject: about check_procs + openbsd In-Reply-To: <53104E20A25CD411B556009027E50636079A9AF4@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636079A9AF4@pnnemp02.pn.egg.com> Message-ID: <3ECA6A00.5060304@sigil.homeunix.net> Voon, Ton wrote: > Which version of check_procs are you using? > > If you run check_procs -v, it will tell you the ps command used as i said it is 1.3.0beta3 but i test also 1.3.0 with the same behavior. > > Check configure.in for the syntax checks that it is trying to find. A diff > -u patch will be most appreciated! > > Ton here a patch. i choose to put as default. it works on linux & openbsd, test on others, please or else make a dedicated entry for openbsd (but before the actual first one as it matched). note than ps options order IS important (axweo works, not weoax) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch URL: From frank.gadot at epscorp.com Tue May 20 21:10:31 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 20 May 2003 15:10:31 -0400 Subject: Diff. between contact_groups Message-ID: <1053457831.7568.49.camel@localhost> Hi all, Can someone explain to me the difference between the contact_group in "hostgroups.cfg" and in "services.cfg" ? thank you. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 20 21:21:50 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 20 May 2003 14:21:50 -0500 Subject: training materiel Message-ID: That page looks a little peculiar in Phoenix. Seems okay in IE, although it seems to be missing some images. jc Dan Rich wrote: > If you would like to take a look at it, I have put a copy up > on my personal > server at: > http://www.lapseofthought.com/NagiosOverview/ > > I am also interested in feedback, as I consider it to be a > living document and > it keeps changing weekly. > > -- > 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Tue May 20 20:51:04 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 20 May 2003 14:51:04 -0400 Subject: Notification problem Message-ID: <1053456664.7568.41.camel@localhost> Hi all, It is me again. Well, it seems that the only notification I get depend on what I put as a contact_group in hostgroups.cfg , whatever I put in the contact for services.cfg (in front of the right host). What I want is receive some email for some computers, and for some other computers I want to receive email+pager thank you ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 20 22:12:18 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 20 May 2003 15:12:18 -0500 (CDT) Subject: check_ntp In-Reply-To: References: Message-ID: I added that and restarted Nagios. I'm afraid there's no change. Ntp is run as a cron job only on the Nagios host. Host1 is running ntpd as a daemon. -Irene On Mon, 19 May 2003, Subhendu Ghosh wrote: > > You are missing the -H in the command definition. It may have worked > without it in older versions, but release 1.3.0 requires the option. > > You mentioned that nptd is being run from cron - is that the case for > host1 or is ntpd running as a daemon. > > -sg > > > On Fri, 16 May 2003, Irene Sakellarakis wrote: > > > The host is running an ntp server. > > > > >From checkcommands.cfg: > > # 'check_ntp' command definition > > define command{ > > command_name check_ntp > > command_line /usr/local/nagios/libexec/check_ntp $HOSTADDRESS$ > > -w 60 -c 180 > > } > > > > >From services.cfg > > # Service definition > > define service{ > > use generic-service ; Name of > > service template to use > > > > host_name host1 > > service_description NTP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups unix-high > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_ntp > > > > > > OS on host1 is Red Hat 6.1, kernel 2.2.19 > > > > Thanks, > > Irene > > On Fri, 16 May 2003, Subhendu Ghosh wrote: > > > > > > > > check_ntp -H host1 > > > > > > - requires that host1 be running a ntp server. > > > > > > What is the command config? > > > > > > -sg > > > > > > > > > On Fri, 16 May 2003, Irene Sakellarakis wrote: > > > > > > > check_ntp -H $HOSTNAME$ works just fine from the command line of the > > > > nagios server. I cannot get the web interface to display a check. I'm > > > > confused as to whether the check occurs at all (since it works from > > > > the command line) or if Nagios is, in effect, not updating this > > > > particular service. > > > > > > > > The error message I get is: "NTP CRITICAL: No suitable peer server found - > > > > Server for ntp probably down" > > > > > > > > What I've done so far: > > > > > > > > *Updated all my plugins to the latest version from sourceforge. > > > > > > > > *Specified the location of ntpdate in utils.pm to reflect the location on > > > > the nagios server (this location is different on the client I'm checking). > > > > > > > > *ntpd seemed to be problematic on the host server, so I've stopped ntpd as > > > > a daemon and am running a cron job every 60 seconds to synchronize with my > > > > time server (stratum 2 server). > > > > > > > > Any assistance is greatly appreciated, > > > > 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 > > > > > > > > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 00:06:35 2003 From: wim.degeeter at bt.be (wimdeg) Date: 20 May 2003 22:06:35 -0000 Subject: Service and Process commands unavailable Message-ID: <20030520220635.17011.qmail@pod-163.dolphin-server.co.uk> Hi, I'm running nagios on a debian. I always get this warning. Warning: Monitoring process may not be running! Click here for more info.=20 If I click I go to process info and I see that the Process Commands are not displayed With the message: It appears as though Nagios is not not running, so commands are temporarily unavailable. And the Process Status Information is unavailable With the message: Nagios check command did not return any output. If I go to a service I see the same, Service Commands are not displayed With the same message: It appears as though Nagios is not not running, so commands are temporarily unavailable. But Nagios is running. Regards ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbwalters at comcast.net Wed May 21 01:16:04 2003 From: dbwalters at comcast.net (Dennis & Beverley Walters) Date: Tue, 20 May 2003 19:16:04 -0400 Subject: HELP- Error! I am NOT a user. Message-ID: <000a01c31f25$c98fc780$f8693944@cnorth01.va.comcast.net> I have been receiving text messages in error since Wednesday, 5/14. I AM NOT A USER Someone has entered my telephone number by mistake. (804) 640-3248 I receive numerous messages daily. They are NOT for me. I don't know anyone who would ever have reason to send me text messages. If you know anything about this or can help me in anyway, I would greatly appreciate it. Examples of messages I am receiving: nagios!** PROBLEM alert - TSBoykins/Processor is CRITICAL: ***Nagios 1.Ob4*** Notification Type: PROBLEM Serivce: Processor Host: TSBoyk 10:34A 5/16 Nagios!** PROBLDMalert - TSChester/Processor is CRITICAL** ***Nagios 1.0b4*** Notification Type:PROBLEM Service: Processor Host: TSChes 4:46P 5/15 nagios** PROBLEM alert - TSRohoic/Processor is critical** ***Nagios 10b4*** Notification Type: Problem Service: Processor Host: TSRohoi 4:25 P 5/20 Your help and consideration is this matter is greatly appreciated. Beverley -------------- next part -------------- An HTML attachment was scrubbed... URL: From amen at oreilly.com Wed May 21 01:48:40 2003 From: amen at oreilly.com (Bob Amen) Date: Tue, 20 May 2003 16:48:40 -0700 Subject: Service and Process commands unavailable References: <20030520220635.17011.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3ECABED8.50006@oreilly.com> wimdeg wrote: > Hi, > > I'm running nagios on a debian. I always get this warning. > Warning: Monitoring process may not be running! > Click here for more info.=20 > > If I click I go to process info and I see that the Process Commands are not displayed > With the message: It appears as though Nagios is not not running, so commands are temporarily unavailable. > And the Process Status Information is unavailable > With the message: Nagios check command did not return any output. > > If I go to a service I see the same, Service Commands are not displayed > With the same message: It appears as though Nagios is not not running, so commands are temporarily unavailable. > > But Nagios is running. Do you have the nagios process check command enabled in the cgi.cfg configuration file? Here is the comment from the cgi.cfg file: # NAGIOS PROCESS CHECK COMMAND # This is the full path and filename of the program used to check # the status of the Nagios process. It is used only by the CGIs # and is completely optional. However, if you don't use it, you'll # see warning messages in the CGIs about the Nagios process # not running and you won't be able to execute any commands from # the web interface. Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mathew_ericson at agilent.com Wed May 21 02:09:15 2003 From: mathew_ericson at agilent.com (Mathew Ericson) Date: Wed, 21 May 2003 10:09:15 +1000 Subject: more information for check_load and check_disk Message-ID: <3ECAC3AB.9070403@agilent.com> Dear nagios-users, I am looking to obtain more information on notification emails from the check_load and check_disk services so that I know what the current load is (top) and what disk usage is (df -k, bdf). I was looking at possibly implementing this as a eventhandler that emails a list of users - can anyone think of a better was of increasing the verbosity of these checks/notifications? thanks mathew -- Mathew Ericson CC/Unix System Administrator Agilent Technologies, Inc. 613 9210 5956 Tel ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at hotmail.com Wed May 21 02:19:53 2003 From: daehenoc at hotmail.com (Greg Vickers) Date: Wed, 21 May 2003 10:19:53 +1000 Subject: OT side.html question Message-ID: Hi, Does anyone know what font is used in the boxes in side.html? I mean the boxes that read General, Monitoring etc... Greg p.s. posting from here because sourceforge won't let my work email through or my home email!!! _________________________________________________________________ ninemsn Extra Storage is now available. No account expiration - no need to worry about losing your Hotmail account. Go to http://join.msn.com/?page=dept/home&pgmarket=en-au ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 04:22:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 20 May 2003 22:22:20 -0400 (EDT) Subject: more information for check_load and check_disk In-Reply-To: <3ECAC3AB.9070403@agilent.com> References: <3ECAC3AB.9070403@agilent.com> Message-ID: eventhandlers would be the way to go. Assuming that check_load and check_disk are running on remote machines, you will probably need to setup a ssh session to run the appropriate commands, capture them and embed them in the notification. If you do use the eventhandlers, you might also consider whether you want to keep normal notification. I mentioned ssh, because I haven't tested NRPE's new capcbilities to pass arguments... -sg On Wed, 21 May 2003, Mathew Ericson wrote: > Dear nagios-users, > > I am looking to obtain more information on notification emails from the > check_load and check_disk services so that I know what the current load > is (top) and what disk usage is (df -k, bdf). I was looking at possibly > implementing this as a eventhandler that emails a list of users - can > anyone think of a better was of increasing the verbosity of these > checks/notifications? > > thanks > mathew > > -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 05:06:34 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Tue, 20 May 2003 22:06:34 -0500 Subject: HELP- Error! I am NOT a user. References: <000a01c31f25$c98fc780$f8693944@cnorth01.va.comcast.net> Message-ID: <00c601c31f45$fd50a0b0$8c0ca8c0@monster> > (804) 640-3248 I'd say you're very lucky if someone on this mailing list puts 2 + 2 together and checks their config for your phone number. Contact your service provider. Best case, they can find the source of the messages and stop them. Worst case, they can give you a new number. Do the text messages tell you where they came from (i.e. a return address)? If they do, you may be able to find the culprit yourself and throw a rock through their bedroom window at 3:30am with a special little note attached. Good luck. ----- Original Message ----- From: Dennis & Beverley Walters To: nagios-users at lists.sourceforge.net Sent: Tuesday, May 20, 2003 6:16 PM Subject: [Nagios-users] HELP- Error! I am NOT a user. I have been receiving text messages in error since Wednesday, 5/14. I AM NOT A USER Someone has entered my telephone number by mistake. (804) 640-3248 I receive numerous messages daily. They are NOT for me. I don't know anyone who would ever have reason to send me text messages. If you know anything about this or can help me in anyway, I would greatly appreciate it. Examples of messages I am receiving: nagios!** PROBLEM alert - TSBoykins/Processor is CRITICAL: ***Nagios 1.Ob4*** Notification Type: PROBLEM Serivce: Processor Host: TSBoyk 10:34A 5/16 Nagios!** PROBLDMalert - TSChester/Processor is CRITICAL** ***Nagios 1.0b4*** Notification Type:PROBLEM Service: Processor Host: TSChes 4:46P 5/15 nagios** PROBLEM alert - TSRohoic/Processor is critical** ***Nagios 10b4*** Notification Type: Problem Service: Processor Host: TSRohoi 4:25 P 5/20 Your help and consideration is this matter is greatly appreciated. Beverley -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Wed May 21 06:27:21 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 21 May 2003 00:27:21 -0400 Subject: HELP- Error! I am NOT a user. In-Reply-To: <00c601c31f45$fd50a0b0$8c0ca8c0@monster> References: <000a01c31f25$c98fc780$f8693944@cnorth01.va.comcast.net> <00c601c31f45$fd50a0b0$8c0ca8c0@monster> Message-ID: <1053491241.19051.29.camel@miles.debisschop.net> On Tue, 2003-05-20 at 23:06, Michael Hertrick wrote: > > (804) 640-3248 > > I'd say you're very lucky if someone on this mailing list puts 2 + 2 > together and checks their config for your phone number. > > Contact your service provider. Best case, they can find the source of > the messages and stop them. Worst case, they can give you a new > number. Hopefully someone will recognize the host names. I'd guess TS is a terminal server. So maybe this is an ISP. The is area code is consistent with the server names, all indicating a Virginia source. Any virginia ISPs on the list, please double check to be sure this isn't you... I've done a quick scan of the mailing list for posts that pager alert does not work, but I don't see any matches. Sorry 'bout that. > Do the text messages tell you where they came from (i.e. a return > address)? If they do, you may be able to find the culprit yourself > and throw a rock through their bedroom window at 3:30am with a special > little note attached. > > Good luck. > > ----- Original Message ----- > From: Dennis & Beverley Walters > To: nagios-users at lists.sourceforge.net > Sent: Tuesday, May 20, 2003 6:16 PM > Subject: [Nagios-users] HELP- Error! I am NOT a user. > > I have been receiving text messages in error since Wednesday, > 5/14. > > I AM NOT A USER > > Someone has entered my telephone number by mistake. > (804) 640-3248 > > I receive numerous messages daily. They are NOT for me. I > don't know anyone who would ever have reason to send me text > messages. > > If you know anything about this or can help me in anyway, I > would greatly appreciate it. > > Examples of messages I am receiving: > > nagios!** > PROBLEM alert - > TSBoykins/Processor is CRITICAL: > ***Nagios 1.Ob4*** > Notification Type: > PROBLEM Serivce: > Processor Host: > TSBoyk > 10:34A 5/16 > > Nagios!** > PROBLDMalert - > TSChester/Processor is CRITICAL** > ***Nagios 1.0b4*** > Notification > Type:PROBLEM > Service: > Processor Host: > TSChes > 4:46P 5/15 > > nagios** > PROBLEM alert - > TSRohoic/Processor is critical** > ***Nagios > 10b4*** > Notification > Type: Problem > Service: > Processor Host: > TSRohoi > 4:25 P 5/20 > > > Your help and consideration is this matter is greatly > appreciated. > > Beverley ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 07:18:53 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 20 May 2003 22:18:53 -0700 Subject: HELP- Error! I am NOT a user. In-Reply-To: <000a01c31f25$c98fc780$f8693944@cnorth01.va.comcast.net> References: <000a01c31f25$c98fc780$f8693944@cnorth01.va.comcast.net> Message-ID: <3ECB0C3D.8030304@pbp.net> Dennis & Beverley Walters wrote: > I have been receiving text messages in error since Wednesday, 5/14. > > I AM NOT A USER > > Someone has entered my telephone number by mistake. > (804) 640-3248 > > I receive numerous messages daily. They are NOT for me. I don't know > anyone who would ever have reason to send me text messages. > > If you know anything about this or can help me in anyway, I would > greatly appreciate it. > Whoops! Someone goofed, big time.. Nextel can tell you where these messages originated from. At least, when I worked at AT&T Wireless we could tell you.. Do make sure that they credit you for the incoming text messages if you end up getting charged. It's not your fault. AT&T Wireless's text messages are free for incoming, but I don't know about Nextel. At any rate, I'd give Nextel a call and see if they can remove the text messaging feature from your wireless service plan. And, watch that bill. :) But let this be a warning to everyone.. if you're not getting *any* notifications at all, it's too good to be true! Check your configuration! :-) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 08:08:32 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 21 May 2003 08:08:32 +0200 Subject: Diff. between contact_groups References: <1053457831.7568.49.camel@localhost> Message-ID: <3ECB17E0.3010404@datavis.se> The contactgroup in hostgroups.cfg is contacted when the host is down. The contactgroup in services.cfg is contacted when a service fails. /FredrikW Frank Gadot wrote: >Hi all, > >Can someone explain to me the difference between the contact_group in >"hostgroups.cfg" and in "services.cfg" ? > >thank you. > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timo.koskela at datavahti.fi Wed May 21 09:20:41 2003 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Wed, 21 May 2003 10:20:41 +0300 Subject: monitoring pc-duo? Message-ID: <000801c31f69$7ccc5960$b50fa8c0@fi.poltto> Hello! Is there a way to monitor clients running a pc-duo software? If i try command #check_tcp -H -p 5405 it works fine with Nagios, it reports that tcp ok. Problem is that the client I'm checking with that command is running then the pc-duo and printing an error message to monitor, and thats bad naturally. Someone hava a tip? Timo Koskela -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at puxedo.org Wed May 21 09:39:08 2003 From: nagios at puxedo.org (Jaco Greeff) Date: Wed, 21 May 2003 09:39:08 +0200 Subject: Unsubscribe In-Reply-To: <009f01c31f6e$e26f6280$5966a8c0@sneftech> References: <009f01c31f6e$e26f6280$5966a8c0@sneftech> Message-ID: <3ECB2D1C.6020907@puxedo.org> Davy Gaussen wrote: > How can I unsubscribe the mailing list please ? From the message headers: (List-Unsubscribe tag) https://lists.sourceforge.net/lists/listinfo/nagios-users or mailto:nagios-users-request at lists.sourceforge.net?subject=unsubscribe ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Wed May 21 12:06:45 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 21 May 2003 12:06:45 +0200 Subject: warning - critical In-Reply-To: <3EC9F9AE.5000205@loria.fr> References: <1053429162.2441.38.camel@andy> <3EC9F9AE.5000205@loria.fr> Message-ID: <1053511604.1388.36.camel@andy> > >My service is down and I take a notification (critical) about it. > >5 minutes later critical state (red color) change to warning state > >(yellow color). And I have not a notification about it :(. > >Normally I take a notification about OK state when critical (red color) > >change to OK (green color). > Have you specify in "service.cfg" (about this service) that you have to > be handle in warning case ? Tx for an answer. In my config we can see : define service{ use generic-service host_name server-lab service_description service1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups linux-admins notification_interval 30 notification_period 24x7 check_command check_nrpe!check_service } and : define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 notification_options u,c,r } And I don't want that mail came to me with warning problem always. Only when it is come back from critical state. AndY ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From G-Renard at arte-tv.com Wed May 21 10:43:46 2003 From: G-Renard at arte-tv.com (Renard Guillaume) Date: Wed, 21 May 2003 10:43:46 +0200 Subject: Segmentation fault Message-ID: Hello everybody, I have a problem when I try to use the following plug-in : CHECK_MRTG =============================== [root at Fredux libexec]# pwd /usr/local/nagios/libexec [root at Fredux libexec]# ./check_mrtg -F /data/mrtg/swrg1_cpu.rrd -v 1 -w 50 -c 75 Segmentation fault [root at Fredux libexec]# =============================== But I have the graphical view of this variable thanks to mrtg. Please help... Here the begining of my mrtg.conf file =============================== LogFormat: rrdtool PathAdd: /usr/local/rrd/bin LibAdd: /usr/local/rrd/lib/perl/ 14all*GraphErrorsToBrowser: 1 ### Global Config Options # for UNIX WorkDir: /data/mrtg Language: french ### Global Defaults =============================== Is the problem come from RRD ? Thanks in advance for your help. Best regards Guillaume -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Wed May 21 11:27:28 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 21 May 2003 10:27:28 +0100 Subject: about check_procs + openbsd Message-ID: <53104E20A25CD411B556009027E50636079A9B03@pnnemp02.pn.egg.com> Julien, Thanks for the patch. There is already an OpenBSD specific ps in configure.in (line 494), which is a bit baffling. Which version of OpenBSD are you using? I'm not happy about updating the first entry, so I will probably add it as a new dedicated entry first, but needs commenting! Can I have an example ps -axweo 'stat comm vsz rss user ppid args' output please? Does it take pcpu as another option? Ton > -----Original Message----- > From: Julien TOUCHE [SMTP:touche at sigil.homeunix.net] > Sent: Tuesday, May 20, 2003 6:47 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] about check_procs + openbsd > > > > Voon, Ton wrote: > > Which version of check_procs are you using? > > > > If you run check_procs -v, it will tell you the ps command used > as i said it is 1.3.0beta3 but i test also 1.3.0 with the same behavior. > > > > Check configure.in for the syntax checks that it is trying to find. A > diff > > -u patch will be most appreciated! > > > > Ton > > > here a patch. i choose to put as default. it works on linux & openbsd, > test on others, please or else make a dedicated entry for openbsd (but > before the actual first one as it matched). > > note than ps options order IS important (axweo works, not weoax) << File: > patch >> This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From touche at sigil.homeunix.net Wed May 21 12:38:53 2003 From: touche at sigil.homeunix.net (Julien TOUCHE) Date: Wed, 21 May 2003 12:38:53 +0200 Subject: about check_procs + openbsd In-Reply-To: <53104E20A25CD411B556009027E50636079A9B03@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636079A9B03@pnnemp02.pn.egg.com> Message-ID: <3ECB573D.1000006@sigil.homeunix.net> Voon, Ton wrote: > Julien, > > Thanks for the patch. There is already an OpenBSD specific ps in > configure.in (line 494), which is a bit baffling. Which version of OpenBSD > are you using? > test on 3.2 & 3.3 but when i configure, it's the first entry which matched: ps -weo '...', not ps -axo > I'm not happy about updating the first entry, so I will probably add it as a > new dedicated entry first, but needs commenting! > > Can I have an example ps -axweo 'stat comm vsz rss user ppid args' output > please? Does it take pcpu as another option? > bash-2.05b$ ps -axweo 'stat comm vsz rss user ppid args' |head -5 STAT UCOMM VSZ RSS USER PPID COMMAND Is init 344 80 root 0 /sbin/init Is syslogd 104 236 root 1 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ syslogd -a /var/named/dev/log -a /var/e Is pflogd 368 76 root 1 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ pflogd Is named 4012 2224 named 1 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ named 'e' maybe is not needed (man: '-e Display the environment as well.'): bash-2.05b$ ps -axwo 'stat comm vsz rss user ppid args' |head -5 STAT UCOMM VSZ RSS USER PPID COMMAND Is init 344 80 root 0 /sbin/init Is syslogd 104 236 root 1 syslogd -a /var/named/dev/log -a /var/empty/dev/log Is pflogd 368 76 root 1 pflogd Is named 4012 2224 named 1 named pcpu & pmem are supported (alias of %cpu, %mem) bash-2.05b$ ps -axwo 'stat comm vsz rss user ppid pcpu pmem args' |head -5 STAT UCOMM VSZ RSS USER PPID %CPU %MEM COMMAND Is init 344 80 root 0 0.0 0.4 /sbin/init Ss syslogd 104 236 root 1 0.0 1.0 syslogd -a /var/named/dev/log -a /var/empty/dev/log Ss pflogd 368 76 root 1 0.0 0.3 pflogd Ss named 4012 2224 named 1 0.0 9.2 named ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.kaagman at atlascollege.nl Wed May 21 13:49:03 2003 From: p.kaagman at atlascollege.nl (Peter Kaagman) Date: Wed, 21 May 2003 13:49:03 +0200 (CEST) Subject: NRPE: Could not complete SSL handshake. 1 Message-ID: Hi there list, After writing my own, simple, pingtest script in perl someone told me "Why not use nagios". Looked at it and decided to throw out my own script and started setting up nagios. I've come a long way..... at least I believe so :D I've got a slack 9.0 box with nagios-1.0 and plugins. Local services run well. So do remote checks lile ping and http. Even got the remote commands working after I gave nobody permission to write to the var/rw directory. So I started working on checking private resources on remote hosts. Installed check_nrpe on the local hosts as follows..... root at sysop-2:/usr/local/nagios/libexec# ls check_nrpe -l -rwxr-xr-x 1 nagios nagios 125467 May 21 11:26 check_nrpe* root at sysop-2:/usr/local/nagios/libexec# Made a command entry in etc/misccommands.cfg as follows # check-nrpe command define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } and made an entry in etc/services.cfg # Service definition define service{ use generic-service host_name ntcsg2 service_description Total Processes is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups cb-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_total_procs } Installed check_nrpe on the remote host as follows placed the binairy in /usr/sbin root at ntcsg2:/etc# ls -l /usr/sbin/nrpe -rwxr-xr-x 1 root root 138887 May 21 11:43 /usr/sbin/nrpe* root at ntcsg2:/etc# placed the nrpe.cfg in /etc root at ntcsg2:/etc# ls -l /etc/nrpe.cfg -rw-r--r-- 1 nagios nagios 5134 May 21 11:59 /etc/nrpe.cfg root at ntcsg2:/etc# (There was a mention off a same sort off error in the mailing list archive, so I changed ownership off this file to nagios.nagios) I made sure there was a command check_total_procs in this file root at ntcsg2:/etc# grep check_total_procs nrpe.cfg command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 root at ntcsg2:/etc# Added nrpe to services root at ntcsg2:/etc# grep nrpe services nrpe 5666/tcp # NRPE, Nagios remote daemon root at ntcsg2:/etc# and made an entry in /etc/inetd.conf root at ntcsg2:/etc# grep nrpe inetd.conf nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd root at ntcsg2:/etc# Offcourse I restarted inetd :D I did not bother with tcpwrappers yest, hosts.deny does not have an nrpe entry so I should be in the clear. >From the commandline on the localhost it seems to work...... root at sysop-2:/usr/local/nagios/libexec# ./check_nrpe -H ntcsg2 -c check_total_procs OK - 108 processes running root at sysop-2:/usr/local/nagios/libexec# But in the interface (and in the email I got) nagios states the remote hosts refused the connection. On the remote hosts I find the following entry in /var/log/syslog root at ntcsg2:/etc# grep nrpe /var/log/syslog May 21 12:34:11 ntcsg2 nrpe[19464]: Error: Could not complete SSL handshake. 1 May 21 12:44:55 ntcsg2 nrpe[19502]: Error: Could not complete SSL handshake. 1 root at ntcsg2:/etc# I guess this has something to do with my problem, hence the title off this post :D Any help?? regards Peter Kaagman p.kaagman at atlascollege.nl bilbo at nedlinux.nl -- Air is water with holes in it ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 14:49:37 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 21 May 2003 13:49:37 +0100 Subject: check_nwstat - missing feature ? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513763@jessica.herefordshire.gov.uk> I've uploaded patches to the CVS version of check_nwstat to http://nagiosplug.sf.net to implement the following new commands: DSVER (shows DS Version) UPTIME (reports uptime only) The above two are already in the CVS tree. DS:xxxx (report if module is loaded) DS:timesync.nlm should report an OK status with the message "Module timesync.nlm version xx.xx is loaded" DS:timestinks.nlm will report a Critical error with the message "Module timestinks.nlm is not loaded" I hope this is as useful to others as it is to me. Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] > Sent: 02 May 2003 11:54 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nwstat - missing feature ? > > > 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 15:04:57 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 21 May 2003 14:04:57 +0100 Subject: check_nwstat - missing feature ? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513765@jessica.herefordshire.gov.uk> Oops, brain dead today... Replace DS: with NLM: in the below.. e.g. NLM:timesync.nlm It's been a busy week. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Randal, Phil > Sent: 21 May 2003 13:50 > To: 'Stefan Hanssen'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_nwstat - missing feature ? > > > I've uploaded patches to the CVS version of check_nwstat > to http://nagiosplug.sf.net to implement the following > new commands: > > DSVER (shows DS Version) > UPTIME (reports uptime only) > > The above two are already in the CVS tree. > > DS:xxxx (report if module is loaded) > > DS:timesync.nlm should report an OK status with the message > "Module timesync.nlm version xx.xx is loaded" > > DS:timestinks.nlm will report a Critical error with the message > "Module timestinks.nlm is not loaded" > > I hope this is as useful to others as it is to me. > > Cheers, > > Phil > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: Stefan Hanssen [mailto:Stefan.Hanssen at baerum.kommune.no] > > Sent: 02 May 2003 11:54 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_nwstat - missing feature ? > > > > > > 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 15:17:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 21 May 2003 09:17:16 -0400 (EDT) Subject: Unsubscribe In-Reply-To: <009f01c31f6e$e26f6280$5966a8c0@sneftech> References: <009f01c31f6e$e26f6280$5966a8c0@sneftech> Message-ID: It is included in all messages... List-Help: List-Post: List-Subscribe: , List-Id: Nagios Users List List-Unsubscribe: , List-Archive: On Wed, 21 May 2003, Davy Gaussen wrote: > How can I unsubscribe the mailing list please ? > > Thanks. > > > -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed May 21 15:48:24 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 21 May 2003 09:48:24 -0400 Subject: % Time Undetermined Message-ID: <69320AEBB83E2A4EBEB8358A9E2115CB01C9C0C5@exchange1.ctg.com> Hey Folks- I've been using Nagios for quite a while. Recently, my CTO came to me and said he wants a way for me to measure our uptime. I thought, "Nagios has built in reporting, and should do the job nicely." I proceeded to clean out all my Nagios retention states, and start from a clean slate. After several days I'm back to running reports. Every report I run for every host always tells me that 100.000% of my time is undetermined. I cannot figure out why. (Even if I run the report on the last 24 hours, assume inital state is up, [and it is!], I always get this) I would really like to figure out how this works so I can fix it.. and not have to build something else myself. Thanks! ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fyzix at yahoo.com Wed May 21 16:26:11 2003 From: fyzix at yahoo.com (Gareth Hash) Date: Wed, 21 May 2003 07:26:11 -0700 (PDT) Subject: Am I missing an option? Message-ID: <20030521142611.27897.qmail@web20418.mail.yahoo.com> Hello. I am having some trouble with the log rotations. The current day's logs are fine in nagios.log . However when it comes time for a rotation, the file supposed to contain those logs in the archive is blank. So a file such as nagios-05-20-2003-00.log has just one line in it : [1053403200] LOG ROTATION: DAILY None of the logs recorded for that day are available. It is almost as if nagios.log is deleted BEFORE the contents are copied over to the archives, instead of the other way around. Or am I missing an option? I have the following set in nagios.cfg : log_rotation_method=d log_archive_path=/opt/nagios/var/archives This is on a critical server, and your earliest possible response would be greatly appreciated. Thank you for your time and attention. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jose_m_guerra at hotmail.com Wed May 21 16:40:34 2003 From: jose_m_guerra at hotmail.com (=?iso-8859-1?B?Sm9z6SBNYW51ZWwgR3VlcnJh?=) Date: Wed, 21 May 2003 15:40:34 +0100 Subject: Nagios Configuration Message-ID: Hi, I Liked to know if he is possible I to create groups of servers who only can be visualized by determined users? Regards. _________________________________________________________________ Vida Nova MSN: concorra a 3 computadores Dell http://www.msn.com.br/carreira/vidanova/ ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jose_m_guerra at hotmail.com Wed May 21 16:40:47 2003 From: jose_m_guerra at hotmail.com (=?iso-8859-1?B?Sm9z6SBNYW51ZWwgR3VlcnJh?=) Date: Wed, 21 May 2003 15:40:47 +0100 Subject: Nagios Configuration Message-ID: Hi, I Liked to know if he is possible I to create groups of servers who only can be visualized by determined users? Regards. _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 16:54:06 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Wed, 21 May 2003 09:54:06 -0500 Subject: % Time Undetermined Message-ID: <870BC6C69F20D4118ECC009027FC7761070BC951@copexc01.parago.com> There is a FAQ on this. Do a search. -----Original Message----- From: Jason Gauthier [mailto:jgauthier at lastar.com] Sent: Wednesday, May 21, 2003 8:48 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] % Time Undetermined Hey Folks- I've been using Nagios for quite a while. Recently, my CTO came to me and said he wants a way for me to measure our uptime. I thought, "Nagios has built in reporting, and should do the job nicely." I proceeded to clean out all my Nagios retention states, and start from a clean slate. After several days I'm back to running reports. Every report I run for every host always tells me that 100.000% of my time is undetermined. I cannot figure out why. (Even if I run the report on the last 24 hours, assume inital state is up, [and it is!], I always get this) I would really like to figure out how this works so I can fix it.. and not have to build something else myself. Thanks! ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 17:07:28 2003 From: testrm at kisters.com (Ralf Mellis) Date: Wed, 21 May 2003 17:07:28 +0200 Subject: Probs with check_ntp Message-ID: <3ECB9630.1050103@kisters.com> Hello, I'm working with nag 1.0, plugins 1.3 and nrpe 2.03b/1.8. On my nrpe hosts (linux with 2.03b, hp-ux 11 with 1.8) I have setup a nrpe command in "nrpe.cfg" like command[check_ntp]=/opt/nagios/libexec/check_ntp -H where reflects the "ntp parent" of the according nrpe host. All ntp checks on my nag server are working correctly, but one fails permanently with the error: CHECK_NRPE: Socket timeout after 10 seconds. If I give the command locally on this host, I'm getting NTP OK: Offset -0.000 secs every time, the answer is within 5 to 6 seconds. The host with the problems is the one which is the primary time server for my whole network, it synchronises with the ntp servers "ptbtime.ptb.de" and "ptbtime2.ptb.de". The host is placed in a dmz, so there is a packet filter between this host and my nagios host. I have configured this filter to allow nrpe communication successfully because there are some other nrpe commands which are processed correctly. The version of check_ntp is: check_ntp (nagios-plugins 1.3.0) 1.14 Where is the problem? And is there a possibility to increase the timeout value? 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 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mruizm at datasys.es Wed May 21 17:36:13 2003 From: mruizm at datasys.es (Mario Ruiz Moreno) Date: Wed, 21 May 2003 17:36:13 +0200 Subject: Limits on NAGIOS References: <20030521142611.27897.qmail@web20418.mail.yahoo.com> Message-ID: <033501c31fae$b6580c20$f0c8b581@datalink.dts> Hello. We want to manage 3500 instances of ORACLE with netsaint with arround 15 services per host. (Snmp queries) We don?t know wat is the size of the server to work with this amounth of data. We are thinking in one server with two processors, 1 or 2 Gb of RAM and two rapid discs. Could someone help me? Bye Fdo: Zaabur ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From senwer at public.qz.fj.cn Wed May 21 17:40:10 2003 From: senwer at public.qz.fj.cn (Rachel) Date: Wed, 21 May 2003 23:40:10 +0800 Subject: manufacturer of garments and bags in China Message-ID: A non-text attachment was scrubbed... Name: not available Type: multipart/mixed Size: 3834 bytes Desc: not available URL: From isupriyono at IGXGlobal.com Wed May 21 17:29:39 2003 From: isupriyono at IGXGlobal.com (Ipon Supriyono) Date: Wed, 21 May 2003 11:29:39 -0400 Subject: annoying sshd log messages Message-ID: <105353097900003ed4@imgxs42> I have inplemented nagios with check_by_ssh active check . The result of sshd log messages in each systems checked by nagios are huge, so i would try to do passive check. I dig a little bit in user documentation and found that i can use nrpe (text not encrypted) or nsca. Is there any other way? I would like to know how is the standard way to solve my problem, without having to create/modify the program. Thanks ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 17:26:24 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 21 May 2003 10:26:24 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E71D1@mismail.ena.com> > -----Original Message----- > From: Frank Gadot [mailto:frank.gadot at epscorp.com] > Sent: Tuesday, May 20, 2003 11:19 AM > To: Marc Powell > Cc: Nagios-Users > > Hi ! > > This is actually what I did: > I have a contact group called ADMIN-EMAIL and another contact group > called ADMIN-PAGER . > > > On the hostgroups.cfg file, I defined a hostgroup with for contact group > ADMIN-EMAIL,ADMIN-PAGER > > What is this going to do ? > > Now, if I go to services.cfg, I have for example a host which has for > contact_group ADMIN-EMAIL > If that computer is down, I receive an Email AND pager anyway.. > > Is there a link with the hostgroups.cfg file ? Yes, there is a link. Anyone that's listed as a contact for the hostgroup will get notified by whatever method is specified _in addition_ to the person specified in the host contact_groups. I have mine set up with no contacts for hostgroups and individual contacts for hosts and services ala -- # Service definition define service{ use generic-service ; Name of service template to use host_name nateng-filt1-davidson-tn service_description OVER-FILTERING retry_check_interval 3 contact_groups nateng-oncall-network-apps check_command check_overfilt } # Service definition define service{ use generic-service ; Name of service template to use host_name nateng-gwiis01-davidson-tn service_description UPTIME retry_check_interval 3 contact_groups nateng-oncall-servers check_command check_nt_uptime } # 'nateng-oncall-network-apps' contact group definition define contactgroup{ contactgroup_name nateng-oncall-network-apps alias ENA NETWORK NOTIFIES members nateng-network-apps } # 'nateng-oncall-servers' contact group definition define contactgroup{ contactgroup_name nateng-oncall-servers alias ENA NETWORK NOTIFIES members nateng-servers } # 'nateng-network-apps' contact definition define contact{ contact_name nateng-network-apps alias Network Apps On Call service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email email at address.org } # 'nateng-servers' contact definition define contact{ contact_name nateng-servers alias Servers On Call service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email email at address.org } ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed May 21 18:31:23 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 21 May 2003 12:31:23 -0400 Subject: (no subject) In-Reply-To: <3EC96529.4010209@cerberian.com> References: <1053384944.3455.73.camel@localhost> <3EC96529.4010209@cerberian.com> Message-ID: <1053534683.7568.79.camel@localhost> Hi All, What I am trying to do (and it used to work :-) ), is to get email from all host if a host/service is down, AND email+pager for 3 hosts that are IMPORTANT. (let's call one of those hose A for example) I did put in the hostgroups.cfg an EMail as contact_group. When the host A is down, I receive only an EMail. On the services.cfg for PING,SMTP,POP3,HTTP I did put the pager contact. It send me only an email if the host is down. Same thing if I try to put a service that does not exist, and a pager contact. I do not receive it... So what am I doing wrong here ? very thank you. On Mon, 2003-05-19 at 19:13, Mohammad Ghaeini wrote: > There may be different ways to approach this. Please provide more info. > > MGhaeini > > Frank Gadot wrote: > > >All right, > > > >Is there a way to have EMail for some computers, and PAGER for some > >other computer ? Whatever I try, I have also BOTH (pager AND email), or > >just emails.. > > > >thank you ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Wed May 21 18:25:04 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 21 May 2003 11:25:04 -0500 Subject: Nagios Configuration Message-ID: Well, you need to create a user with the same name as it was created in the contacts file. So nagiosadmin can see all the configuration, but a new user only can see the servers and services that have relation with his username. Jose. -----Mensaje original----- De: Jos? Manuel Guerra [mailto:jose_m_guerra at hotmail.com] Enviado el: mi?rcoles, 21 de mayo de 2003 9:41 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Nagios Configuration Hi, I Liked to know if he is possible I to create groups of servers who only can be visualized by determined users? Regards. _________________________________________________________________ Vida Nova MSN: concorra a 3 computadores Dell http://www.msn.com.br/carreira/vidanova/ ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 20:18:57 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 21 May 2003 19:18:57 +0100 Subject: nagios scalability calculations? Message-ID: <000a01c31fc5$721987c0$0400a8c0@squarebox.com> Hi All, This question is aimed squarely at the people with their heads under the bonnet of nagios or the people that have rolled out large enterprise Nagios installations Following on from an earlier post by Mario about what system to use to scan his 52,500 services, I was wondering if anyone has a mathematical equation for working out how long it takes nagios to process checks and alerts from the queue. For example taking Mario's example 3500 oracle databases with 15 SNMP checks on each. How long can I expect nagios to take and process these requests? With this information how would I then work out the optimal hardware to deploy such a system on. And as a final note. Does the Nagios architecture enable it to process checks any quicker than Netsaint? ( just wondering, you know, useless bit of info that I may be able to use some time in my short life 8-} ) Just consider this home work, there may be an exam later :) Looking forward to any replies Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 20:07:06 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 21 May 2003 19:07:06 +0100 Subject: Limits on NAGIOS In-Reply-To: <033501c31fae$b6580c20$f0c8b581@datalink.dts> References: <033501c31fae$b6580c20$f0c8b581@datalink.dts> Message-ID: <000901c31fc3$c9e94e60$0400a8c0@squarebox.com> Hi Mario, It really depends on the frequency of the checks , on a simple calculation that's 52500 checks. Now how often would you wish to run these checks? Each minute, 10Mins, 30, mins, hour, once a day? Would you be using only one machine to perform the checks or would you use several servers feeding back to a central nagios server Would you run ncsa on each database server and feed the passive checks back to the nagios server? Awaiting your replies eagerly :) Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mario Ruiz Moreno Sent: 21 May 2003 16:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Limits on NAGIOS Hello. We want to manage 3500 instances of ORACLE with netsaint with arround 15 services per host. (Snmp queries) We don?t know wat is the size of the server to work with this amounth of data. We are thinking in one server with two processors, 1 or 2 Gb of RAM and two rapid discs. Could someone help me? Bye Fdo: Zaabur ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Wed May 21 20:16:48 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Wed, 21 May 2003 14:16:48 -0400 Subject: % Time Undetermined Message-ID: <69320AEBB83E2A4EBEB8358A9E2115CB01C9C0CC@exchange1.ctg.com> Yes, you are correct. The FAQ entry is basically: "Description: When user generates host/service reports using the trends and availability CGIs, they get a percent of time reported as being 'Undetermined'. Sometimes the report will show '100% Undetermined' time. What does this mean? Solution: The trends and availability CGIs were designed to not lie to you (or your manager). They make the best attempt to give an honest report of the state of a host or service based on alert entries found in the log files. If there are chunks of time in the reporting period that the CGIs cannot determine the state of a host/service for, those chunks get counted as undetermined. If you get 100% of the period being reported as undetermined, the problem lies with the fact that the CGIs could not determine the initial/start state of the host/service for that period. You can increase the chances of the CGIs finding an initial state for the host/service by increasing the value of the Backtracked Archives option. If this does not help and you know what the state of the host/service was at the start of the report period, you can tell the CGIs what that was by selecting it from the First assumed state dropdown box. If only a portion of the reporting period is being shown as undetermined, it may be due to two things: Nagios was not running during the undetermined times. If this is the case, you're out of luck. The CGIs cannot be forced to report the state of a host/service when Nagios was not running. The Nagios process was restarted one or more times during the reporting period. If you have state retention enabled, set the Assume state retention option to yes. If you do not have state retention enabled, you might try setting the Assume initial states option to yes. " The first solution is "Increase Backtracked Archives" which is a moot point, because I have none. The second solution is to force the "Assumed initial state", which my original emails states I have done. (I forced the initial status to be "UP") S, I appreciate you pointing me to the FAQ which I have covered. Unfortunatly, in my case something else is wrong. I would be most thankful for any other suggestions. Thanks all, Jason > -----Original Message----- > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Sent: Wednesday, May 21, 2003 10:54 AM > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > There is a FAQ on this. Do a search. > > -----Original Message----- > From: Jason Gauthier [mailto:jgauthier at lastar.com] > Sent: Wednesday, May 21, 2003 8:48 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] % Time Undetermined > > > Hey Folks- > > > I've been using Nagios for quite a while. Recently, my CTO > came to me and > said he wants a way for me to measure our uptime. I thought, > "Nagios has > built in reporting, and should do the job nicely." > > I proceeded to clean out all my Nagios retention states, and > start from a > clean slate. After several days I'm back to running reports. > > Every report I run for every host always tells me that > 100.000% of my time > is undetermined. I cannot figure out why. (Even if I run the > report on the > last 24 hours, assume inital state is up, [and it is!], I > always get this) > > I would really like to figure out how this works so I can fix > it.. and not > have to build something else myself. > > Thanks! > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out > ObjectStore. Now part > of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Wed May 21 20:17:49 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 21 May 2003 13:17:49 -0500 Subject: manufacturer of garments and bags in China Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B47C9@gsmail.govst.edu> Mob:0086-13960286700 Mob:0086-13959893400 Mob:0086-13960228599 Can we find out what service they use and send them a few unwanted page alerts? Tim Van Zee ITS Network Specialist Governors State University ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 21 20:26:43 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Wed, 21 May 2003 13:26:43 -0500 Subject: % Time Undetermined Message-ID: <870BC6C69F20D4118ECC009027FC7761070BC957@copexc01.parago.com> What about nagios.cfg options? I believe the most relevant option is: log_initial_states= You will need some info in the logs to be able to generate a report. I don't understand what you mean by you don't have backtracked logged. Nagios will let you do a report for any date, but it needs logs to make that report useful. So if you are wanting a year to date report but only have last weeks log Nagios will make a report from Jan to now just only the last 7 days will have info, the rest will be undetermined. -----Original Message----- From: Jason Gauthier [mailto:jgauthier at lastar.com] Sent: Wednesday, May 21, 2003 1:17 PM To: Steve Rossen; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] % Time Undetermined Yes, you are correct. The FAQ entry is basically: "Description: When user generates host/service reports using the trends and availability CGIs, they get a percent of time reported as being 'Undetermined'. Sometimes the report will show '100% Undetermined' time. What does this mean? Solution: The trends and availability CGIs were designed to not lie to you (or your manager). They make the best attempt to give an honest report of the state of a host or service based on alert entries found in the log files. If there are chunks of time in the reporting period that the CGIs cannot determine the state of a host/service for, those chunks get counted as undetermined. If you get 100% of the period being reported as undetermined, the problem lies with the fact that the CGIs could not determine the initial/start state of the host/service for that period. You can increase the chances of the CGIs finding an initial state for the host/service by increasing the value of the Backtracked Archives option. If this does not help and you know what the state of the host/service was at the start of the report period, you can tell the CGIs what that was by selecting it from the First assumed state dropdown box. If only a portion of the reporting period is being shown as undetermined, it may be due to two things: Nagios was not running during the undetermined times. If this is the case, you're out of luck. The CGIs cannot be forced to report the state of a host/service when Nagios was not running. The Nagios process was restarted one or more times during the reporting period. If you have state retention enabled, set the Assume state retention option to yes. If you do not have state retention enabled, you might try setting the Assume initial states option to yes. " The first solution is "Increase Backtracked Archives" which is a moot point, because I have none. The second solution is to force the "Assumed initial state", which my original emails states I have done. (I forced the initial status to be "UP") S, I appreciate you pointing me to the FAQ which I have covered. Unfortunatly, in my case something else is wrong. I would be most thankful for any other suggestions. Thanks all, Jason > -----Original Message----- > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Sent: Wednesday, May 21, 2003 10:54 AM > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > There is a FAQ on this. Do a search. > > -----Original Message----- > From: Jason Gauthier [mailto:jgauthier at lastar.com] > Sent: Wednesday, May 21, 2003 8:48 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] % Time Undetermined > > > Hey Folks- > > > I've been using Nagios for quite a while. Recently, my CTO > came to me and > said he wants a way for me to measure our uptime. I thought, > "Nagios has > built in reporting, and should do the job nicely." > > I proceeded to clean out all my Nagios retention states, and > start from a > clean slate. After several days I'm back to running reports. > > Every report I run for every host always tells me that > 100.000% of my time > is undetermined. I cannot figure out why. (Even if I run the > report on the > last 24 hours, assume inital state is up, [and it is!], I > always get this) > > I would really like to figure out how this works so I can fix > it.. and not > have to build something else myself. > > Thanks! > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Wed May 21 22:13:36 2003 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Wed, 21 May 2003 15:13:36 -0500 Subject: host check interval Message-ID: <87n0hg9hxr.wl@delta.meridian-enviro.com> I'm trying to adjust the interval between host checks, and I'm not having any luck. The directives normal_check_interrval and retry_check_interrval don't work for hosts: Error: Could not add object property in file '/usr/local/etc/nagios/hosts.cfg' on line 13. And while I have host_check_timeout set to 30, it doesn't seem to have any affect. Here is a snippett from my nagios.log: [1053541716] HOST ALERT: Hahn-VPN;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1053541726] HOST ALERT: Hahn-VPN;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1053541736] HOST ALERT: Hahn-VPN;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1053541746] HOST ALERT: Hahn-VPN;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST ALERT: Hahn-VPN;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST NOTIFICATION: rand;Hahn-VPN;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1053541757] SERVICE ALERT: Hahn-VPN;PING;CRITICAL;HARD;1;FPING CRITICAL - 192.168.2.1 (loss=100.000000% ) As you can see, nagios checks the hosts every 10 seconds. And that is too quick for us, we'd like it to check every minute, because with the 10 second interval we get too many host down notifications for our remote systems. The docs say: Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. It isn't clear to me, if it is checking a host, does it hold off on ALL other service checks, or just service checks to that host (and perhaps child hosts)? If it holds off on ALL other service checks, I've got to find another way to do this, I can't have no service checks happening for 5 minutes. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shsiang at yourtechnologyteam.com Wed May 21 22:39:32 2003 From: shsiang at yourtechnologyteam.com (Scott Hsiang) Date: Wed, 21 May 2003 13:39:32 -0700 Subject: histogram.cgi Message-ID: Hi, I spend several hours to setup the Alert Histogram and I couldn't even locate the file!! ( histogram.cgi) I was able to locate some other histogram files such as cgi-histogram.png, histogram.png, and histogram.css, but I had no idea what I can do with those files. And how do I use the Thomas Boutell's gd library files? Can someone give me some instructions to configure the Alert Histogram? thanks very much, Scott ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 22:41:17 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 21 May 2003 16:41:17 -0400 Subject: nagios scalability calculations? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCCA3@eentsvr40.ehvert.com> Good morning, I just thought I would drop in my 2 cents. I believe that trying to create a single equation to calculate the time it takes for a Nagios server to scan any number of services would be next to impossible. There are just so many variables. -What sort of network architecture are you dealing with, and how many. Consider a network with a mix of 100 and 1000 Mbps links and servers both on the local network, across a campus, or across a WAN link. How many hops from Nagios to service? Is the latency fairly static? -What sort of devices are you passing through and what is the average latency? Actually, can you "calculate" accurately using averages? Do you have an old router? A new switch? -What sort of hardware are you running Nagios on? It spawns checks so SMP would be useful and so would a lot of memory along with some speedy disk architecture (128M of cache anyone). But how will that affect performance? -What sort of hardware are you running the service on? How long does it take for the device to not only collect and formulate the requested data, but how long to get the data out the eth jack? -What sort of software are you checking? How well does it multitask and how hard is it being used? If 1000 monkeys are performing 1000 queries, how fast can it respond to the 1001th request from Nagios? Can it capitize on SMP? Is it? -What other thangs is the Nagios box doing? What other services is it checking? I'm afraid that you might be left to do a bit of trial and error. This may turn out to be more time effective than trying to answer the above questions accurately anyway. Just my 2cents. Keep the change, dean -----Original Message----- From: Tom Welsh [mailto:twelsh at square-box.com] Sent: May 21, 2003 2:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios scalability calculations? Hi All, This question is aimed squarely at the people with their heads under the bonnet of nagios or the people that have rolled out large enterprise Nagios installations Following on from an earlier post by Mario about what system to use to scan his 52,500 services, I was wondering if anyone has a mathematical equation for working out how long it takes nagios to process checks and alerts from the queue. For example taking Mario's example 3500 oracle databases with 15 SNMP checks on each. How long can I expect nagios to take and process these requests? With this information how would I then work out the optimal hardware to deploy such a system on. And as a final note. Does the Nagios architecture enable it to process checks any quicker than Netsaint? ( just wondering, you know, useless bit of info that I may be able to use some time in my short life 8-} ) Just consider this home work, there may be an exam later :) Looking forward to any replies Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed May 21 23:13:01 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 21 May 2003 17:13:01 -0400 Subject: service groups? Message-ID: <5F29693503507B4FB4032686ADF862670772D2@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From nagios at nagios.org Wed May 21 23:50:46 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 21 May 2003 16:50:46 -0500 Subject: service groups? In-Reply-To: <5F29693503507B4FB4032686ADF862670772D2@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862670772D2@mtviny25.mtvi.com> Message-ID: <3ECBAE66.32006.47B1E1@localhost> Nagios 1.0 doesn't have the ability to define service groups, so this will not be easy to do. Version 2.0 will include service groups and will allow you to submit commands on a per-group basis. So things are in the pipeline, they're just not here yet. On 21 May 2003 at 17:13, Hochberg, Keith wrote: > Hi All, > Whenever my company runs a maintenance we try to identify all hosts > and services which will be affected and put them into maintenance > mode. I am finding that this would an easier process if there were > service groups defined in nagios. Specifically on our web servers > (which have instances for over 25 different sites) we have to go in > and manually put each instance on each webserver (which are defined as > services) into maintenance mode. Sometimes we have to put over 100 > different services into maintenance mode if more than one site will be > affected during a maintenance. It would be great if we could group all > services into a service group and put the whole group into maintenance > mode. has anyone ran into a similar problem? I have over 2,000 service > checks defined in our nagios build and it is getting hard to manage > only using hostgroups. Much thanks in advance, Keith Hochberg > ------------------------------------------------------- This SF.net > email is sponsored by: ObjectStore. If flattening out C++ or Java code > to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 23:41:33 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 21 May 2003 17:41:33 -0400 Subject: host check interval Message-ID: <2E3E9736615DD311895D00105A9CADED014BCCA4@eentsvr40.ehvert.com> Nope. Host alerts do not have any interval. They are run only if a service check on that host fails. If the service check fails once, and only once, regardless of retry interval and max check, the host is checked using the host's check command. There is no sense in continuing to test the service if the host is down right? When the host is checked, it is check fast and furious. The checks are run at the highest priority above normally scheduled checks. After all, you may have a server down and you would like to know about it right away. Hope this helps, dean -----Original Message----- From: Douglas K. Rand [mailto:rand at meridian-enviro.com] Sent: May 21, 2003 4:14 PM To: Nagios-Users Subject: [Nagios-users] host check interval I'm trying to adjust the interval between host checks, and I'm not having any luck. The directives normal_check_interrval and retry_check_interrval don't work for hosts: Error: Could not add object property in file '/usr/local/etc/nagios/hosts.cfg' on line 13. And while I have host_check_timeout set to 30, it doesn't seem to have any affect. Here is a snippett from my nagios.log: [1053541716] HOST ALERT: Hahn-VPN;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1053541726] HOST ALERT: Hahn-VPN;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1053541736] HOST ALERT: Hahn-VPN;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1053541746] HOST ALERT: Hahn-VPN;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST ALERT: Hahn-VPN;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST NOTIFICATION: rand;Hahn-VPN;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1053541757] SERVICE ALERT: Hahn-VPN;PING;CRITICAL;HARD;1;FPING CRITICAL - 192.168.2.1 (loss=100.000000% ) As you can see, nagios checks the hosts every 10 seconds. And that is too quick for us, we'd like it to check every minute, because with the 10 second interval we get too many host down notifications for our remote systems. The docs say: Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. It isn't clear to me, if it is checking a host, does it hold off on ALL other service checks, or just service checks to that host (and perhaps child hosts)? If it holds off on ALL other service checks, I've got to find another way to do this, I can't have no service checks happening for 5 minutes. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu May 22 00:24:26 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 21 May 2003 17:24:26 -0500 Subject: host check interval Message-ID: <5DB017510818EC468B05BD7BD9EACF83029F299B@mismail.ena.com> This is certainly one of those things I wish I could change easily about nagios. It's not uncommon for us to have 20-30 devices down on our statewide network at any given time. This equates to 1-1.5% of the total number of devices we are monitoring. Because of the fact that nagios goes hard and heavy on host failures, I've had to make my check-host-alive command just a null command so that my other checks are not delayed. Allowing a min/max host-check-interval would be a nice addition. -- Marc -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Wed 5/21/2003 4:41 PM To: 'Douglas K. Rand'; Nagios-Users Cc: Subject: RE: [Nagios-users] host check interval Nope. Host alerts do not have any interval. They are run only if a service check on that host fails. If the service check fails once, and only once, regardless of retry interval and max check, the host is checked using the host's check command. There is no sense in continuing to test the service if the host is down right? When the host is checked, it is check fast and furious. The checks are run at the highest priority above normally scheduled checks. After all, you may have a server down and you would like to know about it right away. Hope this helps, dean -----Original Message----- From: Douglas K. Rand [mailto:rand at meridian-enviro.com] Sent: May 21, 2003 4:14 PM To: Nagios-Users Subject: [Nagios-users] host check interval I'm trying to adjust the interval between host checks, and I'm not having any luck. The directives normal_check_interrval and retry_check_interrval don't work for hosts: Error: Could not add object property in file '/usr/local/etc/nagios/hosts.cfg' on line 13. And while I have host_check_timeout set to 30, it doesn't seem to have any affect. Here is a snippett from my nagios.log: [1053541716] HOST ALERT: Hahn-VPN;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1053541726] HOST ALERT: Hahn-VPN;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1053541736] HOST ALERT: Hahn-VPN;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1053541746] HOST ALERT: Hahn-VPN;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST ALERT: Hahn-VPN;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [1053541756] HOST NOTIFICATION: rand;Hahn-VPN;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1053541757] SERVICE ALERT: Hahn-VPN;PING;CRITICAL;HARD;1;FPING CRITICAL - 192.168.2.1 (loss=100.000000% ) As you can see, nagios checks the hosts every 10 seconds. And that is too quick for us, we'd like it to check every minute, because with the 10 second interval we get too many host down notifications for our remote systems. The docs say: Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. It isn't clear to me, if it is checking a host, does it hold off on ALL other service checks, or just service checks to that host (and perhaps child hosts)? If it holds off on ALL other service checks, I've got to find another way to do this, I can't have no service checks happening for 5 minutes. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dmaynard at outserv.net Thu May 22 00:51:57 2003 From: dmaynard at outserv.net (David Maynard) Date: Wed, 21 May 2003 17:51:57 -0500 Subject: service groups? Message-ID: <79BDC98308803B4EAE3B3CCFDE67823E0EBECF@ausexch1.outserv.net> Until 2.0 is out, I had two suggestions that might help. You may already be using one or both of them. 1) Make sure you are using service dependencies to the fullest extent possible. This could limit the number of things that you have to place in maintenance. This option has some significant limitations since the dependency graph isn't always a pretty tree. In particular, any services where there are clusters or redundant servers make it hard to define meaningful dependencies. 2) Use shell/perl scripts to schedule the maintenance. This option helps if the set of services is repeated more than once or if you can easily generate a list of them to program against. Here is a simple example from a system still running NetSaint. I'm not sure how much the external command interface has changed for Nagios, but the idea should be similar. There was some discussion of using other programs to generate external commands recently. You might try searching the archives. #!/bin/sh CMDFILE="/home/netsaint/var/rw/netsaint.cmd" start_time=`date -d "today 0200" +%s` end_time=`date -d "today 0530" +%s` svc_descr="Content-uncached" now=`date +%s` echo "[$now] SCHEDULE_SVC_DOWNTIME;machine1;$svc_descr;$start_time;$end_time" >$CMDFILE echo "[$now] SCHEDULE_SVC_DOWNTIME;machine2;$svc_descr;$start_time;$end_time" >$CMDFILE echo "[$now] SCHEDULE_SVC_DOWNTIME;machine3;$svc_descr;$start_time;$end_time" >$CMDFILE echo "[$now] SCHEDULE_SVC_DOWNTIME;www2;$svc_descr;$start_time;$end_time" >$CMDFILE In this case, the list of machines was static, so I just used cut/paste to build it. You can always write a loop to crunch through a list. Be sure to run the script as a user that has permission to write to the command socket. In this case, we ended up making this work a regularly scheduled maintenance task, so we defined an appropriate timeperiod and told NetSaint not to complain about the affected services during the scheduled maintenance windows. The script idea still applies if the work isn't performed on a fixed schedule though. -dpm -- David P. Maynard OutServ.net, Inc. -- Coordinated IT Operations Solutions Email: dmaynard at outserv.net, Tel: +1 512 977 8918, Fax: +1 512 977 0986 -- -----Original Message----- From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Wednesday, May 21, 2003 4:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service groups? Hi All, Whenever my company runs a maintenance we try to identify all hosts and services which will be affected and put them into maintenance mode. I am finding that this would an easier process if there were service groups defined in nagios. Specifically on our web servers (which have instances for over 25 different sites) we have to go in and manually put each instance on each webserver (which are defined as services) into maintenance mode. Sometimes we have to put over 100 different services into maintenance mode if more than one site will be affected during a maintenance. It would be great if we could group all services into a service group and put the whole group into maintenance mode. has anyone ran into a similar problem? I have over 2,000 service checks defined in our nagios build and it is getting hard to manage only using hostgroups. Much thanks in advance, Keith Hochberg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Brad at pretzel.com.au Thu May 22 05:33:22 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Thu, 22 May 2003 11:33:22 +0800 Subject: check_by_ssh commands Message-ID: <131A385F21AAD311BD6400902763781D020DD6BD@Z8> Hi there, I'm running Nagios on a Debian Linux machine and am just started to setup some checks using the "check_by_ssh" and have run into a bit of a problem. to make things easier I've got HOSTA and HOSTB. I've setup all the SSH public keys etc so that HOSTA (the nagios server) Can login to HOSTB without the password and only using the public keys etc . In this case a check_disk over check_by_ssh. It logs in no worries. This is how it works when I just try to SSH from HOSTA to HOSTB debian:~# ssh -l nagios HOSTB It then displays me with the MOTD however my problem arrises when I try to either run the command manually from the libexec directory. ./check_by_ssh -H HOSTB -C './check_disk -w 30% -c 10% -p / it just sits at a prompt like so > Now I'm assuming now that I think about it, the reason its probably not working, is because when I try running it manually, I'm not specifying the user nagios on my remote machine, so the check_ssh its trying to ssh as root and thus getting prompted for the password. How exactly do I do a check_ssh and specify the user at the same time? also I noticed that within nagios itself, if the checks are all just running, this particular check displays Check Disk SSH WARNING22-05-2003 18:41:340d 0h 38m 59s4/4Permission denied, please try again. This is my checkcommands.cfg # 'check_disk_ssh' command definition define command{ command_name check_disk_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C './check_disk -w $ARG1$ -c $ARG2$ -p /' } And this is my services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name HOSTB service_description Check Disk SSH is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 960 notification_period 24x7 notification_options c,r check_command check_disk_ssh!75%!85% } Thanks -Brad ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 22 05:47:19 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Thu, 22 May 2003 11:47:19 +0800 Subject: check_by_ssh commands Message-ID: <131A385F21AAD311BD6400902763781D020DD6BF@Z8> Sorry, I realise I just needed the -l switch on the ./check_by_ssh command as well. My mistake. Brad -----Original Message----- From: Brad Dunn Sent: Thursday, 22 May 2003 11:33 AM To: 'nagios-users at lists.sourceforge.net' Subject: check_by_ssh commands Hi there, I'm running Nagios on a Debian Linux machine and am just started to setup some checks using the "check_by_ssh" and have run into a bit of a problem. to make things easier I've got HOSTA and HOSTB. I've setup all the SSH public keys etc so that HOSTA (the nagios server) Can login to HOSTB without the password and only using the public keys etc . In this case a check_disk over check_by_ssh. It logs in no worries. This is how it works when I just try to SSH from HOSTA to HOSTB debian:~# ssh -l nagios HOSTB It then displays me with the MOTD however my problem arrises when I try to either run the command manually from the libexec directory. ./check_by_ssh -H HOSTB -C './check_disk -w 30% -c 10% -p / it just sits at a prompt like so > Now I'm assuming now that I think about it, the reason its probably not working, is because when I try running it manually, I'm not specifying the user nagios on my remote machine, so the check_ssh its trying to ssh as root and thus getting prompted for the password. How exactly do I do a check_ssh and specify the user at the same time? also I noticed that within nagios itself, if the checks are all just running, this particular check displays Check Disk SSH WARNING22-05-2003 18:41:340d 0h 38m 59s4/4Permission denied, please try again. This is my checkcommands.cfg # 'check_disk_ssh' command definition define command{ command_name check_disk_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C './check_disk -w $ARG1$ -c $ARG2$ -p /' } And this is my services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name HOSTB service_description Check Disk SSH is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 960 notification_period 24x7 notification_options c,r check_command check_disk_ssh!75%!85% } Thanks -Brad ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 06:53:44 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 22 May 2003 16:53:44 +1200 Subject: check_by_ssh commands References: <131A385F21AAD311BD6400902763781D020DD6BD@Z8> Message-ID: <001701c3201e$20a81560$b58031ca@bcl977307> what is the -p / arg? that'll be what's doing it. get rid of that and make woody/sarge/sid sing. jamie ----- Original Message ----- From: "Brad Dunn" To: Sent: Thursday, May 22, 2003 3:33 PM Subject: [Nagios-users] check_by_ssh commands > Hi there, I'm running Nagios on a Debian Linux machine and am just started > to setup some checks using the "check_by_ssh" and have run into a bit of a > problem. to make things easier I've got HOSTA and HOSTB. I've setup all the > SSH public keys etc so that HOSTA (the nagios server) Can login to HOSTB > without the password and only using the public keys etc . In this case a > check_disk over check_by_ssh. It logs in no worries. > > > This is how it works when I just try to SSH from HOSTA to HOSTB > debian:~# ssh -l nagios HOSTB > It then displays me with the MOTD > > however my problem arrises when I try to either run the command manually > from the libexec directory. > ./check_by_ssh -H HOSTB -C './check_disk -w 30% -c 10% -p / > it just sits at a prompt like so > > > > > Now I'm assuming now that I think about it, the reason its probably not > working, is because when I try running it manually, I'm not specifying the > user nagios on my remote machine, so the check_ssh its trying to ssh as root > and thus getting prompted for the password. How exactly do I do a check_ssh > and specify the user at the same time? > > > > also I noticed that within nagios itself, if the checks are all just > running, this particular check displays > Check Disk SSH WARNING22-05-2003 18:41:340d 0h 38m 59s4/4Permission > denied, please try again. > > This is my checkcommands.cfg > > # 'check_disk_ssh' command definition > define command{ > command_name check_disk_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > './check_disk -w $ARG1$ -c $ARG2$ -p /' > } > > > And this is my services.cfg > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name HOSTB > service_description Check Disk SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 1 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 960 > notification_period 24x7 > notification_options c,r > check_command check_disk_ssh!75%!85% > } > > Thanks > > -Brad > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu May 22 07:59:15 2003 From: fredrik.wanglund at datavis.se (=?UTF-8?B?RnJlZHJpayBXw6RuZ2x1bmQ=?=) Date: Thu, 22 May 2003 07:59:15 +0200 Subject: host check interval References: <5DB017510818EC468B05BD7BD9EACF83029F299B@mismail.ena.com> Message-ID: <3ECC6733.2040607@datavis.se> You could make it a little bit better by decreasing 'max_check_attempts' /FredrikW Marc Powell wrote: > This is certainly one of those things I wish I could change easily > about nagios. It's not uncommon for us to have 20-30 devices down on > our statewide network at any given time. This equates to 1-1.5% of the > total number of devices we are monitoring. Because of the fact that > nagios goes hard and heavy on host failures, I've had to make my > check-host-alive command just a null command so that my other checks > are not delayed. Allowing a min/max host-check-interval would be a > nice addition. > > -- > Marc > > -----Original Message----- > From: Dean Bishop [mailto:dbishop at ehvert.com] > Sent: Wed 5/21/2003 4:41 PM > To: 'Douglas K. Rand'; Nagios-Users > Cc: > Subject: RE: [Nagios-users] host check interval > > Nope. Host alerts do not have any interval. They are run only if > a service > check on that host fails. If the service check fails once, and > only once, > regardless of retry interval and max check, the host is checked > using the > host's check command. There is no sense in continuing to test the > service > if the host is down right? > > When the host is checked, it is check fast and furious. The > checks are run > at the highest priority above normally scheduled checks. After > all, you may > have a server down and you would like to know about it right away. > > Hope this helps, > dean > > -----Original Message----- > From: Douglas K. Rand [mailto:rand at meridian-enviro.com] > Sent: May 21, 2003 4:14 PM > To: Nagios-Users > Subject: [Nagios-users] host check interval > > I'm trying to adjust the interval between host checks, and I'm not > having any luck. The directives normal_check_interrval and > retry_check_interrval don't work for hosts: > > Error: Could not add object property in file > '/usr/local/etc/nagios/hosts.cfg' on line 13. > > And while I have host_check_timeout set to 30, it doesn't seem to > have > any affect. Here is a snippett from my nagios.log: > > [1053541716] HOST ALERT: Hahn-VPN;DOWN;SOFT;1;CRITICAL - Plugin > timed out > after 10 seconds > [1053541726] HOST ALERT: Hahn-VPN;DOWN;SOFT;2;CRITICAL - Plugin > timed out > after 10 seconds > [1053541736] HOST ALERT: Hahn-VPN;DOWN;SOFT;3;CRITICAL - Plugin > timed out > after 10 seconds > [1053541746] HOST ALERT: Hahn-VPN;DOWN;SOFT;4;CRITICAL - Plugin > timed out > after 10 seconds > [1053541756] HOST ALERT: Hahn-VPN;DOWN;HARD;5;CRITICAL - Plugin > timed out > after 10 seconds > [1053541756] HOST NOTIFICATION: > rand;Hahn-VPN;DOWN;host-notify-by-email;CRITICAL - Plugin timed > out after 10 > seconds > [1053541757] SERVICE ALERT: Hahn-VPN;PING;CRITICAL;HARD;1;FPING > CRITICAL - > 192.168.2.1 (loss=100.000000% ) > > As you can see, nagios checks the hosts every 10 seconds. And that is > too quick for us, we'd like it to check every minute, because with > the > 10 second interval we get too many host down notifications for our > remote systems. > > The docs say: > > Also of note - when Nagios is check the status of a host, it holds > off on doing anything else (executing new service checks, > processing > other service check results, etc). This can slow things down a bit > and cause pending service checks to be delayed for a while, but it > is necessary to determine the status of the host before Nagios can > take any further action on the service(s) that are having problems. > > It isn't clear to me, if it is checking a host, does it hold off on > ALL other service checks, or just service checks to that host (and > perhaps child hosts)? > > If it holds off on ALL other service checks, I've got to find another > way to do this, I can't have no service checks happening for 5 > minutes. > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.kuehn at pfeiffer-vacuum.de Thu May 22 08:41:30 2003 From: dirk.kuehn at pfeiffer-vacuum.de (kuehn11) Date: 22 May 2003 06:41:30 -0000 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030522064130.27688.qmail@pod-163.dolphin-server.co.uk> I?ve the same problem with nrpe: .../nagios/libexec$ ./check_nrpe -H 172.xxx.xxx.xxx -p 5666 -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. nrpe version: 2.0b3 is there a option to deactivate ssl in the nrpe modul? thanks for help. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mruizm at datasys.es Thu May 22 09:06:59 2003 From: mruizm at datasys.es (Mario Ruiz Moreno) Date: Thu, 22 May 2003 09:06:59 +0200 Subject: Limits on NAGIOS References: <000901c31fc3$c9e94e60$0400a8c0@squarebox.com> Message-ID: <03be01c32030$c2600ea0$f0c8b581@datalink.dts> Hi Mario, It really depends on the frequency of the checks , on a simple calculation that's 52500 checks. >Yes. Very much MIBs. :( Now how often would you wish to run these checks? Each minute, 10Mins, 30, mins, hour, once a day? >> As quickly as the host allow to us. A 5 minutes polling is a very good time between polls that I wish to dream to get. Would you be using only one machine to perform the checks or would you use several servers feeding back to a central nagios server >> We are using Nagios into a PC with linux. We are thinking to by a true server to this proyect due to the amounth of queries. The server have two processors at 2 GHz and could be mounted with 12 GB of RAM but I think that RAM is not going to be a problem with Nagios so I?m thinking on one or two GB or RAM. The disks would be SCSI server?s disks so it?s going to be very rapid. Would you run ncsa on each database server and feed the passive checks back to the nagios server? >> We haven?t thik by this way. Probably It could be an interesting solution. We are going to ask to the client for this. The servers are with the operating system AIX. Bye Fdo: Zaabur ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pascal.renaut at electricite-strasbourg.fr Thu May 22 09:56:11 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Thu, 22 May 2003 09:56:11 +0200 Subject: How to restart a service on remote server by event handler ? Message-ID: Hi all, I've a script on my remote server under Windows to restart a service. I would like to know how to use this by event handler...like check_nrpe_command_name under unix Thanks for your help... .................................................................................................... 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.kaagman at atlascollege.nl Thu May 22 10:59:58 2003 From: p.kaagman at atlascollege.nl (Peter Kaagman) Date: Thu, 22 May 2003 10:59:58 +0200 (CEST) Subject: NRPE: Could not complete SSL handshake. 1 In-Reply-To: References: Message-ID: On Wed, 21 May 2003, Peter Kaagman wrote: > > On the remote hosts I find the following entry in /var/log/syslog > root at ntcsg2:/etc# grep nrpe /var/log/syslog > May 21 12:34:11 ntcsg2 nrpe[19464]: Error: Could not complete SSL > handshake. 1 > May 21 12:44:55 ntcsg2 nrpe[19502]: Error: Could not complete SSL > handshake. 1 > root at ntcsg2:/etc# Hi list, As it turned out, I just got that ssl message on the first couple off tries. I haven't seen it since. Nowhere in the remote logs there is mention off nrpe other than the (succesfull) tries I do from the command line. Did make sure user nobody is able to execute check_nrpe (which it could not do at first) but this did not solve the problem. Also made nrpe run as a daemon on the remote, but that to didn't make a difference. At the moment I'm wondering which user is actually starting check_nrpe. At first I thought that would be nagios, later I made sure nobody was able to run the check. But alas...... I'm still getting a connection refused. Any pointers for a lost sole? -- regard Peter Kaagman p.kaagman at atlascollege.nl bilbo at nedlinux.nl ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:05:42 2003 From: nils_mueller at hotmail.com (solkan) Date: 22 May 2003 09:05:42 -0000 Subject: Possible to monitor CPU states? Message-ID: <20030522090542.23637.qmail@pod-163.dolphin-server.co.uk> Greetings, anyone knows a way to monitor the current cpu state rather than the average loads? Example: I don't want: load average: 0.01, 0.02, 0.00 But rather: 0.1% user, 0.9% system, 0.0% nice, 98.8% idle Thanks for your replies! Solkan ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:09:34 2003 From: nils_mueller at hotmail.com (solkan) Date: 22 May 2003 09:09:34 -0000 Subject: [Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030522090934.24316.qmail@pod-163.dolphin-server.co.uk> I found out the trick is to get openssl 0.9.7+ installed. Though i had tons of trouble with that on RH8 machines (no rpms, problems with installing manually). S I switched to nrpe 1.8 which works quite well, though does not encrpyt ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:47:22 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 22 May 2003 11:47:22 +0200 Subject: Probs with check_ntp In-Reply-To: <3ECB9630.1050103@kisters.com> References: <3ECB9630.1050103@kisters.com> Message-ID: <3ECC9CAA.6060907@kisters.com> I have checked the logs of my problematic host, and there are always entries like: ######### snip ########### May 22 11:31:33 smeagol nrpe[16166]: Host is asking for command 'check_ntp' to be run... May 22 11:31:33 smeagol nrpe[16166]: Running command: /opt/nagios/libexec/check_ntp -H ptbtime1.ptb.de May 22 11:31:45 smeagol nrpe[16166]: Command completed with return code 0 and output: NTP OK: Offset 0.111329 secs May 22 11:31:45 smeagol nrpe[16166]: Return Code: 0, Output: NTP OK: Offset 0.111329 secs ######### snap ########### One can see that between activating the command and getting the return code there are a little bit more than 10 seconds. I have tried the command with the ip address of the ntp server, but no change in time behaviour. I have tried the switch "-t" with the "check_ntp" plugin to increase the timeout value, but it does not recognise it. Is there a possibility to increase the timeout of 10 seconds in the service definition on the nag host? 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 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:52:13 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 22 May 2003 11:52:13 +0200 Subject: Probs with check_ntp In-Reply-To: <3ECB9630.1050103@kisters.com> References: <3ECB9630.1050103@kisters.com> Message-ID: <3ECC9DCD.9070006@kisters.com> Ah, I have forgotten to give my *timeout settings defined in "nagios.cfg": service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 So why is there a timeout with my check_ntp service after 10 seconds when the service timeout is defined to 60 seconds? 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 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 12:08:13 2003 From: testrm at kisters.com (Ralf Mellis) Date: Thu, 22 May 2003 12:08:13 +0200 Subject: Probs with check_ntp : SOLVED In-Reply-To: <3ECB9630.1050103@kisters.com> References: <3ECB9630.1050103@kisters.com> Message-ID: <3ECCA18D.6030106@kisters.com> I got the solution: I added the "-t" switch to my "check_nrpe" command definition on the nag host with a value of "30"... and now it works. Fine. -- 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.kaagman at atlascollege.nl Thu May 22 13:44:11 2003 From: p.kaagman at atlascollege.nl (Peter Kaagman) Date: Thu, 22 May 2003 13:44:11 +0200 (CEST) Subject: NRPE: Could not complete SSL handshake. 1 In-Reply-To: References: Message-ID: Hi list, Problems solved..... turned out to be something wrong with my basic configuration. There was an error in my hosts.conf. The remote host in question had an ip assigned which belonged to a completely different host. That's what you get when yanking text and notpaying attention :D -- A lack of leadership is no substitute for inaction. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Thu May 22 14:03:19 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Thu, 22 May 2003 14:03:19 +0200 Subject: nrpe compile error RH 7.2 Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAE7F@rijpat-s-346.europe.shell.com> Hello, I have compiled NRPE on Solaris 8, and all works perfect, but i have now tried to compile it on my linux RH 7.2 clients, and i get the following error during "make all". does anybody know whats causing the error??? #make all Making all in lib make[1]: Entering directory `/is/projects/nagios-plugins-1.3.0/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/is/projects/nagios-plugins-1.3.0/lib' Making all in plugins make[1]: Entering directory `/is/projects/nagios-plugins-1.3.0/plugins' cc -g -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lkvm -lelf -lsnprintf -lsnprintf /usr/bin/ld: cannot find -lkvm collect2: ld returned 1 exit status make[1]: *** [check_disk] Error 1 make[1]: Leaving directory `/is/projects/nagios-plugins-1.3.0/plugins' make: *** [all-recursive] Error 1 Help appretiated thanks Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.suire at adelux.fr Thu May 22 13:47:59 2003 From: christophe.suire at adelux.fr (Christophe Suire) Date: Thu, 22 May 2003 13:47:59 +0200 Subject: Serious notification problem Message-ID: <200305221347.59015.christophe.suire@adelux.fr> Hi, I have a problem with some host/service with notifications. In fact the problem is that a host/service is see by nagios as DOWN, but there no notifications. I think the problem is link with the number of attempt that is need to send a notification. My configuration is the same for all hosts/services, but for some host/service the number of attempt when there is a problem seems to be lock to 1/3 ... so number 3 is never done and there no notification .. What is the problem ??? Please help me :) -- Christophe Suire Example of my configuration : ---------------------------------------- * A host working : define host { host_name srv alias srv address 172.16.1.9 check_command check-host-alive parents sw201 max_check_attempts 3 checks_enabled 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 } define service { host_name srv service_description connectivity check_command check_ping max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups admin } * A host not working : define host { host_name ca18 alias ca18 address 192.168.100.18 check_command check-host-alive parents sw181 max_check_attempts 3 checks_enabled 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 } define service { host_name ca18 service_description connectivity check_command check_ping max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups admin } ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer.huber at gmx.at Thu May 22 14:13:28 2003 From: rainer.huber at gmx.at (Rainer Huber) Date: Thu, 22 May 2003 14:13:28 +0200 Subject: logging check_* output Message-ID: <001f01c3205b$8e41de20$1401a8c0@w2k> Hi! Does anybody know if it is possible to log the output of the check_* scripts into a logfile (STDOUT output). I've tried to put a "| tee logfile" behind the check_ping command in the checkcommand definition but it did not work Does the "Status Information" row in the "Service Detail" view contain exactly the output of the latest invocation of the check scripts? The reason why I want to log the return string is that I am getting warnings with PING monitoring (check_ping). The WEB interface shows "PING WARNING - Packet loss = 0%, RTA = 22.30 ms" and when I invoke check_ping with corresponding parameters everything is ok (PING OK - Packet loss = 0%, RTA = 1.10 ms). The connection between the hosts is a 10Mbps LAN, so 22ms delay is simply too high. I've disabled all other checks, so that there was no other traffic on the network which could influence the test. the ouput of tcpdump shows, that there is no delay of 22.30 ms on the network side: ((check_ping invocation)) 13:59:55.076690 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 13:59:55.077258 192.168.1.100 > 192.168.2.99: icmp: echo reply 13:59:56.076501 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 13:59:56.077205 192.168.1.100 > 192.168.2.99: icmp: echo reply 13:59:57.076448 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 13:59:57.077061 192.168.1.100 > 192.168.2.99: icmp: echo reply 13:59:58.076421 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 13:59:58.077073 192.168.1.100 > 192.168.2.99: icmp: echo reply 13:59:59.076442 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 13:59:59.077329 192.168.1.100 > 192.168.2.99: icmp: echo reply ((triggered by nagios)) 14:00:17.857437 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 14:00:17.858177 192.168.1.100 > 192.168.2.99: icmp: echo reply 14:00:18.848064 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 14:00:18.848796 192.168.1.100 > 192.168.2.99: icmp: echo reply 14:00:19.847542 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 14:00:19.848269 192.168.1.100 > 192.168.2.99: icmp: echo reply 14:00:20.847046 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 14:00:20.847766 192.168.1.100 > 192.168.2.99: icmp: echo reply 14:00:21.846503 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) 14:00:21.847217 192.168.1.100 > 192.168.2.99: icmp: echo reply Thanks in advance for any ideas/suggestions regards Rainer ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.suire at adelux.fr Thu May 22 14:11:38 2003 From: christophe.suire at adelux.fr (Christophe Suire) Date: Thu, 22 May 2003 14:11:38 +0200 Subject: Serious notification problem Message-ID: <200305221411.38527.christophe.suire@adelux.fr> Hi, I have a problem with some host/service with notifications. In fact the problem is that a host/service is see by nagios as DOWN, but there no notifications. I think the problem is link with the number of attempt that is need to send a notification. My configuration is the same for all hosts/services, but for some host/service the number of attempt when there is a problem seems to be lock to 1/3 ... so number 3 is never done and there no notification .. What is the problem ??? Please help me :) -- Christophe Suire Example of my configuration : ---------------------------------------- * A host working : define host { host_name srv alias srv address 172.16.1.9 check_command check-host-alive parents sw201 max_check_attempts 3 checks_enabled 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 } define service { host_name srv service_description connectivity check_command check_ping max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups admin } * A host not working : define host { host_name ca18 alias ca18 address 192.168.100.18 check_command check-host-alive parents sw181 max_check_attempts 3 checks_enabled 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 } define service { host_name ca18 service_description connectivity check_command check_ping max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups admin } ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Thu May 22 15:01:03 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Thu, 22 May 2003 09:01:03 -0400 Subject: % Time Undetermined Message-ID: <69320AEBB83E2A4EBEB8358A9E2115CB01C9C0CD@exchange1.ctg.com> Greetings- Thanks for your response. I changed log_initial_states to make sure the initial state was up. I deleted my logs and retention information, and started Nagios with fresh information. I waited 24 hours, and tried to run a report for just today. I get 100% undetermined time. I understand that if you try to go back farther than there is information this will occur. However, I'm trying to just read information from 1 day (Today), and have logs for 2. The time should be able to be determined. Unless I am completely missing something. Any other tips, are greatly welcomed. > -----Original Message----- > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Sent: Wednesday, May 21, 2003 2:27 PM > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > What about nagios.cfg options? I believe the most relevant option is: > > log_initial_states= > > > You will need some info in the logs to be able to generate a > report. I don't > understand what you mean by you don't have backtracked > logged. Nagios will > let you do a report for any date, but it needs logs to make > that report > useful. So if you are wanting a year to date report but only > have last weeks > log Nagios will make a report from Jan to now just only the > last 7 days will > have info, the rest will be undetermined. > > > > > -----Original Message----- > From: Jason Gauthier [mailto:jgauthier at lastar.com] > Sent: Wednesday, May 21, 2003 1:17 PM > To: Steve Rossen; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > Yes, you are correct. The FAQ entry is basically: > > "Description: When user generates host/service reports using > the trends and > availability CGIs, they get a percent of time reported as being > 'Undetermined'. Sometimes the report will show '100% > Undetermined' time. > What does this mean? > > > Solution: The trends and availability CGIs were designed to > not lie to you > (or your manager). They make the best attempt to give an > honest report of > the state of a host or service based on alert entries found in the log > files. If there are chunks of time in the reporting period > that the CGIs > cannot determine the state of a host/service for, those > chunks get counted > as undetermined. > > If you get 100% of the period being reported as undetermined, > the problem > lies with the fact that the CGIs could not determine the > initial/start state > of the host/service for that period. You can increase the > chances of the > CGIs finding an initial state for the host/service by > increasing the value > of the Backtracked Archives option. If this does not help and > you know what > the state of the host/service was at the start of the report > period, you can > tell the CGIs what that was by selecting it from the First > assumed state > dropdown box. > > If only a portion of the reporting period is being shown as > undetermined, it > may be due to two things: > > > Nagios was not running during the undetermined times. If this > is the case, > you're out of luck. The CGIs cannot be forced to report the state of a > host/service when Nagios was not running. > The Nagios process was restarted one or more times during the > reporting > period. If you have state retention enabled, set the Assume > state retention > option to yes. If you do not have state retention enabled, > you might try > setting the Assume initial states option to yes. " > > > The first solution is "Increase Backtracked Archives" which > is a moot point, > because I have none. The second solution is to force the > "Assumed initial > state", which my original emails states I have done. (I > forced the initial > status to be "UP") > > S, I appreciate you pointing me to the FAQ which I have covered. > Unfortunatly, in my case something else is wrong. > > I would be most thankful for any other suggestions. > > Thanks all, > > Jason > > > > -----Original Message----- > > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > > Sent: Wednesday, May 21, 2003 10:54 AM > > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] % Time Undetermined > > > > > > There is a FAQ on this. Do a search. > > > > -----Original Message----- > > From: Jason Gauthier [mailto:jgauthier at lastar.com] > > Sent: Wednesday, May 21, 2003 8:48 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] % Time Undetermined > > > > > > Hey Folks- > > > > > > I've been using Nagios for quite a while. Recently, my CTO > > came to me and > > said he wants a way for me to measure our uptime. I thought, > > "Nagios has > > built in reporting, and should do the job nicely." > > > > I proceeded to clean out all my Nagios retention states, and > > start from a > > clean slate. After several days I'm back to running reports. > > > > Every report I run for every host always tells me that > > 100.000% of my time > > is undetermined. I cannot figure out why. (Even if I run the > > report on the > > last 24 hours, assume inital state is up, [and it is!], I > > always get this) > > > > I would really like to figure out how this works so I can fix > > it.. and not > > have to build something else myself. > > > > Thanks! > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application > fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vitor at jamyrvasconcellos.com.br Thu May 22 16:13:13 2003 From: vitor at jamyrvasconcellos.com.br (Vitor Alexandre S. Marinho) Date: 22 May 2003 14:13:13 -0000 Subject: Keeping in touch Message-ID: <1053612793.8844.110580.sendUpdate@mx.plaxo.com> Nagios, I'm updating my address book. Please take a moment to update me with your latest contact info. Click the following link to correct or confirm your information: https://www.plaxo.com/edit_contact_info?r=4294977348-1417576--75277483&t=web Name: Nagios Job Title: Company: Work E-mail: nagios-users at lists.sourceforge.net Work Phone: Work Fax: Work Address Line 1: Work Address Line 2: Work City, State, Zip: Mobile Phone: Home E-mail: Home Phone: Home Fax: Home Address Line 1: Home Address Line 2: Home City, State, Zip: My current contact information: P.S. I've included my current contact information below. I've also attached a copy as a vCard. +----------------- | Vitor Alexandre S. Marinho | vitor at jamyrvasconcellos.com.br | Analista de Suporte | | Jamyr Vasconcellos SA | Rodovia Presidente Dutra, 2749 | Pavuna / RJ | work: 24722993 | mobile: 88350796 | | Personal Information: | Rua Hermes da Matta Barcellos, 145 | home: 26127265 | mobile: 88350796 | web: http://www.alexandre.eti.br | e-mail: vitor at jamyrvasconcellos.com.br +------------------------------------- ____________________________________________________________ This message was sent to you by vitor at jamyrvasconcellos.com.br via Plaxo. To have Plaxo automatically handle these messages in the future, go to: http://www.plaxo.com/autoreply Plaxo's Privacy Policy: http://www.plaxo.com/support/privacy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Vitor Alexandre S. Marinho.vcf Type: text/x-vcard Size: 581 bytes Desc: not available URL: From duncan at ring-wraith.com Thu May 22 16:54:25 2003 From: duncan at ring-wraith.com (Duncan) Date: 22 May 2003 14:54:25 -0000 Subject: Ping monitor problems In-Reply-To: References: Message-ID: <20030522145425.30714.qmail@pod-163.dolphin-server.co.uk> Hi, i am experiencing the exact same problem. The check_ping command works just fine from the command line and the command as listed in the "Status Information" also returns a valid result, but the status is kept on "UNKNOWN". I am using your example of check_command check_ping!100.0,20%!500.0,60% but it keeps on reporting a possible downtime. Any help on this would be appreciated ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:24:26 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 22 May 2003 10:24:26 -0500 Subject: check_by_ssh commands Message-ID: I'm glad you got it working. However, based on what you pasted to the list, it appears you didn't have a closing quotation mark. That would definitely create the symptom you were witnessing. ;) jc > -----Original Message----- > From: Brad Dunn [mailto:Brad at pretzel.com.au] > Sent: Wednesday, May 21, 2003 10:47 PM > To: Brad Dunn; 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] RE: check_by_ssh commands > > > Sorry, I realise I just needed the -l switch on the > ./check_by_ssh command > as well. My mistake. > > Brad > > -----Original Message----- > From: Brad Dunn > Sent: Thursday, 22 May 2003 11:33 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: check_by_ssh commands > > > Hi there, I'm running Nagios on a Debian Linux machine and am > just started > to setup some checks using the "check_by_ssh" and have run > into a bit of a > problem. to make things easier I've got HOSTA and HOSTB. I've > setup all the > SSH public keys etc so that HOSTA (the nagios server) Can > login to HOSTB > without the password and only using the public keys etc . In > this case a > check_disk over check_by_ssh. It logs in no worries. > > > This is how it works when I just try to SSH from HOSTA to > HOSTB debian:~# > ssh -l nagios HOSTB It then displays me with the MOTD > > however my problem arrises when I try to either run the > command manually > from the libexec directory. ./check_by_ssh -H HOSTB -C > './check_disk -w 30% > -c 10% -p / it just sits at a prompt like so > > > > > Now I'm assuming now that I think about it, the reason its > probably not > working, is because when I try running it manually, I'm not > specifying the > user nagios on my remote machine, so the check_ssh its trying > to ssh as root > and thus getting prompted for the password. How exactly do I > do a check_ssh > and specify the user at the same time? > > > > also I noticed that within nagios itself, if the checks are all just > running, this particular check displays > Check Disk SSH WARNING22-05-2003 18:41:340d 0h 38m 59s4/4Permission > denied, please try again. > > This is my checkcommands.cfg > > # 'check_disk_ssh' command definition > define command{ > command_name check_disk_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > './check_disk -w $ARG1$ -c $ARG2$ -p /' > } > > > And this is my services.cfg > # Service definition > define service{ > use generic-service > ; Name of > service template to use > > host_name HOSTB > service_description Check Disk SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 1 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 960 > notification_period 24x7 > notification_options c,r > check_command check_disk_ssh!75%!85% > } > > Thanks > > -Brad > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoms at clinicomp.com Thu May 22 17:34:34 2003 From: thoms at clinicomp.com (Thom Smith) Date: 22 May 2003 08:34:34 -0700 Subject: Parent/child host relationship Message-ID: <1053617674.910.41.camel@pc-thoms.clinicomp.com> Greetings, For various reasons, I need to know the children of the hosts. Because the relationship is defined by the children (i.e. I know my parents but not my children), this seems difficult. Does this relationship exist anywhere that is easily accessible or will I have to build this. If I do need to build this, any ideas on a good way to do it? I was thinking about writing a script that runs at startup that builds a DB that contains the host, children and parents(s). TIA, Thom -- Thom Smith ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:32:15 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 22 May 2003 10:32:15 -0500 Subject: logging check_* output Message-ID: This was discussed recently. Simply write a wrapper script for the check in question (in your case, check_ping) and have it send the output to a file. jc > -----Original Message----- > From: Rainer Huber [mailto:rainer.huber at gmx.at] > Sent: Thursday, May 22, 2003 7:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] logging check_* output > > > Hi! > > Does anybody know if it is possible to log the output of the > check_* scripts > into a logfile (STDOUT output). > I've tried to put a "| tee logfile" behind the check_ping > command in the > checkcommand definition but it did not work > > Does the "Status Information" row in the "Service Detail" view contain > exactly the output of the latest invocation of the check scripts? > > The reason why I want to log the return string is that I am > getting warnings > with PING monitoring (check_ping). The WEB interface shows > "PING WARNING - > Packet loss = 0%, RTA = 22.30 ms" and when I invoke check_ping with > corresponding parameters everything is ok (PING OK - Packet > loss = 0%, RTA = > 1.10 ms). The connection between the hosts is a 10Mbps LAN, > so 22ms delay is > simply too high. > > I've disabled all other checks, so that there was no other > traffic on the > network which could influence the test. > the ouput of tcpdump shows, that there is no delay of 22.30 ms on the > network side: > ((check_ping invocation)) > 13:59:55.076690 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 13:59:55.077258 192.168.1.100 > 192.168.2.99: icmp: echo reply > 13:59:56.076501 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 13:59:56.077205 192.168.1.100 > 192.168.2.99: icmp: echo reply > 13:59:57.076448 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 13:59:57.077061 192.168.1.100 > 192.168.2.99: icmp: echo reply > 13:59:58.076421 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 13:59:58.077073 192.168.1.100 > 192.168.2.99: icmp: echo reply > 13:59:59.076442 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 13:59:59.077329 192.168.1.100 > 192.168.2.99: icmp: echo reply > > ((triggered by nagios)) > 14:00:17.857437 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 14:00:17.858177 192.168.1.100 > 192.168.2.99: icmp: echo reply > 14:00:18.848064 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 14:00:18.848796 192.168.1.100 > 192.168.2.99: icmp: echo reply > 14:00:19.847542 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 14:00:19.848269 192.168.1.100 > 192.168.2.99: icmp: echo reply > 14:00:20.847046 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 14:00:20.847766 192.168.1.100 > 192.168.2.99: icmp: echo reply > 14:00:21.846503 192.168.2.99 > 192.168.1.100: icmp: echo request (DF) > 14:00:21.847217 192.168.1.100 > 192.168.2.99: icmp: echo reply > > Thanks in advance for any ideas/suggestions > > regards > Rainer > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Thu May 22 19:13:51 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Thu, 22 May 2003 19:13:51 +0200 Subject: mailq plugin Message-ID: An HTML attachment was scrubbed... URL: From jasonp at iland.com Thu May 22 19:38:15 2003 From: jasonp at iland.com (Jason Payne) Date: Thu, 22 May 2003 12:38:15 -0500 Subject: WebBased Nagios Hosts Management Interface? Message-ID: Has anyone come out with an interface to edit the etc/.cfg files directly through a web interface yet? I've tried nagat, and it'd not a feasible solution. Any links would be appreciated. Jason Payne Iland Internet ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 19:53:56 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 22 May 2003 13:53:56 -0400 (EDT) Subject: mailq plugin In-Reply-To: References: Message-ID: On Thu, 22 May 2003, Srv Muju wrote: > > Hi all, > > 1st - apologies for the mail format if it offends. > > Scenario: Running nagios on Solaris 5.8 with various plugins, including check_mailq. > > : using check_nrpe!ip!check_command successfully from nagios on server on *all* other plugins. > > : running nrpe -d nrpe.cfg on remote host which as mentioned is monitoring all commands 100% > > Error: check_mailq command output = "Error cannot find executable" as found with nagios main view. > > Tried: Running check_nrpe IP addy -c check_mailq (from command line, works fine) > > Made sure that files are executable and running nrpe and nagios as user nagios. > check_mailq is a perl plugin and needs to know where "utils.pm" resides. Modify check_mailq's "use lib ..." statement to point to the dir where utils.pm resides. Check utils.pm to verify that $PATH_TO_MAILQ point to a valid executeable Make sure that the nrpe user can execute the program. (usually it is root only, so you may have to add group perms) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Thu May 22 20:40:30 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Thu, 22 May 2003 15:40:30 -0300 Subject: I'm needing a Nagios for Dummies ;-) Message-ID: Hi guys, I'm trying Nagios, and after set all files following the manual carefully, I'm having troubles to start it. I had used the template files and when I try to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg to check if parameters are right I'm receiving errors: The error is saying that has a problem on my main config (nagios.cfg) on line 18 (the real first one because before this, it's only comments), the line 18 is: log_file=/usr/local/nagios/var/nagios.log it's exactly like this. So, my first idea was: create the file - doesn't work change the owner of file (it was root for all files that are under /usr/local/nagios/*) - doesn't work comment the line - work until the line 30 (second line) that was cfg_file=/usr/local/nagios/etc/hosts.cfg I used the manual downloaded from Nagios Home page (Nagios_1_0_Docs.pdf) What I did wrong? Has anyone a tip to send me? Best Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 20:47:58 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 22 May 2003 14:47:58 -0400 (EDT) Subject: NSClient 1.0.8.3 released Message-ID: <200305221847.h4MIlwqw019349@webmail1.magma.ca> NSClient 1.0.8.3 is available for download from http://support.tsmgsoftware.com Enhancements: 1. FILEAGE now takes an optional format string to format the date/time of the fileage using the strftime library syntax. Now international users can specifiy consistent return results that are not dependant on server settings or North American date format standards. 2. INSTANCES option will return a list of instances for a specified perfmon object. Useful during setup (no going on the Windows box to see the instances list), or for writing scripts to create services.cfg files. The version requires a new version of check_nt. Binaries of Linux and Solaris are included. Source compiles effortlessly with plugins 1.3.0. Tim ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 22 21:18:14 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Thu, 22 May 2003 14:18:14 -0500 Subject: % Time Undetermined Message-ID: <870BC6C69F20D4118ECC009027FC7761070BC96D@copexc01.parago.com> What if you run a report for a service? Also what type of report are you trying to run? I will take a look at mine and see if anything jogs my memory. Steve -----Original Message----- From: Jason Gauthier [mailto:jgauthier at lastar.com] Sent: Thursday, May 22, 2003 8:01 AM To: Steve Rossen; Jason Gauthier; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] % Time Undetermined Greetings- Thanks for your response. I changed log_initial_states to make sure the initial state was up. I deleted my logs and retention information, and started Nagios with fresh information. I waited 24 hours, and tried to run a report for just today. I get 100% undetermined time. I understand that if you try to go back farther than there is information this will occur. However, I'm trying to just read information from 1 day (Today), and have logs for 2. The time should be able to be determined. Unless I am completely missing something. Any other tips, are greatly welcomed. > -----Original Message----- > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Sent: Wednesday, May 21, 2003 2:27 PM > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > What about nagios.cfg options? I believe the most relevant option is: > > log_initial_states= > > > You will need some info in the logs to be able to generate a > report. I don't > understand what you mean by you don't have backtracked > logged. Nagios will > let you do a report for any date, but it needs logs to make > that report > useful. So if you are wanting a year to date report but only > have last weeks > log Nagios will make a report from Jan to now just only the > last 7 days will > have info, the rest will be undetermined. > > > > > -----Original Message----- > From: Jason Gauthier [mailto:jgauthier at lastar.com] > Sent: Wednesday, May 21, 2003 1:17 PM > To: Steve Rossen; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > Yes, you are correct. The FAQ entry is basically: > > "Description: When user generates host/service reports using > the trends and > availability CGIs, they get a percent of time reported as being > 'Undetermined'. Sometimes the report will show '100% > Undetermined' time. > What does this mean? > > > Solution: The trends and availability CGIs were designed to > not lie to you > (or your manager). They make the best attempt to give an > honest report of > the state of a host or service based on alert entries found in the log > files. If there are chunks of time in the reporting period > that the CGIs > cannot determine the state of a host/service for, those > chunks get counted > as undetermined. > > If you get 100% of the period being reported as undetermined, > the problem > lies with the fact that the CGIs could not determine the > initial/start state > of the host/service for that period. You can increase the > chances of the > CGIs finding an initial state for the host/service by > increasing the value > of the Backtracked Archives option. If this does not help and > you know what > the state of the host/service was at the start of the report > period, you can > tell the CGIs what that was by selecting it from the First > assumed state > dropdown box. > > If only a portion of the reporting period is being shown as > undetermined, it > may be due to two things: > > > Nagios was not running during the undetermined times. If this > is the case, > you're out of luck. The CGIs cannot be forced to report the state of a > host/service when Nagios was not running. > The Nagios process was restarted one or more times during the > reporting > period. If you have state retention enabled, set the Assume > state retention > option to yes. If you do not have state retention enabled, > you might try > setting the Assume initial states option to yes. " > > > The first solution is "Increase Backtracked Archives" which > is a moot point, > because I have none. The second solution is to force the > "Assumed initial > state", which my original emails states I have done. (I > forced the initial > status to be "UP") > > S, I appreciate you pointing me to the FAQ which I have covered. > Unfortunatly, in my case something else is wrong. > > I would be most thankful for any other suggestions. > > Thanks all, > > Jason > > > > -----Original Message----- > > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > > Sent: Wednesday, May 21, 2003 10:54 AM > > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] % Time Undetermined > > > > > > There is a FAQ on this. Do a search. > > > > -----Original Message----- > > From: Jason Gauthier [mailto:jgauthier at lastar.com] > > Sent: Wednesday, May 21, 2003 8:48 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] % Time Undetermined > > > > > > Hey Folks- > > > > > > I've been using Nagios for quite a while. Recently, my CTO came to > > me and said he wants a way for me to measure our uptime. I thought, > > "Nagios has > > built in reporting, and should do the job nicely." > > > > I proceeded to clean out all my Nagios retention states, and start > > from a clean slate. After several days I'm back to running reports. > > > > Every report I run for every host always tells me that 100.000% of > > my time is undetermined. I cannot figure out why. (Even if I run > > the report on the > > last 24 hours, assume inital state is up, [and it is!], I > > always get this) > > > > I would really like to figure out how this works so I can fix it.. > > and not have to build something else myself. > > > > Thanks! > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application > fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Thu May 22 21:32:32 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Thu, 22 May 2003 12:32:32 -0700 Subject: I'm needing a Nagios for Dummies ;-) Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036DA2@mail2.hq.linksys.com> My first guess would be that your permissions are off. However it is also possible that you have something improper above this line, it just that it doesn't record it until then. -----Original Message----- From: Fernando Gomes Lima [mailto:flima at slb.com] Sent: Thursday, May 22, 2003 11:41 AM To: Nagios Hi guys, I'm trying Nagios, and after set all files following the manual carefully, I'm having troubles to start it. I had used the template files and when I try to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg to check if parameters are right I'm receiving errors: The error is saying that has a problem on my main config (nagios.cfg) on line 18 (the real first one because before this, it's only comments), the line 18 is: log_file=/usr/local/nagios/var/nagios.log it's exactly like this. So, my first idea was: create the file - doesn't work change the owner of file (it was root for all files that are under /usr/local/nagios/*) - doesn't work comment the line - work until the line 30 (second line) that was cfg_file=/usr/local/nagios/etc/hosts.cfg I used the manual downloaded from Nagios Home page (Nagios_1_0_Docs.pdf) What I did wrong? Has anyone a tip to send me? Best Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Thu May 22 22:33:15 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Thu, 22 May 2003 17:33:15 -0300 Subject: RES: I'm needing a Nagios for Dummies ;-) In-Reply-To: References: Message-ID: Fernando: Maybe if you replace the second "bin" to a "etc" it works (CFG files are normally located at /usr/local/nagios/etc directory). Or it was a mistype? HTH, Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Fernando Gomes Lima Enviada em: quinta-feira, 22 de maio de 2003 15:41 Para: Nagios Assunto: [Nagios-users] I'm needing a Nagios for Dummies ;-) Hi guys, I'm trying Nagios, and after set all files following the manual carefully, I'm having troubles to start it. I had used the template files and when I try to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg to check if parameters are right I'm receiving errors: The error is saying that has a problem on my main config (nagios.cfg) on line 18 (the real first one because before this, it's only comments), the line 18 is: log_file=/usr/local/nagios/var/nagios.log it's exactly like this. So, my first idea was: create the file - doesn't work change the owner of file (it was root for all files that are under /usr/local/nagios/*) - doesn't work comment the line - work until the line 30 (second line) that was cfg_file=/usr/local/nagios/etc/hosts.cfg I used the manual downloaded from Nagios Home page (Nagios_1_0_Docs.pdf) What I did wrong? Has anyone a tip to send me? Best Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghelleks at yahoo.com Thu May 22 22:55:09 2003 From: ghelleks at yahoo.com (Gunnar Hellekson) Date: Thu, 22 May 2003 13:55:09 -0700 (PDT) Subject: Down parent -> child service notifications? Message-ID: <20030522205509.49159.qmail@web13903.mail.yahoo.com> This is using Nagios 1.0. - Host A has a child Host B. - Host A enters a flexible downtime, and goes down as planned. - Host and service notifications for Host A are suppressed, as expected. - Host notifications for Host B are also suppressed, which is expected. - Service notifications for Host B go crazy Does the "parent" directive only affect host notifications? Do I have to create an explicit dependency between Host B's services and Host A? Doesn't that seem redundant and unnecessary? Looking through the -users archives, it seems others have had this same problem and I can't find any responses to their pleas for help. Anyone? Thanks, Gunnar __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 23:23:10 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 23 May 2003 09:23:10 +1200 Subject: Keeping in touch References: <1053612793.8844.110580.sendUpdate@mx.plaxo.com> Message-ID: <004501c320a8$5b0b5610$b58031ca@bcl977307> Your Contact Infoyour webform leaves the previous post online ?? I got to see Tom Welsh's details. jamie ----- Original Message ----- From: Vitor Alexandre S. Marinho To: Nagios Sent: Friday, May 23, 2003 2:13 AM Subject: [Nagios-users] Keeping in touch Nagios, I'm updating my address book. Please take a moment to update me with your latest contact info. Thanks, Vitor Alexandre S. Marinho Nagios no title no company no work address nagios-users at lists.sourceforg... no web page IM: none work: fax: mobile: pager: none none none none Personal Information no home address no email no web page IM: none home: fax: mobile: none none none -------------- next part -------------- An HTML attachment was scrubbed... URL: From rand at meridian-enviro.com Fri May 23 03:01:31 2003 From: rand at meridian-enviro.com (Douglas K. Rand) Date: 22 May 2003 20:01:31 -0500 Subject: host check interval In-Reply-To: <87n0hg9hxr.wl@delta.meridian-enviro.com> References: <87n0hg9hxr.wl@delta.meridian-enviro.com> Message-ID: <873cj6pjbo.fsf@delta.meridian-enviro.com> OK, here I go, replying to my own email..... ;^) I think I can do an approximation of host_check_interval by using escalations. I made the "normal" host notification method something that doesn't email or page anybody. (I have it going to a log file, instead of just throwing it away in /dev/null, I have a very cluttered filesystem. :)) I set the notification_interval to 1 minute. Then with this escelation: define hostescalation { host_name * first_notification 3 last_notification 3 contact_groups admins notification_interval 0 } I get a single notification of the host being down after 3 minutes. If the host comes up before 3 minutes, I don't hear about it (other than in the log). Maybe this is what escelations are supposed to be use for! :) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblowe at comcast.net Fri May 23 04:22:06 2003 From: dblowe at comcast.net (David Lowe) Date: Thu, 22 May 2003 21:22:06 -0500 Subject: "Object not Found" on webpage.......... Message-ID: <1053656526.4025.26.camel@dadsbox.localdomain> I'm new to the list. I have been working on getting Nagios running for a project at work. I am having some initial problems........ I have the current stable release of Nagios installed on a Redhat 8.0 machine. I have followed the instructions for installing and configuring Nagios I found at http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html Nagios and the Nagios plugins loaded with no problems. I ran the configuration check, "../bin/nagios -v nagios.cfg" and it came back clean. The only deviation the install had was that the Nagios executable was placed in /etc/init.d/ instead of /etc/rc.d/. I have the Alias and ScriptAlias installed properly in httpd.conf. I can start both httpd and Nagios and both start with not errors reported. I bring up my webbrowser and go to 192.168.1.100/nagios/ and that brings up the initial Nagios page. When I click on any of the monitor displays I get the "Object not Found" error. It is the 404 error. I then look in /var/log/httpd/error_log and see this message, "[Wed May 21 21:41:14 2003] [error] [client 192.168.1.100] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http://192.168.1.110/nagios/side.html". I do not know why Nagios is looking for a "cgi-bin" directory because as far as I can tell it did not create one. I have made a cgi-bin file and copied the .cgi files to it but that doesn't make it work either. I have been going thru the mailing-list and trying different solutions I find but nothing is working. I am hoping someone on the list has been thru this and could point me towards a solution. Thanks ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shsiang at yourtechnologyteam.com Fri May 23 04:10:13 2003 From: shsiang at yourtechnologyteam.com (Scott Hsiang) Date: Thu, 22 May 2003 19:10:13 -0700 Subject: Network Traffic Message-ID: Hi all I had been using naigos for couple of weeks and I m really happy with this piece of software. I am able to monitor the cpu load and I am wondering if there's a way to monitor the network traffic by using nagios. I would like to know when was the peak time and low time by the size of the files that were transferring. Thanks, Scott Hsiang YTT, California ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Fri May 23 05:09:05 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Thu, 22 May 2003 23:09:05 -0400 Subject: Network Traffic Message-ID: <69320AEBB83E2A4EBEB8358A9E2115CB028E94D7@exchange1.ctg.com> Nagios itself won't measure bandwidth utilization. I would recommend using MRTG. This can graph your network utilization nicely. Then you can use Nagios (with the MRTG plugin) to notify you if utilization on a certain switch/server/router is too high for too long. > -----Original Message----- > From: Scott Hsiang [mailto:shsiang at yourtechnologyteam.com] > Sent: Thursday, May 22, 2003 10:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Network Traffic > > > Hi all > > I had been using naigos for couple of weeks and I m really > happy with this piece of software. I am able to monitor the > cpu load and I am wondering if there's a way to monitor the > network traffic by using nagios. I would like to know when > was the peak time and low time by the size of the files that > were transferring. > > Thanks, > > Scott Hsiang > YTT, California > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application > fit in a relational database is painful, don't do it! Check > out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 23 08:35:39 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Fri, 23 May 2003 08:35:39 +0200 Subject: Network Traffic In-Reply-To: References: Message-ID: <3ECDC13B.5070900@etsetb.upc.es> Scott Hsiang wrote: > Hi all > > I had been using naigos for couple of weeks and I m really happy with this > piece of software. I am able to monitor the cpu load and I am wondering if > there's a way to monitor the network traffic by using nagios. I would like > to know when was the peak time and low time by the size of the files that > were transferring. > I configured apan, so it draws graphs showing the load of the servers and routers , net usage, memory and disk, you name it, via snmp. It's not easy to install, and it's hard to find when you make a mistake, but in the end it's worth it. There is a link to apan from the nagios download page. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Fri May 23 10:01:19 2003 From: mylists at ame.de (Matthias Eichler) Date: 23 May 2003 10:01:19 +0200 Subject: Escalation with different notification-methods Message-ID: <1053676879.595.8.camel@blindzero> Hi Lists, I am looking for some solution how to make some escalation with the same contactgroups BUT with another notification method. As I can see for now, you can extend or modify the contacts to who the notifications are sent out, but I do not see any way to change the notification method on HOW to send out the notifications to the contacts... Has anybody done this without duplication the persons?!? Thanks, Matthias ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Fri May 23 10:11:44 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Fri, 23 May 2003 10:11:44 +0200 Subject: mailq plugin Message-ID: An HTML attachment was scrubbed... URL: From huber at uni-wh.de Fri May 23 10:24:03 2003 From: huber at uni-wh.de (ph) Date: 23 May 2003 08:24:03 -0000 Subject: log of warings Message-ID: <20030523082403.6811.qmail@pod-163.dolphin-server.co.uk> Sometimes I see some ping packet loss in my service detail. They are marked as warnings. I want to log these warnings so that I can see, how often these "packet loss" apears in 24 hours. How do I configure this ? Thanx Peter ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 23 10:23:23 2003 From: nils_mueller at hotmail.com (solkan) Date: 23 May 2003 08:23:23 -0000 Subject: Ping monitor problems Message-ID: <20030523082323.6670.qmail@pod-163.dolphin-server.co.uk> I had this exactly the same error on a RH8 machine (i.e. works from bash but not out of nagios) The problem has been solved by re-installing the 'iputils'. Maybe this helps you as well. Kind regards. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 11:49:49 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 23 May 2003 11:49:49 +0200 Subject: Different notification_interval for different contacts References: <87n0hg9hxr.wl@delta.meridian-enviro.com> <873cj6pjbo.fsf@delta.meridian-enviro.com> Message-ID: <3ECDEEBD.9090303@datavis.se> When a host or service is in problem I want to notify the responsible person via sms every 5 minutes and our helpdesk via mail every 30 minutes. How do you do this?? /FredrikW ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brunorodriguez at canal21.com Fri May 23 11:59:35 2003 From: brunorodriguez at canal21.com (Bruno Rodriguez) Date: Fri, 23 May 2003 11:59:35 +0200 Subject: Hosts not listed but services are In-Reply-To: <20030523082403.6811.qmail@pod-163.dolphin-server.co.uk> References: <20030523082403.6811.qmail@pod-163.dolphin-server.co.uk> Message-ID: <007501c32112$03ea71d0$287f08d4@brodriguez> Hi, I have just installed Nagios, configured it, and everything seems to work fine, but one thing : all my services are listed OK for all my 12 hosts, but in the host details only 2 hosts apear :-?. I've restarted the Nagios process a few times and checked permissions, but the problem persists. ?does any one have a clue? On the other hand, I have a few hosts sitting behind a firewall, and they appear to be down to Nagios. ICMP packets are blocked at this firewall so this is normal. I have changed the check_command to check-host-echo, but this doesn't seem to work either. ?can anyone help me with this? ?is there any other check I can make to know if the host is up? Thanks!! Greetings, Bruno. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan at ring-wraith.com Fri May 23 13:25:27 2003 From: duncan at ring-wraith.com (Duncan) Date: 23 May 2003 11:25:27 -0000 Subject: Ping monitor problems Message-ID: <20030523112527.10704.qmail@pod-163.dolphin-server.co.uk> solkan wrote on Fri, 23 May 2003 09:23 > I had this exactly the same error on a RH8 machine (i.e. works from bash but not out of nagios) > > The problem has been solved by re-installing the 'iputils'. > > Maybe this helps you as well. > > Kind regards. Wow! Excellent, that did the trick! Thanks a lot. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.kaagman at atlascollege.nl Fri May 23 13:22:00 2003 From: p.kaagman at atlascollege.nl (Peter Kaagman) Date: Fri, 23 May 2003 13:22:00 +0200 (CEST) Subject: NRPE dangerous default in nrpe.cfg In-Reply-To: <007501c32112$03ea71d0$287f08d4@brodriguez> References: <007501c32112$03ea71d0$287f08d4@brodriguez> Message-ID: Hi List, Just an observation...... Allthough I'm aware that it is my own responsibility to make sure I have a good configuration for nrpe, I do think that there is a dangerous default in nrpe.cfg...... For diskcheckes it states: command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1 as an example. I assumed (I know I should not assume anything :D) that the warning and critical levels were percentages which is not the case. They are absolute values in kBs. In perentages 20/10 would be normal tresholds.... in kBs however they are kinda funny..... at that point you allready have a _big_ problem. regards Peter Kaagman -- Kerr's Three Rules for a Successful College: Have plenty of football for the alumni, sex for the students, and parking for the faculty. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 14:17:12 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Fri, 23 May 2003 08:17:12 -0400 Subject: Parent/child host relationship References: <1053617674.910.41.camel@pc-thoms.clinicomp.com> Message-ID: Thom, I too had similar issue. I wanted to know all the services for a host, but to know that you need to go through all the services to see where your host is defined. I've written a (very simplified) Nagios Config parser (in Perl) that I use to populate synchronize a database when nagios starts/restarts/reload. It doesn't give you all the stuff that could be in templates, just the basic info that you need to define for each host/service. If you are comfortable with Perl, you should be able to use/change it to do what you want to do. You use it like this: my $cfg = new NagiosConfig("/usr/local/nagios/etc/nagios.cfg") ; foreach my $h (@{$cfg->{objects}->{host}}){ my @parents = split(/\s*,\s*/, $h->{parents}} ; ... } ------------------------------------- package NagiosConfig ; use strict ; use Carp ; use Data::Dumper ; my $TYPES = { host => 1, service => 1, } ; sub new { my $class = shift ; my $nagios_cfg = shift ; if (! open(CFG, "<$nagios_cfg")){ croak("Can't open $nagios_cfg for reading: $!") ; } my @files = () ; while(){ if ($_ =~ /^\s*cfg_file\s*=\s*(.*?)\s*$/){ push @files, $1 ; } elsif ($_ =~ /^\s*cfg_dir\s*=\s*(.*?)\s*$/){ push @files, <$1/*.cfg> ; } } close(CFG) ; my $this = { nagios_cfg => $nagios_cfg, files => \@files, objects => {}, } ; foreach my $t (keys %{$TYPES}){ $this->{objects}->{$t} = [] ; } bless($this, $class) ; $this->process_files() ; return $this ; } sub process_files { my $this = shift ; foreach my $f (@{$this->{files}}){ if (! open(CFG, "<$f")){ croak("Can't open $f for reading: $!") ; } my $in = 0 ; my $type = '' ; my $obj = undef ; while (){ my $line = $_ ; $line =~ s/^\s+// ; $line =~ s/\s+$// ; if ($line eq ''){ next ; } elsif ($line =~ /^#/){ next ; } elsif ($line =~ /^define\s+(\w+)\s*{$/){ if (! $TYPES->{$1}){ next ; } $type = $1 ; $obj = {} ; $in = 1 ; } elsif (($in)&&($line =~ /(\w+)\s+(.*?)$/)){ # We have a property definition $obj->{$1} = $2 ; } elsif (($in)&&($line eq '}')){ $in = 0 ; if ($obj->{register} ne '0'){ delete $obj->{register} ; delete $obj->{use} ; push @{$this->{objects}->{$type}}, $obj ; } } } close(CFG) ; } } 1 ; ------------------------- Good luck --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Thom Smith" To: Sent: Thursday, May 22, 2003 11:34 AM Subject: [Nagios-users] Parent/child host relationship > Greetings, > > For various reasons, I need to know the children of the hosts. Because > the relationship is defined by the children (i.e. I know my parents but > not my children), this seems difficult. > > Does this relationship exist anywhere that is easily accessible or will > I have to build this. If I do need to build this, any ideas on a good > way to do it? I was thinking about writing a script that runs at > startup that builds a DB that contains the host, children and > parents(s). > > TIA, > > Thom > -- > > Thom Smith > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Fri May 23 14:54:51 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Fri, 23 May 2003 09:54:51 -0300 Subject: I'm needing a Nagios for Dummies ;-) In-Reply-To: References: Message-ID: ok, Sandro, it's a mistype! but I'll make a double check! Is your Nagios working? Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: Sandro Vaz (UOL) [mailto:sandromergvaz at uol.com.br] Sent: quinta-feira, 22 de maio de 2003 17:33 To: flima at slb.com; 'Nagios' Subject: RES: [Nagios-users] I'm needing a Nagios for Dummies ;-) Fernando: Maybe if you replace the second "bin" to a "etc" it works (CFG files are normally located at /usr/local/nagios/etc directory). Or it was a mistype? HTH, Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Fernando Gomes Lima Enviada em: quinta-feira, 22 de maio de 2003 15:41 Para: Nagios Assunto: [Nagios-users] I'm needing a Nagios for Dummies ;-) Hi guys, I'm trying Nagios, and after set all files following the manual carefully, I'm having troubles to start it. I had used the template files and when I try to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/bin/nagios.cfg to check if parameters are right I'm receiving errors: The error is saying that has a problem on my main config (nagios.cfg) on line 18 (the real first one because before this, it's only comments), the line 18 is: log_file=/usr/local/nagios/var/nagios.log it's exactly like this. So, my first idea was: create the file - doesn't work change the owner of file (it was root for all files that are under /usr/local/nagios/*) - doesn't work comment the line - work until the line 30 (second line) that was cfg_file=/usr/local/nagios/etc/hosts.cfg I used the manual downloaded from Nagios Home page (Nagios_1_0_Docs.pdf) What I did wrong? Has anyone a tip to send me? Best Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/5/2003 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 15:11:56 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 23 May 2003 09:11:56 -0400 (EDT) Subject: mailq plugin In-Reply-To: References: Message-ID: On Fri, 23 May 2003, Srv Muju wrote: > > >check_mailq is a perl plugin and needs to know where "utils.pm" resides. > > >Modify check_mailq's "use lib ..." statement to point to the dir where > > >utils.pm resides. > >Check utils.pm to verify that $PATH_TO_MAILQ point to a valid > >executeable > >Make sure that the nrpe user can execute the program. (usually it is root > >only, so you may have to add group perms) > >-sg > ? > thank-you kindly sg for the response. > I will try the above as suggested, in the meantime can I ask whether you are talking about the > check_mail.pl script ? It seems you are above, and as mentioned I will verify and report back > findings. Hoping to simplify the process, I decided to use the sol8-plugins (precompiled) as found > on nagios site, and all work except for check_mailq?as mentioned ...?will also look at why the > solaris precompiled is not happy,?following your lead. > ? > I thank you, > srv.? I was talking about the check_mailq.pl script in plugins-scripts dir of the distribution not check_mail.pl -sg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 23 17:17:15 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 23 May 2003 10:17:15 -0500 Subject: Network Traffic Message-ID: <352B04312822444A962714393AED8A4D96A8E5@ADAEVS01.int.chickasaw.net> I've used APAN for a few things, but I would like to know how you set up APAN for network traffic/utilization. What plugins, config, etc, If you would share. Thanks. -----Original Message----- From: Francesc Guasch [mailto:frankie at etsetb.upc.es] Sent: Friday, May 23, 2003 1:36 AM To: Scott Hsiang Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Network Traffic Scott Hsiang wrote: > Hi all > > I had been using naigos for couple of weeks and I m really happy with this > piece of software. I am able to monitor the cpu load and I am wondering if > there's a way to monitor the network traffic by using nagios. I would like > to know when was the peak time and low time by the size of the files that > were transferring. > I configured apan, so it draws graphs showing the load of the servers and routers , net usage, memory and disk, you name it, via snmp. It's not easy to install, and it's hard to find when you make a mistake, but in the end it's worth it. There is a link to apan from the nagios download page. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgauthier at lastar.com Fri May 23 19:52:47 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Fri, 23 May 2003 13:52:47 -0400 Subject: % Time Undetermined Message-ID: <69320AEBB83E2A4EBEB8358A9E2115CB01C9C0EA@exchange1.ctg.com> Sorry for the delayed response. I wanted to give it a few more hours to answer these questions. I ran a report for a service. I used the stock reports and select "Today". The service has been up, and assume initial state is set to on. It returned 100% undetermined. I ran a custom report with today's dates in it, and only 20% of the time was undetermined. The other reports I was running were strictly hosts. Regardless of report data, the host report always returns 100%. Thanks for your ideas! Jason > -----Original Message----- > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > Sent: Thursday, May 22, 2003 3:18 PM > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > What if you run a report for a service? Also what type of > report are you > trying to run? I will take a look at mine and see if anything jogs my > memory. > > Steve > > -----Original Message----- > From: Jason Gauthier [mailto:jgauthier at lastar.com] > Sent: Thursday, May 22, 2003 8:01 AM > To: Steve Rossen; Jason Gauthier; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] % Time Undetermined > > > Greetings- > > Thanks for your response. I changed log_initial_states to > make sure the > initial state was up. I deleted my logs and retention information, and > started Nagios with fresh information. > > I waited 24 hours, and tried to run a report for just today. > I get 100% undetermined time. > > I understand that if you try to go back farther than there is > information > this will occur. However, I'm trying to just read information > from 1 day > (Today), and have logs for 2. > > The time should be able to be determined. Unless I am > completely missing > something. > > Any other tips, are greatly welcomed. > > > > -----Original Message----- > > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > > Sent: Wednesday, May 21, 2003 2:27 PM > > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] % Time Undetermined > > > > > > What about nagios.cfg options? I believe the most relevant > option is: > > > > log_initial_states= > > > > > > You will need some info in the logs to be able to generate a > > report. I don't > > understand what you mean by you don't have backtracked > > logged. Nagios will > > let you do a report for any date, but it needs logs to make > > that report > > useful. So if you are wanting a year to date report but only > > have last weeks > > log Nagios will make a report from Jan to now just only the > > last 7 days will > > have info, the rest will be undetermined. > > > > > > > > > > -----Original Message----- > > From: Jason Gauthier [mailto:jgauthier at lastar.com] > > Sent: Wednesday, May 21, 2003 1:17 PM > > To: Steve Rossen; 'nagios-users at lists.sourceforge.net' > > Subject: RE: [Nagios-users] % Time Undetermined > > > > > > Yes, you are correct. The FAQ entry is basically: > > > > "Description: When user generates host/service reports using > > the trends and > > availability CGIs, they get a percent of time reported as being > > 'Undetermined'. Sometimes the report will show '100% > > Undetermined' time. > > What does this mean? > > > > > > Solution: The trends and availability CGIs were designed to > > not lie to you > > (or your manager). They make the best attempt to give an > > honest report of > > the state of a host or service based on alert entries found > in the log > > files. If there are chunks of time in the reporting period > > that the CGIs > > cannot determine the state of a host/service for, those > > chunks get counted > > as undetermined. > > > > If you get 100% of the period being reported as undetermined, > > the problem > > lies with the fact that the CGIs could not determine the > > initial/start state > > of the host/service for that period. You can increase the > > chances of the > > CGIs finding an initial state for the host/service by > > increasing the value > > of the Backtracked Archives option. If this does not help and > > you know what > > the state of the host/service was at the start of the report > > period, you can > > tell the CGIs what that was by selecting it from the First > > assumed state > > dropdown box. > > > > If only a portion of the reporting period is being shown as > > undetermined, it > > may be due to two things: > > > > > > Nagios was not running during the undetermined times. If this > > is the case, > > you're out of luck. The CGIs cannot be forced to report the > state of a > > host/service when Nagios was not running. > > The Nagios process was restarted one or more times during the > > reporting > > period. If you have state retention enabled, set the Assume > > state retention > > option to yes. If you do not have state retention enabled, > > you might try > > setting the Assume initial states option to yes. " > > > > > > The first solution is "Increase Backtracked Archives" which > > is a moot point, > > because I have none. The second solution is to force the > > "Assumed initial > > state", which my original emails states I have done. (I > > forced the initial > > status to be "UP") > > > > S, I appreciate you pointing me to the FAQ which I have covered. > > Unfortunatly, in my case something else is wrong. > > > > I would be most thankful for any other suggestions. > > > > Thanks all, > > > > Jason > > > > > > > -----Original Message----- > > > From: Steve Rossen [mailto:Steve.Rossen at Parago.Com] > > > Sent: Wednesday, May 21, 2003 10:54 AM > > > To: 'Jason Gauthier'; 'nagios-users at lists.sourceforge.net' > > > Subject: RE: [Nagios-users] % Time Undetermined > > > > > > > > > There is a FAQ on this. Do a search. > > > > > > -----Original Message----- > > > From: Jason Gauthier [mailto:jgauthier at lastar.com] > > > Sent: Wednesday, May 21, 2003 8:48 AM > > > To: 'nagios-users at lists.sourceforge.net' > > > Subject: [Nagios-users] % Time Undetermined > > > > > > > > > Hey Folks- > > > > > > > > > I've been using Nagios for quite a while. Recently, my > CTO came to > > > me and said he wants a way for me to measure our uptime. > I thought, > > > "Nagios has > > > built in reporting, and should do the job nicely." > > > > > > I proceeded to clean out all my Nagios retention states, > and start > > > from a clean slate. After several days I'm back to > running reports. > > > > > > Every report I run for every host always tells me that > 100.000% of > > > my time is undetermined. I cannot figure out why. (Even if I run > > > the report on the > > > last 24 hours, assume inital state is up, [and it is!], I > > > always get this) > > > > > > I would really like to figure out how this works so I can > fix it.. > > > and not have to build something else myself. > > > > > > Thanks! > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ObjectStore. > > > If flattening out C++ or Java code to make your application > > fit in a > > > relational database is painful, don't do it! Check out > ObjectStore. > > > Now part of Progress Software. > > http://www.objectstore.net/sourceforge > > > _______________________________________________ > > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrismcc at pricegrabber.com Fri May 23 19:55:37 2003 From: chrismcc at pricegrabber.com (Christopher McCrory) Date: 23 May 2003 10:55:37 -0700 Subject: check_smtp timeout fix/bug Message-ID: <1053712537.16853.10.camel@morticia.pricegrabber.com> Hello... I noticed this a long time ago, but never really looked at it until today. check_smtp -H mailserver will timeout and FAIL if mailserver's primary DNS server is down (e.g. rebooting, config update, etc) The fix I used was: check_smtp -t 11 -H mailserver ( default is -t 10 ) or: nagios]$ diff -u checkcommands.cfg-sample checkcommands.cfg --- checkcommands.cfg-sample Tue Apr 29 12:14:13 2003 +++ checkcommands.cfg Fri May 23 10:34:53 2003 @@ -78,7 +78,7 @@ # 'check_smtp' command definition define command{ command_name check_smtp - command_line $USER1$/check_smtp -H $HOSTADDRESS$ + command_line $USER1$/check_smtp -t 11 -H $HOSTADDRESS$ } nagios]$ ./check_smtp --version check_smtp (nagios-plugins 1.3.0) 1.9 nagios]$ ./check_smtp -H mail SMTP OK - 0 second response time [chrismcc at thumper nagios]$ ./check_smtp -H cruella Socket timeout after 10 seconds [chrismcc at thumper nagios]$ ./check_smtp -t 11 -H cruella SMTP OK - 10 second response time -- Christopher McCrory "The guy that keeps the servers running" chrismcc at pricegrabber.com http://www.pricegrabber.com Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.' And even if there were, waxed paper is no defense. I tried it. Only tinfoil works. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardomachado at email.com Fri May 23 20:26:56 2003 From: leonardomachado at email.com (Leonardo Machado) Date: Sat, 24 May 2003 02:26:56 +0800 Subject: CGI Authentication Message-ID: <20030523182656.20059.qmail@email.com> Check the permission of your files. The webserver user (www, www-data or apache) must have permission to write on your files (those who are accessible via CGI). O better, include nagios on the web-server group. www-data : www-data nagios => groups ww-data -rw-rw-r-- 1 nagios nagios 93 Mai 23 14:37 downtime.log => permissions > downtime, modify the schedule queue etc, we get a "Sorry, but you are not > authorized to commit the specified command." > -- leoh -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri May 23 22:05:09 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Fri, 23 May 2003 16:05:09 -0400 Subject: NagMIN - Null Values - FreeBSD Message-ID: <8F807B93637B104F96D6A4D187408C0D0AD95A@infocoex2.infosysinc.com> Eric, et.al: I've been able to recreate the NULL problem on FreeBSD that doesn't happen on RedHat 7.3. I built a FreeBSD(4.8) server with MySQL 4.0.10-gamma and now see the NULL values in the configuration files. I'm also using the FreeBSD Nagios package and see why some of you wanted better control over directories. What I don't know is why it worked with RedHat 7.3 and not RedHat 9.0. I'm not going to find out either since I'm also having memory management problems with RedHat and have no plans to use RedHat 9.0. I'll hopefully have this fixed by early next week. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com -----Original Message----- From: Eric Austin Sent: Tuesday, May 13, 2003 12:56 PM To: Fred Reimers Subject: RE: NagMIN Fred, Glad to help. FYI, none of the system calls appear to be working either. This may be a configuration issue on my part but the rest of the WebMIN tools seem to be working OK. I hacked my way around it for now. I see it try to do an "ssh service nagios restart" but nothing happens. Should the IP address be included in the command after ssh? No big rush, like I said I've got a work around. Eric -----Original Message----- From: Fred Reimers Sent: Monday, May 12, 2003 4:25 PM To: Eric Austin Subject: RE: NagMIN Eric, This will be a big help. I'll get back to you soon. Fred -----Original Message----- From: Eric Austin Sent: Mon 5/12/2003 9:56 AM To: Fred Reimers Cc: Subject: RE: NagMIN -----Original Message----- From: Fred Reimers Sent: Mon 5/12/2003 9:49 AM To: Eric Austin Cc: Subject: RE: NagMIN Eric, This appears to be a MySQL problem with RH9. NagMIN is handling NULL values per the MySQL ntation and works fine with any RedHat version up to RH9. Per MySQL, you have to enter the word NULL or you get an empty string instead of a true NULL character. This will require some more investigation. Could you email me your nagmin_load.sql file and a dump of your database? Thanks, Fred -----Original Message----- From: Eric Austin Sent: Mon 5/12/2003 9:16 AM To: Fred Reimers Cc: Subject: RE: NagMIN Fred, They are NULL from the get go. I reran setup, created a new database and did a SELECT * FROM Service.Template; and it showed NULL values. Eric -----Original Message----- From: Fred Reimers Sent: Mon 5/12/2003 9:01 AM To: Eric Austin Cc: Subject: RE: NagMIN Eric, Thanks, starting to nail this one down, although I'm not sure how to fix it. One more question. Does the initial loading of the database show NULL values, or only after you edit something with NagMIN? Fred -----Original Message----- From: Eric Austin Sent: Mon 5/12/2003 7:58 AM To: Fred Reimers Cc: Subject: RE: NagMIN Yes, the NagMINdatabase tables show a value of NULL unless I set it to "". Eric -----Original Message----- From: Fred Reimers Sent: Mon 5/12/2003 7:57 AM To: Eric Austin Cc: Subject: RE: NagMIN Eric, This problem appears to only be happening with people using freebsd and now RH9. The difference is probably with perl and the MySQL DBD modules. I'm looking for values to ignore and not write the objects. The perl DBD module appears to now be returning a string "NULL" instead of a null value since you are seeing "NULL" as the object value. In that case ( if $object eq undef ), the perl way of checking for a null value, won't work. I may have to check for ( if $object eq "NULL" ). Are you seeing the value "NULL" in the NagMIN database tables? Fred -----Original Message----- From: Eric Austin Sent: Mon 5/12/2003 6:40 AM To: Fred Reimers Cc: Subject: RE: NagMIN Fred, I'm using RH9 anf MySQL 3.23.54. If I do a mysqldump on any database with null values, the SQL output has a value of NULL rather than "". I guess the easiest way to handle it would be to have your cgi script check IF NULL THEN VALUE = ""; when dumping values to cfg files. Eric -----Original Message----- From: Fred Reimers Sent: Sat 5/10/2003 7:21 AM To: Eric Austin Cc: Subject: RE: NagMIN Eric, I'm trying to get a handle on the NULL value problem. In the version of MySQL I'm using, NULL is the only way to enter a null value. What OS and version of MySQL are you using? Fred -----Original Message----- From: Eric Austin Sent: Sat 5/10/2003 6:54 AM To: Fred Reimers Cc: Subject: RE: NagMIN Fred, Thanks, that's just what I did. I'm having some issues with the verification not liking NULL values but if I replace them with "" in the database, all seems good. Eric -----Original Message----- From: Fred Reimers Sent: Sat 5/10/2003 5:05 AM To: Eric Austin Cc: Subject: RE: NagMIN Eric, Not everyone, probably most, do not install Nagios with MySQL support. If you have, then choose a different database name when installing NagMIN. It will drop whatever database with the name you select to create its own. Fred -----Original Message----- From: Eric Austin Sent: Fri 5/9/2003 2:59 PM To: Fred Reimers Cc: Subject: NagMIN Fred, I'm trying to get NagMIN setup and running and have run into a problem. Here's what I've done: Installed and Configured Nagios w/ MySQL support database name 'nagios' Monitored 1 object for testing - works OK Discovered NagMIN (Recommended by Chris Patterson) Installed NagMIN and prerequisits Allowed NagMIN setup routine to drop/create database called 'nagios' Nagios no longer runs Should I have given my NagMIN database a different name? Should I not have used MySQL with the initial Nagios installation? Please advise. Thanks, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From ericblumenau at techtvcorp.com Fri May 23 23:10:56 2003 From: ericblumenau at techtvcorp.com (Eric Blumenau) Date: Fri, 23 May 2003 14:10:56 -0700 Subject: NRPE and syslogd Message-ID: <3ECE8E60.5040400@techtvcorp.com> Greetings, Each of my NRPE client boxes is logging each time my Nagios server runs a check. This adds up and I don't need to know that the run went off. I'll hear about it from Nagios! Here is a sample line, one of thousands I see when I type 'dmesg'. May 23 12:12:41 nrpe[13277]: [ID 927837 auth.info] connect from I read all I could find about the nrpe.cfg file. Mine has a line "debug=0" in it. Can I change this to reduce the amount of logging through syslogd? Let me know if you need more information. Thanks, Eric ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shsiang at yourtechnologyteam.com Fri May 23 22:39:03 2003 From: shsiang at yourtechnologyteam.com (Scott Hsiang) Date: Fri, 23 May 2003 13:39:03 -0700 Subject: Network Traffic In-Reply-To: <352B04312822444A962714393AED8A4D96A8E5@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D96A8E5@ADAEVS01.int.chickasaw.net> Message-ID: Hi, Is APAN better than MRTG?? Or what are the diffences? Thanks Scott -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jeremy Russell Sent: Friday, May 23, 2003 8:17 AM To: Francesc Guasch; Scott Hsiang Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Network Traffic I've used APAN for a few things, but I would like to know how you set up APAN for network traffic/utilization. What plugins, config, etc, If you would share. Thanks. -----Original Message----- From: Francesc Guasch [mailto:frankie at etsetb.upc.es] Sent: Friday, May 23, 2003 1:36 AM To: Scott Hsiang Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Network Traffic Scott Hsiang wrote: > Hi all > > I had been using naigos for couple of weeks and I m really happy with this > piece of software. I am able to monitor the cpu load and I am wondering if > there's a way to monitor the network traffic by using nagios. I would like > to know when was the peak time and low time by the size of the files that > were transferring. > I configured apan, so it draws graphs showing the load of the servers and routers , net usage, memory and disk, you name it, via snmp. It's not easy to install, and it's hard to find when you make a mistake, but in the end it's worth it. There is a link to apan from the nagios download page. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From san113 at amtartha.xftp.net Sat May 24 11:36:32 2003 From: san113 at amtartha.xftp.net (san113) Date: Sat, 24 May 2003 18:36:32 +0900 Subject: (ad) >> HARVEST Your Own TARGETED Email LEADS << Message-ID: An HTML attachment was scrubbed... URL: From leonardomachado at email.com Sat May 24 11:58:28 2003 From: leonardomachado at email.com (Leonardo Machado) Date: Sat, 24 May 2003 17:58:28 +0800 Subject: Service and Process commands unavailable Message-ID: <20030524095828.9790.qmail@email.com> > > If I go to a service I see the same, Service Commands are not displayed > > With the same message: It appears as though Nagios is not not running, so commands are temporarily unavailable. > > > > But Nagios is running. > > Do you have the nagios process check command enabled in the cgi.cfg > configuration file? Here is the comment from the cgi.cfg file: Pay attention to the check_command option. It seaches for a processes whith exactly name as you provided. For example, if your check command looks like this: nagios_check_command=/opt/nagios/libexec/check_nagios /opt/nagios/var/status.log 5 '/opt/nagios/bin/nagios' you must run nagios with the full path (/opt/nagios/bin/nagios). Just typing ./nagios on the /bin directory will case a ./nagios process to be created on the process table. There will be no match o this situation and the cgi will think it's not running. ps: It wouldl be much better to search just for a "nagios" string. Does it work? -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JGarfunkel at saipeople.com Sun May 25 00:50:13 2003 From: JGarfunkel at saipeople.com (Garfunkel, Joe) Date: Sat, 24 May 2003 17:50:13 -0500 Subject: NSClient Custom Counter / -w -c Problem Message-ID: <50CD9B7ADB97D411816100508B9A7C81447E@SAIHOU11> Hello, I am a newbie with Nagios, but I have a basic system up and running now. Nagios v1.0 and NSClient 1.07.1 and tested again with NSClient 1.083. Running on Red Hat 8, and monitoring custom counters on MS Win2K Server. I have my basic counters working correctly, and when I run my custom counters, they report back correct information for the values of the counters. For example, check-nt-paging-file reports back to Nagios that file usage is 2%. The problem I am having is that Nagios is not handling the -w Warning and -c Critical argument variables correctly. I have specified values as: -w 50 -c 90 , Nagios is flagging this as a "Critical" problem with a usage value of 2%. Very strange. Perhaps I have made a minor goof-up somewhere, and would appreciate any assistance. The other counters that I am using are the standard ones and those seem to be working correctly in reporting the correct values, and also with Nagios handling the Warning and Critical correctly. The only difference I can think of is that for my standard counters, I have hard-coded my complete command line within double-quotes, and not using any argument variables. Whereas for my custom counters, I am using a template from the checkcommands.cfg and I am using argument variables for both the -w and -c. I am attaching my checkcommands.cfg file and services.cfg file. Thank you! - Joe -------------- next part -------------- A non-text attachment was scrubbed... Name: checkcommands.cfg Type: application/octet-stream Size: 6441 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: services.cfg~ Type: application/octet-stream Size: 7385 bytes Desc: not available URL: From jnichols at pbp.net Sun May 25 08:56:15 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Sat, 24 May 2003 23:56:15 -0700 Subject: Something to axe from the docs.. Message-ID: <3ED0690F.1030002@pbp.net> Interesting.. ;) In http://nagios.sourceforge.net/docs/1_0/about.html#requirements The "Other network utilities" section mentions "NocMonitor" but if you click the link, you get this: (404) Document Not Found I'm sorry. It looks as though you have attempted to access a document which either does not exist, or has been removed. Please check the Main Page to see if the link might have been moved. http://www.discpro.org/ If you are looking for NocMonitor, this application is no longer being developed since mid 2000. Please visit Ethan Galstad's Nagios site for a much more developed network monitoring application instead. For the Flamenco related site, please visit http://www.discpro.org/flamenco/ ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juanc at gmx.at Sun May 25 16:59:10 2003 From: juanc at gmx.at (Juan Puchalski) Date: Sun, 25 May 2003 10:59:10 -0400 Subject: Problems getting Nagios to report hosts alive Message-ID: <200305251059100888.0516323D@192.168.168.2> Hi, I'm an old netsaint user and just recently switched to Nagios. I converted all my config files by hand and have Nagios running smoothly and fine, except for one little thing. Nagios reports all my hosts as down, and the PING service in status unknown for all my 27 hosts. I've seen the demo running at square-box.com and they have this as Status Information: PING OK - Packet loss = 0%, RTA = 2.20 ms In my Status Information I have: /bin/ping -n -c 5 192.168.0.1 What did I do wrong? Did I compile the check_ping plugin wrong? I run the check_ping command by hand, and I get a PING OK response on the command line, which leads me to believe the check_ping program is ok. Perhaps it's just the plugin version (1.3.0) being incompatible with Nagios (1.0) or vice-versa? What do you think? Juan Puchalski ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 25 19:36:12 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 25 May 2003 13:36:12 -0400 Subject: Problems getting Nagios to report hosts alive In-Reply-To: <200305251059100888.0516323D@192.168.168.2> References: <200305251059100888.0516323D@192.168.168.2> Message-ID: <1053884171.3186.5.camel@miles.debisschop.net> On Sun, 2003-05-25 at 10:59, Juan Puchalski wrote: > Hi, > > I'm an old netsaint user and just recently switched to Nagios. I converted all my config files by hand and have Nagios running smoothly and fine, except for one little thing. > > Nagios reports all my hosts as down, and the PING service in status unknown for all my 27 hosts. I've seen the demo running at square-box.com and they have this as Status Information: > > PING OK - Packet loss = 0%, RTA = 2.20 ms > > In my Status Information I have: > > /bin/ping -n -c 5 192.168.0.1 > > What did I do wrong? Did I compile the check_ping plugin wrong? I run the check_ping command by hand, and I get a PING OK response on the command line, which leads me to believe the check_ping program is ok. Perhaps it's just the plugin version (1.3.0) being incompatible with Nagios (1.0) or vice-versa? > > What do you think? I don't think there is any possibility of incompatibility. Rather, I suspect that there is a typo in your config. That output indicates that check_ping got some sort of error status running ping. Usually a syntax error in the ping args. But could be the result of a harden system placing controls on using ping/ What happens when nagios runs '/bin/ping -n -c 5 192.168.0.1' -- Karl ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kristofml at catsanddogs.com Sun May 25 20:32:19 2003 From: kristofml at catsanddogs.com (Kristof Hardy) Date: Sun, 25 May 2003 20:32:19 +0200 Subject: Dynamic ip address Message-ID: <000001c322eb$f9ad77e0$0a01a8c0@xtof> Hi, New on the list but after looking around, couldn't find what I'm looking for. I have got some servers I'd like to monitor but they are on dynamic ip's. Cable and DSL that is. It's no problem to monitor but whenever the DSL connection get's disconnected to get a new IP address, the DNS entry changes, and my nagios host resolves it to the 'old' ip.. So the host gets marked as 'down' at that moment. Any idea on how to avoid (magic trick?) this, because now I get a notification because the host is assumed to be down.. Greetings, Kristof. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Mon May 26 00:00:53 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Sun, 25 May 2003 15:00:53 -0700 (PDT) Subject: Dynamic ip address In-Reply-To: <000001c322eb$f9ad77e0$0a01a8c0@xtof> References: <000001c322eb$f9ad77e0$0a01a8c0@xtof> Message-ID: <20030525220053.99869.qmail@web21509.mail.yahoo.com> tzo.com works great... Kristof Hardy wrote:Hi, New on the list but after looking around, couldn't find what I'm looking for. I have got some servers I'd like to monitor but they are on dynamic ip's. Cable and DSL that is. It's no problem to monitor but whenever the DSL connection get's disconnected to get a new IP address, the DNS entry changes, and my nagios host resolves it to the 'old' ip.. So the host gets marked as 'down' at that moment. Any idea on how to avoid (magic trick?) this, because now I get a notification because the host is assumed to be down.. Greetings, Kristof. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From RKornelsen at extremenetworks.com Mon May 26 02:05:52 2003 From: RKornelsen at extremenetworks.com (Randal Kornelsen) Date: Sun, 25 May 2003 17:05:52 -0700 Subject: HOST DOWN - Notifications not being sent Message-ID: <44B88EC6CAD5024FADA04D5D2438970BF44A51@sc-msexch-08.extremenetworks.com> Hello, I have a server that is not responding to the check_command defined for the host (a ping check). A notification was correctly sent on initial failure. Since that initial notification no further notifications have been sent even though they are supposed to be sent every 15 minutes (notification_interval is set to 15 minutes). The following state information specifically shows a "Last Status Check" of 2003-05-25 16:50:22 but a "Last Host Notification" of 2003-05-19 17:05:45. Host Status: DOWN Status Information: PING CRITICAL - Packet loss = 100% Last Status Check: 2003-05-25 16:50:22 Status Data Age: 0d 0h 4m 34s Last State Change: 2003-05-19 17:05:45 Current State Duration: 5d 23h 49m 11s Last Host Notification: 2003-05-19 17:05:45 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 2003-05-25 16:53:24 Host Checks: ENABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED The relevant configuration information is shown below. notification_interval 15 notification_options d,u,r notifications_enabled 1 notification_period 24x7 Your assistance in troubleshooting or setting the required (non-apparent) configuration is appreciated. thank you, Randal Kornelsen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigm at ace.com.au Mon May 26 02:04:48 2003 From: craigm at ace.com.au (Craig Marchant) Date: Mon, 26 May 2003 10:04:48 +1000 Subject: check_smtp returning critical errorwheneverything is working fine. Message-ID: Hi Karl, Thanks for the suggestion with adding the -f options to check_smtp. It now works like a charm. Once again thanks. Craig Marchant >>> Karl DeBisschop 19/05/03 8:39:31 pm >>> On Mon, 2003-05-19 at 02:46, Craig Marchant wrote: > Hi Karl, > > Sorry should have been a little more detailed. It's been a long day. > > I'm currently using Redhat Linux Version 8.0, with Postfix 2.0.9. > The server im actually querying is: mail.acenet.com.au > > Nagios: 1.0 Release Date: 11/24/2002 <-- Downloaded from the website, > so i'm guessing it's the release version > Nagios Plugins: 1.3.0 <-- Downloaded from the sourceforge web site, > once again I guess release version. > > Service definition: > ------------------------------- > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name mail1 > service_description SMTP Service > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > Command Definition: > ------------------------- > > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ > } > > Here is the output from check_smtp: > ------------------------------------------- > [root at osiris libexec]# ./check_smtp --version > check_smtp (nagios-plugins 1.3.0) 1.9 > > [root at osiris libexec]# ./check_smtp -H mail.acenet.com.au -w 3 -c 5; > echo $? > SMTP OK - 1 second response time > Socket timeout after 10 seconds > 2 > [root at osiris libexec]# > ---------------------------------------------- It seems to work for me. [kdebisschop at miles sf]$ nagiosplug/build-redhat/plugins/check_smtp \ -H mail.acenet.com.au -w 28 -c 29 -t 30 ; echo $? SMTP OK - 11.042 sec. response time|time=11.042 0 I did note that the server passes back a syntax error when there is no user in the MAILTO you might want to try the -f option. [kdebisschop at miles sf]$ nagiosplug/build-redhat/plugins/check_smtp \ -H mail.acenet.com.au -f kdebisschop at infoplease.com -w 28 -c 29 -t 30; \ echo $? SMTP OK - 1.062 sec. response time|time=1.062 0 It might be worth trying the CVS from the r1_3_0 branch (or get a nightly snapshot from the stable branch). I did commit a fix for a timer loop that could be involved here. Good luck, and keep up posted. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Mon May 26 03:37:32 2003 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 26 May 2003 02:37:32 +0100 Subject: Dynamic ip address In-Reply-To: <000001c322eb$f9ad77e0$0a01a8c0@xtof> References: <000001c322eb$f9ad77e0$0a01a8c0@xtof> Message-ID: <000901c32327$60cab560$0400a8c0@squarebox.com> Use your hostname instead of IP, that should not change Cheers Tom Welsh Twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kristof Hardy Sent: 25 May 2003 19:32 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dynamic ip address Hi, New on the list but after looking around, couldn't find what I'm looking for. I have got some servers I'd like to monitor but they are on dynamic ip's. Cable and DSL that is. It's no problem to monitor but whenever the DSL connection get's disconnected to get a new IP address, the DNS entry changes, and my nagios host resolves it to the 'old' ip.. So the host gets marked as 'down' at that moment. Any idea on how to avoid (magic trick?) this, because now I get a notification because the host is assumed to be down.. Greetings, Kristof. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cu at pyrosys.de Mon May 26 06:21:28 2003 From: cu at pyrosys.de (Carsten Urbanski) Date: Mon, 26 May 2003 06:21:28 +0200 Subject: Dynamic ip address In-Reply-To: <000001c322eb$f9ad77e0$0a01a8c0@xtof> References: <000001c322eb$f9ad77e0$0a01a8c0@xtof> Message-ID: <20030526062128.3baf4387.cu@pyrosys.de> Hi Kristof, have you run a DNS Cache on your Server? I have also 1 DSL Server to ckeck but i must set the Ping check_interval greater then 15 minutes. greets Carsten On Sun, 25 May 2003 20:32:19 +0200 "Kristof Hardy" wrote: > Hi, > > New on the list but after looking around, couldn't find what I'm looking > for. > > I have got some servers I'd like to monitor but they are on dynamic > ip's. Cable and DSL that is. > > It's no problem to monitor but whenever the DSL connection get's > disconnected to get a new IP address, the DNS entry changes, and my > nagios host resolves it to the 'old' ip.. So the host gets marked as > 'down' at that moment. > > Any idea on how to avoid (magic trick?) this, because now I get a > notification because the host is assumed to be down.. > > > Greetings, > Kristof. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arsin_spam at bellsouth.net Mon May 26 09:25:14 2003 From: arsin_spam at bellsouth.net (arsin_spam at bellsouth.net) Date: Mon, 26 May 2003 3:25:14 -0400 Subject: Problem--->CHECK_NRPE: Received 0 bytes Message-ID: <20030526072514.SGQP17201.imf43bis.bellsouth.net@mail.bellsouth.net> I am having issues with nrpe not returning any results. I have configured it without ssl and defaulted the rest. I am able to telnet to port 5666 to the host running the nrpe damon. Below are the configurations and a few trouble shooting results i have performed. Can anyone give me some insight into this. I have scoured the lists and am unable to find anything to assist me in generating any results from either a local or remote nrpe execution. I have debugging enabled and show nothing in the messages and am able to exe the plugins on the nrpe host. i.e. check_user Thanks Dave ./check_nrpe -H 10.56.42.20 -p 5666 -c check_users CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. CONFIGURATIONS #======================================= INETD #============ nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd SERVICES #============ nrpe 5666/tcp # NRPE NRPE #============ /usr/sbin/nrpe -rwxr-xr-x 1 nagios nagios 64746 May 25 06:48 nrpe NRPE.CFG #============ /etc/nrpe.cfg -rw-r--r-- 1 nagios nagios 5062 May 25 07:36 nrpe.cfg server_port=5666 server_address=10.56.42.20 allowed_hosts=127.0.0.1, 10.56.42.17 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=1 command_timeout=60 command[check_users]=/usr/local/libexec/nagios/check_users -w 5 -c 10 command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200 ============================================================================== ============================================================================== Troubleshooting results ======================================== ./check_nrpe -H 10.56.42.20 -p 5666 -c check_users CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. NMAP (from remote host to host running nrpe) #=========================================== Port State Service 5666/tcp open unknown NETSTAT ============================================ tcp4 0 0 10.56.42.20.5666 10.56.42.17.4825 TIME_WAIT TCPDUMP #=========================================== tcpdump: listening on fxp0 07:55:57.258284 10.56.42.17.4160 > xxxx.com.nrpe: S 2909265437:2909265437(0) win 5840 (DF) 07:55:57.258367 xxxx.com.nrpe > 10.56.42.17.4160: S 3388345141:3388345141(0) ack 2909265438 win 65535 07:55:57.258564 10.56.42.17.4160 > xxxx.com.nrpe: . ack 1 win 5840 (DF) 07:55:57.266568 10.56.42.17.4160 > xxxx.com.nrpe: P 1:1037(1036) ack 1 win 5840 (DF) 07:55:57.267138 xxxx.com.nrpe > 10.56.42.17.4160: P 1:819(818) ack 1037 win 32786 (DF) 07:55:57.267200 xxxx.com.nrpe > 10.56.42.17.4160: F 819:819(0) ack 1037 win 33304 (DF) 07:55:57.267645 10.56.42.17.4160 > xxxx.com.nrpe: . ack 819 win 7362 (DF) 07:55:57.267711 10.56.42.17.4160 > xxxx.com.nrpe: F 1037:1037(0) ack 820 win 7362 (DF) 07:55:57.267756 xxxx.com.nrpe > 10.56.42.17.4160: . ack 1038 win 33304 (DF) Telnet to nrpe server (same result from remote) #============================================ Trying 127.0.0.1... Connected to localhost Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0b3 Last Modified: 04-17-2003 License: GPL Usage: nrpe -c Options: = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. Connection closed by foreign host. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 26 10:08:29 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Mon, 26 May 2003 10:08:29 +0200 Subject: Problem--->CHECK_NRPE: Received 0 bytes References: <20030526072514.SGQP17201.imf43bis.bellsouth.net@mail.bellsouth.net> Message-ID: <3ED1CB7D.6040106@loria.fr> Hi ! Are you sure you have compiled all the binaries on your "client" ? ( that binaries are : "nrpe", "check_user", .... ) best regards. -- Lionel Verscheure arsin_spam at bellsouth.net wrote: >I am having issues with nrpe not returning any results. I have configured it without ssl and defaulted the rest. > >I am able to telnet to port 5666 to the host running the nrpe damon. Below are the configurations and a few trouble shooting results i have performed. > >Can anyone give me some insight into this. I have scoured the lists and am unable to find anything to assist me in generating any results from either a local or remote nrpe execution. > >I have debugging enabled and show nothing in the messages and am able to exe the plugins on the nrpe host. i.e. check_user > >Thanks >Dave > > > > > > > >./check_nrpe -H 10.56.42.20 -p 5666 -c check_users >CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. > >CONFIGURATIONS >#======================================= > > > >INETD >#============ >nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /etc/nrpe.cfg --inetd > >SERVICES >#============ >nrpe 5666/tcp # NRPE > >NRPE >#============ >/usr/sbin/nrpe >-rwxr-xr-x 1 nagios nagios 64746 May 25 06:48 nrpe > >NRPE.CFG >#============ >/etc/nrpe.cfg >-rw-r--r-- 1 nagios nagios 5062 May 25 07:36 nrpe.cfg > >server_port=5666 >server_address=10.56.42.20 >allowed_hosts=127.0.0.1, 10.56.42.17 >nrpe_user=nagios >nrpe_group=nagios >dont_blame_nrpe=0 >debug=1 >command_timeout=60 >command[check_users]=/usr/local/libexec/nagios/check_users -w 5 -c 10 >command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 >command[check_disk1]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/hda1 >command[check_disk2]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/hdb1 >command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z >command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200 > > >============================================================================== >============================================================================== > >Troubleshooting results >======================================== >./check_nrpe -H 10.56.42.20 -p 5666 -c check_users >CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. > > >NMAP (from remote host to host running nrpe) >#=========================================== > >Port State Service >5666/tcp open unknown > >NETSTAT >============================================ >tcp4 0 0 10.56.42.20.5666 10.56.42.17.4825 TIME_WAIT > > >TCPDUMP >#=========================================== >tcpdump: listening on fxp0 >07:55:57.258284 10.56.42.17.4160 > xxxx.com.nrpe: S 2909265437:2909265437(0) win 5840 (DF) >07:55:57.258367 xxxx.com.nrpe > 10.56.42.17.4160: S 3388345141:3388345141(0) ack 2909265438 win 65535 >07:55:57.258564 10.56.42.17.4160 > xxxx.com.nrpe: . ack 1 win 5840 (DF) >07:55:57.266568 10.56.42.17.4160 > xxxx.com.nrpe: P 1:1037(1036) ack 1 win 5840 (DF) >07:55:57.267138 xxxx.com.nrpe > 10.56.42.17.4160: P 1:819(818) ack 1037 win 32786 (DF) >07:55:57.267200 xxxx.com.nrpe > 10.56.42.17.4160: F 819:819(0) ack 1037 win 33304 (DF) >07:55:57.267645 10.56.42.17.4160 > xxxx.com.nrpe: . ack 819 win 7362 (DF) >07:55:57.267711 10.56.42.17.4160 > xxxx.com.nrpe: F 1037:1037(0) ack 820 win 7362 (DF) >07:55:57.267756 xxxx.com.nrpe > 10.56.42.17.4160: . ack 1038 win 33304 (DF) > > >Telnet to nrpe server (same result from remote) >#============================================ >Trying 127.0.0.1... >Connected to localhost >Escape character is '^]'. > >NRPE - Nagios Remote Plugin Executor >Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) >Version: 2.0b3 >Last Modified: 04-17-2003 >License: GPL > >Usage: nrpe -c > >Options: > = Name of config file to use > = One of the following two operating modes: > -i = Run as a service under inetd or xinetd > -d = Run as a standalone daemon > >Notes: >This program is designed to process requests from the check_nrpe >plugin on the host(s) running Nagios. It can run as a service >under inetd or xinetd (read the docs for info on this), or as a >standalone daemon. Once a request is received from an authorized >host, NRPE will execute the command/plugin (as defined in the >config file) and return the plugin output and return code to the >check_nrpe plugin. > >Connection closed by foreign host. > > > ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francio.francio at katamail.com Mon May 26 10:37:20 2003 From: francio.francio at katamail.com (gian_franco) Date: 26 May 2003 08:37:20 -0000 Subject: Service check scheduled Message-ID: <20030526083720.7833.qmail@pod-163.dolphin-server.co.uk> hello Excuse me for bad english !!!! I have a problem with Service check scheduled some of this are scheduled between 20 or 30 year for example: Service check scheduled for Fri Nov 16 21:01:07 2035 Service check scheduled for Sat Nov 2 14:18:26 2030 looking log, service are scheduled every 5 minute approximately some can help me ??? tanks be head of time ... ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 10:52:33 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 26 May 2003 10:52:33 +0200 Subject: SAP Message-ID: <3ED1D5D1.4040006@dhl.com> Dear, I searched the archives and the contrib to find a way to monitor an SAP server that was kindly provided to me last week. However, I didn't get any further than the more than three year old check_sap.sh script from the contrib. Now, maybe this script does the job. However, I can't seem to find the required program to be able to use it. This is what it says in the source: # Notes: # - This plugin requires that the saprfc-devel-45A-1.i386.rpm (or higher) # package be installed on your machine. Sapinfo program # is a part of this package. # - You can find this package at SAP ftp server in # /general/misc/unsupported/linux Now, either I've completely lost it, or that rpm is nowhere to be found, not on the SAP ftp server, nor anywhere else on the net (Google and rpmfind.net both let me down on one day, not to mention apt-get). I did find saprfc.sf.net, but that looks like something else. So, can anyone shed some light on this? Is there a way to monitor SAP? Is this plugin being used by someone? Many thanks in advance, Tom ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 26 11:07:46 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Mon, 26 May 2003 11:07:46 +0200 Subject: Network Traffic In-Reply-To: <352B04312822444A962714393AED8A4D96A8E5@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D96A8E5@ADAEVS01.int.chickasaw.net> Message-ID: <3ED1D962.5000408@etsetb.upc.es> Jeremy Russell wrote: > I've used APAN for a few things, but I would like to know how you set up > APAN for network traffic/utilization. What plugins, config, etc, If you > would share. Thanks. You can find how to do it in the apan howto. http://apan.sourceforge.net/doc/howto.html#net In addition, this is how I do to check host load using snmp: 1.- CONFIG NAGIOS services.conf define service{ use generic-service host_name HOST_NAME service_description load is_volatile 0 contact_groups net-admins check_command apan!snmpget!5!20 normal_check_interval 3 } 2.- CREATE THE RRD FILE # rrdtool create /PATH/TO/nagios/rrd/HOSTNAME_load.rrd -s 60 \ DS:1min:GAUGE:300:0:U: DS:5min:GAUGE:300:0:U: \ DS:15min:GAUGE:300:0:U: RRA:AVERAGE:0.5:1:50400 \ RRA:AVERAGE:0.5:60:43800 chown nagios:nagios /PATH/TO/nagios/rrd/HOSTNAME_load.rrd 3.- ADD THIS LINE IN APAN.CFG HOSTNAME;load;/PATH/TO/NAGIOS/rrd/HOSTNAME_load.rrd;public:.1.3.6.1.4.1.2021.10.1.3.1|public:.1.3.6.1.4.1.2021.10.1.3.2|public:.1.3.6.1.4.1.2021.10.1.3.3;1min:LINE2 5min:LINE2 15min:LINE2;Load;%; 4.- Add an icon and a link as extended service-info: define serviceextinfo{ host_name HOSTNAME service_description load notes_url /nagios/cgi-bin/apan.cgi?host=HOSTNAME&service=load icon_image graph.png icon_image_alt Load-Stats } ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.lambooy at narmida.com Mon May 26 11:22:21 2003 From: p.lambooy at narmida.com (Patrick Lambooy) Date: Mon, 26 May 2003 11:22:21 +0200 Subject: Service check scheduled In-Reply-To: <20030526083720.7833.qmail@pod-163.dolphin-server.co.uk> References: <20030526083720.7833.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000c01c32368$52a34ab0$3104a8c0@roestbak> Where is the bad in the english ;-)> Look at your system date Also in nagios.cfg you can set the interval. 3rd check services : max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 Met vriendelijke groet, Patrick Lambooy Technical Director Narmida B.V. Tel: 0172-442250 Fax: 0172-600989 Email: p.lambooy at narmida.com Website: http://www.narmida.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of gian_franco Sent: Monday, May 26, 2003 10:37 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service check scheduled hello Excuse me for bad english !!!! I have a problem with Service check scheduled some of this are scheduled between 20 or 30 year for example: Service check scheduled for Fri Nov 16 21:01:07 2035 Service check scheduled for Sat Nov 2 14:18:26 2030 looking log, service are scheduled every 5 minute approximately some can help me ??? tanks be head of time ... ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Patrick Lambooy (p.lambooy at narmida.com).vcf Type: text/x-vcard Size: 526 bytes Desc: not available URL: From frankie at etsetb.upc.es Mon May 26 11:10:17 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Mon, 26 May 2003 11:10:17 +0200 Subject: Network Traffic In-Reply-To: References: Message-ID: <3ED1D9F9.40500@etsetb.upc.es> Scott Hsiang wrote: > Hi, > > Is APAN better than MRTG?? Or what are the diffences? > Apan is only a bunch of scripts that link nagios to rrdtool. RRDTool is supposed to be better thant MRTG. I read in the man that RRDTool originated from MRTG. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 11:36:04 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 26 May 2003 11:36:04 +0200 Subject: SAP In-Reply-To: <3ED1D5D1.4040006@dhl.com> References: <3ED1D5D1.4040006@dhl.com> Message-ID: <3ED1E004.2070806@dhl.com> Sorry for the noise. I have been able to track this client package down after all (browsing their FTP server). For those who are interested, you can find the client package at ftp://ftp.sap.com/pub/linuxlab/contrib/. I am now tweaking the script so that it provides a nice output instead of only an exit code. Tom DE BLENDE wrote: > Dear, > > I searched the archives and the contrib to find a way to monitor an SAP > server that was kindly provided to me last week. However, I didn't get > any further than the more than three year old check_sap.sh script from > the contrib. > > Now, maybe this script does the job. However, I can't seem to find the > required program to be able to use it. This is what it says in the source: > > # Notes: > # - This plugin requires that the saprfc-devel-45A-1.i386.rpm (or higher) > # package be installed on your machine. Sapinfo program > # is a part of this package. > # - You can find this package at SAP ftp server in > # /general/misc/unsupported/linux > > Now, either I've completely lost it, or that rpm is nowhere to be found, > not on the SAP ftp server, nor anywhere else on the net (Google and > rpmfind.net both let me down on one day, not to mention apt-get). I did > find saprfc.sf.net, but that looks like something else. > > So, can anyone shed some light on this? Is there a way to monitor SAP? > Is this plugin being used by someone? > > Many thanks in advance, > Tom > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 13:33:00 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 26 May 2003 21:33:00 +1000 Subject: OT to the max. RFC: drawing Network graphs with RANCID + graphviz Message-ID: <20030526213258.C232@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I would be very grateful for public or private comments about experience with RANCID and graphviz to draw (automatically, on topology change as reflected in router configs) network graphs. Yes this is complete noise, but by way of mitigation . may interest Nag users . Nag users are probably most able to comment . may have some use in generating Nag network maps 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. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 26 15:44:00 2003 From: Thomas.Wiesner at dbla.com (Wiesner, Thomas) Date: Mon, 26 May 2003 15:44:00 +0200 Subject: macro + check_disk_smb Message-ID: <116472F1372AD3118BF20008C791626C0BDE01CC@dlh00em1.dlh00e.mail.dresdner.net> Dear all, I have a problem with the check_disk_smb command and macros. Resource.cfg: $USER3$=0202020 $USER4$=Joop23$ 0202020 is the username and Joop23$ is the password. Checkcommands.cfg # 'Check_DiskC' command definition define command{ command_name check_DiskC command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -p $USER4$ -u $USER3$ -W Domain -s c$ } Errormessage: Result from smbclient not suitable I change the check_disk_smb command and write the parameter to a simple textfile: -H host -p Joop23$ -u 0202020 -W Domain -s -H0 System: RedHat 9 If I use the correct username and password direct in the checkcommands.cfg file everything is ok. With the macro I have the problem that the program doesn't get the correct sharename (C$), username or password. Are there any limitations like only 9 parameters or there must not be a '$' in the password or in the sharename. Thanks in advanced. Best regards, Thomas Wiesner -------------- next part -------------- An HTML attachment was scrubbed... URL: From stevox2000 at yahoo.com Mon May 26 16:09:07 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Mon, 26 May 2003 16:09:07 +0200 (CEST) Subject: Pb with serviceextinfo Message-ID: <20030526140907.38933.qmail@web10903.mail.yahoo.com> Hello, I don't manage to configure the serviceextinfo. I compiled nagios with the default option.So I have 2 files for extended informations. And then i tell nagios which files to use for by adding this 2 lines in nagios.cfg : xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg And then I have this definition in serviceextinfo.cfg : define serviceextinfo{ host_name STEVE service_description Network-traffic notes_url /nagios/cgi-bin/apan.cgi?host=STEVE&service=Network-traffic icon_image graph.png icon_image_alt View graphs } I've restarted Nagios but nothing appears near the service... What is the problem ??? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csegadom at notes.banesto.es Mon May 26 17:41:17 2003 From: csegadom at notes.banesto.es (csegadom at notes.banesto.es) Date: Mon, 26 May 2003 17:41:17 +0200 Subject: =?iso-8859-1?Q?=A1=A1=A1=A1Problem_with_pnsclient=2Eexe_all=5Fversion?= =?us-ascii?Q?=21=21=21=21?= Message-ID: Hi all I?m new to fhe list. But I have surroundings with 232 host, 1227 services to check. The version installed is nagios 1.0. I have a problem with the memory consumption in the procces pnsclient.exe I have installed all version in different machine, and detected that with any version pnsclient the procces pnsclient.exe is memory leak, in machines windows 2000 with component DB2,WEBSPHERE. Somebody has this problems ? Thanks!! Carlos Segado csegadom at notes.banesto.es ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srvmuju at hotmail.com Sat May 24 14:46:41 2003 From: srvmuju at hotmail.com (Srv Muju) Date: Sat, 24 May 2003 14:46:41 +0200 Subject: mailq plugin Message-ID: An HTML attachment was scrubbed... URL: From maartenh at phreaker.net Mon May 26 20:21:26 2003 From: maartenh at phreaker.net (Maarten) Date: Mon, 26 May 2003 20:21:26 +0200 Subject: nagios server performance References: Message-ID: <007001c323b3$9fc594b0$195019ac@thesnitch> Hi, I am currently experiencing some performance issues with my nagios installation. I am running nagios on a dual xeon 2Ghz, 2,5gig internal memory. I have currently 260 hosts and 1400 services added to nagios. The services are scheduled to be checked with a 5 minute interval. The word scheduled is not accidently chosen, since in practise, the server is only succeeding in checking the hosts and services every 15-30 minutes. There is a milelong queue with checks that are behind on schedule. The server itself (CPU and Memory), is not even sweating a little bit. There are more then enough resources to serve the requests... I just changed nagios.cfg a bit today and am now allowing for 100 concurrent checks, but still no luck :-( Is there anyone on the list that know some tricks on reducing the delay and improving performance? maarten 111 processes: 110 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle CPU1 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle CPU2 states: 2.1% user, 1.0% system, 1.0% nice, 95.0% idle CPU3 states: 0.0% user, 0.0% system, 0.1% nice, 99.0% idle Mem: 2581768K av, 124044K used, 2457724K free, 0K shrd, 17920K buff Swap: 1024088K av, 9400K used, 1014688K free 19288K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND nagios.cfg command_check_interval=-1 max_concurrent_checks=100 (should be enough for 30000 checks in 5 minutes) service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=45 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at obantec.net Mon May 26 20:20:34 2003 From: support at obantec.net (Obantec Support) Date: Mon, 26 May 2003 19:20:34 +0100 Subject: SMTP/POP3 Critical Message-ID: <2bde01c323b3$8353a100$0a01a8c0@gamma> Hi First time posting to this list. Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux servers RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: SMTP Host: MCC Address: (xxx.xxx.xxx.xxx) State: CRITICAL Date/Time: Mon May 26 19:12:12 BST 2003 Additional Info: Connection refused by host Same for POP3 I have checked archive and see others with this problem but not found a solution. Sendmail on MCC requires Auth using plain/login Sending box is RH8.0 and not on same IP range of ether of the 2 servers being monitored. Any info? Mark ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 26 21:01:34 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Mon, 26 May 2003 15:01:34 -0400 (EDT) Subject: =?iso-8859-1?Q?=A1=A1=A1=A1Problem_with_pnsclient=2Eexe_all=5Fversion?= =?us-ascii?Q?=21=21=21=21?= Message-ID: <200305261901.h4QJ1YFl007980@webmail1.magma.ca> Carlos: It is possible that the memory leak is not in NSClient, but in either the DB2 or WebSphere counters. When this happens, the memory leak appears to be coming from the application invoking the counters (in this case NSClient). Please check the following Microsoft article along with a links to tools to detect if there is a memory leak: http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b296794 Tim Shouldice On May 26, csegadom at notes.banesto.es wrote: > > > > Hi all > I?m new to fhe list. But I have surroundings with 232 host, 1227 services > to check. The version installed is nagios 1.0. > I have a problem with the memory consumption in the procces pnsclient.exe I > have installed all version in different machine, > and detected that with any version pnsclient the procces pnsclient.exe is > memory leak, in machines windows 2000 with component DB2,WEBSPHERE. > > Somebody has this problems ? > > > Thanks!! > > Carlos Segado > csegadom at notes.banesto.es > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 23:01:00 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 26 May 2003 17:01:00 -0400 Subject: nagios server performance Message-ID: <5F29693503507B4FB4032686ADF862670772E8@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From kristofml at catsanddogs.com Sat May 24 13:44:48 2003 From: kristofml at catsanddogs.com (Kristof Hardy) Date: Sat, 24 May 2003 13:44:48 +0200 Subject: Dynamic ip address Message-ID: <000001c321e9$e14b9770$0a01a8c0@xtof> Hi, New on the list but after looking around, couldn't find what I'm looking for. I have got some servers I'd like to monitor but they are on dynamic ip's. Cable and DSL that is. It's no problem to monitor but whenever the DSL connection get's disconnected to get a new IP address, the DNS entry changes, and my nagios host resolves it to the 'old' ip.. Any idea on how to avoid this, because now I get a notification because the host is assumed to be down.. Greetings, Kristof. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 02:28:21 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 27 May 2003 10:28:21 +1000 Subject: OT to the max. RFC: drawing Network graphs with RANCID + graphviz In-Reply-To: <000a01c323cb$ddd62cc0$b58031ca@bcl977307>; from jamie.baddeley@vpc.co.nz on Tue, May 27, 2003 at 09:14:55AM +1200 References: <20030526213258.C232@IPAustralia.Gov.AU> <000a01c323cb$ddd62cc0$b58031ca@bcl977307> Message-ID: <20030527102819.B20010@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your reply and say, On Tue, May 27, 2003 at 09:14:55AM +1200, Jamie Baddeley wrote: > Hey Stanley, > > I use rancid, mainly combined with CVSweb, but have never considered doing > what you're talking about... > > An interesting concept..... > that this may be a better indication of what others have done with RANCID and graphviz http://www.nanog.org/mtg-0210/abley.html (worth it's weight in awk jokes alone). > > jamie 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Tue May 27 07:26:10 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 27 May 2003 07:26:10 +0200 Subject: SMTP/POP3 Critical In-Reply-To: <2bde01c323b3$8353a100$0a01a8c0@gamma> References: <2bde01c323b3$8353a100$0a01a8c0@gamma> Message-ID: <1054010011.15157.78.camel@moishe> Hello, Did you try to run manually the nagios command. Seems that this is your RH7.3 hosts which refuse the connection. I Suggest you to look the log files of your RH 7.3 HTH Regards Pascal Miquet Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > Hi > > First time posting to this list. > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux servers > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > ***** Nagios 1.0 ***** > > Notification Type: PROBLEM > > Service: SMTP > Host: MCC > Address: (xxx.xxx.xxx.xxx) > State: CRITICAL > > Date/Time: Mon May 26 19:12:12 BST 2003 > > Additional Info: > > Connection refused by host > > Same for POP3 > > I have checked archive and see others with this problem but not found a > solution. > > Sendmail on MCC requires Auth using plain/login > > Sending box is RH8.0 and not on same IP range of ether of the 2 servers > being monitored. > > Any info? > > Mark > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 27 08:22:03 2003 From: nagios_news=PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (Daniel nagios) Date: Tue, 27 May 2003 16:22:03 +1000 Subject: Clear Critical status? Message-ID: Hi all, In Nagios when you come accross a monitored service that is Critical, is there some way to tag this service saying it is being worked on and take it out of the "problem" list? Thus the list of service problems gets smaller as people start to look into the service issues. Any help would be greatly appreciated, thanks, Daniel _________________________________________________________________ ninemsn Extra Storage is now available. 30MB of storage on ninemsn Groups - great for sharing photos and documents. Go to http://join.msn.com/?page=dept/home&pgmarket=en-au ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ 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=ZTFiZD7SMYs at public.gmane.org Tue May 27 08:41:37 2003 From: Tom.DeBlende=ZTFiZD7SMYs at public.gmane.org (Tom DE BLENDE) Date: Tue, 27 May 2003 08:41:37 +0200 Subject: Clear Critical status? In-Reply-To: References: Message-ID: <3ED308A1.1060407@dhl.com> You can acknowledge a problem, stopping notifications form being sent out. But it won't take it off the problem list, as the problem still is there. I don't think there is any other way. Daniel nagios wrote: > Hi all, > > In Nagios when you come accross a monitored service that is Critical, is > there some way to tag this service saying it is being worked on and take > it out of the "problem" list? Thus the list of service problems gets > smaller as people start to look into the service issues. > > Any help would be greatly appreciated, thanks, > > Daniel > > _________________________________________________________________ > ninemsn Extra Storage is now available. 30MB of storage on ninemsn > Groups - great for sharing photos and documents. Go to > http://join.msn.com/?page=dept/home&pgmarket=en-au > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ 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 support at obantec.net Tue May 27 09:41:06 2003 From: support at obantec.net (Obantec Support) Date: Tue, 27 May 2003 08:41:06 +0100 Subject: SMTP/POP3 Critical References: <2bde01c323b3$8353a100$0a01a8c0@gamma> <1054010011.15157.78.camel@moishe> Message-ID: <2e2401c32423$6e06caa0$0a01a8c0@gamma> Hi Its RH7.2 on box that has issues (IP's and real names changed to protect systems). Ok if manually run ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $? SMTP WARNING - 5 second response time 1 then from RH7.2 box maillog (at level 15) May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of Nagios Box] May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220 mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003 08:23:50 +0100 May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO proteus3 May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250 mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM: May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2 Syntax error in parameters scanning "FROM" May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0 mail.mydomainhere.com closing connection On working RH6.2 with older sendmail (8.10.2) ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout after 10 seconds 2 May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP of Nagios Box] May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN LOGIN, allowed mech=PLAIN LOGIN May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220 mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003 08:33:04 +0100 May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1 mail1.mydomainhere.com Lost input channel from [IP of Nagios Box] May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Mark ----- Original Message ----- From: "Pascal Miquet" To: "Obantec Support" Cc: "Nagios users" Sent: Tuesday, May 27, 2003 6:26 AM Subject: Re: [Nagios-users] SMTP/POP3 Critical > Hello, > > Did you try to run manually the nagios command. Seems that this is your > RH7.3 hosts which refuse the connection. I Suggest you to look the log > files of your RH 7.3 > > HTH > Regards > Pascal Miquet > > > Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > > Hi > > > > First time posting to this list. > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux servers > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > > > ***** Nagios 1.0 ***** > > > > Notification Type: PROBLEM > > > > Service: SMTP > > Host: MCC > > Address: (xxx.xxx.xxx.xxx) > > State: CRITICAL > > > > Date/Time: Mon May 26 19:12:12 BST 2003 > > > > Additional Info: > > > > Connection refused by host > > > > Same for POP3 > > > > I have checked archive and see others with this problem but not found a > > solution. > > > > Sendmail on MCC requires Auth using plain/login > > > > Sending box is RH8.0 and not on same IP range of ether of the 2 servers > > being monitored. > > > > Any info? > > > > Mark > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 27 10:27:38 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 27 May 2003 10:27:38 +0200 Subject: PLEASE don't use HTML mail. Can we block it? (was: Re: nagios server performance) In-Reply-To: <5F29693503507B4FB4032686ADF862670772E8@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862670772E8@mtviny25.mtvi.com> Message-ID: <200305271027.38520.roy@karlsbakk.net> hi all Please do not use HTML formattet mail like the one below. It is ugly and unnessecary. Even though some email clients support it (and some - read Microsoft Outlook [express] defaults with it), it's still ugly and unnesseacary. Text is just as fine. Perhaps someone administering the list could add a little filter with a reject message bouncing back to whoever sends this sort of messages? annoied Roy On Monday 26 May 2003 23:01, Hochberg, Keith wrote: > > > > > > > [Nagios-users] nagios server performance > > >
Have you checked out the tuning guide?
>
 
>
 
>
I run Nagios with 400 hosts and over 2,000 checks with not nearly what > you are running with respect to hardware and I have no performance > issues... I did have to refer to the tuning guide however to tweak a > few > things. 
>
>
-----Original Message-----
From: Maarten > [mailto:maartenh at phreaker.net]
Sent: Mon 5/26/2003 2:21 PM >
To: nagios-users at lists.sourceforge.net
Cc: >
Subject: [Nagios-users] nagios server > performance

>

Hi,

I am currently experiencing some performance > issues with my nagios
installation. I am running nagios on a dual xeon > 2Ghz, 2,5gig internal
memory. I have currently 260 hosts and 1400 > services added to nagios. The
services are scheduled to be checked with > a 5 minute interval. The word
scheduled is not accidently chosen, since > in practise, the server is only
succeeding in checking the hosts and > services every 15-30 minutes. There is
a milelong queue with checks that > are behind on schedule. The server itself
(CPU and Memory), is not even > sweating a little bit. There are more then
enough resources to serve the > requests...

I just changed nagios.cfg a bit today and am now > allowing for 100 > concurrent
checks, but still no luck :-( Is there anyone on the list > that know some
tricks on reducing the delay and improving > performance?

maarten

111 processes: 110 sleeping, 1 > running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% > system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% user,  > 0.0% system,  0.0% nice, 100.0% idle
CPU2 states:  2.1% > user,  1.0% system,  1.0% nice, 95.0% idle
CPU3 states:  > 0.0% user,  0.0% system,  0.1% nice, 99.0% idle
Mem:  > 2581768K av,  124044K used, 2457724K > free,       0K shrd,   > 17920K
buff
Swap: 1024088K av,    9400K used, 1014688K > > free             >;       19288K
cached

  PID > USER     PRI  NI  SIZE  RSS SHARE STAT > %CPU %MEM   TIME > > COMMAND

nagios.cfg
command_check_interval=-1
max_concurrent_ch >ecks=100 (should be enough for 30000 checks in 5 > > minutes)
service_reaper_frequency=10
sleep_time=1

service_chec >k_timeout=60
host_check_timeout=45
event_handler_timeout=30
notific >ation_timeout=30
ocsp_timeout=5
perfdata_timeout=5

execute_serv >ice_checks=1
check_service_freshness=1
freshness_check_interval=60
>



-------------------------------------------------------
T >his SF.net email is sponsored by: ObjectStore.
If flattening out C++ or > Java code to make your application fit in a
relational database is > painful, don't do it! Check out ObjectStore.
Now part of Progress > Software. href="http://www.objectstore.net/sourceforge">http://www.objectstore.net/so >urceforge
_______________________________________________
Nagios-u >sers mailing list
Nagios-users at lists.sourceforge.net
> href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://li >sts.sourceforge.net/lists/listinfo/nagios-users
::: 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. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 11:33:08 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 27 May 2003 11:33:08 +0200 Subject: PLEASE don't use HTML mail. Can we block it? In-Reply-To: <200305271027.38520.roy@karlsbakk.net> References: <5F29693503507B4FB4032686ADF862670772E8@mtviny25.mtvi.com> <200305271027.38520.roy@karlsbakk.net> Message-ID: <3ED330D4.2090208@dhl.com> I agree that text format is sufficient and desirable on a mailing list. However, not only do some clients use it as a default (not only the MS ones, so there is no need to point the finger), but in some cases users of the mailing list simply don't have the choice to send anything but HTML messages due to company policies or restrictions. So encouraging people to send in plain text is fine by me. Preventing users to participate solely because they are using HTML goes too far. After all, it's your choice whether you want to read HTML messages or not. If you don't like HTML emails, then ignore them. Roy Sigurd Karlsbakk wrote: > hi all > > Please do not use HTML formattet mail like the one below. It is ugly and > unnessecary. Even though some email clients support it (and some - read > Microsoft Outlook [express] defaults with it), it's still ugly and > unnesseacary. Text is just as fine. > > Perhaps someone administering the list could add a little filter with a reject > message bouncing back to whoever sends this sort of messages? > > annoied Roy > > On Monday 26 May 2003 23:01, Hochberg, Keith wrote: > >> >> >> >> >> >> >>[Nagios-users] nagios server performance >> >> >>
Have you checked out the tuning guide?
>>
 
>>
 
>>
I run Nagios with 400 hosts and over 2,000 checks with not nearly what >>you are running with respect to hardware and I have no performance >>issues... I did have to refer to the tuning guide however to tweak a >>few >>things. 
>>
>>
-----Original Message-----
From: Maarten >> [mailto:maartenh at phreaker.net]
Sent: Mon 5/26/2003 2:21 PM >>
To: nagios-users at lists.sourceforge.net
Cc: >>
Subject: [Nagios-users] nagios server >> performance

>>

Hi,

I am currently experiencing some performance >>issues with my nagios
installation. I am running nagios on a dual xeon >>2Ghz, 2,5gig internal
memory. I have currently 260 hosts and 1400 >>services added to nagios. The
services are scheduled to be checked with >>a 5 minute interval. The word
scheduled is not accidently chosen, since >>in practise, the server is only
succeeding in checking the hosts and >>services every 15-30 minutes. There is
a milelong queue with checks that >>are behind on schedule. The server itself
(CPU and Memory), is not even >>sweating a little bit. There are more then
enough resources to serve the >>requests...

I just changed nagios.cfg a bit today and am now >>allowing for 100 >> concurrent
checks, but still no luck :-( Is there anyone on the list >>that know some
tricks on reducing the delay and improving >> performance?

maarten

111 processes: 110 sleeping, 1 >>running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% >>system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% user,  >>0.0% system,  0.0% nice, 100.0% idle
CPU2 states:  2.1% >>user,  1.0% system,  1.0% nice, 95.0% idle
CPU3 states:  >>0.0% user,  0.0% system,  0.1% nice, 99.0% idle
Mem:  >>2581768K av,  124044K used, 2457724K >>free,       0K shrd,   >>17920K
buff
Swap: 1024088K av,    9400K used, 1014688K >> >>free             >>;       19288K
cached

  PID >>USER     PRI  NI  SIZE  RSS SHARE STAT >>%CPU %MEM   TIME >> >>COMMAND

nagios.cfg
command_check_interval=-1
max_concurrent_ch >>ecks=100 (should be enough for 30000 checks in 5 >> >>minutes)
service_reaper_frequency=10
sleep_time=1

service_chec >>k_timeout=60
host_check_timeout=45
event_handler_timeout=30
notific >>ation_timeout=30
ocsp_timeout=5
perfdata_timeout=5

execute_serv >>ice_checks=1
check_service_freshness=1
freshness_check_interval=60
>>



-------------------------------------------------------
T >>his SF.net email is sponsored by: ObjectStore.
If flattening out C++ or >>Java code to make your application fit in a
relational database is >>painful, don't do it! Check out ObjectStore.
Now part of Progress >>Software. >href="http://www.objectstore.net/sourceforge">http://www.objectstore.net/so >>urceforge
_______________________________________________
Nagios-u >>sers mailing list
Nagios-users at lists.sourceforge.net
> >>href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://li >>sts.sourceforge.net/lists/listinfo/nagios-users
::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 27 11:48:05 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 27 May 2003 11:48:05 +0200 Subject: PLEASE don't use HTML mail. Can we block it? In-Reply-To: <3ED330D4.2090208@dhl.com> References: <5F29693503507B4FB4032686ADF862670772E8@mtviny25.mtvi.com> <200305271027.38520.roy@karlsbakk.net> <3ED330D4.2090208@dhl.com> Message-ID: <200305271148.05450.roy@karlsbakk.net> add a perl filter to the list engine perl -pe 's/<.*?>//gm' :o) On Tuesday 27 May 2003 11:33, Tom DE BLENDE wrote: > I agree that text format is sufficient and desirable on a mailing > list. However, not only do some clients use it as a default (not only > the MS ones, so there is no need to point the finger), but in some > cases users of the mailing list simply don't have the choice to send > anything but HTML messages due to company policies or restrictions. > > So encouraging people to send in plain text is fine by me. Preventing > users to participate solely because they are using HTML goes too far. > After all, it's your choice whether you want to read HTML messages or > not. If you don't like HTML emails, then ignore them. > > Roy Sigurd Karlsbakk wrote: > > hi all > > > > Please do not use HTML formattet mail like the one below. It is ugly and > > unnessecary. Even though some email clients support it (and some - read > > Microsoft Outlook [express] defaults with it), it's still ugly and > > unnesseacary. Text is just as fine. > > > > Perhaps someone administering the list could add a little filter with a > > reject message bouncing back to whoever sends this sort of messages? > > > > annoied Roy > > > > On Monday 26 May 2003 23:01, Hochberg, Keith wrote: > >> > >> > >> > >> > >> > >> > >>[Nagios-users] nagios server performance > >> > >> > >>
Have you checked out the tuning guide?
> >>
 
> >>
 
> >>
I run Nagios with 400 hosts and over 2,000 checks with not nearly > >> what you are running with respect to hardware and I have no performance > >> issues... I did have to refer to the tuning guide however to tweak > >> a few > >>things. 
> >>
> >>
-----Original Message-----
From: Maarten > >> [mailto:maartenh at phreaker.net]
Sent: Mon 5/26/2003 2:21 PM > >>
To: nagios-users at lists.sourceforge.net
Cc: > >>
Subject: [Nagios-users] nagios server > >> performance

> >>

Hi,

I am currently experiencing some performance > >>issues with my nagios
installation. I am running nagios on a dual xeon > >>2Ghz, 2,5gig internal
memory. I have currently 260 hosts and 1400 > >>services added to nagios. The
services are scheduled to be checked > >> with a 5 minute interval. The word
scheduled is not accidently > >> chosen, since in practise, the server is only
succeeding in checking > >> the hosts and services every 15-30 minutes. There is
a milelong queue > >> with checks that are behind on schedule. The server itself
(CPU and > >> Memory), is not even sweating a little bit. There are more > >> then
enough resources to serve the requests...

I just changed > >> nagios.cfg a bit today and am now allowing for 100 > >> concurrent
checks, but still no luck :-( Is there anyone on the list > >>that know some
tricks on reducing the delay and improving > >> performance?

maarten

111 processes: 110 sleeping, 1 > >>running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% > >>system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% > >> user,  0.0% system,  0.0% nice, 100.0% idle
CPU2 > >> states:  2.1% user,  1.0% system,  1.0% nice, 95.0% > >> idle
CPU3 states:  0.0% user,  0.0% system,  0.1% > >> nice, 99.0% idle
Mem:  2581768K av,  124044K used, 2457724K > >>free,       0K shrd,   > >>17920K
buff
Swap: 1024088K av,    9400K used, > >> 1014688K > >> > >>free           &nb > >>sp ;       19288K
cached

  > >> PID USER     PRI  NI  SIZE  RSS SHARE > >> STAT %CPU %MEM   TIME > >> > >>COMMAND

nagios.cfg
command_check_interval=-1
max_concurrent_ > >>ch ecks=100 (should be enough for 30000 checks in 5 > >> > >>minutes)
service_reaper_frequency=10
sleep_time=1

service_ch > >>ec > >> k_timeout=60
host_check_timeout=45
event_handler_timeout=30
not > >>ific > >> ation_timeout=30
ocsp_timeout=5
perfdata_timeout=5

execute_ > >>serv > >> ice_checks=1
check_service_freshness=1
freshness_check_interval=60 > >>
> >>



-------------------------------------------------------< > >>BR>T his SF.net email is sponsored by: ObjectStore.
If flattening out > >> C++ or Java code to make your application fit in a
relational > >> database is painful, don't do it! Check out ObjectStore.
Now part of > >> Progress Software. >>href="http://www.objectstore.net/sourceforge">http://www.objectstore.net/ > >>so > >> urceforge
_______________________________________________
Nagi > >>os-u sers mailing list
Nagios-users at lists.sourceforge.net
>> > >>href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https:// > >>li sts.sourceforge.net/lists/listinfo/nagios-users
::: 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. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From droux at tuks.co.za Tue May 27 12:13:56 2003 From: droux at tuks.co.za (Danie Roux) Date: Tue, 27 May 2003 12:13:56 +0200 Subject: check_http: No data received Message-ID: <20030527101356.GC12868@student.up.ac.za> Hi all, 20 days ago, check_http started to say "No data received". But only for one server, and the server functions perfectly. life at emily:~$ /usr/lib/nagios/plugins/check_http --version check_http (netsaint-plugins 1.2.9-4) 1.32.2.6 life at emily:~$ /usr/lib/nagios/plugins/check_http -H myhost No data received I'm running nagios from Debian unstable. Can anyone shed some light on this? -- Danie Roux *shuffle* Adore Unix ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue May 27 12:15:03 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 27 May 2003 12:15:03 +0200 Subject: errors in messages file Message-ID: <5539FB0922D5E544B12A031DBD255E55DCAEC9@rijpat-s-346.europe.shell.com> Hello all, I have set nrpe running on a few production systems, and I am a little concerned with some warnings on the messages files,, can anyone shed some light on this? nrpe does seem to be working fine though as far as nagios is concerned. Nagios runs as a NIS user if that makes any difference??? Warning: Could not get passwd entry for 'nagios' nrpe[3784]: Warning: Unable to change supplementary groups using initgroups() nrpe[3784]: Warning: Could not set effective UID=-1 Warning: Could not get passwd entry for 'nagios' Warning: Unable to change supplementary groups using initgroups() Warning: Could not set effective UID=-1 Starting up daemon nrpe[3784]: Starting up daemon Thanks Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.freegard at lbsltd.co.uk Tue May 27 12:36:29 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Tue, 27 May 2003 11:36:29 +0100 Subject: macro + check_disk_smb Message-ID: <67D9E7698329D411936E00508B6590B902793949@neelix.lbsltd.co.uk> Thomas, I would guess that you first should try escaping the dollar for the -s parameter e.g. -s c\$ and try again. If you still don't have any luck try escaping the values inside the macro e.g. $USER4$=Joop23\$ to see if that helps. Kind regards, Steve -- Steve Freegard Systems Manager Littlehampton Book Services Ltd. ________________________________ From: Wiesner, Thomas [mailto:Thomas.Wiesner at dbla.com] Sent: 26 May 2003 14:44 To: 'nagios-users at lists.sourceforge.net' Dear all, I have a problem with the check_disk_smb command and macros. Resource.cfg: $USER3$=0202020 $USER4$=Joop23$ 0202020 is the username and Joop23$ is the password. Checkcommands.cfg # 'Check_DiskC' command definition define command{ command_name check_DiskC command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -p $USER4$ -u $USER3$ -W Domain -s c$ } Errormessage: Result from smbclient not suitable I change the check_disk_smb command and write the parameter to a simple textfile: -H host -p Joop23$ -u 0202020 -W Domain -s -H0 System: RedHat 9 If I use the correct username and password direct in the checkcommands.cfg file everything is ok. With the macro I have the problem that the program doesn't get the correct sharename (C$), username or password. Are there any limitations like only 9 parameters or there must not be a '$' in the password or in the sharename. Thanks in advanced. Best regards, Thomas Wiesner -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and delete the message from your mailbox. This footnote also confirms that this email message has been swept by MailScanner (www.mailscanner.info) for the presence of computer viruses. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ibolandi=JjbC2iRcnRJiXvKroa6VQQ at public.gmane.org Tue May 27 14:46:27 2003 From: ibolandi=JjbC2iRcnRJiXvKroa6VQQ at public.gmane.org (Ilan Bolandi) Date: Tue, 27 May 2003 14:46:27 +0200 Subject: (no subject) Message-ID: <3376EA9D41D233428960E9AE687569C40379D991@b1mail1.barakitc.co.il> Hi Is there a plugin to monitor the current cpu state rather than the average loads? I don't want: load average: 0.01, 0.02, 0.00 But rather: 0.1% user, 0.9% system, 0.0% nice, 98.8% idle Thanks for your replies! Ilan ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.glasow at magnet.ch Tue May 27 14:35:19 2003 From: t.glasow at magnet.ch (Tobias Glasow) Date: Tue, 27 May 2003 14:35:19 +0200 Subject: Flapdetection / Mysql Setup Message-ID: Hi all, i have setup my new nagios box and everything seems to work fine. But i got one problem. I use nagios with mysql. When i first setup my nagios, flap detection was only enabled for the hosts, not for the services. as i wanted to have flap detection enabled for all services i changed "event_handler_enabled 0" to "event_handler_enabled 1" in the generic service in services.cfg. i also set "enable_flap_detection=1" in nagios.cfg. now, when i look at the service config in the nagios cgi i see the "flap_detection_enabled" row is "yes" for all services. but at the tactical overview and at the status details it says "flap detection: disabled". when i click "enable flap detection for this service" in the cgi, flapdetection is "enabled" an i can see this even in tactical overview and status details. but i dont want to do this for every of my > 500 Services, because it is already set in the generic_service :)) what am i doing wrong? Regards, Tobias Glasow ---------------------------------------------------------- Magnet.ch AG G?terstrasse 86 CH-4053 Basel T 0842 420 420 F 0842 420 422 eMail: t.glasow at magnet.ch WWW: http://www.magnet.ch ---------------------------------------------------------- Magnet.ch AG - Ihr unabh?ngiger Internet Provider ---------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue May 27 15:20:24 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Tue, 27 May 2003 15:20:24 +0200 Subject: Connecting different service to one service, creating different escalation-levels Message-ID: <200305271520.24382.Michael.Huettig@Medien-Systempartner.de> Hi, i think it's a development-feature: Very usefull idea would it be, to connect some services via boolean operators like AND, OR, NOT, XOR to another service. Explanation: host1-hme0 AND host1-qfe0 AND host1-qfe1 => Service (host1-interfaces) in some state. There have been also a request for escalations: thinking about a Hardware-RAID5 host2-disk1 state critical creates a warning state (host2-disk1 [critical] AND host2-disk2 [critical]) or (host1-disk1 [critical] AND host2-disk4 [activ {HOT-Spare-Drive}]) creates a critical1 (dark-yellow) state for services of host2. This failure can only escalate to level 2 So lets connect the example-services together -- Greets Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge From Michael.Huettig at Medien-Systempartner.de Tue May 27 15:04:36 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Tue, 27 May 2003 15:04:36 +0200 Subject: Definig Host with multiple Interfaces Message-ID: <200305271504.36291.Michael.Huettig@Medien-Systempartner.de> Hi, is there an ability, to define a host with a lot of interfaces, like a router or a firewall? Our defaultGW-routers had 8 * E3, 8*ISDN-BRI, 4 ETH-Interfaces and i don't want to define 12 Hosts, our firewall has 9 eth-interfaces, so it's a little bit stupid, do define them all as single hosts. -- Greets Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue May 27 15:30:28 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Tue, 27 May 2003 15:30:28 +0200 Subject: Connecting different service to one service, creating different escalation-levels In-Reply-To: <200305271520.24382.Michael.Huettig@Medien-Systempartner.de> References: <200305271520.24382.Michael.Huettig@Medien-Systempartner.de> Message-ID: <200305271530.28197.Michael.Huettig@Medien-Systempartner.de> Hi, Ooops, just pressing , here is the complete message: i think it's a development-feature: Very usefull idea would it be, to connect some services via boolean operators like AND, OR, NOT, XOR to another service. Explanation: host1-hme0 AND host1-qfe0 AND host1-qfe1 => Service (host1-interfaces) in some state. Maximum-escalation-level is 2 There have been also a request for escalations: thinking about a Hardware-RAID5 host2-disk1 state critical creates a warning state Service (host2-disks) == (host2-disk1 [critical] AND host2-disk2 [critical]) or (host1-disk1[critical] AND host2-disk4 [activ {HOT-Spare-Drive}]) creates a critical1(dark-yellow) state for services of host2. This failure can only escalate to level 2. So lets connect the example-services together: Service (host1-interfaces) AND Service (host2-disks) AND Service (Host3-Web-server) AND Service (Host4-another-service) create a critical3-Level and be able to escalate to level 4 I think, it's a little bit difficult to understand, what i'm meaning ?!? ;-) Any suggestions? -- Regards, Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge From Jeremy.Russell at chickasaw.net Tue May 27 15:31:25 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 27 May 2003 08:31:25 -0500 Subject: Network Traffic Message-ID: <352B04312822444A962714393AED8A4D96A8E7@ADAEVS01.int.chickasaw.net> Thanks, but will this work with any snmp enabled host, such as Cisco gear. -----Original Message----- From: Francesc Guasch [mailto:frankie at etsetb.upc.es] Sent: Monday, May 26, 2003 4:08 AM To: Jeremy Russell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Network Traffic Jeremy Russell wrote: > I've used APAN for a few things, but I would like to know how you set up > APAN for network traffic/utilization. What plugins, config, etc, If you > would share. Thanks. You can find how to do it in the apan howto. http://apan.sourceforge.net/doc/howto.html#net In addition, this is how I do to check host load using snmp: 1.- CONFIG NAGIOS services.conf define service{ use generic-service host_name HOST_NAME service_description load is_volatile 0 contact_groups net-admins check_command apan!snmpget!5!20 normal_check_interval 3 } 2.- CREATE THE RRD FILE # rrdtool create /PATH/TO/nagios/rrd/HOSTNAME_load.rrd -s 60 \ DS:1min:GAUGE:300:0:U: DS:5min:GAUGE:300:0:U: \ DS:15min:GAUGE:300:0:U: RRA:AVERAGE:0.5:1:50400 \ RRA:AVERAGE:0.5:60:43800 chown nagios:nagios /PATH/TO/nagios/rrd/HOSTNAME_load.rrd 3.- ADD THIS LINE IN APAN.CFG HOSTNAME;load;/PATH/TO/NAGIOS/rrd/HOSTNAME_load.rrd;public:.1.3.6.1.4.1. 2021.10.1.3.1|public:.1.3.6.1.4.1.2021.10.1.3.2|public:.1.3.6.1.4.1.2021 .10.1.3.3;1min:LINE2 5min:LINE2 15min:LINE2;Load;%; 4.- Add an icon and a link as extended service-info: define serviceextinfo{ host_name HOSTNAME service_description load notes_url /nagios/cgi-bin/apan.cgi?host=HOSTNAME&service=load icon_image graph.png icon_image_alt Load-Stats } ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From telles at devel-it.com.br Tue May 27 15:52:41 2003 From: telles at devel-it.com.br (Rodrigo P. Telles) Date: Tue, 27 May 2003 10:52:41 -0300 Subject: check_udp error Message-ID: <20030527105241.5cb493c4.telles@devel-it.com.br> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I'm trying to use check_udp (nagios-plugins-1.3.0) with nagios 1.0, but this ones does'nt work like your USAGE explanation: ./check_udp --help .. .. This plugin tests an UDP connection with the specified host. Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] [-e expect] [-s send] [-t to_sec] [-v] .. I try: ./check_udp -H x.y.z.n -p 10060 Host name was not supplied Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] [-e expect] [-s send] [-t to_sec] [-v] check_udp show me usage help again. Why ? Now, I'm using a old check_udp by netsaint, and it's work fine to me. Thanks. - ----------------------------------------- Rodrigo P. Telles Gerente de Projetos - ----------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+022pfk9aiwwujXYRAntbAJwKeSb7Kj+SAQW++dEr+R85XlIkSgCfTKmk 4+k4Kr2PM91+VzlVxHuUCDw= =+fiO -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 27 15:47:10 2003 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 27 May 2003 14:47:10 +0100 Subject: Apologies Message-ID: <000201c32456$79366060$0400a8c0@squarebox.com> Please ignore my last mail. Not sure what fired it off. I'll blame Microsoft or my Fat fingers :) Tom Welsh DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dritchie at advanstar.com Tue May 27 16:04:25 2003 From: dritchie at advanstar.com (Doug Ritchie) Date: Tue, 27 May 2003 10:04:25 -0400 Subject: Inconsistent service states Message-ID: Hey all, Has anybody seen any strangeness with service states being inconsistent in the nagios.log and archives? We monitor about 300 services with Nagios, and at the end of every month when we run availability reports, I find a handful of services that appear to have gone down and never come back up. When I dig through the nagios.log and archives, I find on all of them a situation where: 1) the service failed legitimately and caused a 'CRITICAL;HARD' entry 2) the host was rebooted, causing 'host down' and 'host up' events 3) the very next service check fails (perhaps NSClient hasn't started yet, or somesuch) 4) the failure is now oddly recorded as 'CRITICAL;SOFT', attempt #1 4) the subsequent service check succeeds, and is recorded as 'OK;SOFT', attempt #2 In the end, the archives contain a CRITICAL;HARD entry from when the service failed, but no corresponding OK;HARD entry for when it was fixed. While it doesn't cause any problems in terms of notifications, it does throw the availability reports way off, since from the point of the initial failure all the way up until whenever the service fails/recovers properly next, everything is recorded as critical time. I can fix this manually by modifying the archive files to make those OK;SOFT entries OK;HARD, but this does seem like a weird bug. Again, the only time I've seen this is with the following sequence of events: a) service was critical b) host was rebooted c) first service check failed immediately following the reboot Any ideas or prior experience with this kind of thing? Thanks much, Doug Ritchie ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bren at midco.net Tue May 27 16:25:09 2003 From: bren at midco.net (Brendon Colby) Date: Tue, 27 May 2003 09:25:09 -0500 Subject: Hosts stop responding Message-ID: <200305270925.09799.bren@midco.net> Greetings, We've had some weird issues with our Nagios machine suddenly not being able to contact certain hosts. These hosts are up but we can't ping them from the Nagios machine until networking is restarted (and there is no pattern as to which host this happens to). Nagios reports these hosts as down subsequently sending out alerts. I'm curious if anyone has encountered this before. We are running Nagios 1.0 on Debian 3.0. Thanks. -- Brendon Colby Systems Administrator Midcontinent Communications ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Tue May 27 16:27:57 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 27 May 2003 16:27:57 +0200 (CEST) Subject: What services for what hosts ? Message-ID: <20030527142757.68814.qmail@web10901.mail.yahoo.com> Hi, I need your advises. What services do you advise me to check for the following groups of hosts : - Printer servers - File servers - Database servers - Application servers (websphere, cognos, citrix, etc...) - Mail servers (LOTUS) - DMZ servers (proxy, firewall, Gateway...) Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue May 27 15:50:21 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 27 May 2003 15:50:21 +0200 Subject: Definig Host with multiple Interfaces Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi Michael Why don't you set one up as the ip that should always be up and make that you "host ip" (like your loopback on a router) and ping the other ip's as check_ping services? ;) fred > -----Original Message----- > From: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] > Sent: 27 May 2003 03:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Definig Host with multiple Interfaces > > > Hi, > is there an ability, to define a host with a lot of > interfaces, like a router > or a firewall? > Our defaultGW-routers had 8 * E3, 8*ISDN-BRI, 4 > ETH-Interfaces and i don't want to define 12 Hosts, our > firewall has 9 eth-interfaces, so it's a little > bit stupid, do define them all as single hosts. > -- > Greets > > Michael H?ttig > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tsmith at court-jester.org Tue May 27 16:43:34 2003 From: tsmith at court-jester.org (Thom Smith) Date: 27 May 2003 07:43:34 -0700 Subject: Definig Host with multiple Interfaces In-Reply-To: <200305271504.36291.Michael.Huettig@Medien-Systempartner.de> References: <200305271504.36291.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1054046614.5087.37.camel@pc-thoms.clinicomp.com> Nagios seems to define the host by the IP address and this becomes frustrating for routers and VPN concentrators. But there are several ways to overcome it. The first is to use SNMP to retrieve the information. The drawback to this is that you can't take a different route to get to the device (i.e. you'll always traverse the VPN tunnel, etc.). The way I get around this is to define a different check_ commands in the etc/checkcommands.cfg file and hard code the IP address. It's a kluge, but it works and keeps the extra hosts off of the host map (**MAJOR** requirement of the pointy-haired-boss). HTH Thom. On Tue, 2003-05-27 at 06:04, Michael H?ttig wrote: > Hi, > is there an ability, to define a host with a lot of interfaces, like a router > or a firewall? > Our defaultGW-routers had 8 * E3, 8*ISDN-BRI, 4 ETH-Interfaces and i don't want to define 12 Hosts, our firewall has 9 eth-interfaces, so it's a little > bit stupid, do define them all as single hosts. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Tue May 27 17:02:53 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Tue, 27 May 2003 12:02:53 -0300 Subject: Nagios for Dummies Message-ID: Hi guys, I still receiving the error messages. Here is the message when i try to start Nagios: Attached I'm sending the resource.cfg file and the output of /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I appreciate to receive some help from you guys that work and has some knowledge of Nagios instead others that use the list to sell services. I work on security environment and always helped others (you can check on phoneboy (list to Firewall-1 users)) in trouble situation. Best Regards, - Fernando the dummy without shame to learn and ask ;-) Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. And on my resource.cfg (that has only one line uncommented (that's on 24th line position)) has the following statement: ########################################################################### # # RESOURCE.CFG - Sample Resource File for Nagios 1.0 # # You can define $USERx$ macros in this file, which can in turn be used # in command definitions in your host config file(s). $USERx$ macros are # useful for storing sensitive information such as usernames, passwords, # etc. They are also handy for specifying the path to plugins and # event handlers - if you decide to move the plugins or event handlers to # a different directory in the future, you can just update one or two # $USERx$ macros, instead of modifying a lot of command definitions. # # The CGIs will not attempt to read the contents of resource files, so # you can set restrictive permissions (600 or 660) on them. # # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) # # Resource files may also be used to store configuration directives for # external data sources like MySQL... # ########################################################################### # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec <== Line 24!!! # Sets $USER2$ to be the path to event handlers #$USER2$=/usr/local/nagios/libexec/eventhandlers # Store some usernames and passwords (hidden from the CGIs) #$USER3$=someuser #$USER4$=somepassword Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: resource.cfg Type: application/octet-stream Size: 3072 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: log.txt URL: From mpowell at ena.com Tue May 27 16:59:58 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 27 May 2003 09:59:58 -0500 Subject: What services for what hosts ? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7270@mismail.ena.com> This seems like an odd question. I suggest you examine each host you want to monitor and determine what you feel is a vital service on each and monitor those. The question below is way too vague and is very much like asking someone else to do your homework for you. In any event, the answers you get may not apply to you. For example, for monitoring a file server, what you monitor is going to greatly depend on how the files are being served. Is it SMB? NFS? HTTP? TFTP? FTP? Same for database servers. Is it Mysql, Postgres, MSSQL, Berkely DB, Oracle, Informix or some other database? These are rhetorical questions, BTW. -- Marc > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: Tuesday, May 27, 2003 9:28 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > I need your advises. > What services do you advise me to check for the following groups of hosts > : > > - Printer servers > - File servers > - Database servers > - Application servers (websphere, cognos, citrix, etc...) > - Mail servers (LOTUS) > - DMZ servers (proxy, firewall, Gateway...) > > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHoevenaar at GAIC.COM Tue May 27 17:50:35 2003 From: JHoevenaar at GAIC.COM (Hoevenaar, Jeff) Date: Tue, 27 May 2003 11:50:35 -0400 Subject: Compiling nrpe on hp-ux 11.0 Message-ID: I am trying to compile the nrpe program on a HP-UX 11.0 server. Has anyone had any luck with this? It seems to compile fine on a linux server. Thanks, Jeff I get the following messages: ./configure checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for perl... /usr/contrib/bin/perl creating ./config.status creating Makefile creating src/Makefile creating subst creating common/config.h syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. *** Configuration summary for nrpe 1.8 01-16-2003 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. ********************************************************************** The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.miquet at hafiba.fr Tue May 27 17:50:31 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 27 May 2003 17:50:31 +0200 Subject: Hosts stop responding In-Reply-To: <200305270925.09799.bren@midco.net> References: <200305270925.09799.bren@midco.net> Message-ID: <1054050507.15175.119.camel@moishe> Hi, You restart your network on which system ? The nagios server ? Regards Le mar 27/05/2003 ? 16:25, Brendon Colby a ?crit : > Greetings, > > We've had some weird issues with our Nagios machine suddenly not being able to > contact certain hosts. These hosts are up but we can't ping them from the > Nagios machine until networking is restarted (and there is no pattern as to > which host this happens to). Nagios reports these hosts as down subsequently > sending out alerts. I'm curious if anyone has encountered this before. > > We are running Nagios 1.0 on Debian 3.0. > > Thanks. > > -- > Brendon Colby > Systems Administrator > Midcontinent Communications ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Tue May 27 18:06:54 2003 From: c.eduardo at estacio.br (Eddy) Date: Tue, 27 May 2003 13:06:54 -0300 Subject: ANSI Error!!! References: Message-ID: <10b2201c3246a$145a4760$31150a0a@estacio.domain> Hello!!! I have this problem in my nagios with hpux 11.11 when i compile receive this message "Function prototypes are an ANSI feature." any can help me!? I m brazilian man sorry my bad english!!! :) ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bren at midco.net Tue May 27 18:15:32 2003 From: bren at midco.net (Brendon Colby) Date: Tue, 27 May 2003 11:15:32 -0500 Subject: Hosts stop responding In-Reply-To: <1054050507.15175.119.camel@moishe> References: <200305270925.09799.bren@midco.net> <1054050507.15175.119.camel@moishe> Message-ID: <200305271115.32961.bren@midco.net> I have to restart networking on the Nagios machine. On Tuesday 27 May 2003 10:50, Pascal Miquet wrote: > Hi, > > You restart your network on which system ? The nagios server ? > Regards > > Le mar 27/05/2003 ? 16:25, Brendon Colby a ?crit : > > Greetings, > > > > We've had some weird issues with our Nagios machine suddenly not being > > able to contact certain hosts. These hosts are up but we can't ping them > > from the Nagios machine until networking is restarted (and there is no > > pattern as to which host this happens to). Nagios reports these hosts as > > down subsequently sending out alerts. I'm curious if anyone has > > encountered this before. > > > > We are running Nagios 1.0 on Debian 3.0. > > > > Thanks. > > > > -- > > Brendon Colby > > Systems Administrator > > Midcontinent Communications > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Brendon Colby Systems Administrator Midcontinent Communications ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:29:53 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 27 May 2003 11:29:53 -0500 Subject: Compiling nrpe on hp-ux 11.0 In-Reply-To: ; from JHoevenaar@GAIC.COM on Tue, May 27, 2003 at 11:50:35AM -0400 References: Message-ID: <20030527112953.A10425@bennyvision.com> On Tue, May 27, 2003 at 11:50:35AM -0400, Hoevenaar, Jeff wrote: > I am trying to compile the nrpe program on a HP-UX 11.0 server. Has > anyone had any luck with this? It seems to compile fine on a linux > server. You can try the version I built: http://www.bennyvision.com/projects/nagios/index.php No guarantees - I don't use it personally, so the testing I've done is very minimal. Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.mcavoy at megawheels.com Tue May 27 18:24:39 2003 From: sean.mcavoy at megawheels.com (Sean McAvoy) Date: 27 May 2003 12:24:39 -0400 Subject: how to disable notification for child Message-ID: <1054052679.8476.1.camel@tech09.toronto.drive-megawheels.net> Hello, I am receiving notifications for a router going down, I then receive a notification for the child of it going down. How can I disable notification of the child. Thanks -Sean ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue May 27 18:25:53 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 27 May 2003 17:25:53 +0100 Subject: What services for what hosts ? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513772@jessica.herefordshire.gov.uk> Try portscanning the boxes in question with nmap - that will give you a clue. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: 27 May 2003 15:28 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] What services for what hosts ? > > > Hi, > > I need your advises. > What services do you advise me to check for the following > groups of hosts : > > - Printer servers > - File servers > - Database servers > - Application servers (websphere, cognos, citrix, etc...) > - Mail servers (LOTUS) > - DMZ servers (proxy, firewall, Gateway...) > > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 19:02:41 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 27 May 2003 12:02:41 -0500 Subject: ANSI Error!!! In-Reply-To: <10b2201c3246a$145a4760$31150a0a@estacio.domain>; from c.eduardo@estacio.br on Tue, May 27, 2003 at 01:06:54PM -0300 References: <10b2201c3246a$145a4760$31150a0a@estacio.domain> Message-ID: <20030527120241.A3812@bennyvision.com> On Tue, May 27, 2003 at 01:06:54PM -0300, Eddy wrote: > > I have this problem in my nagios with hpux 11.11 when i compile receive this > message > "Function prototypes are an ANSI feature." > any can help me!? The compiler that comes with HP-UX is designed to build kernels, and that's about it. It is not ANSI-compliant, and will not build Nagios. Soooo, you'll have to either use the HP-UX compiler (the purchased one), or install GCC. Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHoevenaar at GAIC.COM Tue May 27 19:14:24 2003 From: JHoevenaar at GAIC.COM (Hoevenaar, Jeff) Date: Tue, 27 May 2003 13:14:24 -0400 Subject: Compiling nrpe on hp-ux 11.0 Message-ID: Thanks. I got the configure to run with a different version of perl. But now the "make all" fails. Do I need to use some specific options with the "configure". Jeff make all cd ./src/; make ; cd .. 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.3/include/string.h:60: syntax error before "extern" In file included from nrpe.c:21: ../common/common.h:66: syntax error before "u_int32_t" ../common/common.h:66: warning: no semicolon at end of struct or union ../common/common.h:69: syntax 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: syntax error before '*' token nrpe.c: In function `main': nrpe.c:198: warning: assignment makes pointer from integer without a cast 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: syntax error before "calculated_crc32" nrpe.c:694: syntax 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: syntax error before numeric constant nrpe.c:913: `calculated_crc32' undeclared (first use in this function) nrpe.c: At top level: nrpe.c:1258: syntax error before '*' token nrpe.c: In function `validate_request': nrpe.c:1259: `u_int32_t' undeclared (first use in this function) nrpe.c:1259: syntax 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.3/include/string.h:60: syntax error before "extern" In file included from utils.c:32: ../common/common.h:66: syntax error before "u_int32_t" ../common/common.h:66: warning: no semicolon at end of struct or union ../common/common.h:69: syntax 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" *** Error exit code 1 Stop. *** Error exit code 1 Stop. -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Tuesday, May 27, 2003 12:30 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Compiling nrpe on hp-ux 11.0 On Tue, May 27, 2003 at 11:50:35AM -0400, Hoevenaar, Jeff wrote: > I am trying to compile the nrpe program on a HP-UX 11.0 server. Has > anyone had any luck with this? It seems to compile fine on a linux > server. You can try the version I built: http://www.bennyvision.com/projects/nagios/index.php No guarantees - I don't use it personally, so the testing I've done is very minimal. Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fyzix at yahoo.com Tue May 27 19:37:59 2003 From: fyzix at yahoo.com (Gareth Hash) Date: Tue, 27 May 2003 10:37:59 -0700 (PDT) Subject: Am I missing an option? : SOLVED In-Reply-To: <20030521142611.27897.qmail@web20418.mail.yahoo.com> References: <20030521142611.27897.qmail@web20418.mail.yahoo.com> Message-ID: <20030527173759.88892.qmail@web20421.mail.yahoo.com> The cause of this problem was the same as that for hosts and services intermittently disappearing. There was more than one nagios process running at the same time, thereby causing conflicts. --- Gareth Hash wrote: > Hello. > > I am having some trouble with the log rotations. The current day's > logs are fine in nagios.log . However when it comes time for a > rotation, the file supposed to contain those logs in the archive is > blank. So a file such as nagios-05-20-2003-00.log has just one line > > in it : [1053403200] LOG ROTATION: DAILY > > None of the logs recorded for that day are available. It is almost > as > if nagios.log is deleted BEFORE the contents are copied over to the > archives, instead of the other way around. Or am I missing an > option? > > > I have the following set in nagios.cfg : > > log_rotation_method=d > log_archive_path=/opt/nagios/var/archives > > > This is on a critical server, and your earliest possible response > would be greatly appreciated. > > Thank you for your time and attention. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 20:21:23 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 27 May 2003 13:21:23 -0500 Subject: Compiling nrpe on hp-ux 11.0 In-Reply-To: ; from JHoevenaar@GAIC.COM on Tue, May 27, 2003 at 01:14:24PM -0400 References: Message-ID: <20030527132123.A30043@bennyvision.com> On Tue, May 27, 2003 at 01:14:24PM -0400, Hoevenaar, Jeff wrote: > Thanks. I got the configure to run with a different version of perl. > But now the "make all" fails. Do I need to use some specific options > with the "configure". (no need to cc me, as I'm on the list) Not sure - compiling on HP-UX can be ugly. I had to pretty much GNU-ize one of my machines at work before I could build anything. Benny -- God is dead and I don't feel all too well either.... -- Ralph Moonen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 27 20:13:27 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 27 May 2003 13:13:27 -0500 Subject: how to disable notification for child Message-ID: Check out the docs regarding the 'parents' directive. jc > -----Original Message----- > From: Sean McAvoy [mailto:sean.mcavoy at megawheels.com] > Sent: Tuesday, May 27, 2003 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to disable notification for child > > > Hello, > I am receiving notifications for a router going down, I then receive a > notification for the child of it going down. How can I disable > notification of the child. Thanks > > > > -Sean > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 27 20:09:37 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 27 May 2003 13:09:37 -0500 Subject: PLEASE don't use HTML mail. Can we block it? Message-ID: Which of course would nail hand-cobbled comments which use < ... >. Such as the ones that Mr Hopcroft uses. If it bothers you so much, why don't you just add a mail filter to your MTA or MUA? jc > -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy at karlsbakk.net] > Sent: Tuesday, May 27, 2003 4:48 AM > To: Tom DE BLENDE > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: PLEASE don't use HTML mail. Can > we block it? > > > add a perl filter to the list engine > > perl -pe 's/<.*?>//gm' > > :o) > > > On Tuesday 27 May 2003 11:33, Tom DE BLENDE wrote: > > I agree that text format is sufficient and desirable on a mailing > > list. However, not only do some clients use it as a default > (not only > > the MS ones, so there is no need to point the finger), but in some > > cases users of the mailing list simply don't have the choice to send > > anything but HTML messages due to company policies or restrictions. > > > > So encouraging people to send in plain text is fine by me. > Preventing > > users to participate solely because they are using HTML > goes too far. > > After all, it's your choice whether you want to read HTML > messages or > > not. If you don't like HTML emails, then ignore them. > > > > Roy Sigurd Karlsbakk wrote: > > > hi all > > > > > > Please do not use HTML formattet mail like the one below. > It is ugly and > > > unnessecary. Even though some email clients support it > (and some - read > > > Microsoft Outlook [express] defaults with it), it's still ugly and > > > unnesseacary. Text is just as fine. > > > > > > Perhaps someone administering the list could add a little > filter with a > > > reject message bouncing back to whoever sends this sort > of messages? > > > > > > annoied Roy > > > > > > On Monday 26 May 2003 23:01, Hochberg, Keith wrote: > > >> > > >> > > >> > > >> > > >> > > >> > > >>[Nagios-users] nagios server performance > > >> > > >> > > >>
Have you checked out the tuning guide?
> > >>
 
> > >>
 
> > >>
I run Nagios with 400 hosts and over 2,000 checks > with not nearly > > >> what you are running with respect to hardware and I have > no performance > > >> issues... I did have to refer to the tuning guide > however to tweak > > >> a few > > >>things. 
> > >>
> > >>
-----Original Message----- >
From: Maarten > > >> [mailto:maartenh at phreaker.net]
Sent: Mon > 5/26/2003 2:21 PM > > >>
To: nagios-users at lists.sourceforge.net
Cc: > > >>
Subject: [Nagios-users] nagios server > > >> performance

> > >>

Hi,

I am currently experiencing > some performance > > >>issues with my nagios
installation. I am running > nagios on a dual xeon > > >>2Ghz, 2,5gig internal
memory. I have currently 260 > hosts and 1400 > > >>services added to nagios. The
services are scheduled > to be checked > > >> with a 5 minute interval. The word
scheduled is not accidently > > >> chosen, since in practise, the server is > only
succeeding in checking > > >> the hosts and services every 15-30 minutes. There > is
a milelong queue > > >> with checks that are behind on schedule. The server > itself
(CPU and > > >> Memory), is not even sweating a little bit. There are more > > >> then
enough resources to serve the > requests...

I just changed > > >> nagios.cfg a bit today and am now allowing for 100 > > >> concurrent
checks, but still no luck :-( Is there > anyone on the list > > >>that know some
tricks on reducing the delay and improving > > >> performance?

maarten

111 processes: 110 > sleeping, 1 > > >>running, 0 zombie, 0 stopped
CPU0 states:  0.0% > user,  0.0% > > >>system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% > > >> user,  0.0% system,  0.0% nice, 100.0% idle
CPU2 > > >> states:  2.1% user,  1.0% system,  1.0% > nice, 95.0% > > >> idle
CPU3 states:  0.0% user,  0.0% > system,  0.1% > > >> nice, 99.0% idle
Mem:  2581768K av,  > 124044K used, 2457724K > > >>free,       0K shrd,   > > >>17920K
buff
Swap: 1024088K av,    9400K used, > > >> 1014688K > > >> > > > >>free         &n > bsp; &nb > > >>sp ;       > 19288K
cached

  > > >> PID USER     PRI  NI  > SIZE  RSS SHARE > > >> STAT %CPU %MEM   TIME > > >> > > > >>COMMAND

nagios.cfg
command_check_interval=-1
ma > x_concurrent_ > > >>ch ecks=100 (should be enough for 30000 checks in 5 > > >> > > > >>minutes)
service_reaper_frequency=10
sleep_time=1
< > BR>service_ch > > >>ec > > >> > k_timeout=60
host_check_timeout=45
event_handler_timeout > =30
not > > >>ific > > >> > ation_timeout=30
ocsp_timeout=5
perfdata_timeout=5
R>execute_ > > >>serv > > >> > ice_checks=1
check_service_freshness=1
freshness_check_i > nterval=60 > > >>
> > >> >



---------------------------------------------- > ---------< > > >>BR>T his SF.net email is sponsored by: ObjectStore.
If > flattening out > > >> C++ or Java code to make your application fit in a
relational > > >> database is painful, don't do it! Check out > ObjectStore.
Now part of > > >> Progress Software. > > >>href="http://www.objectstore.net/sourceforge">http://www.obj > ectstore.net/ > > >>so > > >> > urceforge
_____________________________________________ > __
Nagi > > >>os-u sers mailing list
Nagios-users at lists.sourceforge.net
> >> > > > >>href="https://lists.sourceforge.net/lists/listinfo/nagios-us > ers">https:// > > >>li > sts.sourceforge.net/lists/listinfo/nagios-users
::: 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. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 20:06:34 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 27 May 2003 13:06:34 -0500 Subject: Nagios for Dummies Message-ID: <352B04312822444A962714393AED8A4D96A8E9@ADAEVS01.int.chickasaw.net> Do you maybe have the nagios.cfg to use a sql db, but have it commented out in the resource.cfg? That is one thing to check. -----Original Message----- From: Fernando Gomes Lima [mailto:flima at slb.com] Sent: Tuesday, May 27, 2003 10:03 AM To: Nagios Subject: [Nagios-users] Nagios for Dummies Hi guys, I still receiving the error messages. Here is the message when i try to start Nagios: Attached I'm sending the resource.cfg file and the output of /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I appreciate to receive some help from you guys that work and has some knowledge of Nagios instead others that use the list to sell services. I work on security environment and always helped others (you can check on phoneboy (list to Firewall-1 users)) in trouble situation. Best Regards, - Fernando the dummy without shame to learn and ask ;-) Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. And on my resource.cfg (that has only one line uncommented (that's on 24th line position)) has the following statement: ######################################################################## ### # # RESOURCE.CFG - Sample Resource File for Nagios 1.0 # # You can define $USERx$ macros in this file, which can in turn be used # in command definitions in your host config file(s). $USERx$ macros are # useful for storing sensitive information such as usernames, passwords, # etc. They are also handy for specifying the path to plugins and # event handlers - if you decide to move the plugins or event handlers to # a different directory in the future, you can just update one or two # $USERx$ macros, instead of modifying a lot of command definitions. # # The CGIs will not attempt to read the contents of resource files, so # you can set restrictive permissions (600 or 660) on them. # # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) # # Resource files may also be used to store configuration directives for # external data sources like MySQL... # ######################################################################## ### # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec <== Line 24!!! # Sets $USER2$ to be the path to event handlers #$USER2$=/usr/local/nagios/libexec/eventhandlers # Store some usernames and passwords (hidden from the CGIs) #$USER3$=someuser #$USER4$=somepassword Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From T-VANZEE at govst.edu Tue May 27 20:23:04 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 27 May 2003 13:23:04 -0500 Subject: Completely Off Topic Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444A800B3@gsmail.govst.edu> The University of Calgary is offering a course in "Computer Viruses and Malware". This would be a good course, however, in order to better inform them and give them more knowledge they are teaching them how to code worms and Trojans. This is only my initial reaction as I haven't really thought about it yet, but WHAT THE HECK ARE THEY THINKING? Just thought we don't need anymore work in trying to fight off viruses and malicious attacks, so I wrote a brief note to the staff of the University of Calgary. President and Vice-Chancellor Dr. Harvey P. Weingarten (presoff at ucalgary.ca) Faculty of Science Dan Seneker (seneker at ucalgary.ca) Dr. John Aycock (aycock at cpsc.ucalgary.ca) Reactions or comments welcome. We can take this outside of the nagios-users forum. <\OT> Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From RKornelsen at extremenetworks.com Tue May 27 20:33:03 2003 From: RKornelsen at extremenetworks.com (Randal Kornelsen) Date: Tue, 27 May 2003 11:33:03 -0700 Subject: HOST DOWN - Notifications not being sent Message-ID: <44B88EC6CAD5024FADA04D5D2438970BF44A57@sc-msexch-08.extremenetworks.com> FYI, I do have a service being checked every 5 minutes so FAQ ID: F0036 does not apply. thank you, Randal Kornelsen -----Original Message----- From: Randal Kornelsen Sent: Sunday, May 25, 2003 5:06 PM To: 'nagios-users at lists.sourceforge.net' Subject: HOST DOWN - Notifications not being sent Hello, I have a server that is not responding to the check_command defined for the host (a ping check). A notification was correctly sent on initial failure. Since that initial notification no further notifications have been sent even though they are supposed to be sent every 15 minutes (notification_interval is set to 15 minutes). The following state information specifically shows a "Last Status Check" of 2003-05-25 16:50:22 but a "Last Host Notification" of 2003-05-19 17:05:45. Host Status: DOWN Status Information: PING CRITICAL - Packet loss = 100% Last Status Check: 2003-05-25 16:50:22 Status Data Age: 0d 0h 4m 34s Last State Change: 2003-05-19 17:05:45 Current State Duration: 5d 23h 49m 11s Last Host Notification: 2003-05-19 17:05:45 Current Notification Number: 1 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 2003-05-25 16:53:24 Host Checks: ENABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED The relevant configuration information is shown below. notification_interval 15 notification_options d,u,r notifications_enabled 1 notification_period 24x7 Your assistance in troubleshooting or setting the required (non-apparent) configuration is appreciated. thank you, Randal Kornelsen ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Tue May 27 21:31:14 2003 From: happy at usg.edu (Mark Plaksin) Date: 27 May 2003 15:31:14 -0400 Subject: Compiling nrpe on hp-ux 11.0 In-Reply-To: References: Message-ID: "Hoevenaar, Jeff" writes: > Thanks. I got the configure to run with a different version of perl. > But now the "make all" fails. Do I need to use some specific options > with the "configure". This looks like nrpe 2.0b3 that you're trying to compile. The patch I posted a while back should do the trick: http://sourceforge.net/mailarchive/message.php?msg_id=4660259 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue May 27 22:07:05 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 27 May 2003 16:07:05 -0400 Subject: Nagios with MRTG or MRTG with Nagios Message-ID: Hi all, I am currently using MRTG on a Windows2k server and Nagios on RedHat8 and was thinking to move the two on a RedHat8 machine. I am wondering if there is some people using both programs since MRTG does not really have a great notifying mechanism and since Nagios does not really have a nice graphical results, since insted of the numbers, you get green,yellow or red status. I know that the Nagmin author wants to integrate the everything in is next version, but it is not done yet. In theory, I think that the best way would be to use Nagios to pull the data (ping, query to clients, snmp to routers, etc) and then at each pull, throw the data to MRTG for process. So if there is someone in here using some kind of method, or even some better method, say so :) Thanks. Alex ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Tue May 27 22:16:13 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 27 May 2003 22:16:13 +0200 Subject: Hosts stop responding In-Reply-To: <200305271115.32961.bren@midco.net> References: <200305270925.09799.bren@midco.net> <1054050507.15175.119.camel@moishe> <200305271115.32961.bren@midco.net> Message-ID: <1054066571.15270.126.camel@moishe> Before restarting your Nagios server Network, I'd suggest to try to ping other servers and see what happend. If time out comes, this means that the trouble concern your nagios server. I've had some trouble with new NIC cards which was badly implemented according to driver. I've just change the NIC to an older but very well know and network was fine. The symptom was the network fails with no prediction, and I need to restart the network to see it alive again. HTH Regards Le mar 27/05/2003 ? 18:15, Brendon Colby a ?crit : > I have to restart networking on the Nagios machine. > > > On Tuesday 27 May 2003 10:50, Pascal Miquet wrote: > > Hi, > > > > You restart your network on which system ? The nagios server ? > > Regards > > > > Le mar 27/05/2003 ? 16:25, Brendon Colby a ?crit : > > > Greetings, > > > > > > We've had some weird issues with our Nagios machine suddenly not being > > > able to contact certain hosts. These hosts are up but we can't ping them > > > from the Nagios machine until networking is restarted (and there is no > > > pattern as to which host this happens to). Nagios reports these hosts as > > > down subsequently sending out alerts. I'm curious if anyone has > > > encountered this before. > > > > > > We are running Nagios 1.0 on Debian 3.0. > > > > > > Thanks. > > > > -- > Brendon Colby > Systems Administrator > Midcontinent Communications > ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Tue May 27 22:10:27 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 27 May 2003 22:10:27 +0200 Subject: Nagios for Dummies In-Reply-To: References: Message-ID: <1054052271.15175.121.camel@moishe> Hello, Mine is the same, and works fine for me. Are you sure that the $USER1$ directory exist and has right permissions ?? Regards Pascal Miquet Le mar 27/05/2003 ? 17:02, Fernando Gomes Lima a ?crit : > > Hi guys, > > I still receiving the error messages. Here is the message when i try to > start Nagios: > > Attached I'm sending the resource.cfg file and the output of > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > I appreciate to receive some help from you guys that work and has some > knowledge of Nagios instead others that use the list to sell services. I > work on security environment and always helped others (you can check on > phoneboy (list to Firewall-1 users)) in trouble situation. > > Best Regards, > - Fernando the dummy without shame to learn and ask ;-) > > > Nagios 1.0 > > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > > Last Modified: 11-24-2002 > > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/nagios/etc/resource.cfg' on line 24. > > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous version > of Nagios, you should be aware that some variables/definitions may have been > removed or modified in this version. Make sure to read the HTML > documentation on the main and host config files, as well as the 'Whats New' > section to find out what has changed. > > And on my resource.cfg (that has only one line uncommented (that's on 24th > line position)) has the following statement: > > ########################################################################### > # > # RESOURCE.CFG - Sample Resource File for Nagios 1.0 > # > # You can define $USERx$ macros in this file, which can in turn be used > # in command definitions in your host config file(s). $USERx$ macros are > # useful for storing sensitive information such as usernames, passwords, > # etc. They are also handy for specifying the path to plugins and > # event handlers - if you decide to move the plugins or event handlers to > # a different directory in the future, you can just update one or two > # $USERx$ macros, instead of modifying a lot of command definitions. > # > # The CGIs will not attempt to read the contents of resource files, so > # you can set restrictive permissions (600 or 660) on them. > # > # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) > # > # Resource files may also be used to store configuration directives for > # external data sources like MySQL... > # > ########################################################################### > # Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec <== Line 24!!! > # Sets $USER2$ to be the path to event handlers > #$USER2$=/usr/local/nagios/libexec/eventhandlers > # Store some usernames and passwords (hidden from the CGIs) > #$USER3$=someuser > #$USER4$=somepassword > > > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > ---- > > > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. > > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as the > 'Whats New' section to find out what has changed. > ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tsmith at court-jester.org Tue May 27 22:57:27 2003 From: tsmith at court-jester.org (Thom Smith) Date: 27 May 2003 13:57:27 -0700 Subject: Nagios with MRTG or MRTG with Nagios In-Reply-To: References: Message-ID: <1054069046.5078.99.camel@pc-thoms.clinicomp.com> There is a script written (APAN - apan.sourceforge.com) that takes the data and funnels it into RRD. RRD is the database engine that MRTG uses. With this, I've 'enhanced' status.c of nagios and have the graphs show up on the same page as the 'service status for host' page. Best of both worlds, I think. On Tue, 2003-05-27 at 13:07, Serveur-Faucon Surveillance wrote: > Hi all, > > I am currently using MRTG on a Windows2k server and Nagios on RedHat8 and was thinking to move the two on a RedHat8 machine. I am wondering if there is some people using both programs since MRTG does not really have a great notifying mechanism and since Nagios does not really have a nice graphical results, since insted of the numbers, you get green,yellow or red status. > > I know that the Nagmin author wants to integrate the everything in is next version, but it is not done yet. > > In theory, I think that the best way would be to use Nagios to pull the data (ping, query to clients, snmp to routers, etc) and then at each pull, throw the data to MRTG for process. > > So if there is someone in here using some kind of method, or even some better method, say so :) > Thanks. > > Alex > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoms at clinicomp.com Tue May 27 23:03:35 2003 From: thoms at clinicomp.com (Thom Smith) Date: 27 May 2003 14:03:35 -0700 Subject: Nagios with MRTG or MRTG with Nagios In-Reply-To: <1054069046.5078.99.camel@pc-thoms.clinicomp.com> References: <1054069046.5078.99.camel@pc-thoms.clinicomp.com> Message-ID: <1054069415.5087.101.camel@pc-thoms.clinicomp.com> DOH! The link is actually apan.sourceforge.net > There is a script written (APAN - apan.sourceforge.com) that takes the > data and funnels it into RRD. RRD is the database engine that MRTG > uses. With this, I've 'enhanced' status.c of nagios and have the graphs > show up on the same page as the 'service status for host' page. Best of > both worlds, I think. > > On Tue, 2003-05-27 at 13:07, Serveur-Faucon Surveillance wrote: > > Hi all, > > > > I am currently using MRTG on a Windows2k server and Nagios on RedHat8 and was thinking to move the two on a RedHat8 machine. I am wondering if there is some people using both programs since MRTG does not really have a great notifying mechanism and since Nagios does not really have a nice graphical results, since insted of the numbers, you get green,yellow or red status. > > > > I know that the Nagmin author wants to integrate the everything in is next version, but it is not done yet. > > > > In theory, I think that the best way would be to use Nagios to pull the data (ping, query to clients, snmp to routers, etc) and then at each pull, throw the data to MRTG for process. > > > > So if there is someone in here using some kind of method, or even some better method, say so :) > > Thanks. > > > > Alex > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Thom Smith ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 27 22:59:56 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 27 May 2003 15:59:56 -0500 Subject: Am I missing an option? : SOLVED Message-ID: Yup. It's already in the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=true jc > -----Original Message----- > From: Gareth Hash [mailto:fyzix at yahoo.com] > Sent: Tuesday, May 27, 2003 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Am I missing an option? : SOLVED > > > The cause of this problem was the same as that for hosts and services > intermittently disappearing. There was more than one nagios process > running at the same time, thereby causing conflicts. > > > --- Gareth Hash wrote: > > Hello. > > > > I am having some trouble with the log rotations. The current day's > > logs are fine in nagios.log . However when it comes time for a > > rotation, the file supposed to contain those logs in the archive is > > blank. So a file such as nagios-05-20-2003-00.log has just one line > > > > in it : [1053403200] LOG ROTATION: DAILY > > > > None of the logs recorded for that day are available. It is almost > > as > > if nagios.log is deleted BEFORE the contents are copied over to the > > archives, instead of the other way around. Or am I missing an > > option? > > > > > > I have the following set in nagios.cfg : > > > > log_rotation_method=d > > log_archive_path=/opt/nagios/var/archives > > > > > > This is on a critical server, and your earliest possible response > > would be greatly appreciated. > > > > Thank you for your time and attention. > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue May 27 23:09:41 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 27 May 2003 16:09:41 -0500 Subject: Completely Off Topic Message-ID: I'm with you on this, Lonny. I was on the firewalls mailing list for a number of years, and if there's one thing I learned, it was that "security through obscurity" is a Fundamentally Bad Thing. I seem to recall echos of similar concerns when the Open Source community encouraged sharing source code, and a similarly weak defence (citing Microsoft's 'black box' approach to "here's our software; trust us to have done it right") with the belief that such an approach is in the best interest of everyone. Some would suggest that we learn from history. Let's not return to our ostrich-head-in-the-sand approach. :) jc > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Tuesday, May 27, 2003 2:14 PM > To: VanZee, Timothy > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Completely Off Topic > > > Personally I think this is a great idea. The best way to > learn and understand how > vulnerabilities are created and work is to rip them apart. > First of all, writing a > worm or virus is extremely simple and they aren't going to be > seeding a new > generation of *cracker* types to write the next genius virus. > Hopefully a large > portion of any who attend are actually intelligent enough to > gain a better > understanding on how to take preventative measures against > attacks ... if you know > more about the weapon and ammunition you're better set up to > prevent getting hit. > > If we leave this knowledge only with those of us who seek it > out on our own to > learn, and in the hands of the wannabee's who feel some sick > obligation to an > underground generation of people trying to make some kind of > name for themselves, we > set ourselves up to rely on others to provide security > solutions for us rather then > take an active role in prevention. > > Lets face it, if someone really wanted to obtain and alter a > worm or trojan or any > other *bad* code, its as easy as searching google or forums > for existing *known bad* > source code and taking it from there (or hitting IRC). I'd > rather know more about > the course before signing off on it completely (who's > teaching it and why do they > feel they are qualified to do so etc) but I like the premis > ... controled > environment to further knowledge and hopefully add some > techie hacker (in the true > sense of the word) types to the white hat side > > :) > > > > -- > L > > > > > > > > > > The University of Calgary is offering a course in "Computer > Viruses and > > Malware". This would be a good course, however, in order to better > > inform them and give them more knowledge they are teaching > them how to > > code worms and Trojans. This is only my initial reaction > as I haven't > > really thought about it yet, but WHAT THE HECK ARE THEY THINKING? > > > > > > > > Just thought we don't need anymore work in trying to fight > off viruses > > and malicious attacks, so I wrote a brief note to the staff of the > > University of Calgary. > > > > President and Vice-Chancellor Dr. Harvey P. Weingarten > > (presoff at ucalgary.ca) > > > > Faculty of Science Dan Seneker (seneker at ucalgary.ca) > > > > Dr. John Aycock (aycock at cpsc.ucalgary.ca) > > > > > > > > Reactions or comments welcome. We can take this outside of the > > nagios-users forum. > > > > <\OT> > > > > > > > > > > > > Tim Van Zee > > > > ITS Network Specialist > > > > Governors State University > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 23:37:46 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 28 May 2003 09:37:46 +1200 Subject: Completely Off Topic References: <7F76AA41FC7DD5119B1E00508BAF0444A800B3@gsmail.govst.edu> Message-ID: <008301c32498$37d43970$b58031ca@bcl977307> all your universities are belong to us. :-) ----- Original Message ----- From: VanZee, Timothy To: nagios-users at lists.sourceforge.net Sent: Wednesday, May 28, 2003 6:23 AM Subject: [Nagios-users] Completely Off Topic The University of Calgary is offering a course in "Computer Viruses and Malware". This would be a good course, however, in order to better inform them and give them more knowledge they are teaching them how to code worms and Trojans. This is only my initial reaction as I haven't really thought about it yet, but WHAT THE HECK ARE THEY THINKING? Just thought we don't need anymore work in trying to fight off viruses and malicious attacks, so I wrote a brief note to the staff of the University of Calgary. President and Vice-Chancellor Dr. Harvey P. Weingarten (presoff at ucalgary.ca) Faculty of Science Dan Seneker (seneker at ucalgary.ca) Dr. John Aycock (aycock at cpsc.ucalgary.ca) Reactions or comments welcome. We can take this outside of the nagios-users forum. <\OT> Tim Van Zee ITS Network Specialist Governors State University ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b_2_o at hotmail.com Tue May 27 23:49:25 2003 From: b_2_o at hotmail.com (b_2_o) Date: 27 May 2003 21:49:25 -0000 Subject: error compiling nagios w/ mysql support: mysql_real_connect Message-ID: <20030527214925.14960.qmail@pod-163.dolphin-server.co.uk> Hello, when attempting to build nagios with mysql support, I receive the following error message: In function `xrddb_connect': ../xdata/xrddb.c:252: too many arguments to function `mysql_real_connect' The version of mysql that I am using is 3.23.56 The version of nagios is 1.0 gcc is version 3.2.2 running on redhat linux I used this to generate the makefiles: ./configure --prefix=/usr/local/nagios --with-cgiurl=/usr/local/nagios/sbin --with-htmurl=/usr/local/nagios/share --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-inc=/usr/include/mysql I have seen other people with problems compiling in the mysql support, but none seemed to be receiving this exact error any help would be much appreciated, thanx Robert ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Wed May 28 00:14:38 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 27 May 2003 18:14:38 -0400 Subject: Questin about nagios compilation Message-ID: <5.1.0.14.0.20030527181024.00b78d20@pop.icnet.com.ve> Hi, I have installed nagios, and it running very well, but I need compile with the --with-default-perfdata and --with-default-extinfo, but when I execute the following: ./configure --prefix=/usr/local/nagios --with-cgiu rl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagio s-grp=nagios --with-default-perfdata --with-default-extinfo appear the following error: *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. But I have installed the gd lib, libpng and libjpeg Any know what can I do for solve that? Thanks, Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 28 00:48:35 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 28 May 2003 00:48:35 +0200 Subject: [Nagiosplug-help] check an email mailbox In-Reply-To: <020b01c32495$2f38e250$0fca010a@wdnet.wdnet.com>; from rburton@wd-net.com on Tue, May 27, 2003 at 04:16:05PM -0500 References: <020b01c32495$2f38e250$0fca010a@wdnet.wdnet.com> Message-ID: <20030528004835.B1760@hpce.nec.com> On Tue, May 27, 2003 at 04:16:05PM -0500, Robert J. Burton wrote: > > Does anyone know if you can get Nagios to check a POP or IMAP mailbox > to see if there is unread mail in it (then notify of course)? Yes, I do know: Of course you can (generally speaking. I don't know about you personally). Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From proy at csu.edu.au Wed May 28 01:30:01 2003 From: proy at csu.edu.au (Philip Roy) Date: Wed, 28 May 2003 09:30:01 +1000 Subject: Nagios with MRTG or MRTG with Nagios In-Reply-To: References: Message-ID: <001701c324a7$e9a37d50$0100000a@ROYSYSLT> For what it is worth I wondered for a while over this one then settled for using Cricket (similar to MRTG uses RRDtool) and Nagios running independently on the same system. I simply don't have to worry about changes from Nagios impacting on the cricket setup. Phil. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Wednesday, 28 May 2003 6:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios with MRTG or MRTG with Nagios > > Hi all, > > I am currently using MRTG on a Windows2k server and Nagios on RedHat8 and > was thinking to move the two on a RedHat8 machine. I am wondering if there > is some people using both programs since MRTG does not really have a great > notifying mechanism and since Nagios does not really have a nice graphical > results, since insted of the numbers, you get green,yellow or red status. > > I know that the Nagmin author wants to integrate the everything in is next > version, but it is not done yet. > > In theory, I think that the best way would be to use Nagios to pull the > data (ping, query to clients, snmp to routers, etc) and then at each pull, > throw the data to MRTG for process. > > So if there is someone in here using some kind of method, or even some > better method, say so :) > Thanks. > > Alex > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 28 01:51:00 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 28 May 2003 09:51:00 +1000 Subject: PLEASE don't use HTML mail. Can we block it? In-Reply-To: ; from jcarro10@sprintspectrum.com on Tue, May 27, 2003 at 01:09:37PM -0500 References: Message-ID: <20030528095058.A23495@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter on a matter of some interest to me and say, On Tue, May 27, 2003 at 01:09:37PM -0500, Carroll, Jim P [Contractor] wrote: > Which of course would nail hand-cobbled comments which use > < ... >. Such as the ones that Mr Hopcroft uses. > Quite right. Prefixing paragraphs by tags such as is reasonably common. In any case, there are _far_ better ways to strip multi-part mail with HTML parts than the one proposed (perl -pe 's/<.*?>//gm'). (eg the one Randell Schwartz published in his column in SysAdmin mag in the last few years.) > If it bothers you so much, why don't you just add a mail filter > to your MTA or MUA? > Right on. Although from my point of view, regime change on the part of writers repudiating and renouncing sloppy expression and poor presentation is the means I favour. As others have said there are _many_ arguments against HTML including . reducing the likelihood of replies from those who find the cost of replying - editing mailcap or saving and firing up a browser - to HTML too expensive (HTML mail doesn't get read by me, unless I know the author has a history of saying useful things) . wasting bandwidth and _costing_ the reader more to open. Not everyone has cheap broadband. . search engines (such as gmane) may simply drop HTML letters. Why should they pay to convert it ? People must remember that a list is a society. Replies and Problem reports can be a blessing or a curse, to those who read the 'transactions' later with the same problem or question. One not only has to have something to say but to make sure that it is readable. Put another way, once the oustanding developers and contributors start using HTML mail, I will review my preferences. > jc > > 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 28 02:28:14 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 28 May 2003 01:28:14 +0100 Subject: Questin about nagios compilation In-Reply-To: <5.1.0.14.0.20030527181024.00b78d20@pop.icnet.com.ve> References: <5.1.0.14.0.20030527181024.00b78d20@pop.icnet.com.ve> Message-ID: <000001c324b0$06fb91a0$0400a8c0@squarebox.com> If you have the libs installed and they are not being found. I normally use the following ./configure --prefix=/usr/local/nagios --with-cgi-url=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-template-objects --with-gd-inc=/usr/include --with-gd-lib=/usr/lib Note the last two options specifying where gd libs and includes lives HTH Tom welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeyri Bautista Sent: 27 May 2003 23:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Questin about nagios compilation Hi, I have installed nagios, and it running very well, but I need compile with the --with-default-perfdata and --with-default-extinfo, but when I execute the following: ./configure --prefix=/usr/local/nagios --with-cgiu rl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagio s-grp=nagios --with-default-perfdata --with-default-extinfo appear the following error: *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. But I have installed the gd lib, libpng and libjpeg Any know what can I do for solve that? Thanks, Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 28 03:11:17 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 28 May 2003 11:11:17 +1000 Subject: Nagios with MRTG or MRTG with Nagios In-Reply-To: <001701c324a7$e9a37d50$0100000a@ROYSYSLT>; from proy@csu.edu.au on Wed, May 28, 2003 at 09:30:01AM +1000 References: <001701c324a7$e9a37d50$0100000a@ROYSYSLT> Message-ID: <20030528111114.D23495@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, May 28, 2003 at 09:30:01AM +1000, Philip Roy wrote: > For what it is worth I wondered for a while over this one then settled > for using Cricket (similar to MRTG uses RRDtool) and Nagios running > independently on the same system. that this seems to be the way to go for those seeking to . provide traffic stats (graphs especially) . alerts on traffic thresholds (presumably by having Nag services receive passive service check results from Cricket) . traffic history/persistence (in the RRDs managed by Cricket) Would you consider submitting an FAQ about this matter ? > I simply don't have to worry about > changes from Nagios impacting on the cricket setup. > > Phil. > > 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. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 04:10:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 27 May 2003 22:10:25 -0400 (EDT) Subject: SMTP/POP3 Critical In-Reply-To: <2e2401c32423$6e06caa0$0a01a8c0@gamma> References: <2e2401c32423$6e06caa0$0a01a8c0@gamma> Message-ID: The error seems to be on the FROM line being sent by the plugin. You did not mention which version of plugin... Can you try the -f option for a complete FROM line. -sg On Tue, 27 May 2003, Obantec Support wrote: > Hi > > Its RH7.2 on box that has issues > (IP's and real names changed to protect systems). > > Ok if manually run > > ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $? SMTP WARNING - 5 > second response time 1 > > then from RH7.2 box maillog (at level 15) > > May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of Nagios > Box] > May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN LOGIN > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220 > mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003 > 08:23:50 +0100 > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO proteus3 > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250 > mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM: > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2 > Syntax error in parameters scanning "FROM" > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0 > mail.mydomainhere.com closing connection > > > On working RH6.2 with older sendmail (8.10.2) > > ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout > after 10 seconds 2 > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP of > Nagios Box] > May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN LOGIN, > allowed mech=PLAIN LOGIN > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220 > mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003 > 08:33:04 +0100 > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1 > mail1.mydomainhere.com Lost input channel from [IP of Nagios Box] > May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did not > issue MAIL/EXPN/VRFY/ETRN during connection to MTA > > Mark > > ----- Original Message ----- > From: "Pascal Miquet" > To: "Obantec Support" > Cc: "Nagios users" > Sent: Tuesday, May 27, 2003 6:26 AM > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > Hello, > > > > Did you try to run manually the nagios command. Seems that this is your > > RH7.3 hosts which refuse the connection. I Suggest you to look the log > > files of your RH 7.3 > > > > HTH > > Regards > > Pascal Miquet > > > > > > Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > > > Hi > > > > > > First time posting to this list. > > > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux servers > > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > > > > > ***** Nagios 1.0 ***** > > > > > > Notification Type: PROBLEM > > > > > > Service: SMTP > > > Host: MCC > > > Address: (xxx.xxx.xxx.xxx) > > > State: CRITICAL > > > > > > Date/Time: Mon May 26 19:12:12 BST 2003 > > > > > > Additional Info: > > > > > > Connection refused by host > > > > > > Same for POP3 > > > > > > I have checked archive and see others with this problem but not found a > > > solution. > > > > > > Sendmail on MCC requires Auth using plain/login > > > > > > Sending box is RH8.0 and not on same IP range of ether of the 2 servers > > > being monitored. > > > > > > Any info? > > > > > > Mark > > > -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed May 28 04:44:21 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 28 May 2003 12:44:21 +1000 Subject: Parent/child host relationship In-Reply-To: ; from patrick_leboutillier@hotmail.com on Fri, May 23, 2003 at 08:17:12AM -0400 References: <1053617674.910.41.camel@pc-thoms.clinicomp.com> Message-ID: <20030528124417.F23495@IPAustralia.Gov.AU> Dear Sir, I am writing with a very important patch for your _extremely_ valuable and helpful NagiosConfig module. It seemed to me a good idea to have a CGI.pm front end to the Nag availability reports - the Nag interface is awkward in that I always want State Retention, Initial State, Backtrack=0 and that the start and end dates are a little tricky to complete (I would much rather have one front page to the report) - and the only snag to this is getting the service descriptions and hosts. Your wonderful module not only does it beautifully but much better than I can do. tsitc> diff -u NagiosConfig.pm.orig NagiosConfig.pm --- NagiosConfig.pm.orig Wed May 28 12:42:53 2003 +++ NagiosConfig.pm Wed May 28 12:41:37 2003 @@ -1,4 +1,18 @@ + + + package NagiosConfig ; + +# +# NagiosConfig by Patrick LeBoutillier () +# + +# my $cfg = new NagiosConfig("/usr/local/nagios/etc/nagios.cfg") ; + +# foreach my $h|$s (@{$cfg->{objects}->{host|service}}){ +# my @things = split(/\s*,\s*/, $h->{parents}) | print $s->{service_description} | print $s->{other_config_keys} ; +# ... +# } use strict ; Thank you very much, 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:27:05 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 27 May 2003 23:27:05 -0400 (EDT) Subject: NRPE and syslogd In-Reply-To: <3ECE8E60.5040400@techtvcorp.com> References: <3ECE8E60.5040400@techtvcorp.com> Message-ID: On Fri, 23 May 2003, Eric Blumenau wrote: > Greetings, > Each of my NRPE client boxes is logging each time my Nagios server > runs a check. This adds up and I don't need to know that the run went > off. I'll hear about it from Nagios! > Here is a sample line, one of thousands I see when I type 'dmesg'. > May 23 12:12:41 nrpe[13277]: [ID 927837 auth.info] > connect from > > I read all I could find about the nrpe.cfg file. Mine has a line > "debug=0" in it. Can I change this to reduce the amount of logging > through syslogd? > Let me know if you need more information. > debug=0 should turn off all syslog messages except errors. what version? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 06:10:03 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 28 May 2003 00:10:03 -0400 Subject: Definig Host with multiple Interfaces In-Reply-To: <200305271504.36291.Michael.Huettig@Medien-Systempartner.de> References: <200305271504.36291.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1054095003.28378.31.camel@miles.debisschop.net> On Tue, 2003-05-27 at 09:04, Michael H?ttig wrote: > Hi, > is there an ability, to define a host with a lot of interfaces, like a router > or a firewall? > > Our defaultGW-routers had 8 * E3, 8*ISDN-BRI, 4 ETH-Interfaces and i don't > want to define 12 Hosts, our firewall has 9 eth-interfaces, so it's a little > bit stupid, do define them all as single hosts. First I will note that Nagios actually does not care how you describe the Host IP. It can be '10.0.1.2' or 'localhost' or 'this_is_a_bogus_host_name'. Or more importantly for our purposes: 123.123.123.123,10.0.1.123 On its own, this may not help much. But the CVS for the plugins contains a version of check_ping that will read the above host IP list and check each interface in sequence until it finds one that is up. Extensions to other plugins could be made if a good argument were presented that it is generally useful. For my part, I actually want a host definition for each interface because SNMP is available on the internal 10.x.x.x interface and HTTP is not, whereas HTTP checks can only be made against the external interface. But each the interfaces are dependent on the host that represents the combination of all of the interfaces. So if all of the interfaces are down, then I notify that one host has failed, rather than getting separate notifications for each interface. Keep in mind that the above is somewhat new. In your example, what services would be checked? I guess that you would want a version of check_ping that failed if any of the interfaces were down (current behavior is to fail only if all interfaces are down). Beyond that, maybe you want check_snmp (and/or related plugins) to accept a list of IPs? If so should check_snmp probe all the IPs in the list? Somehow I think just the first. But of course, you can get that by defining a dependent host using the above configuration. And you can define ping checks for each for each individual interface under the parent host. So maybe with what is in CVS, you can do what you want. It does seem to me that the range of desired configurations has not yet been discussed fully enough for a simple answer to your question. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 06:13:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 28 May 2003 00:13:11 -0400 (EDT) Subject: Questin about nagios compilation In-Reply-To: <5.1.0.14.0.20030527181024.00b78d20@pop.icnet.com.ve> References: <5.1.0.14.0.20030527181024.00b78d20@pop.icnet.com.ve> Message-ID: ./configure --help It will tell you what optiopns to use to specify the location of your GD installation. -sg On Tue, 27 May 2003, Jeyri Bautista wrote: > Hi, > > I have installed nagios, and it running very well, but I need compile with > the --with-default-perfdata and > --with-default-extinfo, but when I execute the following: > > ./configure --prefix=/usr/local/nagios --with-cgiu > rl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios > --with-nagio > s-grp=nagios --with-default-perfdata --with-default-extinfo > > appear the following error: > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the GD, PNG, and JPEG libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > NOTE: If you can't get the configure script to recognize the GD libs > on your system, get over it and move on to other things. The > CGIs that use the GD libs are just a small part of the entire > Nagios package. Get everything else working first and then > revisit the problem. Make sure to check the nagios-users > mailing list archives for possible solutions to GD library > problems when you resume your troubleshooting. > > But I have installed the gd lib, libpng and libjpeg > > Any know what can I do for solve that? > > Thanks, > > Jeyri Bautista > -- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fks_nagios at sm-inter.net Wed May 28 11:13:44 2003 From: fks_nagios at sm-inter.net (Frank Stars) Date: Wed, 28 May 2003 11:13:44 +0200 Subject: missing http-plugin Message-ID: <3ED499E8.25853.60F228@localhost> Hi all, my Problem is, that nagios can't find the http-plugin (Return code of 127 is out of bounds - plugin may be missing). Someone tried to reinstall the apache-server. He had problems with the new installation, and he deleted everything that sounds like "http"... So he deleted some nagios-stuff, too. Now, the apache runs fine ;-) But nagios doesn't. I tried to reinstall the plugin-package, but still get the same error. Has anyone an idea? Thanks, Frank ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kristofml at catsanddogs.com Wed May 28 11:33:42 2003 From: kristofml at catsanddogs.com (kristofml) Date: Wed, 28 May 2003 11:33:42 +0200 Subject: services and scheduling Message-ID: <006801c324fc$3a31da10$46000a0a@xtof> Hi, I assume I'm missing something here. In my services file I define some services that need to be check every 5 (or 10) minutes. Doing this with: normal_check_interval 5 But if I look in my Scheduling Queue, those services are scheduled to be checked sometimes in 20 minutes or sometimes even more. Very weird because I expected them to be listed closely to each other and within a time frame of 5-10 minutes. (depending on the services) Is there anything I'm missing? I've used a default Nagios install (from source, on RH 8.0) and just added some hosts and services.. Thanks for any suggestions, Kristof. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Wed May 28 12:11:49 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 28 May 2003 12:11:49 +0200 Subject: missing http-plugin In-Reply-To: <3ED499E8.25853.60F228@localhost> References: <3ED499E8.25853.60F228@localhost> Message-ID: <1054116706.15157.213.camel@moishe> Did you check that the check_http is present in your nagios/libexec path. You then may run manually the chck_http command and see what happens .. HTH Le mer 28/05/2003 ? 11:13, Frank Stars a ?crit : > Hi all, > > my Problem is, that nagios can't find the http-plugin (Return code of > 127 is out of bounds - plugin may be missing). > > Someone tried to reinstall the apache-server. He had problems with > the new installation, and he deleted everything that sounds like > "http"... So he deleted some nagios-stuff, too. > > Now, the apache runs fine ;-) But nagios doesn't. > > I tried to reinstall the plugin-package, but still get the same error. > > Has anyone an idea? > > Thanks, > Frank ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davey at clack.org.uk Wed May 28 12:39:45 2003 From: davey at clack.org.uk (David Clack) Date: Wed, 28 May 2003 11:39:45 +0100 (BST) Subject: sytax for misccommands Message-ID: Hello, I want to setup a notify by sms text message misccommand. The program I use (scmxx) needs this input at the command line: /usr/local/bin/scmxx --send --sms --direct -t "a message" -n +123456789 In the text of the message, the "a message" part, I'd like to add $HOSTSTATE$ & $HOSTNAME$ macros etc.. also for the phone number, +123456789, I'd like to use $CONTACTPAGER$. Here's what I have in misccommands.cfg... # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/local/bin/scmxx --send --sms --direct -t "Nagios error" -n $CONTACTPAGER$ } I have my telephone number defined as pager in contacts.cfg. I'm not getting notified with this, I see in the event log that nagios has tried to notify me as I have this line: 28-05-2003 10:39:10] HOST NOTIFICATION: dave;dave;DOWN;host-notify-by-sms;/bin/ping -n -U -c 1 172.18.3.43 Could someone help with this? I'm sure it's the syntax of the misccommand but don't know where to look. Thanks Dave. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henry at solcon.nl Wed May 28 13:30:44 2003 From: henry at solcon.nl (Henry Langendoen) Date: Wed, 28 May 2003 13:30:44 +0200 Subject: sytax for misccommands Message-ID: <70A180F483A4D611B18600E0810285C40258B4@EXCHANGE> Hi Dave, We have done something simular with sms_client. It's important to see if you can run smcxx under the same user as nagios runs, i.e. user nagios. I had to set the s bit on sms_client for nagios to execute this binairy. Gook luck, Henry Langendoen The Netherlands -----Oorspronkelijk bericht----- Van: David Clack [mailto:davey at clack.org.uk] Verzonden: woensdag 28 mei 2003 12:40 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] sytax for misccommands Hello, I want to setup a notify by sms text message misccommand. The program I use (scmxx) needs this input at the command line: /usr/local/bin/scmxx --send --sms --direct -t "a message" -n +123456789 In the text of the message, the "a message" part, I'd like to add $HOSTSTATE$ & $HOSTNAME$ macros etc.. also for the phone number, +123456789, I'd like to use $CONTACTPAGER$. Here's what I have in misccommands.cfg... # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/local/bin/scmxx --send --sms --direct -t "Nagios error" -n $CONTACTPAGER$ } I have my telephone number defined as pager in contacts.cfg. I'm not getting notified with this, I see in the event log that nagios has tried to notify me as I have this line: 28-05-2003 10:39:10] HOST NOTIFICATION: dave;dave;DOWN;host-notify-by-sms;/bin/ping -n -U -c 1 172.18.3.43 Could someone help with this? I'm sure it's the syntax of the misccommand but don't know where to look. Thanks Dave. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Stock at Dregis.com Wed May 28 14:20:26 2003 From: Daniel.Stock at Dregis.com (Stock, Daniel) Date: Wed, 28 May 2003 14:20:26 +0200 Subject: (no subject) Message-ID: <729BFA3EBCCAD51197960008C7A47FB323CD66@ffz00za2.ffz00e.mail.dresdner.net> Hallo, I'm setting up a nagios server to monitor our test domain. I am having trouble with the check_ping modul. Here is some Information about how I've set it up and what's happening. Version: check_ping (nagios-plugins 1.3.0) 1.11 Command: ../libexec/check_ping -H defx0ybe -w 5 -c 10 -wpl 4 -pl Error Meldung: check_ping: %s: Warning threshold must be integer or percentage! I've tried setting the command with other variable but I haven't found one that works. I also check the documentation from nagios and the manual pages but couldn't find anything that seem to help. Could you look into the matter and tell me what the correct parameters for the command are? Or is there a update for the command that would help? Thank you in advance. Best regards / Mit freundlichen Gr??en Daniel Stock AGIS GB 2 - PES AG2PES02 Stresemannallee 36 Telefone +49 (0) 69 / 2 63 - 1 76 71 60627 Frankfurt / Main, Germany Mobil +49 (0) 173 / 37 485 34 Fax +49 (0) 69 / 2 63 - 1 99 59 E-Mail daniel.stock at dregis.com ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pascal.renaut at electricite-strasbourg.fr Wed May 28 14:37:42 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Wed, 28 May 2003 14:37:42 +0200 Subject: Check memory for AIX server Message-ID: Hi the nagios people, I would like to use a check to obtain memory (free or used) on AIX server I've seen in the nagios-plugins 1.3.0 beta 3 there are two check for this : check_mem.pl and check_memory but those not return corrects values Can you help me please Thanks in advance .................................................................................................... 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed May 28 14:41:28 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Wed, 28 May 2003 09:41:28 -0300 Subject: Nagios for Dummies In-Reply-To: <1054052271.15175.121.camel@moishe> References: <1054052271.15175.121.camel@moishe> Message-ID: Hi Pascal, Yes, the libexec directory exists and I set the permissions to 777 (I'm really desperate to discover why isn't working), and change the owner from root to Nagios. Is there anything else that I missing? Thanks, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Pascal Miquet Sent: ter?a-feira, 27 de maio de 2003 17:10 To: flima at slb.com Cc: Nagios users Subject: Re: [Nagios-users] Nagios for Dummies Hello, Mine is the same, and works fine for me. Are you sure that the $USER1$ directory exist and has right permissions ?? Regards Pascal Miquet Le mar 27/05/2003 ? 17:02, Fernando Gomes Lima a ?crit : > > Hi guys, > > I still receiving the error messages. Here is the message when i try to > start Nagios: > > Attached I'm sending the resource.cfg file and the output of > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > I appreciate to receive some help from you guys that work and has some > knowledge of Nagios instead others that use the list to sell services. I > work on security environment and always helped others (you can check on > phoneboy (list to Firewall-1 users)) in trouble situation. > > Best Regards, > - Fernando the dummy without shame to learn and ask ;-) > > > Nagios 1.0 > > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > > Last Modified: 11-24-2002 > > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/usr/local/nagios/etc/resource.cfg' on line 24. > > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous version > of Nagios, you should be aware that some variables/definitions may have been > removed or modified in this version. Make sure to read the HTML > documentation on the main and host config files, as well as the 'Whats New' > section to find out what has changed. > > And on my resource.cfg (that has only one line uncommented (that's on 24th > line position)) has the following statement: > > ########################################################################### > # > # RESOURCE.CFG - Sample Resource File for Nagios 1.0 > # > # You can define $USERx$ macros in this file, which can in turn be used > # in command definitions in your host config file(s). $USERx$ macros are > # useful for storing sensitive information such as usernames, passwords, > # etc. They are also handy for specifying the path to plugins and > # event handlers - if you decide to move the plugins or event handlers to > # a different directory in the future, you can just update one or two > # $USERx$ macros, instead of modifying a lot of command definitions. > # > # The CGIs will not attempt to read the contents of resource files, so > # you can set restrictive permissions (600 or 660) on them. > # > # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) > # > # Resource files may also be used to store configuration directives for > # external data sources like MySQL... > # > ########################################################################### > # Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec <== Line 24!!! > # Sets $USER2$ to be the path to event handlers > #$USER2$=/usr/local/nagios/libexec/eventhandlers > # Store some usernames and passwords (hidden from the CGIs) > #$USER3$=someuser > #$USER4$=somepassword > > > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > ---- > > > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. > > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as the > 'Whats New' section to find out what has changed. > ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 28 15:20:41 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 28 May 2003 15:20:41 +0200 Subject: (no subject) In-Reply-To: <729BFA3EBCCAD51197960008C7A47FB323CD66@ffz00za2.ffz00e.mail.dresdner.net>; from Daniel.Stock@Dregis.com on Wed, May 28, 2003 at 02:20:26PM +0200 References: <729BFA3EBCCAD51197960008C7A47FB323CD66@ffz00za2.ffz00e.mail.dresdner.net> Message-ID: <20030528152040.A5137@hpce.nec.com> Hello, On Wed, May 28, 2003 at 02:20:26PM +0200, Stock, Daniel wrote: > > Version: check_ping (nagios-plugins 1.3.0) 1.11 > Command: ../libexec/check_ping -H defx0ybe -w 5 -c 10 -wpl 4 -pl > Error Meldung: check_ping: %s: Warning threshold must be integer or > percentage! > > I've tried setting the command with other variable but I haven't found one > that works. I also check the documentation from nagios and the manual pages > but couldn't find anything that seem to help. don't try, read: ../libexec/check_ping -h ../etc/*cfg.sample (checkcommands.cfg-sample, services.cfg-sample) Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed May 28 16:07:43 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 28 May 2003 09:07:43 -0500 (CDT) Subject: Nagios for Dummies In-Reply-To: References: <1054052271.15175.121.camel@moishe> Message-ID: <4418.192.168.1.9.1054130863.squirrel@xyzzy.homeip.net> Fernando, Please post the line from nagios.cfg where "resource.cfg" is specified. Mine looks like this: resource_file=/var/www/nagios/etc/resource.cfg Does yours look like that? Is resource.cfg specified anywhere else, like as a configuration file? I think that might be your problem. - Mike > > Hi Pascal, > > Yes, the libexec directory exists and I set the permissions to 777 (I'm > really desperate to discover why isn't working), and change the owner from > root to Nagios. > > Is there anything else that I missing? > > Thanks, > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Pascal > Miquet > Sent: ter?a-feira, 27 de maio de 2003 17:10 > To: flima at slb.com > Cc: Nagios users > Subject: Re: [Nagios-users] Nagios for Dummies > > > Hello, > > Mine is the same, and works fine for me. > Are you sure that the $USER1$ directory exist and has right permissions > ?? > > Regards > Pascal Miquet > > Le mar 27/05/2003 ? 17:02, Fernando Gomes Lima a ?crit : >> >> Hi guys, >> >> I still receiving the error messages. Here is the message when i try to >> start Nagios: >> >> Attached I'm sending the resource.cfg file and the output of >> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg >> >> I appreciate to receive some help from you guys that work and has some >> knowledge of Nagios instead others that use the list to sell services. I >> work on security environment and always helped others (you can check on >> phoneboy (list to Firewall-1 users)) in trouble situation. >> >> Best Regards, >> - Fernando the dummy without shame to learn and ask ;-) >> >> >> Nagios 1.0 >> >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> >> Last Modified: 11-24-2002 >> >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file >> '/usr/local/nagios/etc/resource.cfg' on line 24. >> >> >> >> ***> One or more problems was encountered while processing the config >> files... >> >> Check your configuration file(s) to ensure that they contain valid >> directives and data defintions. If you are upgrading from a previous > version >> of Nagios, you should be aware that some variables/definitions may have > been >> removed or modified in this version. Make sure to read the HTML >> documentation on the main and host config files, as well as the 'Whats > New' >> section to find out what has changed. >> >> And on my resource.cfg (that has only one line uncommented (that's on 24th >> line position)) has the following statement: >> >> > ########################################################################### >> # >> # RESOURCE.CFG - Sample Resource File for Nagios 1.0 >> # >> # You can define $USERx$ macros in this file, which can in turn be used >> # in command definitions in your host config file(s). $USERx$ macros are >> # useful for storing sensitive information such as usernames, passwords, >> # etc. They are also handy for specifying the path to plugins and >> # event handlers - if you decide to move the plugins or event handlers to >> # a different directory in the future, you can just update one or two >> # $USERx$ macros, instead of modifying a lot of command definitions. >> # >> # The CGIs will not attempt to read the contents of resource files, so >> # you can set restrictive permissions (600 or 660) on them. >> # >> # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) >> # >> # Resource files may also be used to store configuration directives for >> # external data sources like MySQL... >> # >> > ########################################################################### >> # Sets $USER1$ to be the path to the plugins >> $USER1$=/usr/local/nagios/libexec <== Line 24!!! >> # Sets $USER2$ to be the path to event handlers >> #$USER2$=/usr/local/nagios/libexec/eventhandlers >> # Store some usernames and passwords (hidden from the CGIs) >> #$USER3$=someuser >> #$USER4$=somepassword >> >> >> Fernando Gomes >> SchlumbergerSema >> Network & Infrastructure Solutions >> Security Engineer >> flima at slb.com >> >> Trab: +55 21 3824 6954 >> Cel. : +55 21 9888 9046 >> (GMT: -03:00) >> >> >> ---- >> > >> >> Nagios 1.0 >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> Last Modified: 11-24-2002 >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file > '/usr/local/nagios/etc/resource.cfg' on line 24. >> >> >> ***> One or more problems was encountered while processing the config > files... >> >> Check your configuration file(s) to ensure that they contain valid >> directives and data defintions. If you are upgrading from a previous >> version of Nagios, you should be aware that some > variables/definitions >> may have been removed or modified in this version. Make sure to read >> the HTML documentation on the main and host config files, as well as > the >> 'Whats New' section to find out what has changed. >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:31:18 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 28 May 2003 10:31:18 -0500 Subject: Hosts with no services? Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E72DA@mismail.ena.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=t rue We do the same thing you have done. -- Marc > -----Original Message----- > From: John Senior [mailto:js at irishbroadband.ie] > Sent: Wednesday, May 28, 2003 10:19 AM > To: nagios-users at lists.sourceforge.net > > Hi there folks, > > I have a lot of hosts that I just want to ping and see if they > are alive - These are devices like switches, routers etc. that > I just want to know are 'alive.' What is the best way to > achieve this? At the moment I create a host and give it a > single service which is a ping, but this is rather redundant - > what does everyone else do? I have 100s of devices that are like > this, for the most part I don't even want alerts sent - just a visual > indication on the status page that there is a problem with these > hosts. > > I'd like to do this with Nagios if possible, if not, does anyone have > any suggestions for something more appropriate? > > All the best, > > John. > > -- > John Senior > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at deny.org Wed May 28 12:28:17 2003 From: james at deny.org (James Sizemore) Date: Wed, 28 May 2003 05:28:17 -0500 Subject: services and scheduling In-Reply-To: <006801c324fc$3a31da10$46000a0a@xtof> References: <006801c324fc$3a31da10$46000a0a@xtof> Message-ID: <3ED48F41.3080403@deny.org> check your "service_reaper_frequency=5" in nagios.cfg kristofml wrote: >Hi, > >I assume I'm missing something here. In my services file I define some >services that need to be check every 5 (or 10) minutes. Doing this with: >normal_check_interval 5 > >But if I look in my Scheduling Queue, those services are scheduled to be >checked sometimes in 20 minutes or sometimes even more. Very weird >because I expected them to be listed closely to each other and within a >time frame of 5-10 minutes. (depending on the services) > >Is there anything I'm missing? I've used a default Nagios install (from >source, on RH 8.0) and just added some hosts and services.. > > >Thanks for any suggestions, > >Kristof. > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed May 28 17:24:04 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Wed, 28 May 2003 12:24:04 -0300 Subject: Nagios for Dummies In-Reply-To: <4418.192.168.1.9.1054130863.squirrel@xyzzy.homeip.net> References: <4418.192.168.1.9.1054130863.squirrel@xyzzy.homeip.net> Message-ID: Hi all, thanks for all help! I could advance some steps. Here is what's going on and what I did: Mine it was resource_file=/usr/local/nagios/etc/resource.cfg And that's correct (once I use the same of manual and template). But still not working, then I take the nagios.cfg-template (created during Nagios compiling), and I make a copy overwriting the older nagios.cfg file. Then this problem stopped. I took both files (old one I had renamed to nagios.cfg.old), and put on software to compare lines, and this line it was the same!!!! I do no, why it wasn't working, and probably will never discover!!! ;-), but I'm glad that right now I'm the newbie Nagios user of community!!! Once more thanks for all that help me! I'll still working hard to make it a real good tool to monitoring (on lab first), to share this knowledge with my friends and co-workers! Best regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mike McClure Sent: quarta-feira, 28 de maio de 2003 11:08 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios for Dummies Fernando, Please post the line from nagios.cfg where "resource.cfg" is specified. Mine looks like this: resource_file=/var/www/nagios/etc/resource.cfg Does yours look like that? Is resource.cfg specified anywhere else, like as a configuration file? I think that might be your problem. - Mike > > Hi Pascal, > > Yes, the libexec directory exists and I set the permissions to 777 (I'm > really desperate to discover why isn't working), and change the owner from > root to Nagios. > > Is there anything else that I missing? > > Thanks, > Fernando Gomes > SchlumbergerSema > Network & Infrastructure Solutions > Security Engineer > flima at slb.com > > Trab: +55 21 3824 6954 > Cel. : +55 21 9888 9046 > (GMT: -03:00) > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Pascal > Miquet > Sent: ter?a-feira, 27 de maio de 2003 17:10 > To: flima at slb.com > Cc: Nagios users > Subject: Re: [Nagios-users] Nagios for Dummies > > > Hello, > > Mine is the same, and works fine for me. > Are you sure that the $USER1$ directory exist and has right permissions > ?? > > Regards > Pascal Miquet > > Le mar 27/05/2003 ? 17:02, Fernando Gomes Lima a ?crit : >> >> Hi guys, >> >> I still receiving the error messages. Here is the message when i try to >> start Nagios: >> >> Attached I'm sending the resource.cfg file and the output of >> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg >> >> I appreciate to receive some help from you guys that work and has some >> knowledge of Nagios instead others that use the list to sell services. I >> work on security environment and always helped others (you can check on >> phoneboy (list to Firewall-1 users)) in trouble situation. >> >> Best Regards, >> - Fernando the dummy without shame to learn and ask ;-) >> >> >> Nagios 1.0 >> >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> >> Last Modified: 11-24-2002 >> >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file >> '/usr/local/nagios/etc/resource.cfg' on line 24. >> >> >> >> ***> One or more problems was encountered while processing the config >> files... >> >> Check your configuration file(s) to ensure that they contain valid >> directives and data defintions. If you are upgrading from a previous > version >> of Nagios, you should be aware that some variables/definitions may have > been >> removed or modified in this version. Make sure to read the HTML >> documentation on the main and host config files, as well as the 'Whats > New' >> section to find out what has changed. >> >> And on my resource.cfg (that has only one line uncommented (that's on 24th >> line position)) has the following statement: >> >> > ########################################################################### >> # >> # RESOURCE.CFG - Sample Resource File for Nagios 1.0 >> # >> # You can define $USERx$ macros in this file, which can in turn be used >> # in command definitions in your host config file(s). $USERx$ macros are >> # useful for storing sensitive information such as usernames, passwords, >> # etc. They are also handy for specifying the path to plugins and >> # event handlers - if you decide to move the plugins or event handlers to >> # a different directory in the future, you can just update one or two >> # $USERx$ macros, instead of modifying a lot of command definitions. >> # >> # The CGIs will not attempt to read the contents of resource files, so >> # you can set restrictive permissions (600 or 660) on them. >> # >> # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) >> # >> # Resource files may also be used to store configuration directives for >> # external data sources like MySQL... >> # >> > ########################################################################### >> # Sets $USER1$ to be the path to the plugins >> $USER1$=/usr/local/nagios/libexec <== Line 24!!! >> # Sets $USER2$ to be the path to event handlers >> #$USER2$=/usr/local/nagios/libexec/eventhandlers >> # Store some usernames and passwords (hidden from the CGIs) >> #$USER3$=someuser >> #$USER4$=somepassword >> >> >> Fernando Gomes >> SchlumbergerSema >> Network & Infrastructure Solutions >> Security Engineer >> flima at slb.com >> >> Trab: +55 21 3824 6954 >> Cel. : +55 21 9888 9046 >> (GMT: -03:00) >> >> >> ---- >> > >> >> Nagios 1.0 >> Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) >> Last Modified: 11-24-2002 >> License: GPL >> >> Reading configuration data... >> >> Error: Unexpected token or statement in file > '/usr/local/nagios/etc/resource.cfg' on line 24. >> >> >> ***> One or more problems was encountered while processing the config > files... >> >> Check your configuration file(s) to ensure that they contain valid >> directives and data defintions. If you are upgrading from a previous >> version of Nagios, you should be aware that some > variables/definitions >> may have been removed or modified in this version. Make sure to read >> the HTML documentation on the main and host config files, as well as > the >> 'Whats New' section to find out what has changed. >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Wed May 28 17:19:28 2003 From: js at irishbroadband.ie (John Senior) Date: Wed, 28 May 2003 16:19:28 +0100 Subject: Hosts with no services? Message-ID: Hi there folks, I have a lot of hosts that I just want to ping and see if they are alive - These are devices like switches, routers etc. that I just want to know are 'alive.' What is the best way to achieve this? At the moment I create a host and give it a single service which is a ping, but this is rather redundant - what does everyone else do? I have 100s of devices that are like this, for the most part I don't even want alerts sent - just a visual indication on the status page that there is a problem with these hosts. I'd like to do this with Nagios if possible, if not, does anyone have any suggestions for something more appropriate? All the best, John. -- John Senior ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b_2_o at hotmail.com Wed May 28 18:05:14 2003 From: b_2_o at hotmail.com (b_2_o) Date: 28 May 2003 16:05:14 -0000 Subject: error compiling nagios w/ mysql support: mysql_real_connect Message-ID: <20030528160514.1510.qmail@pod-163.dolphin-server.co.uk> well, I figured maybe my problem was having an older version of mysql so I upgraded to 4.0.13 and it got rid of the compile errors, but now I am getting link errors up the wazoo.. curiously, the configure script claims, and I quote: checking for main in -lmysqlclient... yes MySQL library was found! indeed, the libraries are all there: ls /usr/lib/mysql/ libdbug.a libmyisam.a libmysqlclient.la libmystrings.a libvio.a libheap.a libmyisammrg.a libmysqlclient_r.a libmysys.a mysqld.sym libmerge.a libmysqlclient.a libmysqlclient_r.la libnisam.a attached is a dump of the output of "make all", basically lots of repetitions of things like this: perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/ccHTevSb.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/ccHTevSb.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' anyone out there have any ideas what I am doing wrong? Thanks for any help, Robert -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make_all_dump.txt URL: From RValentine at irmc.com Wed May 28 17:56:55 2003 From: RValentine at irmc.com (Valentine, Ray) Date: Wed, 28 May 2003 11:56:55 -0400 Subject: Hosts with no services? Message-ID: <79E13F8CBEF47A408373A7EA92C96DCB0529BE47@EXCH1.us.ad.irmc.com> I set up a service for ping and give it a "*" for the host, this way everyone gets pinged but all I have to do is a host definition. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, May 28, 2003 11:31 AM To: John Senior; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts with no services? http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=t rue We do the same thing you have done. -- Marc > -----Original Message----- > From: John Senior [mailto:js at irishbroadband.ie] > Sent: Wednesday, May 28, 2003 10:19 AM > To: nagios-users at lists.sourceforge.net > > Hi there folks, > > I have a lot of hosts that I just want to ping and see if they > are alive - These are devices like switches, routers etc. that > I just want to know are 'alive.' What is the best way to > achieve this? At the moment I create a host and give it a > single service which is a ping, but this is rather redundant - > what does everyone else do? I have 100s of devices that are like > this, for the most part I don't even want alerts sent - just a visual > indication on the status page that there is a problem with these > hosts. > > I'd like to do this with Nagios if possible, if not, does anyone have > any suggestions for something more appropriate? > > All the best, > > John. > > -- > John Senior > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Wed May 28 18:07:52 2003 From: js at irishbroadband.ie (John Senior) Date: Wed, 28 May 2003 17:07:52 +0100 Subject: Hosts with no services? In-Reply-To: <79E13F8CBEF47A408373A7EA92C96DCB0529BE47@EXCH1.us.ad.irmc.com> References: <79E13F8CBEF47A408373A7EA92C96DCB0529BE47@EXCH1.us.ad.irmc.com> Message-ID: That's a neat way to do it - is there any way you can exclude particular hosts if you ever needed to? I'm not much of a programmer so I won't be doing it myself, but I would love to see the 'serviceless' host added to Nagios - the number of hosts that I simply 'ping monitor' _far_ outweighs the number of more complex hosts (by a factor of 100:1 or more!). Cheers, John. -- John Senior > -----Original Message----- > From: Valentine, Ray [mailto:RValentine at irmc.com] > Sent: 28 May 2003 16:57 > To: Marc Powell; John Senior; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > > I set up a service for ping and give it a "*" for the host, > this way everyone gets pinged but all I have to do is a > host definition. > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, May 28, 2003 11:31 AM > To: John Senior; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=fals > e&showdesc=t > rue > > We do the same thing you have done. > > -- > Marc > > > -----Original Message----- > > From: John Senior [mailto:js at irishbroadband.ie] > > Sent: Wednesday, May 28, 2003 10:19 AM > > To: nagios-users at lists.sourceforge.net > > > > Hi there folks, > > > > I have a lot of hosts that I just want to ping and see if they > > are alive - These are devices like switches, routers etc. that > > I just want to know are 'alive.' What is the best way to > > achieve this? At the moment I create a host and give it a > > single service which is a ping, but this is rather redundant - > > what does everyone else do? I have 100s of devices that are like > > this, for the most part I don't even want alerts sent - > just a visual > > indication on the status page that there is a problem with these > > hosts. > > > > I'd like to do this with Nagios if possible, if not, does > anyone have > > any suggestions for something more appropriate? > > > > All the best, > > > > John. > > > > -- > > John Senior > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your > application fit in a > > relational database is painful, don't do it! Check out > ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed May 28 19:29:41 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 28 May 2003 12:29:41 -0500 Subject: Hosts with no services? Message-ID: Workable. But as I've said before on the list, if you have a host connected to the network and it's not providing a service, why have it connected to the network at all? The answer: Because it *is* providing a service. All you need to do is figure out at least one service that you'd like to monitor, and go from there. Otherwise, you could be adding rocks which are ICMP-aware to your network, to the same net/net effect. Just my $0.02. jc > -----Original Message----- > From: John Senior [mailto:js at irishbroadband.ie] > Sent: Wednesday, May 28, 2003 11:08 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hosts with no services? > > > That's a neat way to do it - is there any way you can exclude > particular hosts if you ever needed to? > > I'm not much of a programmer so I won't be doing it myself, but > I would love to see the 'serviceless' host added to Nagios - the > number of hosts that I simply 'ping monitor' _far_ outweighs > the number of more complex hosts (by a factor of 100:1 or more!). > > Cheers, > > John. > > -- > John Senior > > > -----Original Message----- > > From: Valentine, Ray [mailto:RValentine at irmc.com] > > Sent: 28 May 2003 16:57 > > To: Marc Powell; John Senior; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > I set up a service for ping and give it a "*" for the host, > > this way everyone gets pinged but all I have to do is a > > host definition. > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, May 28, 2003 11:31 AM > > To: John Senior; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Hosts with no services? > > > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=fals > > e&showdesc=t > > rue > > > > We do the same thing you have done. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: John Senior [mailto:js at irishbroadband.ie] > > > Sent: Wednesday, May 28, 2003 10:19 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > Hi there folks, > > > > > > I have a lot of hosts that I just want to ping and see if they > > > are alive - These are devices like switches, routers etc. that > > > I just want to know are 'alive.' What is the best way to > > > achieve this? At the moment I create a host and give it a > > > single service which is a ping, but this is rather redundant - > > > what does everyone else do? I have 100s of devices that are like > > > this, for the most part I don't even want alerts sent - > > just a visual > > > indication on the status page that there is a problem with these > > > hosts. > > > > > > I'd like to do this with Nagios if possible, if not, does > > anyone have > > > any suggestions for something more appropriate? > > > > > > All the best, > > > > > > John. > > > > > > -- > > > John Senior > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ObjectStore. > > > If flattening out C++ or Java code to make your > > application fit in a > > > relational database is painful, don't do it! Check out > > ObjectStore. > > > Now part of Progress Software. > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bren at midco.net Wed May 28 20:31:29 2003 From: bren at midco.net (Brendon Colby) Date: Wed, 28 May 2003 13:31:29 -0500 Subject: Hosts stop responding In-Reply-To: <1054066571.15270.126.camel@moishe> References: <200305270925.09799.bren@midco.net> <200305271115.32961.bren@midco.net> <1054066571.15270.126.camel@moishe> Message-ID: <200305281331.29746.bren@midco.net> The server is reachable and can ping other hosts except the few that incorrectly show down. This is why the issue is so unusual. Our servers have built in Intel Ethernet Pro 100s which AFAIK are rock solid (and we've had no troubles with other highly loaded servers). On Tuesday 27 May 2003 15:16, Pascal Miquet wrote: > Before restarting your Nagios server Network, I'd suggest to try to ping > other servers and see what happend. > > If time out comes, this means that the trouble concern your nagios > server. > I've had some trouble with new NIC cards which was badly implemented > according to driver. I've just change the NIC to an older but very well > know and network was fine. > > The symptom was the network fails with no prediction, and I need to > restart the network to see it alive again. > > HTH > Regards > > Le mar 27/05/2003 ? 18:15, Brendon Colby a ?crit : > > I have to restart networking on the Nagios machine. > > > > On Tuesday 27 May 2003 10:50, Pascal Miquet wrote: > > > Hi, > > > > > > You restart your network on which system ? The nagios server ? > > > Regards > > > > > > Le mar 27/05/2003 ? 16:25, Brendon Colby a ?crit : > > > > Greetings, > > > > > > > > We've had some weird issues with our Nagios machine suddenly not > > > > being able to contact certain hosts. These hosts are up but we can't > > > > ping them from the Nagios machine until networking is restarted (and > > > > there is no pattern as to which host this happens to). Nagios reports > > > > these hosts as down subsequently sending out alerts. I'm curious if > > > > anyone has encountered this before. > > > > > > > > We are running Nagios 1.0 on Debian 3.0. > > > > > > > > Thanks. > > > > -- > > Brendon Colby > > Systems Administrator > > Midcontinent Communications > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Brendon Colby Systems Administrator Midcontinent Communications ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 20:26:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 28 May 2003 14:26:08 -0400 (EDT) Subject: (no subject) In-Reply-To: <729BFA3EBCCAD51197960008C7A47FB323CD66@ffz00za2.ffz00e.mail.dresdner.net> References: <729BFA3EBCCAD51197960008C7A47FB323CD66@ffz00za2.ffz00e.mail.dresdner.net> Message-ID: On Wed, 28 May 2003, Stock, Daniel wrote: > Hallo, > > I'm setting up a nagios server to monitor our test domain. > I am having trouble with the check_ping modul. Here is some Information > about how I've set it up and what's happening. > > Version: check_ping (nagios-plugins 1.3.0) 1.11 > Command: ../libexec/check_ping -H defx0ybe -w 5 -c 10 -wpl 4 -pl > Error Meldung: check_ping: %s: Warning threshold must be integer or > percentage! > > I've tried setting the command with other variable but I haven't found one > that works. I also check the documentation from nagios and the manual pages > but couldn't find anything that seem to help. > > Could you look into the matter and tell me what the correct parameters for > the command are? Or is there a update for the command that would help? > check_ping -h for command syntax help -wpl and -pl look very suspicious -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Wed May 28 21:05:30 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Wed, 28 May 2003 15:05:30 -0400 Subject: Scheduling Queue, Reloads, and Stale service checks Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279CD4@nyrofcs2kexch01.east.frontiercorp.com> I have noticed when you restart Nagios or reload the configuration using the init script, the scheduling queue starts from the beginning. I believe this is causing stale service checks on the services that have not been checked because the queue starts over rather than retains state. Scenario: You have hosts A..Z with ten services on each that Nagios is checking. Your service_interleave_factor is set to "s" and the bin/nagios -s etc/nagios.cfg is giving a value of 5. Nagios checks 5 services on each host. You restart or reload Nagios, the scheduling queue rechecks the 5 that already have been checked before the reload. >From what I can see, Nagios starts with host A again and the first 5 services. Is anyone else having this problem? Is there a setting(s) that I have missed in nagios.cfg? Suggestions will be appreciated. Thanks, John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.gadot at epscorp.com Wed May 28 21:55:02 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 28 May 2003 15:55:02 -0400 Subject: Alert by Email AND Pager Message-ID: <1054151702.3469.57.camel@localhost> Hi ! Is there a way to receive the alert if a host is down, by email AND pager, knowing that: In my hostgroups.cfg file, the contact_group for this group is EMAIL. PAGER is in the services.cfg file. It seems that when this host is down, I receive only an email an no pager. If a host is down, then the services are not checked ? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Wed May 28 23:14:40 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Wed, 28 May 2003 17:14:40 -0400 Subject: NagMIN NULL Problem - New release Friday Message-ID: <8F807B93637B104F96D6A4D187408C0D0AAF66@infocoex2.infosysinc.com> All, I've located the problem with NULL. The problem was two-fold, first, NagMIN tries to use command line MySQL if the DBI isn't installed. This returns a NULL string instead of a NULL character. There's also a problem with the perl eval command working differently on FreeBSD so it used command line even if DBI was installed. The bottom line is that I've fixed it and the next release should be out by Friday. I'm working on the setup script for new installations (particularly FreeBSD since I'm moving off of RedHat). On FreeBSD you should be able to pkg_add -r nagios and then install NagMIN. NagMIN will give you the option to load in the sample database and create the configuration files for you so that you don't have to manually edit the samples. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com -----Original Message----- From: Travis Llewellyn [mailto:travisll at comfedcu.org] Sent: Wednesday, May 28, 2003 4:53 PM To: Fred Reimers Subject: RE: [Nagios-users] NagMIN Update Information - Releases - Beta - French Fred, I thought I would give you an update. No matter what I do I still get this. The commands and contacts are actually there they just do not show up in the Nagmin Webmin interface. I can see them if I edit the command or contact but they will not display any other way. Just fyi. If you need anything please let me know. Travis -----Original Message----- From: Fred Reimers [mailto:FReimers at infosysinc.com] Sent: Wednesday, May 07, 2003 1:11 PM To: Travis Llewellyn Cc: nagios-users at lists.sourceforge.net 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 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed May 28 23:04:22 2003 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 May 2003 16:04:22 -0500 Subject: qpage notifications in log, but never sent Message-ID: <20030528160422.A7396@bennyvision.com> Hey folks, I've recently seen a very preplexing (and dangerous) problem creeping up on my Nagios machines. I use qpage to deliver alphapages via TAP/IXO, and until recently (in the last few weeks, I've seen more and more oddities) it's been working flawlessly. However, I'm now at a point where Nagios will pretend it is submitting a page, but the page is never placed in the qpage queue for delivery. Here is an example from the syslog, sorry about the linewrap: May 28 14:46:52 host nagios: SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] And here is the same entry in the nagios.log: [1054151212] SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] Obviously, Nagios thinks it did The Right Thing(tm). But, checking the daemon log (which qpage logs to), nothing is submitted. I also manually checked the qpage queue - nothing. And here is the really scary thing - it's happening on two different machines, using two different TAP/IXO numbers, sharing _nothing_ in common but the Nagios and qpage version numbers. Vital stats: Nagios server OS: OpenBSD 3.1-STABLE, OpenBSD 3.3-STABLE Nagios server: Plenty of CPU, disk, RAM, no evidence of resource exhaustion, anything Qpage version: 3.3 Nagios version: 1.0 Plugins version: 1.3.0 qpage-alert definition from misccommands.cfg: # 'qpage-alert' command definition define command{ command_name qpage-alert command_line /usr/local/bin/qpage -P $CONTACTNAME$ -f "AMWNAGIOS " $HOSTNAME$: $SERVICEDESC$ $OUTPUT$ } Sending a page manually as the nagios user using the exact same format as above _does_ work. In fact, I've tried many different methods of using qpage to send a page, and all of them work. It's just the pages that Nagios tries to (and thinks it did) send don't ever reach the qpage queue. I'm boggled over this one... I'm probably going to rebuild Nagios with higher DEBUG options and see what happens - any recommendations on which debug level to try? This is critical for me to fix - not being alerted to problems in my environment is a Not Good Thing(tm). ;) Thanks much! Benny ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed May 28 23:58:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 28 May 2003 17:58:11 -0400 (EDT) Subject: qpage notifications in log, but never sent In-Reply-To: <20030528160422.A7396@bennyvision.com> References: <20030528160422.A7396@bennyvision.com> Message-ID: try wrapping the command in a shell script and logging all parameters before qpage invocation and the the qpage return value. The parameters should match the logged values. Check the return code on the qpage call. It should help before you start running in debug mode. -sg On Wed, 28 May 2003, C. Bensend wrote: > > Hey folks, > > I've recently seen a very preplexing (and dangerous) > problem creeping up on my Nagios machines. > > I use qpage to deliver alphapages via TAP/IXO, and until > recently (in the last few weeks, I've seen more and more oddities) > it's been working flawlessly. > > However, I'm now at a point where Nagios will pretend it > is submitting a page, but the page is never placed in the qpage > queue for delivery. Here is an example from the syslog, sorry > about the linewrap: > > May 28 14:46:52 host nagios: SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] > > And here is the same entry in the nagios.log: > > [1054151212] SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] > > Obviously, Nagios thinks it did The Right Thing(tm). But, > checking the daemon log (which qpage logs to), nothing is submitted. > I also manually checked the qpage queue - nothing. And here is the > really scary thing - it's happening on two different machines, using > two different TAP/IXO numbers, sharing _nothing_ in common but the > Nagios and qpage version numbers. > > > Vital stats: > > Nagios server OS: OpenBSD 3.1-STABLE, OpenBSD 3.3-STABLE > Nagios server: Plenty of CPU, disk, RAM, no evidence of resource > exhaustion, anything > Qpage version: 3.3 > Nagios version: 1.0 > Plugins version: 1.3.0 > > qpage-alert definition from misccommands.cfg: > > # 'qpage-alert' command definition > define command{ > command_name qpage-alert > command_line /usr/local/bin/qpage -P $CONTACTNAME$ -f "AMWNAGIOS > " $HOSTNAME$: $SERVICEDESC$ $OUTPUT$ > } > > > Sending a page manually as the nagios user using the exact same > format as above _does_ work. In fact, I've tried many different methods > of using qpage to send a page, and all of them work. It's just the > pages that Nagios tries to (and thinks it did) send don't ever reach the > qpage queue. > > I'm boggled over this one... I'm probably going to rebuild > Nagios with higher DEBUG options and see what happens - any recommendations > on which debug level to try? This is critical for me to fix - not being > alerted to problems in my environment is a Not Good Thing(tm). ;) > > Thanks much! > > Benny > -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlagazo at alterna.com Wed May 28 23:53:09 2003 From: rlagazo at alterna.com (Robert Lagazo) Date: Wed, 28 May 2003 15:53:09 -0600 Subject: Trends & SQLServer Message-ID: Hi all, I'm new here and after checking all previous emails and the Nagios FAQs, I didn't find what I'm looking for. 1) My nagios is up and running smoothly, the only problem is that I can't get TRENDS and HISTOGRAM to work. I followed the FAQs, but apparently trends.cgi and histogram.cgi don't exist. All required libraries are installed. How can I create these 2 cgi files? 2) Anyone out there knows how I can get a hold of an MS SQLServer plugin? Thanks!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From twebster at daksoft.com Thu May 29 00:57:51 2003 From: twebster at daksoft.com (twebster at daksoft.com) Date: Wed, 28 May 2003 16:57:51 -0600 Subject: qpage notifications in log, but never sent In-Reply-To: <20030528160422.A7396@bennyvision.com> References: <20030528160422.A7396@bennyvision.com> Message-ID: I use the following for my command_line command_line /usr/local/bin/qpage -p $CONTACTPAGER$ -f $HOSTNAME -s nagios_server_name " $HOSTNAME$ $NOTIFICATIONTYPE$ $SERVICEDESC $ $SERVICESTATE$ $OUTPUT$ $HOSTADDRESS" and it works great. I believe you may need double quotes around the entire qpage message. Tony |---------+----------------------------------------> | | "C. Bensend" | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 05/28/2003 03:04 PM | |---------+----------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] qpage notifications in log, but never sent | >------------------------------------------------------------------------------------------------------------------------------| Hey folks, I've recently seen a very preplexing (and dangerous) problem creeping up on my Nagios machines. I use qpage to deliver alphapages via TAP/IXO, and until recently (in the last few weeks, I've seen more and more oddities) it's been working flawlessly. However, I'm now at a point where Nagios will pretend it is submitting a page, but the page is never placed in the qpage queue for delivery. Here is an example from the syslog, sorry about the linewrap: May 28 14:46:52 host nagios: SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] And here is the same entry in the nagios.log: [1054151212] SERVICE NOTIFICATION: benny;host;/var;OK;qpage-alert;DISK OK - [85413 kB (35%) free on /dev/sd0d] Obviously, Nagios thinks it did The Right Thing(tm). But, checking the daemon log (which qpage logs to), nothing is submitted. I also manually checked the qpage queue - nothing. And here is the really scary thing - it's happening on two different machines, using two different TAP/IXO numbers, sharing _nothing_ in common but the Nagios and qpage version numbers. Vital stats: Nagios server OS: OpenBSD 3.1-STABLE, OpenBSD 3.3-STABLE Nagios server: Plenty of CPU, disk, RAM, no evidence of resource exhaustion, anything Qpage version: 3.3 Nagios version: 1.0 Plugins version: 1.3.0 qpage-alert definition from misccommands.cfg: # 'qpage-alert' command definition define command{ command_name qpage-alert command_line /usr/local/bin/qpage -P $CONTACTNAME$ -f "AMWNAGIOS " $HOSTNAME$: $SERVICEDESC$ $OUTPUT$ } Sending a page manually as the nagios user using the exact same format as above _does_ work. In fact, I've tried many different methods of using qpage to send a page, and all of them work. It's just the pages that Nagios tries to (and thinks it did) send don't ever reach the qpage queue. I'm boggled over this one... I'm probably going to rebuild Nagios with higher DEBUG options and see what happens - any recommendations on which debug level to try? This is critical for me to fix - not being alerted to problems in my environment is a Not Good Thing(tm). ;) Thanks much! Benny ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu May 29 05:08:46 2003 From: benny at bennyvision.com (C. Bensend) Date: Wed, 28 May 2003 22:08:46 -0500 Subject: qpage notifications in log, but never sent In-Reply-To: ; from twebster@daksoft.com on Wed, May 28, 2003 at 04:57:51PM -0600 References: <20030528160422.A7396@bennyvision.com> Message-ID: <20030528220846.A23980@bennyvision.com> On Wed, May 28, 2003 at 04:57:51PM -0600, twebster at daksoft.com wrote: > > I use the following for my command_line > > command_line /usr/local/bin/qpage -p $CONTACTPAGER$ -f $HOSTNAME -s > nagios_server_name " $HOSTNAME$ $NOTIFICATIONTYPE$ $SERVICEDESC > $ $SERVICESTATE$ $OUTPUT$ $HOSTADDRESS" > > and it works great. > > I believe you may need double quotes around the entire qpage message. Hey Tony, While I can certainly try this tomorrow when I'm back in the office, I think my problem is much more insidious than this. My Nagios servers have been running for _months_, sending pages happily. It is only in the last .. oh .. maybe 6-8 weeks that things started to flake out? I might not have been clear about this in my first post: the failures are not consistant. In fact, not 20 minutes after I sent the first email, two of my servers sent me successful pages (as if to spite me). ;) And before you blame the paging service, remember that nothing is landing in the qpage queue. :) Already thought of that one... I have also reinstalled qpage and Nagios both. Thanks folks! Benny ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Thu May 29 08:29:45 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Thu, 29 May 2003 08:29:45 +0200 Subject: Network Traffic In-Reply-To: <352B04312822444A962714393AED8A4D96A8E7@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D96A8E7@ADAEVS01.int.chickasaw.net> Message-ID: <3ED5A8D9.70904@etsetb.upc.es> Jeremy Russell wrote: >>>APAN for network traffic/utilization. What plugins, config, etc, If >> You can find how to do it in the apan howto. >> http://apan.sourceforge.net/doc/howto.html#net > Thanks, but will this work with any snmp enabled host, such as Cisco > gear. > The Network Load check works for the cisco stuff also. You only have to find out the snmp OIDs doing a snmpwalk. Say you want to check the status of a Giga Ethernet device in the cisco thingie: # snmpwalk -v 1 -c public HOSTNAME | grep ifDescr | more 1.- search for the description of the interfaces: IF-MIB::ifDescr.2 = STRING: GigabitEthernet1 2.- Now, find out the OIDs for the interfaces for input and output data. # snmptranslate -O n IF-MIB::ifInOctets.2 .1.3.6.1.2.1.2.2.1.10.2 # snmptranslate -O n IF-MIB::ifOutOctets.2 .1.3.6.1.2.1.2.2.1.16.2 3.- Then add to apan.cfg HOSTNAME;gb1;/usr/lib/nagios/rrd/HOSTNAME_gb1.rrd;public:.1.3.6.1.2.1.2.2.1.10.2|public:.1.3.6.1.2.1.2.2.1.16.2;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sek; ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.castillo at euroview-spain.com Thu May 29 10:25:38 2003 From: javier.castillo at euroview-spain.com (Javier Castillo Alcibar) Date: Thu, 29 May 2003 10:25:38 +0200 Subject: Upgrading from Netsaint 0.0.7 Message-ID: <9287F37B80413743823EC736B51CC07179771C@ALHM1SRV.alhpridom.as> Hi list!, I have two Netsaint 0.0.7 running since last year. Now, I'd purchase a new box, and I would like to install nagios on it, but I don't want to lost historical info stored in the netsaint machines..... Is there any script/method to do this??. thx in advance. Javier. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at obantec.net Thu May 29 11:03:51 2003 From: support at obantec.net (Obantec Support) Date: Thu, 29 May 2003 10:03:51 +0100 Subject: SMTP/POP3 Critical References: Message-ID: <40cb01c325c1$3c8ec050$0a01a8c0@gamma> Hi input [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c 10 -f support at mydomainhere.com; echo $? SMTP WARNING - 6 second response time 1 log May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of Nagios Box] May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220 relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003 09:17:37 +0100 May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO proteus3 May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 relay.obantec.net Hello [IP of Nagios Box], pleased to meet you May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM: support at mydomainhere.com May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0 support at mydomainhere.com... Sender ok May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0 relay.mydomainhere.net closing connection May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=[IP of Nagios Box] As to the versions well i just downloaded the code and using check_smtp -V reveals check_smtp (nagios-plugins 200211131100-snapshot) 1.8 mark ----- Original Message ----- From: "Subhendu Ghosh" To: Sent: Wednesday, May 28, 2003 3:10 AM Subject: Re: [Nagios-users] SMTP/POP3 Critical > The error seems to be on the FROM line being sent by the plugin. > > You did not mention which version of plugin... > > Can you try the -f option for a complete FROM line. > > -sg > > On Tue, 27 May 2003, Obantec Support wrote: > > > Hi > > > > Its RH7.2 on box that has issues > > (IP's and real names changed to protect systems). > > > > Ok if manually run > > > > ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $? SMTP WARNING - 5 > > second response time 1 > > > > then from RH7.2 box maillog (at level 15) > > > > May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of Nagios > > Box] > > May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN LOGIN > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220 > > mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003 > > 08:23:50 +0100 > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO proteus3 > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250 > > mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM: > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2 > > Syntax error in parameters scanning "FROM" > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0 > > mail.mydomainhere.com closing connection > > > > > > On working RH6.2 with older sendmail (8.10.2) > > > > ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout > > after 10 seconds 2 > > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP of > > Nagios Box] > > May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN LOGIN, > > allowed mech=PLAIN LOGIN > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220 > > mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003 > > 08:33:04 +0100 > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1 > > mail1.mydomainhere.com Lost input channel from [IP of Nagios Box] > > May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did not > > issue MAIL/EXPN/VRFY/ETRN during connection to MTA > > > > Mark > > > > ----- Original Message ----- > > From: "Pascal Miquet" > > To: "Obantec Support" > > Cc: "Nagios users" > > Sent: Tuesday, May 27, 2003 6:26 AM > > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > > > > Hello, > > > > > > Did you try to run manually the nagios command. Seems that this is your > > > RH7.3 hosts which refuse the connection. I Suggest you to look the log > > > files of your RH 7.3 > > > > > > HTH > > > Regards > > > Pascal Miquet > > > > > > > > > Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > > > > Hi > > > > > > > > First time posting to this list. > > > > > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux servers > > > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > > > > > > > ***** Nagios 1.0 ***** > > > > > > > > Notification Type: PROBLEM > > > > > > > > Service: SMTP > > > > Host: MCC > > > > Address: (xxx.xxx.xxx.xxx) > > > > State: CRITICAL > > > > > > > > Date/Time: Mon May 26 19:12:12 BST 2003 > > > > > > > > Additional Info: > > > > > > > > Connection refused by host > > > > > > > > Same for POP3 > > > > > > > > I have checked archive and see others with this problem but not found a > > > > solution. > > > > > > > > Sendmail on MCC requires Auth using plain/login > > > > > > > > Sending box is RH8.0 and not on same IP range of ether of the 2 servers > > > > being monitored. > > > > > > > > Any info? > > > > > > > > Mark > > > > > > -- > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Thu May 29 13:53:09 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Thu, 29 May 2003 07:53:09 -0400 Subject: Nagios::* namespace accepted on CPAN. References: <53104E20A25CD411B556009027E50636079A9B12@pnnemp02.pn.egg.com> <20030529073230.B231@IPAustralia.Gov.AU> Message-ID: I'm very pleased with this. I also have NagiosPlugin.pm, that could be renamed Nagios::Plugin.pm, an object oriented wrapper to create Perl Nagios Plugins. You basically use it like this, implementing the usage(), validate_options() and test() methods: ----------------------------------- #!/usr/bin/perl package check_xxx ; @ISA = qw(NagiosPlugin) ; use strict ; use NagiosPlugin ; sub new { my $class = shift ; my $this = $class->SUPER::new('check_xxx', '1.0', "-H=s", "-p=i", "-t=i") ; } sub usage { my $this = shift ; return "Usage: check_xxx.pl -H host -p port [-t timeout]\n" ; } sub validate_options { my $this = shift ; if ((! $this->{opts}->{H})||(! $this->{opts}->{p})){ die($this->usage()) ; } } sub test { my $this = shift ; my $host = $this->{opts}->{H} ; my $port = $this->{opts}->{p} ; my $time = $this->now() ; my $ok = 0 ; # Test xxx @ $host:$port my $d = sprintf("%.3f", $this->now() - $time) ; if ($ok){ $this->ok("XXX OK - $d seconds response time") ; } else{ $this->critical("XXX failed: ") ; } } my $p = new check_xxx() ; $p->run() ; ----------------------------------- So far it's worked well for me and it takes care of most of the repetitive stuff for writing a plugin. Once I'm done with it I'll submit it to CPAN. Cheers, Patrick --------------------- Patrick LeBoutillier Laval, Quebec, Canada ----- Original Message ----- From: "Stanley Hopcroft" To: Cc: "'Subhendu Ghosh'" ; ; Sent: Wednesday, May 28, 2003 5:32 PM Subject: Nagios::* namespace accepted on CPAN. > Dear Ladies and Gentlemen, > > I am writing to say that CPAN has accepted the Nagios::* namespace for > the use of Nagios related Perl modules. > > Potential occupants of this namespace could include :- > > Nagios::utils.pm - an exporter module supplying subroutines and data > structures, useful to those writing Nag service > checks in Perl. > > Nagios::NagConfig - Patrick LeBoutillier's class to read Nag config > files (this is a suggested name for Patricks class) > > Nagios::Web_Trx::* - classes that provide functions similar to but > worse than WWW::Mechanize and WWW::Automate > > ??? - other peoples classes that I cannot imagine which > . extend the Nagios core (exploiting the optional built-in Perl) > . extend the CGIs (or supplant them) > . do other wonderful things to extend Nags reach. > > Happy hacking. > > Yours sincerely. > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > > '...No man is an island, entire of itself; every man is a piece of the > continent, a part of the main. If a clod be washed away by the sea, > Europe is the less, as well as if a promontory were, as well as if a > manor of thy friend's or of thine own were. Any man's death diminishes > me, because I am involved in mankind; and therefore never send to know > for whom the bell tolls; it tolls for thee...' > > from Meditation 17, J Donne. > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rennie at Hess.com Thu May 29 16:52:52 2003 From: Steve.Rennie at Hess.com (Rennie, Steve) Date: Thu, 29 May 2003 15:52:52 +0100 Subject: nagios hanging? Message-ID: I recently installed nagios and it was working well but now appears to have stopped performing checks on some hosts and services, their status just sits pending. Also I do not see the nagios daemon clocking any CPU. Any ideas greatly appreciated. Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DTerrell at Delphi-Tech.com Thu May 29 17:44:10 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Thu, 29 May 2003 11:44:10 -0400 Subject: NSClient Not working with G: and H: drives? Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDB18@NJ-2K-Email1.delphi-tech.com> I just recently started using NSClient to get information from NT/2K servers. The only problem I've had with it is it reports G:\ and H:\ drives are not valid, though they are (of course). It works fine for C:\ - F:\. The only difference I noticed was that G:\ and H:\ aren't on the same physical disk, but I figured that shouldn't make a difference! Any help appreciated. -Dave ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Thu May 29 17:40:50 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Thu, 29 May 2003 11:40:50 -0400 Subject: scheduling queue and stale service checks Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279CD6@nyrofcs2kexch01.east.frontiercorp.com> Hello Nagios Users, I have noticed when you restart Nagios or reload the configuration using the init (/etc/init.d/nagios) script, the scheduling queue starts over from the beginning. For example: You have hosts A..Z configured with ten services on each host. Your service_interleave_factor is set to "s" and the bin/nagios -s etc/nagios.cfg is giving a max_concurrent_check value of 5. Nagios checks 5 services on each host. You restart or reload Nagios, The scheduling queue reschedules the 5 services that already have been checked before the reload instead of continuing where it last ended. I have noticed this causing stale service checks because the scheduling queue does not retain state between restarts or reloads. Is anyone else having this problem? Is there a setting(s) that I have missed in the nagios.cfg? Suggestions will be appreciated. Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonp at iland.com Thu May 29 17:47:09 2003 From: jasonp at iland.com (Jason Payne) Date: Thu, 29 May 2003 10:47:09 -0500 Subject: CHECK_NRPE: Error receiving data from host. Message-ID: I have seen all of the posts concerning this problem and have yet to find a solution. NRPE Host is running as a standalone daemon. : nagios /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d server_address and allowed_hosts are set properly. This is my command Definition: command[check_nagios]=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C nagios Nagios ok: located 11 processes, status log updated 4 seconds ago This is in /etc/services nrpe 5666/tcp # NRPE On the nagios machine: command: define command{ command_name check_nrpe_nagios command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_nagios } Manual running of command: > /usr/local/nagios/libexec/check_nrpe -H -c check_nagios CHECK_NRPE: Error receiving data from host. Checking to make sure the port is listening: :/usr/local/nagios/etc# telnet 5666 Trying 65.57.248.8... Connected to . Escape character is '^]'.
Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Interesting ports on (4.19.12.247): Port State Service 5666/tcp filtered unknown Have debugging on: /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE ALERT: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;CHECK_NRPE: Error receiving data from host. /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE EVENT HANDLER: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;handle-master-proc-event The hangle-master-proc event turns on notifications when it sees that nagios is down on the machine running the nrpe daemon. This was working before I wiped the box it was running on (fbsd) and put it on a debian box. ANY help would be much appreciated. Jason Payne Iland Internet Solutions ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Thu May 29 17:47:25 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 29 May 2003 11:47:25 -0400 Subject: check_http w/ parameters on the url Message-ID: Can someone share a check_http command that passes parameters to a web application? I can get this to work on the command line, but everytime I put the same things into my services.cfg I get errors and the files won't load. I even URL-encoded the ampersands, equals signs, back slashes and question mark, but it still wouldn't work. Thanks for any help. If needed I can provide the exact syntax I'm using, but a working example would be great. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu May 29 18:02:09 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 29 May 2003 11:02:09 -0500 Subject: nsclient real memory usage Message-ID: <1054224129.14689.17.camel@tux.its.uiowa.edu> I see you can get paging swap stats, is there a way to get the physical memory usage? I'd like to know when real memory is running low too... Thanks! Dan ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu May 29 18:20:42 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 29 May 2003 11:20:42 -0500 Subject: nsclient log checks Message-ID: <1054225241.14689.19.camel@tux.its.uiowa.edu> Is there anything that will checks the various windows logs and report problems? Dan ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Thu May 29 19:15:09 2003 From: jasonp at iland.com (Jason Payne) Date: Thu, 29 May 2003 12:15:09 -0500 Subject: CHECK_NRPE: Error receiving data from host. In-Reply-To: References: Message-ID: PLEASE HELP! :) I forgot to mention this: In daemon.log: May 29 11:57:51 maelstrom nrpe[10911]: Connection from 4.19.12.206 port 50183 May 29 11:57:51 maelstrom nrpe[10911]: Host address checks out ok May 29 11:57:51 maelstrom nrpe[10911]: Handling the connection... May 29 11:57:51 maelstrom nrpe[10911]: Error: Request packet had invalid CRC32. May 29 11:57:51 maelstrom nrpe[10911]: Client request was invalid, bailing out... May 29 11:57:51 maelstrom nrpe[10911]: Connection from 4.19.12.206 closed. --------------ORIGINAL---------------- I have seen all of the posts concerning this problem and have yet to find a solution. NRPE Host is running as a standalone daemon. : nagios /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d server_address and allowed_hosts are set properly. This is my command Definition: command[check_nagios]=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C nagios Nagios ok: located 11 processes, status log updated 4 seconds ago This is in /etc/services nrpe 5666/tcp # NRPE On the nagios machine: command: define command{ command_name check_nrpe_nagios command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_nagios } Manual running of command: > /usr/local/nagios/libexec/check_nrpe -H -c check_nagios CHECK_NRPE: Error receiving data from host. Checking to make sure the port is listening: :/usr/local/nagios/etc# telnet 5666 Trying 65.57.248.8... Connected to . Escape character is '^]'.
Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Interesting ports on (4.19.12.247): Port State Service 5666/tcp filtered unknown Have debugging on: /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE ALERT: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;CHECK_NRPE: Error receiving data from host. /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE EVENT HANDLER: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;handle-master-proc-event The hangle-master-proc event turns on notifications when it sees that nagios is down on the machine running the nrpe daemon. This was working before I wiped the box it was running on (fbsd) and put it on a debian box. ANY help would be much appreciated. Jason Payne Iland Internet Solutions ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonp at iland.com Thu May 29 19:42:17 2003 From: jasonp at iland.com (Jason Payne) Date: Thu, 29 May 2003 12:42:17 -0500 Subject: CHECK_NRPE: Error receiving data from host. In-Reply-To: References: Message-ID: Figured it out, had 2.0b3 running on the server, and 1.8 on the client. Damn paths. -Jason Payne -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jason Payne Sent: Thursday, May 29, 2003 12:15 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] CHECK_NRPE: Error receiving data from host. PLEASE HELP! :) I forgot to mention this: In daemon.log: May 29 11:57:51 maelstrom nrpe[10911]: Connection from 4.19.12.206 port 50183 May 29 11:57:51 maelstrom nrpe[10911]: Host address checks out ok May 29 11:57:51 maelstrom nrpe[10911]: Handling the connection... May 29 11:57:51 maelstrom nrpe[10911]: Error: Request packet had invalid CRC32. May 29 11:57:51 maelstrom nrpe[10911]: Client request was invalid, bailing out... May 29 11:57:51 maelstrom nrpe[10911]: Connection from 4.19.12.206 closed. --------------ORIGINAL---------------- I have seen all of the posts concerning this problem and have yet to find a solution. NRPE Host is running as a standalone daemon. : nagios /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d server_address and allowed_hosts are set properly. This is my command Definition: command[check_nagios]=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C nagios Nagios ok: located 11 processes, status log updated 4 seconds ago This is in /etc/services nrpe 5666/tcp # NRPE On the nagios machine: command: define command{ command_name check_nrpe_nagios command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_nagios } Manual running of command: > /usr/local/nagios/libexec/check_nrpe -H -c check_nagios CHECK_NRPE: Error receiving data from host. Checking to make sure the port is listening: :/usr/local/nagios/etc# telnet 5666 Trying 65.57.248.8... Connected to . Escape character is '^]'.
Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Interesting ports on (4.19.12.247): Port State Service 5666/tcp filtered unknown Have debugging on: /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE ALERT: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;CHECK_NRPE: Error receiving data from host. /var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE EVENT HANDLER: maelstrom;nrpe_nagios;UNKNOWN;HARD;12;handle-master-proc-event The hangle-master-proc event turns on notifications when it sees that nagios is down on the machine running the nrpe daemon. This was working before I wiped the box it was running on (fbsd) and put it on a debian box. ANY help would be much appreciated. Jason Payne Iland Internet Solutions ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu May 29 20:00:54 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 30 May 2003 02:00:54 +0800 Subject: host ping Message-ID: <200305300201.00676.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Just wondering if anyone can explain this to me. On the web interface, all my hosts have "Assumed to be up" status, even when I had the host check_command defined. define host{ host_name host abc alias host abc address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,u,r } Also, if I want to vary the arguments passed into check-host-alive. but, apparently I failed to get Nagios to work with the configuration. define command{ command_name check-thishost-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ - -c $ARG4$,$ARG5$ -p 5 -t 50 } define host{ host_name host abc alias host abc address xxx.xxx.xxx.xxx check_command check-thishost-alive!20!2%!30!5% max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_options d,u,r } Is there anything wrong in defining this? Because Nagios complains that "check-thishost-alive" is not defined anywhere! Please let me know. Thanks! - -- 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.2 (GNU/Linux) iD8DBQE+1krbNgvTa7Hj2AURAlF3AJ9DY7awgr9N6C7XhGaMTpkVR0caHACgmWmI 3ozh9BRuE8kz1begePrtjto= =g4f0 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu May 29 21:47:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 29 May 2003 15:47:25 -0400 (EDT) Subject: SMTP/POP3 Critical In-Reply-To: <40cb01c325c1$3c8ec050$0a01a8c0@gamma> References: <40cb01c325c1$3c8ec050$0a01a8c0@gamma> Message-ID: This looks fine. you are getting a warning because 6 sec is longer than 3 sec... -sg On Thu, 29 May 2003, Obantec Support wrote: > Hi > > input > > [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c 10 -f > support at mydomainhere.com; echo $? > SMTP WARNING - 6 second response time 1 > > log > > May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of > Nagios Box] > May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN LOGIN > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220 > relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003 09:17:37 > +0100 > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO proteus3 > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 > relay.obantec.net Hello [IP of Nagios Box], pleased to meet you > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM: > support at mydomainhere.com > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0 > support at mydomainhere.com... Sender ok > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0 > relay.mydomainhere.net closing connection > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: > from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP, > daemon=MTA, relay=[IP of Nagios Box] > > As to the versions well i just downloaded the code and using check_smtp -V > reveals > > check_smtp (nagios-plugins 200211131100-snapshot) 1.8 > > mark > > > ----- Original Message ----- > From: "Subhendu Ghosh" > To: > Sent: Wednesday, May 28, 2003 3:10 AM > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > The error seems to be on the FROM line being sent by the plugin. > > > > You did not mention which version of plugin... > > > > Can you try the -f option for a complete FROM line. > > > > -sg > > > > On Tue, 27 May 2003, Obantec Support wrote: > > > > > Hi > > > > > > Its RH7.2 on box that has issues > > > (IP's and real names changed to protect systems). > > > > > > Ok if manually run > > > > > > ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $? SMTP > WARNING - 5 > > > second response time 1 > > > > > > then from RH7.2 box maillog (at level 15) > > > > > > May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of > Nagios > > > Box] > > > May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN > LOGIN > > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220 > > > mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003 > > > 08:23:50 +0100 > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO > proteus3 > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250 > > > mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM: > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2 > > > Syntax error in parameters scanning "FROM" > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0 > > > mail.mydomainhere.com closing connection > > > > > > > > > On working RH6.2 with older sendmail (8.10.2) > > > > > > ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout > > > after 10 seconds 2 > > > > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP > of > > > Nagios Box] > > > May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN > LOGIN, > > > allowed mech=PLAIN LOGIN > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220 > > > mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003 > > > 08:33:04 +0100 > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1 > > > mail1.mydomainhere.com Lost input channel from [IP of Nagios Box] > > > May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did > not > > > issue MAIL/EXPN/VRFY/ETRN during connection to MTA > > > > > > Mark > > > > > > ----- Original Message ----- > > > From: "Pascal Miquet" > > > To: "Obantec Support" > > > Cc: "Nagios users" > > > Sent: Tuesday, May 27, 2003 6:26 AM > > > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > > > > > > > Hello, > > > > > > > > Did you try to run manually the nagios command. Seems that this is > your > > > > RH7.3 hosts which refuse the connection. I Suggest you to look the log > > > > files of your RH 7.3 > > > > > > > > HTH > > > > Regards > > > > Pascal Miquet > > > > > > > > > > > > Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > > > > > Hi > > > > > > > > > > First time posting to this list. > > > > > > > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux > servers > > > > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > > > > > > > > > ***** Nagios 1.0 ***** > > > > > > > > > > Notification Type: PROBLEM > > > > > > > > > > Service: SMTP > > > > > Host: MCC > > > > > Address: (xxx.xxx.xxx.xxx) > > > > > State: CRITICAL > > > > > > > > > > Date/Time: Mon May 26 19:12:12 BST 2003 > > > > > > > > > > Additional Info: > > > > > > > > > > Connection refused by host > > > > > > > > > > Same for POP3 > > > > > > > > > > I have checked archive and see others with this problem but not > found a > > > > > solution. > > > > > > > > > > Sendmail on MCC requires Auth using plain/login > > > > > > > > > > Sending box is RH8.0 and not on same IP range of ether of the 2 > servers > > > > > being monitored. > > > > > > > > > > Any info? > > > > > > > > > > Mark > > > > > > > > > -- > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ObjectStore. > > If flattening out C++ or Java code to make your application fit in a > > relational database is painful, don't do it! Check out ObjectStore. > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd at bsd.uchicago.edu Thu May 29 21:18:57 2003 From: todd at bsd.uchicago.edu (Todd Anderson) Date: Thu, 29 May 2003 14:18:57 -0500 Subject: sending nsca checks Message-ID: <200305291418.57132.todd@bsd.uchicago.edu> I am trying to setup passive checks using nsca. The server seems fine, I can telnet into port 5667, however the client is what is confusing me. once send_nsca and send_nsca.cfg are in place how do I use them to send checks to the central nagios server. should I write a script that pipes the check_* commands into send_nsca and to the central server? this seems to be my sticking point. I am also wondering how I will get the server to recognize that it has recieved passive check in then nagios.cmd file. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Thu May 29 22:23:47 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Thu, 29 May 2003 16:23:47 -0400 Subject: more service checks per hour - trying to reduce stale service ch ecks Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279CDC@nyrofcs2kexch01.east.frontiercorp.com> Hello, I have increased my max_concurrent_checks to 100. I am watching the process table and there is no more than 25 nagios processes at a time. My system specs. are: 4 - 1.4Ghz Xeon processors with 256kb cache, 2GB of memory, SCSI disks, and dual 100 Full duplex - truncked running RedHat 7.2. I have a total of 150 hosts with 3000 services. The services are scheduled anywhere from every 3 minutes (ping checks) to once a day. Check Execution Time: 1 sec min. 18 sec. Max. Average 0.365. I would like to see more services check than what I am currently getting. How can I get more concurrent_checks? The following settings are: inter_check_delay_method=s service_interleave_factor=s service_reaper_frequency=5 I have turned on check_service_freshness, thinking that I could get rid of some stale checks. However, with check_service_freshness on, I get false pages with a lot of unknown (check command failed). Anyone else having this problem? Any suggestions? Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryan.mooney at pnl.gov Fri May 30 00:22:28 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Thu, 29 May 2003 15:22:28 -0700 Subject: Passive services stale problem Message-ID: Hello, I have a minor problem with setting up correct staleness checking for passive services. The scenario is basically like this: Host goes down (ok) Data is not available from that host so the passive service check times out (ok, passive service "is stale" script checks $HOSTSTATE$ and if DOWN/UNKNOWN returns OK so it doesn't even show on the web much less send an alert). Host comes up some (indeterminate) time later (ok) Before the passive service "injector" runs the service staleness checker times out and runs the staleness script; this triggers a "service is stale" alert even though its really not, it just hasn't had time to update yet. What I really need is a way to see how long ago the host came back up so that if its within the passive service check run interval I can just return either ok or a warning, but I didn't see a macro that differentiated host vs service last state change. I'm running this with ~1000 hosts that are being rebooted a lot (and a bunch of services) so I get a LOT more spurious alerts than you might initially imagine. I suppose I could do something like set an event to happen on host state change that logged it somewhere and have the "is stale" script check that, but I was hoping for a simpler and more elegant solution. If anyone has any ideas, let me know. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From katherine.elliott at autodesk.com Fri May 30 02:48:11 2003 From: katherine.elliott at autodesk.com (Katherine Elliott) Date: Thu, 29 May 2003 17:48:11 -0700 Subject: solaris 2.7 statusmap errors and fix Message-ID: <12864E95CD6E664483DCBE20D15BF9A02F3957@msgusawmb01.ads.autodesk.com> Hi, I had some issues getting the statusmap.cgi and other 2 cgis that require the gd stuff to work and kept getting this/similar errors in my apache log for the different libs: [Thu May 29 23:28:12 2003] [error] [client 144.111.42.45] ld.so.1: /opt/apps/nagios/sbin/statusmap.cgi: fatal: libjpeg.so.62: open failed: No such file or directory, referer: I got that error for each of the libraries as I updated my GDLIBS in the cgi/Makefile. After finding an old post that indicated you could modify the GDLIBS in the cgi/Makefile, I added their suggestion, but it continued to fail for the jpeg lib. This was the suggestion (http://sourceforge.net/mailarchive/message.php?msg_id=1521005): > GDLIBS=/usr/local/lib/libgd.a /usr/local/lib/libpng.a /usr/lib/libm.a /usr/local/lib/libz.a I also attempted to add the -ljpeg to the end of that line and I still got the same error. I tried recompiling the libjpeg stuff several times and I noticed that it wasn't copying over .libs/libjpeg.a to /usr/local/lib. It was creating the .so files. I am not a developer and still learning, so maybe I didn't need to do what I did... I copied .libs/libjpeg.a from my libjpeg source directory to /usr/local/lib and it works. Here is the line for the cgi/Makefile to modify after you do that: GDLIBS=/usr/local/lib/libgd.a /usr/local/lib/libpng.a /usr/lib/libm.a /usr/local/lib/libz.a /usr/local/lib/libjpeg.a All seems to be working now. Katie -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at mintoskatingclub.com Fri May 30 02:51:06 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Thu, 29 May 2003 20:51:06 -0400 (EDT) Subject: NSClient Not working with G: and H: drives? Message-ID: <200305300051.h4U0p6HK028911@webmail1.magma.ca> Are these network drives? If not, are they showing up in perfmon? Tim Shouldice On May 29, DTerrell at Delphi-Tech.com wrote: > > I just recently started using NSClient to get information from NT/2K > servers. The only problem I've had with it is it reports G:\ and H:\ drives > are not valid, though they are (of course). It works fine for C:\ - F:\. > The only difference I noticed was that G:\ and H:\ aren't on the same > physical disk, but I figured that shouldn't make a difference! Any help > appreciated. > > -Dave > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 30 03:22:25 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 30 May 2003 11:22:25 +1000 Subject: sending nsca checks In-Reply-To: <200305291418.57132.todd@bsd.uchicago.edu>; from todd@bsd.uchicago.edu on Thu, May 29, 2003 at 02:18:57PM -0500 References: <200305291418.57132.todd@bsd.uchicago.edu> Message-ID: <20030530112224.B28686@IPAustralia.Gov.AU> Dear Sir, In the docco, 'Integration with other software' 'SNMP traps' you will find a complete worked example of using send_ncsa to send passive service check results to a manager Nag. On Thu, May 29, 2003 at 02:18:57PM -0500, Todd Anderson wrote: > I am trying to setup passive checks using nsca. > > The server seems fine, I can telnet into port 5667, however the client is what > is confusing me. > > once send_nsca and send_nsca.cfg are in place how do I use them to send checks > to the central nagios server. > > should I write a script that pipes the check_* commands into send_nsca and to > the central server? Only if you like re-inventing the wheel. > This is the distributed monitoring scenario described in http://nagios.sourceforge.net/docs/1_0/distributed.html You have 'local' Nags that check the hosts and services each is responsible for. Each local Nag submits the results of its checks to the central - display Nag - with NCSA as described in that document. This is the guts of the doing distributed monitoring: each local Nag has these (from the docco) 'Key configuration changes: Only those services and hosts which are being monitored directly by the distributed server are defined in the object configuration file. The distributed server has its enable_notifications directive set to 0. This will prevent any notifications from being sent out by the server. The distributed server is configured to obsess over services. The distributed server has an ocsp command defined (as described below). ' The ocsp command is the bit that uses send_ncsa to submit the service check result to the central Nag for it to display. You may say you don't want all this extra gunk - why go to the trouble of installing multiple Nags to send a few check results ? You do. If you don't you will have to do all the things Nag does for you 1 Schedule the services - cron ?? 2 Manage retries - add a layer to the check ?? 3 Make the checks NCSA aware ??? 4 Log the results (Cron will do it, won't it ?) > this seems to be my sticking point. I am also wondering how I will get the > server to recognize that it has recieved passive check in then nagios.cmd > file. > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri May 30 10:38:14 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 30 May 2003 09:38:14 +0100 Subject: Alert by Email AND Pager References: <1054151702.3469.57.camel@localhost> Message-ID: <01fb01c32686$cf584e90$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Frank, Not sure if this is the correct approach, but I use one eventhandler script that is executed which sends out an email and a page. Jim ----- Original Message ----- From: "Frank Gadot" To: "Nagios-Users" Sent: Wednesday, May 28, 2003 8:55 PM Subject: [Nagios-users] Alert by Email AND Pager > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hi ! > > Is there a way to receive the alert if a host is down, by email AND > pager, knowing that: > > In my hostgroups.cfg file, the contact_group for this group is EMAIL. > PAGER is in the services.cfg file. > > It seems that when this host is down, I receive only an email an no > pager. If a host is down, then the services are not checked ? > > > Thank you. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cerbak at euroweb.cz Fri May 30 11:42:15 2003 From: cerbak at euroweb.cz (Michal =?iso-8859-2?q?=C8erb=E1k?=) Date: Fri, 30 May 2003 11:42:15 +0200 Subject: MySQL update problem Message-ID: <200305301142.15628.cerbak@euroweb.cz> Hi! everybody :) We're using Nagios with compiled MySQL support. In this time tables servicestatus and hoststatus are used for status info. We have about 230 monitored services. Nagios daemon is reloaded twice a day. AFter reload and during approx. 2 hours 1/3 of services is not updated, other 2/3 works fine. After next reload all services are updated in servicestatus table but step by step, update of some services discontinues. Sometimes update hangs by only 10 services, sometimes by 50. MySQL server is running on another machine than Nagios... Can anyone help? Sorry for my english -- ====================================================== Michal Cerbak e-mail: cerbak at euroweb.cz ------------- EuroWeb Czech Republic spol. s r.o. Argentinska 38 tel: +420-2-20385500 170 05 Praha 7 fax: +420-2-20385112 ------------------------------------------------------ Technicka podpora: support at euroweb.cz, +420-2-20385444 Obchodni oddeleni: info at euroweb.cz, +420-2-20385111 ====================================================== ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From support at obantec.net Fri May 30 11:38:52 2003 From: support at obantec.net (Obantec Support) Date: Fri, 30 May 2003 10:38:52 +0100 Subject: SMTP/POP3 Critical References: Message-ID: <523501c3268f$4af89610$0a01a8c0@gamma> Hi ok so i get the warning but where do i increase the 3 sec to say 6 sec for normal nagios running. (i.e not on the command line). tried adding -w 6 to services config line but syntax check -v fails. Mark ----- Original Message ----- From: "Subhendu Ghosh" To: Sent: Thursday, May 29, 2003 8:47 PM Subject: Re: [Nagios-users] SMTP/POP3 Critical > > This looks fine. you are getting a warning because 6 sec is longer than > 3 sec... > > -sg > > On Thu, 29 May 2003, Obantec Support wrote: > > > Hi > > > > input > > > > [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c 10 -f > > support at mydomainhere.com; echo $? > > SMTP WARNING - 6 second response time 1 > > > > log > > > > May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of > > Nagios Box] > > May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN LOGIN > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220 > > relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003 09:17:37 > > +0100 > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO proteus3 > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 > > relay.obantec.net Hello [IP of Nagios Box], pleased to meet you > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM: > > support at mydomainhere.com > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0 > > support at mydomainhere.com... Sender ok > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0 > > relay.mydomainhere.net closing connection > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: > > from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP, > > daemon=MTA, relay=[IP of Nagios Box] > > > > As to the versions well i just downloaded the code and using check_smtp -V > > reveals > > > > check_smtp (nagios-plugins 200211131100-snapshot) 1.8 > > > > mark > > > > > > ----- Original Message ----- > > From: "Subhendu Ghosh" > > To: > > Sent: Wednesday, May 28, 2003 3:10 AM > > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > > > > The error seems to be on the FROM line being sent by the plugin. > > > > > > You did not mention which version of plugin... > > > > > > Can you try the -f option for a complete FROM line. > > > > > > -sg > > > > > > On Tue, 27 May 2003, Obantec Support wrote: > > > > > > > Hi > > > > > > > > Its RH7.2 on box that has issues > > > > (IP's and real names changed to protect systems). > > > > > > > > Ok if manually run > > > > > > > > ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $? SMTP > > WARNING - 5 > > > > second response time 1 > > > > > > > > then from RH7.2 box maillog (at level 15) > > > > > > > > May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of > > Nagios > > > > Box] > > > > May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN > > LOGIN > > > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220 > > > > mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003 > > > > 08:23:50 +0100 > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO > > proteus3 > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250 > > > > mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM: > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2 > > > > Syntax error in parameters scanning "FROM" > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT > > > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0 > > > > mail.mydomainhere.com closing connection > > > > > > > > > > > > On working RH6.2 with older sendmail (8.10.2) > > > > > > > > ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout > > > > after 10 seconds 2 > > > > > > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP > > of > > > > Nagios Box] > > > > May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN > > LOGIN, > > > > allowed mech=PLAIN LOGIN > > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220 > > > > mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003 > > > > 08:33:04 +0100 > > > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1 > > > > mail1.mydomainhere.com Lost input channel from [IP of Nagios Box] > > > > May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did > > not > > > > issue MAIL/EXPN/VRFY/ETRN during connection to MTA > > > > > > > > Mark > > > > > > > > ----- Original Message ----- > > > > From: "Pascal Miquet" > > > > To: "Obantec Support" > > > > Cc: "Nagios users" > > > > Sent: Tuesday, May 27, 2003 6:26 AM > > > > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > > > > > > > > > > Hello, > > > > > > > > > > Did you try to run manually the nagios command. Seems that this is > > your > > > > > RH7.3 hosts which refuse the connection. I Suggest you to look the log > > > > > files of your RH 7.3 > > > > > > > > > > HTH > > > > > Regards > > > > > Pascal Miquet > > > > > > > > > > > > > > > Le lun 26/05/2003 ? 20:20, Obantec Support a ?crit : > > > > > > Hi > > > > > > > > > > > > First time posting to this list. > > > > > > > > > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux > > servers > > > > > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem > > > > > > > > > > > > ***** Nagios 1.0 ***** > > > > > > > > > > > > Notification Type: PROBLEM > > > > > > > > > > > > Service: SMTP > > > > > > Host: MCC > > > > > > Address: (xxx.xxx.xxx.xxx) > > > > > > State: CRITICAL > > > > > > > > > > > > Date/Time: Mon May 26 19:12:12 BST 2003 > > > > > > > > > > > > Additional Info: > > > > > > > > > > > > Connection refused by host > > > > > > > > > > > > Same for POP3 > > > > > > > > > > > > I have checked archive and see others with this problem but not > > found a > > > > > > solution. > > > > > > > > > > > > Sendmail on MCC requires Auth using plain/login > > > > > > > > > > > > Sending box is RH8.0 and not on same IP range of ether of the 2 > > servers > > > > > > being monitored. > > > > > > > > > > > > Any info? > > > > > > > > > > > > Mark > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ObjectStore. > > > If flattening out C++ or Java code to make your application fit in a > > > relational database is painful, don't do it! Check out ObjectStore. > > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vqv96fq6b at aol.com Fri May 30 08:33:20 2003 From: vqv96fq6b at aol.com (Shauna Redmond) Date: Fri, 30 May 03 06:33:20 GMT Subject: LOREAN'S pics bppmkjqoprn fskdlgh Message-ID: An HTML attachment was scrubbed... URL: From kdebisschop at alert.infoplease.com Fri May 30 13:20:11 2003 From: kdebisschop at alert.infoplease.com (Karl DeBisschop) Date: 30 May 2003 07:20:11 -0400 Subject: Updated RPM for Nagios 1.0 Message-ID: <1054293611.1503.16.camel@miles.debisschop.net> I have updated the RPM for nagios 1.0 to fix install problems under Red Hat 9 and to incorporate some patches submitted on the nagios-devel list. The SRPM should work for Red Hat 7.x, 8.0, and 9, and can be found at: http://karl.debisschop.net/src/nagios-1.0-4.src.rpm RPMs for Red Hat 9 are at http://karl.debisschop.net/src/redhat/9/nagios-*1.0-4.i386.rpm The patches applied related to: - PostgreSQL 7.3 timestamps (but these are in xdata ahich are not currently built by the RPM) - File descriptor leak (xpdfile.c) - Small doco fix (xodtemplate.html) - Bug in cgi/cmd.c (initialize time if CGI form is empty) - Bug in cgi/history.c (missing semicolons) Turns out to be harder than one would expect to gather the patches. There is no stable brach in the CVS, and people generally neglct to mention if a patch applies to 1.0 or to CVS. But I look through the archives for all the patches I could find that were clearly for 1.0 and were 'blessed' by Ethan. Let me know of other important patches I missed. Please post comments to nagios-devel at lists.sf.net -- Karl DeBisschop ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skiv at caravan.ru Fri May 30 15:17:50 2003 From: skiv at caravan.ru (Sergey V. Artjushkin) Date: Fri, 30 May 2003 17:17:50 +0400 Subject: nagios and memory utilization Message-ID: <20030530171750.50bd5c2a.skiv@caravan.ru> Hello Colleagues, I have small question about Nagios 1.0. Two days ago, I have replaced old Netsaint 0.6 monitoring tool with new Nagios 1.0 tool. At this moment, I have about 3000 services to monitor. Most of services is checked by my perl plugin. Nagios is compiled with --with-perlcache,--enable-embedded-perl options and with Mysql support. Everything is working well, but I have noticed that sometime Nagios uses to many memory. It's seems like every time when Nagios have some service sheduled for checking, it forks new child process. # top PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 3718 231 64 0 165M 63992K CPU0 1 244:58 15.23% 15.23% nagios 10440 nagios 63 0 585M 207M RUN 0 280:36 13.18% 13.18% mysqld 74528 231 -6 0 165M 66324K pipewr 1 0:00 6.30% 0.88% nagios 74566 231 -6 0 165M 66340K pipewr 1 0:00 8.71% 0.83% nagios 74500 231 -6 0 165M 66328K pipewr 1 0:00 3.31% 0.73% nagios 74516 231 -6 0 165M 66356K pipewr 1 0:00 4.04% 0.73% nagios 74525 231 -6 0 165M 66344K pipewr 0 0:00 3.77% 0.68% nagios 74547 231 -6 0 165M 66324K pipewr 0 0:00 4.90% 0.68% nagios .... The parent Nagios process (PID 3718) use 165MB of memory, and each child process use the same amount of memory. For example when 10 child process is running they use 1,6GB of memory!! I think it is too many. So my question is, how I can reduce the size of memory that Nagios used?? Thank you for advance. -- With best regards. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri May 30 15:49:34 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 30 May 2003 09:49:34 -0400 Subject: nagiosadmin no longer authorized for services! Message-ID: I've been mucking around w/ services.cfg and the pluginconfig trying to get a check_http command to work. Now, for some reason nagiosadmin is no longer authorized to see all services or all hosts. Any and all help would be appreciated. Thanks. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Fri May 30 15:29:43 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Fri, 30 May 2003 10:29:43 -0300 Subject: Visio Message-ID: Hi guys, Now that I'm not so dummie! ;-) I have a question... Is it possible to take a Visio Drawing, save it as .jpg or gif, and the use it on StatusMap? Is anyone do this before? Is it better to use the extendend command and use just the images of servers and router for example? Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Fri May 30 16:01:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 31 May 2003 00:01:24 +1000 Subject: nagios and memory utilization In-Reply-To: <20030530171750.50bd5c2a.skiv@caravan.ru>; from skiv@caravan.ru on Fri, May 30, 2003 at 05:17:50PM +0400 References: <20030530171750.50bd5c2a.skiv@caravan.ru> Message-ID: <20030531000119.B226@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, May 30, 2003 at 05:17:50PM +0400, Sergey V. Artjushkin wrote: > Hello > > Colleagues, > I have small question about Nagios 1.0. > Two days ago, I have replaced old Netsaint 0.6 monitoring tool with new Nagios 1.0 tool. > At this moment, I have about 3000 services to monitor. Most of services is checked > by my perl plugin. > Nagios is compiled with --with-perlcache,--enable-embedded-perl options and > with Mysql support. > Everything is working well, but I have noticed that sometime Nagios uses to many memory. > It's seems like every time when Nagios have some service sheduled for checking, > it forks new child process. > that unfortunately you are between a rock and a hard place. It is my long experience with an embedded Perl Nag (ePN), that Nag process memory consumption _grows_ over time: the size of the Nag process is proportional to the running time of the process (time after last restart, not trap a SIGHUP). > # top > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 3718 231 64 0 165M 63992K CPU0 1 244:58 15.23% 15.23% nagios > 10440 nagios 63 0 585M 207M RUN 0 280:36 13.18% 13.18% mysqld > 74528 231 -6 0 165M 66324K pipewr 1 0:00 6.30% 0.88% nagios > 74566 231 -6 0 165M 66340K pipewr 1 0:00 8.71% 0.83% nagios > 74500 231 -6 0 165M 66328K pipewr 1 0:00 3.31% 0.73% nagios > 74516 231 -6 0 165M 66356K pipewr 1 0:00 4.04% 0.73% nagios > 74525 231 -6 0 165M 66344K pipewr 0 0:00 3.77% 0.68% nagios > 74547 231 -6 0 165M 66324K pipewr 0 0:00 4.90% 0.68% nagios > .... > > The parent Nagios process (PID 3718) use 165MB of memory, and each child > process use the same amount of memory. For example when 10 child process is running > they use 1,6GB of memory!! I think it is too many. > So my question is, how I can reduce the size of memory that Nagios used?? > I think you can . abandon ePN and accept the extra fork + exec tax of loading Perl . run without the Perl cache: in this case you will lose the advantage of having the Perl parse tree of the plugin in core, but still have Perl resident. . try and fix the leak ? . restart the Nag process periodically. . think about how Nag can avoid a fork per check. In my case (~200 hosts + 350 services + quite a lot of Perl), my ePN hovers around 40-60 MB tsitc> top -b last pid: 84246; load averages: 2.80, 1.16, 0.62 up 60+01:56:29 23:50:17 75 processes: 5 running, 70 sleeping Mem: 37M Active, 22M Inact, 68M Wired, 6116K Cache, 35M Buf, 117M Free Swap: 256M Total, 34M Used, 222M Free, 13% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU 30405 nagios 10 0 48660K 7280K nanslp 96:12 0.00% 0.00% and this is fine for 256 MB RAM and no other RAM pigs. I usually manually restart if ePN is > 80 MB. Unfortunately this seems to be real problem with embedded Perl applications. Perhaps asking on the Perl XS list would provide some ideas. > Thank you for advance. > > -- > With best regards. > > Always happy to help a descendant of the society that was subject to the man of whom this was written 'So I ask our government To double To treble The guard Over this tomb' (Yevtushenko, quoted by E Ginzburg, 'Into the whirlwind'. Only ever published in samzidat in her lifetime) Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Fri May 30 15:53:53 2003 From: flima at slb.com (Fernando Gomes Lima) Date: Fri, 30 May 2003 10:53:53 -0300 Subject: Visio Message-ID: Sorry!!!! I was talking about extended host information bellow!!! ===============================xxxxxxxxxxxxxxxxxxxxxxxxxx=================== ==xxxxxxxxxxxxxxxxxxxxxxxxxxxxx================ Hi guys, Now that I'm not so dummy! ;-) I have a question... Is it possible to take a Visio Drawing, save it as .jpg or gif, and the use it on StatusMap? Is anyone do this before? Is it better to use the extended command and use just the images of servers and router for example? Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From chbaker at powersystems.rockwell.com Fri May 30 16:02:32 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 30 May 2003 10:02:32 -0400 Subject: Preflight check works, but update-nagios won't reload claiming errors Message-ID: My preflight check works, but update-nagios won't reload claiming errors. How can that be? Are there any rules for escaping special chars like '%', '?', '&', '=' in the config files? Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Fri May 30 16:21:57 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Fri, 30 May 2003 10:21:57 -0400 Subject: user permissions Message-ID: <5F29693503507B4FB4032686ADF8626707734E@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From Thomas.Nilsen at roxar.com Fri May 30 16:20:33 2003 From: Thomas.Nilsen at roxar.com (Thomas Nilsen) Date: Fri, 30 May 2003 16:20:33 +0200 Subject: Escalations with Message-ID: Will escalation work when hosts and services have notification_interval set to 0? I can't seem to get it to work.. 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 chbaker at powersystems.rockwell.com Fri May 30 16:29:53 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 30 May 2003 10:29:53 -0400 Subject: nagiosadmin no longer authorized for services! Message-ID: Now, all of a sudden it's working again! Go figure.... Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... chbaker at powersystems.rockwell .com To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] nagiosadmin no longer authorized for services! ceforge.net 05/30/2003 09:49 AM I've been mucking around w/ services.cfg and the pluginconfig trying to get a check_http command to work. Now, for some reason nagiosadmin is no longer authorized to see all services or all hosts. Any and all help would be appreciated. Thanks. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Fri May 30 16:47:01 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Fri, 30 May 2003 10:47:01 -0400 Subject: nagiosadmin no longer authorized for services! Message-ID: <5F29693503507B4FB4032686ADF862670745C7@mtviny25.mtvi.com> check your permissions settings in /usr/local/nagios/etc/cgi.cfg -Keith -----Original Message----- From: chbaker at powersystems.rockwell.com [mailto:chbaker at powersystems.rockwell.com] Sent: Friday, May 30, 2003 9:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagiosadmin no longer authorized for services! I've been mucking around w/ services.cfg and the pluginconfig trying to get a check_http command to work. Now, for some reason nagiosadmin is no longer authorized to see all services or all hosts. Any and all help would be appreciated. Thanks. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #5: Static from plastic slide rules... ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doc at neonova.net Fri May 30 17:29:12 2003 From: doc at neonova.net (Jeff Smith) Date: Fri, 30 May 2003 11:29:12 -0400 Subject: Notifying on a service when host is unreachable? Message-ID: <3ED778C8.1000404@neonova.net> At my site we monitor a lot of network links. Currently these are defined as services on the host router they connect to. This causes a problem when the link drops and the host becomes unreachable. The way it is currently setup all the contact information for the circuit is in the service definition such that when it pages the oncall person will have all the information neccessary to contact the proper provider. However, since they are defined as services (which I believe they should be) when the host goes unreachable because the link went down the only notification sent is for the host. Is there a way to force the service notification to be sent as well? If not, the only other solution, that I can think of, is to define these as hosts instead of services which I'd rather not be forced to do. Any other ideas? Thanks, Jeff -- Jeffrey Smith Operations Neonova Network Services ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From idavidso at juniper.net Fri May 30 17:54:32 2003 From: idavidso at juniper.net (Ian Davidson) Date: Fri, 30 May 2003 16:54:32 +0100 Subject: Jabber notifications Message-ID: Has anyone gotten to work notification alerts via Jabber or any other chat client? If so can you let me know how you got it working. I tried copying the stuff from the Nagios contributions page but have failed miserably to get it to work. I don't even know how to trouble-shoot it! Cheers, Ian ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From truckpaul at gmx.de Fri May 30 19:14:06 2003 From: truckpaul at gmx.de (Tim Ruckpaul) Date: Fri, 30 May 2003 19:14:06 +0200 Subject: help for a newbie Message-ID: Hallo, can anyone tell me the meaning of $ARGn$ in resource.cfg? I am an total newbie and nagios documentation is not detailed enough. Can anyone tell me a better documentation that the one at www.nagio.org? I need to implement nagios for school, i don't want to supervise a huge network. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio-s-freire at ptinovacao.pt Fri May 30 19:28:18 2003 From: sergio-s-freire at ptinovacao.pt (Sergio Freire) Date: Fri, 30 May 2003 18:28:18 +0100 Subject: Jabber notifications Message-ID: there is a plugin for that in the CVS page made by me.. -----Original Message----- From: Ian Davidson [mailto:idavidso at juniper.net] Sent: sexta-feira, 30 de Maio de 2003 16:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Jabber notifications Has anyone gotten to work notification alerts via Jabber or any other chat client? If so can you let me know how you got it working. I tried copying the stuff from the Nagios contributions page but have failed miserably to get it to work. I don't even know how to trouble-shoot it! Cheers, Ian ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 30 19:41:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 30 May 2003 13:41:44 -0400 (EDT) Subject: SMTP/POP3 Critical In-Reply-To: <523501c3268f$4af89610$0a01a8c0@gamma> References: <523501c3268f$4af89610$0a01a8c0@gamma> Message-ID: look at your command.cfg/checkcommand.cfg/miscommand.cfg for the command definitions. the service definition should probably be something like: check_smtp!6!9 - where 6 for warning and 9 for critical the command definition should be something like: check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ On Fri, 30 May 2003, Obantec Support wrote: > Hi > > ok so i get the warning but where do i increase the 3 sec to say 6 sec for > normal nagios running. (i.e not on the command line). > > tried adding -w 6 to services config line but syntax check -v fails. > > Mark > > ----- Original Message ----- > From: "Subhendu Ghosh" > To: > Sent: Thursday, May 29, 2003 8:47 PM > Subject: Re: [Nagios-users] SMTP/POP3 Critical > > > > > > This looks fine. you are getting a warning because 6 sec is longer than > > 3 sec... > > > > -sg > > > > On Thu, 29 May 2003, Obantec Support wrote: > > > > > Hi > > > > > > input > > > > > > [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c > 10 -f > > > support at mydomainhere.com; echo $? > > > SMTP WARNING - 6 second response time 1 > > > > > > log > > > > > > May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of > > > Nagios Box] > > > May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN > LOGIN > > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220 > > > relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003 > 09:17:37 > > > +0100 > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO > proteus3 > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 > > > relay.obantec.net Hello [IP of Nagios Box], pleased to meet you > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM: > > > support at mydomainhere.com > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0 > > > support at mydomainhere.com... Sender ok > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0 > > > relay.mydomainhere.net closing connection > > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: > > > from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP, > > > daemon=MTA, relay=[IP of Nagios Box] > > > > > > As to the versions well i just downloaded the code and using > check_smtp -V > > > reveals > > > > > > check_smtp (nagios-plugins 200211131100-snapshot) 1.8 > > > > > > mark > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 30 20:02:53 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 30 May 2003 13:02:53 -0500 Subject: Notifying on a service when host is unreachable? Message-ID: What about adding the service contacts to the host contact list? jc > -----Original Message----- > From: Jeff Smith [mailto:doc at neonova.net] > Sent: Friday, May 30, 2003 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifying on a service when host is > unreachable? > > > At my site we monitor a lot of network links. Currently these are > defined as services on the host router they connect to. This > causes a > problem when the link drops and the host becomes unreachable. > The way > it is currently setup all the contact information for the > circuit is in > the service definition such that when it pages the oncall person will > have all the information neccessary to contact the proper provider. > However, since they are defined as services (which I believe > they should > be) when the host goes unreachable because the link went down > the only > notification sent is for the host. Is there a way to force > the service > notification to be sent as well? If not, the only other > solution, that > I can think of, is to define these as hosts instead of services which > I'd rather not be forced to do. Any other ideas? > > Thanks, > Jeff > -- > Jeffrey Smith > Operations > Neonova Network Services > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri May 30 20:03:31 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 30 May 2003 14:03:31 -0400 (EDT) Subject: help for a newbie In-Reply-To: References: Message-ID: On Fri, 30 May 2003, Tim Ruckpaul wrote: > Hallo, > can anyone tell me the meaning of $ARGn$ in resource.cfg? > I am an total newbie and nagios documentation is not detailed enough. > > Can anyone tell me a better documentation that the one at www.nagio.org? > I need to implement nagios for school, i don't want to supervise a huge > network. > The documentation at nagios.org is actually quite complete... In host and service definitions - you need to specify a command that will be run to verify state. If you don't explicity provide a path to an executeable in the host/service definition, nagios attempts to match it to a command definition (usually in command.cfg) The command definition can be hard-coded with options in which case reuse of definition across different services and hosts becomes impossible, or the definition can make use of macros. There are 2 kinds of macros - $USERx$ and $ARGx$ USERx macros are defined once (in resource.cfg) and can be used anywhere ARGx macros are defined and used by individual host and service definitions. eg. service definition command: check_smtp!6!9 The "!" is the demarcation between command name and subsequent arguments $ARG1$ is 6 $ARG2$ is 9 eg. command definition: check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ now you can monitor multiple email servers each with a customized response time using a single command definition. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri May 30 20:14:55 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 30 May 2003 13:14:55 -0500 Subject: help for a newbie Message-ID: Tim Ruckpaul wrote: > Hallo, > can anyone tell me the meaning of $ARGn$ in resource.cfg? > I am an total newbie and nagios documentation is not detailed enough. The docs are actually very detailed, albeit not always intuitive in navigating to the desired details. > Can anyone tell me a better documentation that the one at > www.nagio.org? None better than that, to my knowledge. > I need to implement nagios for school, i don't want to > supervise a huge > network. What do you mean by 'need'? Do you mean: a) Nagios looks cool, and I'll receive kudos for implementing it b) I've done a formal requirements analysis, and Nagios fits the bill c) My boss/professor/person of authority instructed me to install it If a), you might want to rethink your reasons. If b), then you'll realize that Nagios can manage small networks too. If c), then it looks like you'll have to Just Do It. Have faith, the docs are quite good. Be patient, read as much as seems relevant, follow links, return to the table of contents frequently and see if you didn't overlook something. Realize also that Nagios is an order of complexity above many things you may want to quickly download/compile/install/use, such as rsync (to use one example; typically included with Linux these days, but not with Solaris8). If you expected to spend minutes implementing Nagios, plan on spending hours. If you expected to spend hours, plan on spending days. Nagios is non-trivial, and not for the faint of heart. Having said that, there is still One Truth: Nagios ROCKS! :) jc ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at e-commercepark.com Fri May 30 20:06:23 2003 From: jan at e-commercepark.com (Jan van den Berg) Date: Fri, 30 May 2003 14:06:23 -0400 Subject: Perl subroutine plug-in Message-ID: <000501c326d6$311ee130$2e00000a@ecp.noc> Hi there, I don't if this is the right place here, but I have a question about a plug-in I'm developing. See the following Perl sub-routine sub get_alert { local @ARGV = '/var/log/alert'; my @last8; while (<>) { push @last8, $_; shift @last8 while @last8 > 8; } my $line = $last8[-6]; my $line =~ y/[,'"()<>]:;0123456789*//d; print $line; #print "test"; } So what this does is, get the 8 before last line from a log file, strips this line from meta-characters and print out a clean line of text. When I run this command-line: no problem. However Nagios says there is no output! But when I uncomment the print "test"; it prints this out nicely in Nagios... so the subroutine is okay, and the print statement is okay. (I also tried using quotes around "$line" but that didn't work). So what am I doing wrong here? Please help. Jan van den Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri May 30 21:06:47 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 30 May 2003 14:06:47 -0500 Subject: Perl subroutine plug-in Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E73C7@mismail.ena.com> Stab in the dark but can the nagios user read /var/log/alert? -- Marc _____ From: Jan van den Berg [mailto:jan at e-commercepark.com] Sent: Friday, May 30, 2003 1:06 PM To: 'Nagios-Users (E-mail)' Hi there, I don't if this is the right place here, but I have a question about a plug-in I'm developing. See the following Perl sub-routine sub get_alert { local @ARGV = '/var/log/alert'; my @last8; while (<>) { push @last8, $_; shift @last8 while @last8 > 8; } my $line = $last8[-6]; my $line =~ y/[,'"()<>]:;0123456789*//d; print $line; #print "test"; } So what this does is, get the 8 before last line from a log file, strips this line from meta-characters and print out a clean line of text. When I run this command-line: no problem. However Nagios says there is no output! But when I uncomment the print "test"; it prints this out nicely in Nagios..... so the subroutine is okay, and the print statement is okay. (I also tried using quotes around "$line" but that didn't work). So what am I doing wrong here? Please help. Jan van den Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From doc at neonova.net Fri May 30 21:33:58 2003 From: doc at neonova.net (Jeff Smith) Date: Fri, 30 May 2003 15:33:58 -0400 Subject: Notifying on a service when host is unreachable? In-Reply-To: References: Message-ID: <3ED7B226.1020305@neonova.net> The Service Contacts and the Host Contacts are the same contact group. Thanks, Jeff Carroll, Jim P [Contractor] wrote: > What about adding the service contacts to the host contact list? > > jc > > > >>-----Original Message----- >>From: Jeff Smith [mailto:doc at neonova.net] >>Sent: Friday, May 30, 2003 10:29 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Notifying on a service when host is >>unreachable? >> >> >>At my site we monitor a lot of network links. Currently these are >>defined as services on the host router they connect to. This >>causes a >>problem when the link drops and the host becomes unreachable. >> The way >>it is currently setup all the contact information for the >>circuit is in >>the service definition such that when it pages the oncall person will >>have all the information neccessary to contact the proper provider. >>However, since they are defined as services (which I believe >>they should >>be) when the host goes unreachable because the link went down >>the only >>notification sent is for the host. Is there a way to force >>the service >>notification to be sent as well? If not, the only other >>solution, that >>I can think of, is to define these as hosts instead of services which >>I'd rather not be forced to do. Any other ideas? >> >>Thanks, >>Jeff >>-- >>Jeffrey Smith >>Operations >>Neonova Network Services >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: eBay >>Get office equipment for less on eBay! >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS >>when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jeffrey Smith Operations Neonova Network Services doc at neonova.net 919.460.3330 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri May 30 21:49:40 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 30 May 2003 15:49:40 -0400 Subject: Perl subroutine plug-in Message-ID: <2E3E9736615DD311895D00105A9CADED014BCCDB@eentsvr40.ehvert.com> Try adding this to the top of the script. #! /usr/bin/perl use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $PROGNAME); use lib "/usr/local/nagios/libexec" ; use utils qw(%ERRORS &print_revision &support &usage); $PROGNAME = "check_queue"; sub print_help (); sub print_usage (); $ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; and use something like this for your exit code if ($ok){ print "Ok. $line\n"; exit $ERRORS{'OK'}; } if ($not_ok) { print "WARNING. Cannot read the bloody line\n"; exit $ERRORS{"WARNING"}; } I'm no perl expert but I hacked around until mine worked and this is what I did. Later, Dean -----Original Message----- From: Jan van den Berg [mailto:jan at e-commercepark.com] Sent: May 30, 2003 2:06 PM To: 'Nagios-Users (E-mail)' Subject: [Nagios-users] Perl subroutine plug-in Hi there, I don't if this is the right place here, but I have a question about a plug-in I'm developing. See the following Perl sub-routine sub get_alert { local @ARGV = '/var/log/alert'; my @last8; while (<>) { push @last8, $_; shift @last8 while @last8 > 8; } my $line = $last8[-6]; my $line =~ y/[,'"()<>]:;0123456789*//d; print $line; #print "test"; } So what this does is, get the 8 before last line from a log file, strips this line from meta-characters and print out a clean line of text. When I run this command-line: no problem. However Nagios says there is no output! But when I uncomment the print "test"; it prints this out nicely in Nagios..... so the subroutine is okay, and the print statement is okay. (I also tried using quotes around "$line" but that didn't work). So what am I doing wrong here? Please help. Jan van den Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri May 30 22:49:57 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 30 May 2003 15:49:57 -0500 Subject: Notifying on a service when host is unreachable? Message-ID: Ah. It seems I misunderstood the original question. When an intermediate link goes down and you have no way of knowing what the status of the remote host (or services on that host) are, what would you propose should happen? Just because Nagios can't reach the service in question, doesn't mean that the service isn't providing useful functionality. Having said that, is it possible that defining service dependencies might help you achieve what you're looking for? jc > -----Original Message----- > From: Jeff Smith [mailto:doc at neonova.net] > Sent: Friday, May 30, 2003 2:34 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notifying on a service when host is > unreachable? > > > The Service Contacts and the Host Contacts are the same contact group. > > Thanks, > Jeff > > Carroll, Jim P [Contractor] wrote: > > > What about adding the service contacts to the host contact list? > > > > jc > > > > > > > >>-----Original Message----- > >>From: Jeff Smith [mailto:doc at neonova.net] > >>Sent: Friday, May 30, 2003 10:29 AM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] Notifying on a service when host is > >>unreachable? > >> > >> > >>At my site we monitor a lot of network links. Currently these are > >>defined as services on the host router they connect to. This > >>causes a > >>problem when the link drops and the host becomes unreachable. > >> The way > >>it is currently setup all the contact information for the > >>circuit is in > >>the service definition such that when it pages the oncall > person will > >>have all the information neccessary to contact the proper provider. > >>However, since they are defined as services (which I believe > >>they should > >>be) when the host goes unreachable because the link went down > >>the only > >>notification sent is for the host. Is there a way to force > >>the service > >>notification to be sent as well? If not, the only other > >>solution, that > >>I can think of, is to define these as hosts instead of > services which > >>I'd rather not be forced to do. Any other ideas? > >> > >>Thanks, > >>Jeff > >>-- > >>Jeffrey Smith > >>Operations > >>Neonova Network Services > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: eBay > >>Get office equipment for less on eBay! > >>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS > >>when reporting any issue. > >>::: Messages without supporting info will risk being sent > to /dev/null > >> > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > -- > Jeffrey Smith > Operations > Neonova Network Services > doc at neonova.net > 919.460.3330 > > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doc at neonova.net Fri May 30 23:26:59 2003 From: doc at neonova.net (Jeff Smith) Date: Fri, 30 May 2003 17:26:59 -0400 Subject: Notifying on a service when host is unreachable? In-Reply-To: References: Message-ID: <3ED7CCA3.4060001@neonova.net> Right... when the intermediate link goes down I would like it to tell me that the intermediate link (the service bound to the host) went down not just that the host itself is unreachable. Which is how it happens now. Here's a mockup of my scenario: define host{ use net_host host_name Foo_Router_Edge alias Foo Router Edge Type:2611 address 10.1.1.1 notification_options d,u,r } define service{ use net_service host_name Foo_Router_Edge service_description Bar T-1 Id:123456 Cn:800-555-1212 Ip:10.2.2.2 In:Serial0/0 check_command check_ping_svc!10.2.2.2 notification_options w,u,c,r } when the service goes down nagios goes and checks the host. Then it notifies that the host is unreachable but never notifies me that the service bound to the host is down. What I'm looking for is a way to tell Nagios to not only tell me the host is unreachable but also tell me that the service bound to it is also critical. The only Notification I get is: PROBLEM Foo Router Edge Type:2611 DOWN 05-30-2003 15:22:00 When what I want to be notified on is the above plus: PROBLEM Bar T-1 Id:123456 Cn:800-555-1212 Ip:10.2.2.2 In:Serial0/0 CRITICAL 05-30-2003 15:22:00 Thats basically what I'm after. Thanks, Jeff Carroll, Jim P [Contractor] wrote: > Ah. It seems I misunderstood the original question. > > When an intermediate link goes down and you have no way of knowing > what the status of the remote host (or services on that host) are, > what would you propose should happen? Just because Nagios can't > reach the service in question, doesn't mean that the service isn't > providing useful functionality. > > Having said that, is it possible that defining service dependencies > might help you achieve what you're looking for? > > jc > > > >>-----Original Message----- >>From: Jeff Smith [mailto:doc at neonova.net] >>Sent: Friday, May 30, 2003 2:34 PM >>To: Carroll, Jim P [Contractor] >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Notifying on a service when host is >>unreachable? >> >> >>The Service Contacts and the Host Contacts are the same contact group. >> >>Thanks, >>Jeff >> >>Carroll, Jim P [Contractor] wrote: >> >> >>>What about adding the service contacts to the host contact list? >>> >>>jc >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Jeff Smith [mailto:doc at neonova.net] >>>>Sent: Friday, May 30, 2003 10:29 AM >>>>To: nagios-users at lists.sourceforge.net >>>>Subject: [Nagios-users] Notifying on a service when host is >>>>unreachable? >>>> >>>> >>>>At my site we monitor a lot of network links. Currently these are >>>>defined as services on the host router they connect to. This >>>>causes a >>>>problem when the link drops and the host becomes unreachable. >>>>The way >>>>it is currently setup all the contact information for the >>>>circuit is in >>>>the service definition such that when it pages the oncall >> >>person will >> >>>>have all the information neccessary to contact the proper provider. >>>>However, since they are defined as services (which I believe >>>>they should >>>>be) when the host goes unreachable because the link went down >>>>the only >>>>notification sent is for the host. Is there a way to force >>>>the service >>>>notification to be sent as well? If not, the only other >>>>solution, that >>>>I can think of, is to define these as hosts instead of >> >>services which >> >>>>I'd rather not be forced to do. Any other ideas? >>>> >>>>Thanks, >>>>Jeff >>>>-- >>>>Jeffrey Smith >>>>Operations >>>>Neonova Network Services >>>> >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.net email is sponsored by: eBay >>>>Get office equipment for less on eBay! >>>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS >>>>when reporting any issue. >>>>::: Messages without supporting info will risk being sent >> >>to /dev/null >> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: eBay >>>Get office equipment for less on eBay! >>>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and >> >>OS when reporting any issue. >> >>>::: Messages without supporting info will risk being sent >> >>to /dev/null >> >>-- >>Jeffrey Smith >>Operations >>Neonova Network Services >>doc at neonova.net >>919.460.3330 >> > > -- Jeffrey Smith Operations Neonova Network Services doc at neonova.net 919.460.3330 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esprikkelman at landstede.nl Sat May 31 14:11:48 2003 From: esprikkelman at landstede.nl (Erik) Date: 31 May 2003 12:11:48 -0000 Subject: Statusmap Problem Message-ID: <20030531121148.20127.qmail@pod-163.dolphin-server.co.uk> Hi there, i've had some trouble getting the statusmap to work properly. It works ok, however, it doesn't display any icons besides the NAGIOS icon and UNKNOWN I've tried both the old-config, and template based configuration, but i can't seem to get it working. Does anyone have an idea what i am doing wrong ??? Any help would be appreciated. Thanks Regards, Erik ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null