I try to monitor interface 1 of an Aruba-Switch-1930. The command which I use is the following:
/usr/lib/centreon/plugins//centreon_aruba.pl
--plugin=network::aruba::standard::snmp::plugin
--mode=interfaces
--hostname=10.133.120.240
--snmp-version='3'
--snmp-community='public'
--snmp-username=admin03
--authpassphrase="my password"
--authprotocol=SHA
--privpassphrase="my password"
--privprotocol=DES
--interface='^1$'
--name
--add-status
--add-traffic
--warning-in-traffic='80'
--critical-in-traffic='90'
--warning-out-traffic='80'
--critical-out-traffic='90'
--verbose
I replaced the authpassphrase and the privpassphrase. The problem with this command is that it returns the following output:
There are two states for the same interface. The first one mentioned (Interface ‘1’ Status : up (admin: up) is the right one. However, Centreon uses the second output (Interface: down).
How could i change it to make this right? For all other interfaces it functions perfectly.