Objet : Supervision des services auto-service sur VM Windows avec Centreon /SNMP
Bonjour,
J'ai besoin de votre aide pour superviser tous les services auto-service sur des VMs Windows.
Le problème est que les plugins Centreon par défaut utilisent des commandes WMI (pas d’installation de client centreon sur les machines), ce qui n'est pas adapté à mon besoin car mon équipe souhaite utiliser uniquement les services SNMP.
J'ai essayé de créer un nouveau service avec la commande suivante :
Cependant, je n'arrive pas à obtenir les résultats souhaités et à être alerté uniquement lorsqu'un service auto-service passe en état arrêté ou en pause.
Pourriez-vous m'aider à configurer la supervision des services auto-service sur des VM Windows en utilisant uniquement le SNMP ()?
Informations complémentaires :
Je vous remercie d'avance pour votre aide.
Best answer by christophe.niel-ACT
Hi
In english because the community is asked to post in english :)
you will get problem to get the services as if a service is not running it will disapear from the snmp table unless someone refresh the local service console, it is a bug from microsoft and it will never be corrected as they said as they stopped developping snmp.
it still work a bit, for cpu, ram, network, processes, but services are a bit special and it doesnt work like with nsclient or wmi, it cannot list “automatic” services, it list only the started services, not the “not running” ones, and it takes times (or a manipulation like starting/stopping a service) for the snmp table to get updated
WSMan is a native windows agent for monitoring, it is the only “agentless” alternative
Centreon is working on an alternative to nsclient with a centreon agent (for next year ? i’m waiting for it)
but there are no clean alternative today, no agents, no data
you will get problem to get the services as if a service is not running it will disapear from the snmp table unless someone refresh the local service console, it is a bug from microsoft and it will never be corrected as they said as they stopped developping snmp.
it still work a bit, for cpu, ram, network, processes, but services are a bit special and it doesnt work like with nsclient or wmi, it cannot list “automatic” services, it list only the started services, not the “not running” ones, and it takes times (or a manipulation like starting/stopping a service) for the snmp table to get updated
WSMan is a native windows agent for monitoring, it is the only “agentless” alternative
Centreon is working on an alternative to nsclient with a centreon agent (for next year ? i’m waiting for it)
but there are no clean alternative today, no agents, no data