Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 16:08:01 +0300
From:      Odhiambo Washington <wash@wananchi.biz>
To:        freebsd-questions@freebsd.org
Subject:   Netsaint - nrpe addon
Message-ID:  <20020314130801.GA26252@ns2.wananchi.com>

next in thread | raw e-mail | index | archive | help

--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  <wash@wananchi.com>    "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[<command_name>]=<command_line>
#
# When the daemon receives a request to return the results of <command_name>
# it will execute the command specified by the <command_line> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020314130801.GA26252>