Need help with SNMP Plugin in Centreon - Numeric Value Issue
I'm encountering an issue with the Centreon SNMP plugin where there's a difference between CLI and GUI execution results.
Command Configuration in Centreon Web Interface:
/usr/lib/centreon/plugins/centreon_generic_snmp.pl
--plugin=apps::protocols::snmp::plugin
--mode=numeric-value
--hostname=xxxxxxxxxxx
--snmp-community='public'
--snmp-version=3
--snmp-username='xxxxxxxxxxx'
--authprotocol='SHA'
--authpassphrase='xxxxxxxxxxx'
--privprotocol='AES'
--privpassphrase='xxxxxxxxxxxx'
--oid='.1.3.6.1.4.1.6101.3004.4.1.4.1.0'
--format='current value is %s'
--warning=
--critical=
--extracted-pattern='([\d\])'
Result in Web Interface:
UNKNOWN: oid value is not numeric (41.31 Kbps)
CLI Command:
/usr/lib/centreon/plugins/centreon_generic_snmp.pl --plugin=apps::protocols::snmp::plugin --mode=numeric-value --hostname=xxxxxxxxxxx --snmp-community='public' --snmp-version=3 --snmp-username='xxxxxxxxxxx' --authprotocol='SHA' --authpassphrase='xxxxxxxxxxx' --privprotocol='AES' --privpassphrase='xxxxxxxxxxx' --oid='.1.3.6.1.4.1.6101.3004.4.1.4.1.0' --format='current value is %s' --warning= --critical= --extracted-pattern='([\d\])'
CLI Result:
OK: current value is 75.31 | 'value'=75.31;;;;
The OID returns a traffic value in Kbps format. How can I make this work properly in Centreon's web interface?
Any help would be greatly appreciated.