Solved

Too many traffic ethernet


Badge +3
  • Steward *
  • 16 replies

Hello,

With the template OS-Windows-Traffic-Global-SNMP i’m able to have the traffic in and out of the host but i don’t why that take many interface (even if i have only one) and it to me. I discover that the different traffic in are equal with each other and the out are equal too with each other. It doesn’t have an impact because in the graph they print in the same path, however when they are too many i can’t have information. 

 

In this picture it show the problem and i have only one interface.

If you have any idea will be great.

icon

Best answer by sims24 11 July 2022, 17:18

View original

10 replies

Userlevel 6
Badge +19

Hi, 


Could you share the result of the list-interfaces mode please?

 

It rather looks like a Windows SNMP implementation problem, we will probably deprecate Windows SNMP as they also have deprecated it from Windows 2019. 

 

 

 

 

Badge +3

Did you mean Performance Data or Command?

 

Userlevel 6
Badge +19

Command, like this: 

 

/usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=list-interfaces --hostname=<yourhost> --snmp-community=<your-community>

Badge +3

Is it that?

--plugin=os::windows::snmp::plugin

--mode=interfaces

--hostname= IP address

--snmp-version='2c'

--snmp-community='public'

--interface='.*'

--name

--add-status

--add-traffic

--critical-status=''

--warning-in-traffic='80'

--critical-in-traffic='90'

--warning-out-traffic='80'

--critical-out-traffic='90'

--snmp-autoreduce

Userlevel 6
Badge +19

This is enough: 

 

--plugin=os::windows::snmp::plugin

--mode=list-interfaces

--hostname=10.49.149.94

--snmp-version='2c'

--snmp-community='public'

Badge +3

How do i modify the mode? 

Userlevel 6
Badge +19

Just run the command from the terminal:

 

su - centreon-engine -c “/usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=list-interfaces --hostname=10.49.149.94 --snmp-version='2c' --snmp-community='public'”

 

Badge +3

Do you know why does this appear ( i copy-paste what you write)?

 

Userlevel 6
Badge +19

external quotes are broken by the watch, try copying this: 

 

su - centreon-engine -c "/usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=list-interfaces --hostname=10.49.149.94 --snmp-version='2c' --snmp-community='public'"

 

Badge +3

Okay so i copy paste that in putty however it doesn’t change anything, it has just that in the end of the command.

 

Reply