CHECK_NRPE: Error -: Conn
Posted: Tue Jan 30, 2018 12:25 pm
I am not able to monitor nagios client servers. However, I have already check networking side and everything looks good to me.
When I google, I found that there is an SSL issue. I already checked that SSL got enabled while installation. Not sure what else should I look into.
Installation from this source:
https://support.nagios.com/kb/article.php?id=515#Ubuntu
When I google, I found that there is an SSL issue. I already checked that SSL got enabled while installation. Not sure what else should I look into.
Code: Select all
ubuntuadmin@iusa-lin-db01:/etc/default$ sudo systemctl status nrpe.service
● nrpe.service - Nagios Remote Plugin Executor
Loaded: loaded (/lib/systemd/system/nrpe.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-01-26 00:20:03 CST; 4 days ago
Docs: http://www.nagios.org/documentation
Main PID: 1285 (nrpe)
Tasks: 1
Memory: 3.2M
CPU: 76ms
CGroup: /system.slice/nrpe.service
└─1285 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -f
Jan 26 00:20:03 iusa-lin-db01 systemd[1]: Started Nagios Remote Plugin Executor.
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Starting up daemon
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Server listening on 0.0.0.0 port 5666.
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Server listening on :: port 5666.
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Warning: Daemon is configured to accept command arguments from clients!
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Listening for connections on port 5666
Jan 26 00:20:04 iusa-lin-db01 nrpe[1285]: Allowing connections from: 127.0.0.1,45.55.251.117
ubuntuadmin@iusa-lin-db01:/etc/default$
ubuntuadmin@iusa-lin-db01:/etc/default$
ubuntuadmin@iusa-lin-db01:/etc/default$
ubuntuadmin@iusa-lin-db01:/etc/default$ telnet 45.55.251.117 5666
Trying 45.55.251.117...
Connected to 45.55.251.117.
Escape character is '^]'.
Connection closed by foreign host.
ubuntuadmin@iusa-lin-db01:/etc/default$
ubuntuadmin@iusa-lin-db01:/etc/default$
ubuntuadmin@iusa-lin-db01:/etc/default$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
NRPE v3.2.1
ubuntuadmin@iusa-lin-db01:/etc/default$ /usr/local/nagios/libexec/check_nrpe -H 45.55.251.117
CHECK_NRPE: Error - Could not connect to 45.55.251.117: Connection reset by peer
ubuntuadmin@iusa-lin-db01:/etc/default$
https://support.nagios.com/kb/article.php?id=515#Ubuntu