NRPE: Unable to read output check_load
Re: NRPE: Unable to read output check_load
HI,
I never been use a journalctl tools, but in the /var/log/messages i see this :
Jul 31 08:44:34 server43012x nrpe[15407]: Daemon shutdown
Jul 31 08:44:34 server43012x nrpe[9706]: Starting up daemon
Jul 31 08:44:34 server43012x nrpe[9706]: Server listening on 0.0.0.0 port 5666.
Jul 31 08:44:34 server43012x nrpe[9706]: Server listening on :: port 5666.
Jul 31 08:44:34 server43012x nrpe[9706]: Listening for connections on port 0
Jul 31 08:44:34 server43012x nrpe[9706]: Allowing connections from: 202.43.165.22
Is there any solution ?
Thx
I never been use a journalctl tools, but in the /var/log/messages i see this :
Jul 31 08:44:34 server43012x nrpe[15407]: Daemon shutdown
Jul 31 08:44:34 server43012x nrpe[9706]: Starting up daemon
Jul 31 08:44:34 server43012x nrpe[9706]: Server listening on 0.0.0.0 port 5666.
Jul 31 08:44:34 server43012x nrpe[9706]: Server listening on :: port 5666.
Jul 31 08:44:34 server43012x nrpe[9706]: Listening for connections on port 0
Jul 31 08:44:34 server43012x nrpe[9706]: Allowing connections from: 202.43.165.22
Is there any solution ?
Thx
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NRPE: Unable to read output check_load
Is 202.43.165.22 the nagios host that is attempting to access it? Within that debug output time, did you attempt to run check_nrpe from the nagios system and communicate with this device?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: NRPE: Unable to read output check_load
Already do that, you may scroll previous the page.
Re: NRPE: Unable to read output check_load
Can you run the following command on the client and show us the output?
Code: Select all
ls -l /usr/lib/nagios/plugins/check_load
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRPE: Unable to read output check_load
Code: Select all
server43012x [~]# ls -al /usr/lib/nagios/plugins/check_load
-rwxr-xr-x 1 root root 38988 Oct 17 2013 /usr/lib/nagios/plugins/check_load*
Re: NRPE: Unable to read output check_load
Are you using tcp wrappers? Is selinux enabled?
Code: Select all
cat /etc/hosts.allow
cat /etc/hosts.deny
sestatus
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRPE: Unable to read output check_load
My server are using cPanel system. Is that would be uncompatible with Nagios ?
Thanks.
Code: Select all
# sestatus
SELinux status: disabled
Code: Select all
~]# cat /etc/hosts.allow
#
# hosts.allow This file contains access rules which are used to
# allow or deny connections to network services that
# either use the tcp_wrappers library or that have been
# started through a tcp_wrappers-enabled xinetd.
#
# See 'man 5 hosts_options' and 'man 5 hosts_access'
# for information on rule syntax.
# See 'man tcpd' for information on tcp_wrappers
Code: Select all
[~]# cat /etc/hosts.deny
#
# hosts.deny This file contains access rules which are used to
# deny connections to network services that either use
# the tcp_wrappers library or that have been
# started through a tcp_wrappers-enabled xinetd.
#
# The rules in this file can also be set up in
# /etc/hosts.allow with a 'deny' option instead.
#
# See 'man 5 hosts_options' and 'man 5 hosts_access'
# for information on rule syntax.
# See 'man tcpd' for information on tcp_wrappers
Re: NRPE: Unable to read output check_load
Do any of the check commands work?
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H server43012x
/usr/lib/nagios/plugins/check_nrpe -H server43012x -c check_users
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: NRPE: Unable to read output check_load
Yes this command was executed with successfull
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H server43012x
NRPE v2.15
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H server43012x -c check_users
USERS OK - 3 users currently logged in |users=3;5;10;0
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: NRPE: Unable to read output check_load
When testing this command on the remote host, are you doing it as the nagios user?
Code: Select all
su nagios
/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.