Hi @Holger
You are using the old Plugin API/Syntax here. While this still works for 2.0.0 I never the less wanted to mention this.
I think there are two things which prevent the plugin to be working. First the snmp_info
line and secound the !=None
comparison in the snmp_scan_function
. By adding an/some additional v
into the commandline the command gets move verbose and may help debug this.
The snmp_info
info is as far as I know focus on tables, so you need to provide it with a table and the columns you want it to retrieve. So ('.1.3.6.1.4.1.31977.4.3.1.3', ['525'])
should force it to get the field you asked for.
The snmp_scan_function
should work just fine without the != none
or replaced with is not None
.
check_info['...'] = {
...,
'snmp_info': ('.1.3.6.1.4.1.31977.4.3.1.3', ['525']),
'snmp_scan_function': lambda oid: oid('.1.3.6.1.4.1.31977.4.3.1.3.525'),
}
Regards Marius