Skip to main content
Solved

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

  • February 2, 2022
  • 2 replies
  • 326 views

Forum|alt.badge.img+5

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 ?

Best answer by cabrilucide

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

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

 

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • February 2, 2022

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


Forum|alt.badge.img+5
  • Author
  • Steward **
  • Answer
  • February 2, 2022

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

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