Logging issues

Alex mysqlstudent at gmail.com
Thu Nov 10 05:50:32 CET 2011


Hi,
I have a fedora15 server as a client and another fedora15 server as a
server and having some trouble with "connection refused" messages, but
don't see anything in the logs to indicate what the problem might be.

It seems all the nrpe services are being rejected, despite nrpe
running successfully:

Nov  9 23:40:18 fc14 nrpe[2157]: INFO: SSL/TLS initialized. All
network traffic will be encrypted.
Nov  9 23:40:18 fc14 nrpe[2158]: Starting up daemon
Nov  9 23:40:18 fc14 nrpe[2158]: Listening for connections on port 5666
Nov  9 23:40:18 fc14 nrpe[2158]: Allowing connections from:
127.0.0.1,192.168.1.100,64.XX.YY.2

I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching
the server and no firewall rules are involved. Other services, such as
checking port 25, work successfully.

How can I configure nrpe to log attempts to communicate with it to the
logs? I've set debug=1 and log_facility=daemon, but it still doesn't
record any activity.

I've included my /etc/nagios/nrpe.cfg file from the client below in
hopes it will help troubleshoot this:

log_facility=daemon
pid_file=/var/run/nrpe/nrpe.pid
server_port=5666
server_address=127.0.0.1
nrpe_user=nrpe
nrpe_group=nrpe
allowed_hosts=127.0.0.1,64.XX.YY.2

dont_blame_nrpe=0
debug=1
command_timeout=60
connection_timeout=300
include_dir=/etc/nrpe.d/
command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20%
-c 10% -p /boot
command[check_disk_home]=/usr/lib64/nagios/plugins/check_disk -w 20%
-c 10% -p /home
command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_mdstat_boot]=/usr/lib64/nagios/plugins/check_mdstat md0
command[check_mdstat_root]=/usr/lib64/nagios/plugins/check_mdstat md1
command[check_mdstat_home]=/usr/lib64/nagios/plugins/check_mdstat md2
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib64/nagios/plugins/check_load -w 35,30,25 -c 30,25,20
command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5
-c 10 -s Z
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 220
command[check_mailq_pre]=/usr/lib64/nagios/plugins/check_mailq -w 4 -c 6
command[check_dns]=/usr/lib64/nagios/plugins/check_dns -H example.com
-s 192.168.1.1 -a 8.8.8.8
command[check_procs_named]=/usr/lib64/nagios/plugins/check_procs -w
1:7 -c 1:10 -C named -u named
command[check_procs_master]=/usr/lib64/nagios/plugins/check_procs -w
1:1 -c 1:1 -C master -u root
command[check_procs_sshd]=/usr/lib64/nagios/plugins/check_procs -w 1:
-c 1: -C sshd
command[check_procs_Z]=/usr/lib64/nagios/plugins/check_procs -w 4 -c 6 -s Z
command[check_procs_D]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 20 -s D
command[check_procs_total]=/usr/lib64/nagios/plugins/check_procs -w
1:210 -c 1:230
command[check_ntp]=/usr/lib64/nagios/plugins/check_ntp -H localhost
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5
-c 10 -s Z
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200

Thanks for any ideas.
Alex

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list