Skip to main content
Solved

Récupération métrique Windows Server

  • March 8, 2022
  • 4 replies
  • 1425 views

Forum|alt.badge.img+1

Bonjour,

 

Je dispose plusieurs machines Windows Server distante.

Je mets en place le modèle OS-Windows-SNMP-Custom. Je récupère bien le ping mais pas le cpu mémoire et swap (UNKNOWN: SNMP Table Request : Timeout)

J’ai autorisé le port UDP 161 entrant et 162 sortant. Le cpu est ok mais la mémoire et le swap reste en UNKNOWN: SNMP Table Request : Timeout

 

Ce que je comprends pas c’est que certains Serveur distant Windows sont bon :weary:

Best answer by MichaelW

Hello,

I had the same problem only with windows server w2k12 and after.

With option --snmp-force-getnext, memory and swap check are OK.

4 replies

Forum|alt.badge.img+16
  • Steward **
  • March 9, 2022

Hello @Davidd ,

The error message “UNKNOWN: SNMP Table Request : Timeout” is most of the time related to a network issue.

You have here a troubleshooting guide to help to understand where the issue can be: https://docs.centreon.com/docs/integrations/plugin-packs/tutorials/troubleshooting-plugins#snmp-checks

Feel free to send us the output of the different commands from the troubleshooting guide to help you :)


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • March 10, 2022

Regarding Windows specifically, numerous examples of random failures with SNMP check when server is overloaded have been observed: 

 

Adding --snmp-timeout=3 to the command is enough most of the time.


Forum|alt.badge.img+1
  • Author
  • Steward *
  • March 11, 2022

Thank you for your feedback, I read your link @Kriko , indeed by putting the 2C version I have "UNKNOWN: SNMP Table Request: Timeout" but by putting 1 it works.

I will see to switch back to 2C with --snmp-timeout=3 @sims24 thank you


Forum|alt.badge.img+11
  • Steward **
  • Answer
  • April 10, 2022

Hello,

I had the same problem only with windows server w2k12 and after.

With option --snmp-force-getnext, memory and swap check are OK.