NRPE check_disk performance data is wrong.
Posted: Mon Sep 11, 2017 2:23 pm
when I run check_disk on the Ubuntu 16.04 being monitored (apt-get fully up to date), I receive:
and 'df -h' backs that up with:
And nrpe.cfg has this:
When I run the check on the Nagios server (Ubuntu 12.04) the data being received is all wrong:
Here are the versions on the Nagios server:
Is it just that the packages on the Nagios server are out of date, or is there an error somewhere? Thanks for the help!
Code: Select all
user@server:/var/log/apache2/sites$ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/vgpool--logs-lv--logs
DISK OK - free space: /var/log/apache2/sites 21691 MB (99% inode=99%);| /var/log/apache2/sites=169MB;18443;20748;0;23054
Code: Select all
user@server:/var/log/apache2/sites$ df -h
Filesystem Size Used Avail Use% Mounted on
<snip out irrelevant data>
/dev/mapper/vgpool--logs-lv--logs 23G 170M 22G 1% /var/log/apache2/sites
Code: Select all
command[check_logs]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/vgpool--logs-lv--logs
Code: Select all
user@server2:/etc/nagios3/objects/servers/linux$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.5.21 -c check_logs
DISK CRITICAL - free space: /var/log/apache2/sites 0 MB (0% inode=0%);| /var/log/apache2/sites=17508311532424MB;-2147483648;-2147483648;0;17508311532480
Code: Select all
user@server2:/etc/nagios3/objects/servers/linux$ dpkg -l | grep '^ii' | grep nagios
ii nagios-images 0.7 Collection of images and icons for the nagios system
ii nagios-nrpe-plugin 2.12-5ubuntu1.2 Nagios Remote Plugin Executor Plugin
ii nagios-nrpe-server 2.12-5ubuntu1.2 Nagios Remote Plugin Executor Server
ii nagios-plugins 1.4.15-5ubuntu3.2 Plugins for nagios compatible monitoring systems (metapackage)
ii nagios-plugins-basic 1.4.15-5ubuntu3.2 Plugins for nagios compatible monitoring systems
ii nagios-plugins-extra 1.4.15-5ubuntu3.2 Plugins for the nagios network monitoring and manegement system.
ii nagios-plugins-standard 1.4.15-5ubuntu3.2 Plugins for nagios compatible monitoring systems
ii nagios-snmp-plugins 1.1.1-7 SNMP Plugins for nagios
ii nagios3 3.2.3-3ubuntu1.1 A host/service/network monitoring and management system
ii nagios3-cgi 3.2.3-3ubuntu1.1 cgi files for nagios3
ii nagios3-common 3.2.3-3ubuntu1.1 support files for nagios3
ii nagios3-core 3.2.3-3ubuntu1.1 A host/service/network monitoring and management system core files
ROYALCORP\rholtz@rovsubuntu1:/etc/nagios3/objects/servers/linux$