Skip to main content

Hi at all,

I monitor some network interfaces on Linux servers. I use centreon_linux_snmp.pl plugin in interfaces mode.

Below the command:

/usr/lib/centreon/plugins//centreon_linux_snmp.pl

--plugin=os::linux::snmp::plugin

--mode=interfaces

--hostname=*********

--snmp-version='2c'

--snmp-community='*******'

--interface='.*'

--name

--add-status

--add-traffic

--critical-status=''

--warning-in-traffic='80'

--critical-in-traffic='90'

--warning-out-traffic='80'

--critical-out-traffic='90'

--verbose

--change-perfdata='traffic_in,,scale(Mbps),mbps'

--change-perfdata='traffic_out,,scale(Mbps),mbps'

--change-perfdata='traffic,,scale(auto)'

--snmp-autoreduce

In status information I have the following output:

 

How you can see, the value in Mb/s correspond at the value in %. How I can fix this issue. 

Can I set thresholds in percentage?

--warning-in-traffic='80'

--critical-in-traffic='90'

--warning-out-traffic='80'

--critical-out-traffic='90'

This is my Performance data output:

Performance data

'traffic_in_lo'=15.59mbps;0:8;0:9;0;10.00

'traffic_out_lo'=15.59mbps;0:8;0:9;0;10.00

'traffic_in_ens192'=17.78mbps;0:8000;0:9000;0;10000.00

'traffic_out_ens192'=74.38mbps;0:8000;0:9000;0;10000.00

 

Thank you in advance!!

 

Kalos

Be the first to reply!

Reply