Skip to main content
Solved

Too many traffic ethernet

  • July 11, 2022
  • 10 replies
  • 545 views

Forum|alt.badge.img+3

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.

Best answer by sims24

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'"

 

10 replies

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • July 11, 2022

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. 

 

 

 

 


Forum|alt.badge.img+3
  • Author
  • Steward *
  • July 11, 2022

Did you mean Performance Data or Command?

 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • July 11, 2022

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>


Forum|alt.badge.img+3
  • Author
  • Steward *
  • July 11, 2022

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


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • July 11, 2022

This is enough: 

 

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

--mode=list-interfaces

--hostname=10.49.149.94

--snmp-version='2c'

--snmp-community='public'


Forum|alt.badge.img+3
  • Author
  • Steward *
  • July 11, 2022

How do i modify the mode? 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • July 11, 2022

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'”

 


Forum|alt.badge.img+3
  • Author
  • Steward *
  • July 11, 2022

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

 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Answer
  • July 11, 2022

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'"

 


Forum|alt.badge.img+3
  • Author
  • Steward *
  • July 12, 2022

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