Skip to main content

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.

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. 

 

 

 

 


Did you mean Performance Data or Command?

 


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>


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


This is enough: 

 

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

--mode=list-interfaces

--hostname=10.49.149.94

--snmp-version='2c'

--snmp-community='public'


How do i modify the mode? 


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

 


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

 


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

 


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