Skip to main content
Solved

Centreon 22.04.01 - Add Perfdata

  • Dec 22, 2022 7:55 AM UTC
  • 1 reply
  • 297 views

Forum|alt.badge.img+8

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,

Best answer by carnabil

Hello,

I answer myself.

With the --add-global option it returns the information I need.

 

Thanks

View original

1 reply

Forum|alt.badge.img+8
  • Author
  • Steward ***
  • Answer
  • Dec 22, 2022 8:23 AM UTC

Hello,

I answer myself.

With the --add-global option it returns the information I need.

 

Thanks