Solved

/usr/lib/centreon/plugins/centreon_checkpoint.pl --mode=interfaces : comment tester un trafic nul ?

  • 2 February 2022
  • 2 replies
  • 260 views

Badge +2

Bonjour,
Comment tester qu’un trafic est nul pendant une longue période ?

/usr/lib/centreon/plugins/centreon_checkpoint.pl --mode=interfaces --hostname=******** --snmp-version='2c' --snmp-community='********' --interface='*********' --name --add-traffic --critical-in-traffic=0:0 --no-skipped-counters

Je cherche depuis un moment.

Quelqu’un à une idée ?

icon

Best answer by cabrilucide 2 February 2022, 17:47

View original

2 replies

Userlevel 6
Badge +18

Hi @cabrilucide I’m not sure that you can test a null traffic on a windows range. I suppose this plugin allows you to get alert in your traffic is greater than a thresholds between two checks

Badge +2

QGarnier answered me on slack :
We can set : --critical-in-traffic='@0:0'

https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT

 

Reply