Please help me with nrpe and FreeBSD
Pascal Miquet
p.miquet at hafiba.fr
Fri Nov 29 14:15:24 CET 2002
Hello,
Are you allowed to run such command from your nagios server, and query
your FreeBSD server ?
You can try telnet FreeBSD_Server 5666 (If you've set the nrpe service
on the port 5666, as the default one)
Did you restart your (x)inetd to take in charge the new service ?
HTH
Regards
Pascal Miquet
Le jeu 28/11/2002 à 13:32, Thomas Guldener a écrit :
Hello Everybody
I have some problems to configurate nrpe on my freebsd. I have runnig
nagios 1.0b6 and i will do some external checks on other boxes. I have
already done the following configuration:
On the local FreeBSD box:
Checkcommands.cfg
# 'check-nrpe' command definition
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$
}
Service.cfg
define service{
use generic-service
host_name dub00as0
service_description check-users
check_command check_nrpe!check-users
....
}
And on the other FreeBSD box:
I have installed the nrpe and the nrpe.cfg under /usr/local/etc/nrpe/
and i have installed the nagios plugins from the FreeBSD Ports. I have
open hosts.allow for my first box for all services. After I have done
the following configurations:
Nrpe.cfg
# PORT NUMBER
server_port=5xxx
debug=1
# Command command[check_users]=/usr/local/libexec/nagios/check_users 5
10
Inetd.conf
nrpe stream tcp nowait root
/usr/local/etc/nrpe/nrpe -i /usr/local/etc/nrpe/nrpe.cfg
Services
nrpe 5xxx/tcp #NRPE
When I start now Nagios I become the error message CHECK_NRPE: Received
0 bytes. Are we allowed to connect to the host?
What can I do ore wich missconfiguration i have? Please help me.
Greats
Thomas
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021129/0de1848a/attachment.html>
More information about the Users
mailing list