Hi all,
I want to test ETH via OID 1.3.6.1.2.1.2.2.1.8.XXX
It’s work but state stay at OK while the ETH is UP (1) or DOWN (2).
Performance data shown : 'value'=2;;0:2;; where the first “2” indicate the down status.
How to change status to CRITICAL when the performance data show 2 ?
I use centreon_generic_snmp.pl and this command to test this :
$CENTREONPLUGINS$/centreon_generic_snmp.pl --plugin=apps::protocols::snmp::plugin --mode=numeric-value --hostname=192.168.1.1 --snmp-community=snmp_community --snmp-version=1 --oid=1.3.6.1.2.1.2.2.1.8.1 --warning=$_SERVICEWARNING$ --critical=$_SERVICECRITICAL$ $_SERVICEOPTIONS$
Thx for all.