Hello,
I have several interface controls that return their status. By default there is no perfdata but you would need to generate it, for example it could just be the response 1,0,2. Is there any way of doing this?
/usr/lib/centreon/plugins/centreon_sonicwall_snmp.pl --plugin=network::sonicwall::snmp::plugin --mode=interfaces --hostname=192.168.110.21 --snmp-version='2c' --snmp -community='xxxxxxxxx' --interface='268' --critical-status='%{admstatus} eq "down" and %{opstatus} eq "down" or %{admstatus} eq "up" and %{opstatus } ne "up"' --add-status
OK: Interface 'X100' Status : up (admin: up)
Thanks
Best regards,