Hi,
i need some help/explanation why:
./check_snmp -H myhost.com -U myuser -o 1.3.6.1.2.1.1.4.0 -P 3 -L authPriv -A secret -X secret -a SHA -x AES
works
and when i transfer this to a service:
object Service “Contact” {
import “generic-service”
host_name = “myhost.com”
check_command = “snmp”
vars.snmp_version = “3”
vars.snmpv3_oid = “1.3.6.1.2.1.1.4.0”
vars.snmpv3_user = “myuser”
vars.snmpv3_auth_key = “secret”
vars.snmpv3_priv_key = “secret”
vars.snmpv3_auth_alg = “SHA”
vars.snmpv3_priv_alg = “AES”
vars.snmpv3_seclevel = “authPriv”
}
it don’t.
No error with icinga configuration, but Plugin Output says:
No OIDs specified
I tried with and without trailing .0
in icinga-web the custom variables are shown.
Any ideas?
Thanks