Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =6&t=22337
In the future, please create a new thread and link to the old one instead of adding on.
Hi all,
I have the same problem when I use NRDP
Error code 72057594037927935 - check plugin
cenots 7 nagios XI
Latest Available Version: 5.4.4
Installed Version: 5.4.4
Last Update Check: 2017-05-03 21:12:04
command[__HOST__]=/usr/local/nagios/libexec/check_icmp -H localhost -w 3000.0,80% -c 5000.0,100% -p 1
I also try this command[__HOST__]=/usr/local/nagios/libexec/check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 1
but then
PING CRITICAL - System call sent warnings to stderr System call sent warnings to stderr System call sent warnings to stderr System call sent warnings to stderr System call sent warnings to stderr System call sent warnings to stderr System call sent
command[Check Users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[Check Load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[Check Disk]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /
command[Check Zombie Procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[Check Total Procs]=/usr/local/nagios/libexec/check_procs -w 350 -c 400
When I try from that host
/usr/local/nagios/libexec/check_icmp -H localhost -w 3000.0,80% -c 5000.0,100% -p 1
OK - localhost: rta 0.105ms, lost 0%|rta=0.105ms;3000.000;5000.000;0; pl=0%;80;100;;
All services are ok but host is down.
Error code 72057594037927935 - check plugin
Re: Error code 72057594037927935 - check plugin
When you are running that command manually on the remote host are you running it as the nagios user? Try running this command before running the test command and see if it gives you any other errors.
- Make sure to use the - in the su command
Also, are you seeing anything in your /var/log/messages on the remote server?
We can turn on NRPE debugging to collect more information.
On the remote server please edit this file:
Change the debug setting to:
Save the file and then run:
Now we need to add an option to the rsyslog server so it processes debug messages, edit this file:
Find the /var/log/messsages line in the config file, it will look like this:
Change it to:
Save the file and restart rsyslog
Now there should be more information logged in, from your nagios server execute the command multiple times and then run this command on the remote server and send the full output:
Thank you
- Make sure to use the - in the su command
Code: Select all
su - nagiosWe can turn on NRPE debugging to collect more information.
On the remote server please edit this file:
Code: Select all
/usr/local/nagios/etc/nrpe.cfgCode: Select all
debug=1Code: Select all
service xinetd restartCode: Select all
/etc/rsyslogd.confFind the /var/log/messsages line in the config file, it will look like this:
Code: Select all
*.info;mail.none;authpriv.none;cron.none /var/log/messagesCode: Select all
*.info;mail.none;authpriv.none;cron.none;daemon.debug /var/log/messagesCode: Select all
service rsyslog restartNow there should be more information logged in
Code: Select all
/var/log/messagesCode: Select all
tail -n100 /var/log/messages