I found the “monitoring-plugings” (Nagios) script “check_dns” does not work when used in Libre for some reasons.
If I run it on shell using the “librenms”-user, the check runs fine:
./check_dns -H www.google.com
DNS OK: 0.023 seconds response time. www.google.com returns 172.217.19.68,2a00:1450:4005:80b::2004|time=0.023269s;;;0.000000
When invoked by the service poller, the status in the web-ui is always:
CRITICAL - Plugin timed out while executing system call
or:
CRITICAL - No response from name server
I thought it could be some malformed parameters, but when I use a wrapper-script, I can see that the parameters are passed correctly:
check_dns -H www.google.com
So, right now I have no idea what could be the cause of this.
Did anyone ever figure out why this particular plugin refuses to work with Libre? All others I tested seem to work quite fine.
TIA!