On 2017-05-31 16:52, Jan Wagner wrote:
Am 31.05.17 um 12:06 schrieb Emmanuel DECAEN:
In nrpe, system wide /var/tmp is no more reachable
$ grep "/var/tmp" /proc/11489/mountinfo
115 113 254:2 / /var/tmp/mysql rw,noatime,nodiratime shared:65
master:32- xfs /dev/mapper/v1-tmp rw,attr2,inode64,noquota
121 113 8:5
/tmp/systemd-private-b35c254c031041979d3126e02a0c5c51-nagios-nrpe-server.service-7xjqpw/tmp
/var/tmp rw,relatime shared:66 master:28 - ext4 /dev/sda5 rw,data=ordered
As you traced the problem yourself to nrpe, you might want to reassign
the bug to nagios-nrpe-plugin with appropriate version?

If NRPE cannot execute the checkcommand that implies that the nagios user doesn't have the required permissions.

The given checkcommand is not part of the default configuration:

 /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /var/tmp/mysql

Which suggests that this is a configuration issue to be resolved by the administrator of the system. (e.g use sudo to execute the plugin as a users with the required permissions).

Kind Regards,

Bas

Reply via email to