[Pkg-nagios-devel] Bug#863797: monitoring-plugins-basic: unable to use check_disk inside /var/tmp

Emmanuel DECAEN Emmanuel.Decaen at xsalto.com
Wed May 31 16:21:37 UTC 2017


reassign 863797 nagios-nrpe-server 3.0.1-3

Le 31/05/2017 à 16:52, Jan Wagner a écrit :
> Hi Emmanuel,
>
> thanks for bringing this to our attention.
>
> Am 31.05.17 um 12:06 schrieb Emmanuel DECAEN:
>> Package: monitoring-plugins-basic
>> Version: 2.2-3
> [...]
>> After upgrade, check_disk on /var/tmp/mysql is broken.
>>
>> Status using nrpe (wrong):
>> DISK CRITICAL - /var/tmp/mysql is not accessible: No such file or directory
>>
>> Status using bash (works correctly):
>> $ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /var/tmp/mysql
>> DISK OK - free space: /var/tmp/mysql 10187 MB (99% inode=99%);|
>> /var/tmp/mysql=42MB;8184;9207;0;10230
> Which is a strong indication that check_disk itself works as expected.
>
>> 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?

I agree to reassign the bug to the package containing /usr/sbin/nrpe.

Best regards,

-- 
*Emmanuel DECAEN*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20170531/c0ba5048/attachment.html>


More information about the Pkg-nagios-devel mailing list