net-mgmt/icinga2 + net-mgmt/monitoring-plugins: check_snmp not working

O. Hartmann ohartman at zedat.fu-berlin.de
Tue Mar 3 09:31:00 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Using net-mgmt/icinga2 and net-mgmt/monitoring-plugins for observation of some
swithces and routers via check_snmp fails lately with the error on all systems
with a

CRITICAL - Plugin timed out while executing system call

Even those examples taken from the handbook do not work on FreeBSD CURRENT and
FreeBSD 10.1-p6 (systems and ports tree uptodate to the most recent sources).

I tried the command "check_snmp" manually as well as the snmpget (implicitely
installed from port net-mgmt/net-snmp) and they work well.

I suspect that the plugin is missing some variables (community, version, oid or
even host address), which are not passed properly by ICINGA2 to the plugin or
the handbook of icinga2 claims they're set but in reality they aren't.

I need some hints how to debug the call of a specific plugin and what that
plugin is provided with (variables) from ICINGA2. I only found some debugging
hints and features for ICINGA2 itself, but they do not help much since the logs
do not reveal the calling  of the plugin.

Can someone help with some hints?

Thanks in adavance,

Oliver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJU9X7VAAoJEOgBcD7A/5N8yREIAK68nLugEEZBQwQ2QKOsMWf4
Q7gjrNwi5itQNVNX+ryHyg0kuzJSR+imqKDtFYslX/91Z2tgkDjr4G1sGvOD8dVd
uaznmLBguRz/PuPGFoQRxTJFhdv8OUGz28EH6JVcXD36huBSMfvUU5Vpd08MXbmM
Edb1mgHmmFYAFEYwJSWudXcX0lVR+AN83NnmZJ8hLUcHNM/Ia1kKDGtOh9DZpS1Q
b1GexUv7FYlilxUOcf5tnTGTGp/Q7I2oEE66BEzzCJsW48y37k/EiyWmqsT6dLPP
SoP9E6jNQy03vdr3Z0D6ZVU5vbs2YPKi+WHmXVri1VHFbZoc8JzqDT/oKpHpUcw=
=EIMy
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list