From owner-freebsd-questions Thu Mar 14 5: 8:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 1A17837B404 for ; Thu, 14 Mar 2002 05:07:52 -0800 (PST) Received: from wash by ns2.wananchi.com with local (Exim 3.35 #1 (FreeBSD)) id 16lUxd-0007jx-00 for ; Thu, 14 Mar 2002 16:08:01 +0300 Date: Thu, 14 Mar 2002 16:08:01 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Subject: Netsaint - nrpe addon Message-ID: <20020314130801.GA26252@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Nothing makes one so vain as being told that one is a sinner. Conscience makes egotists of us all. -- Oscar Wilde X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: XFCE X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 4:01PM up 4 days, 23:53, 2 users, load averages: 2.36, 2.28, 2.25 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello users, Would anyone running Netsaint with the nrpe addon share their experience with me. I have setup everything according to the book but when I HUP inetd, nrpe fails to start, saying Config file '/root/Netsaint/nrpecfg' contained errors, bailing out... I am attaching the file in Q hoping that someone has been thro this. tia -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) ++ Patageometry, n.: The study of those mathematical properties that are invariant under brain transplants. --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nrpe.cfg" #################################################### # Sample NRPE Config File # Written by: Ethan Galstad (netsaint@netsaint.org) # # Last Modified: 03/30/2000 #################################################### # PORT NUMBER # Port number we should wait for connections on. # This must be a non-priveledged port (i.e. > 1024). server_port=5666 # SERVER ADDRESS # Address that nrpe has to bind to in case there are # more as one interface and we do not want nrpe to bind # (thus listen) on all interfaces. #server_address=192.168.1.1 server_address=212.49.74.4 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # Note: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your /etc/hosts.allow # file to allow only the specified host to connect to the port # you are running this daemon on. #allowed_hosts=127.0.0.1,192.168.0.2 #allowed_hosts=62.8.64.108,62.8.68.108,212.49.74.108 # DEBUGGING OPTION # This option determines whether or not debugging # messages are logged to the syslog facility. 0=off, 1=on debug=1 # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike NetSaint, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /root/Netsaint/sbin # directory. command[check_users]=/root/Netsaint/sbin/check_users 5 10 command[check_load]=/root/Netsaint/sbin/check_load 5 10 15 20 25 30 command[check_disk1]=/root/Netsaint/sbin/check_disk 80 95 /dev/hda1 command[check_disk2]=/root/Netsaint/sbin/check_disk 80 95 /dev/hdb1 command[check_zombie_procs]=/root/Netsaint/sbin/check_procs 5 10 Z command[check_total_procs]=/root/Netsaint/sbin/check_procs 150 200 --hQiwHBbRI9kgIhsi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message