Differing results from same probe using NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

Differing results from same probe using NRPE

Post by Bitflogger »

Hello, I'm running v5.5.5, 64-bit, VM, CentOS 7

We have a command that is run on over 100 servers, and it works fine on all but two servers.

The same command run on the command line, from the XI server, to the problem servers works fine.

[ead@winston nagios-extra]$ date
Thu Nov 1 11:04:33 CDT 2018
[ead@winston nagios-extra]$ ./check_nrpe_2.15 -H ldap15.doit.wisc.edu -u -t 30 -c disk_ldap15.doit.wisc.edu
DISK OK| /=3118MB;8561;8745;0;9206 /boot=183MB;467;477;0;503 /tmp=39MB;943;964;0;1015 /var=967MB;4752;4854;0;5110 /home=45MB;1893;1934;0;2036 /var/tmp=39MB;943;964;0;1015 /usr/local/mst=446MB;4750;4852;0;5108 /var/lib/docker=86MB;9510;9714;0;10226 /var/lib/mst=75383MB;114250;116707;0;122850 /var/log=162MB;943;964;0;1015 /var/log/audit=56MB;943;964;0;1015 /var/log/mst=32MB;9510;9714;0;10226 /var/lib/docker/containers=86MB;9510;9714;0;10226 /var/lib/docker/devicemapper=86MB;9510;9714;0;10226 /var/lib/rancher/volumes=967MB;4752;4854;0;5110 /var/lib/kubelet=967MB;4752;4854;0;5110
[ead@winston nagios-extra]$

The XI service returns: NRPE: Command 'disk_ldap15.doit.wisc.edu' not defined

The XI command is:
define service {
service_description l_disk
use generic-linux-service-disk
hostgroup_name _linux
check_command check_nrpe!disk_$HOSTNAME$!!!!!!!
is_volatile 0
process_perf_data 1
notification_interval 240
first_notification_delay 10
register 1
}

define command {
command_name check_nrpe
command_line $USER5$/check_nrpe_2.15 -H $HOSTADDRESS$ -u -t 30 -c $ARG1$
}

Earl
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

Re: Differing results from same probe using NRPE

Post by Bitflogger »

Hello,

Please hold, we have identified a IP problem.
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

Re: Differing results from same probe using NRPE

Post by Bitflogger »

Please close, host name did match address.

Earl
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Differing results from same probe using NRPE

Post by benjaminsmith »

Hi Earl,

Glad to hear you found the problem. I'll close the case.

Thank you for using the Nagios Support Forums.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked