Skip to main content
Solved

Too many traffic ethernet

  • Jul 11, 2022 2:15 PM UTC
  • 10 replies
  • 587 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'"

 

View original

10 replies

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Jul 11, 2022 2:49 PM UTC

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 *
  • Jul 11, 2022 2:58 PM UTC

Did you mean Performance Data or Command?

 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Jul 11, 2022 3:00 PM UTC

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 *
  • Jul 11, 2022 3:02 PM UTC

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 ***
  • Jul 11, 2022 3:03 PM UTC

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 *
  • Jul 11, 2022 3:06 PM UTC

How do i modify the mode? 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Jul 11, 2022 3:07 PM UTC

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 *
  • Jul 11, 2022 3:11 PM UTC

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

 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Answer
  • Jul 11, 2022 3:18 PM UTC

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 *
  • Jul 12, 2022 7:09 AM UTC

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