Skip to main content
Solved

App-DB-MSSQL-Sql

  • 5 June 2024
  • 3 replies
  • 64 views

Bonjour,

Je vous contacte, car je rencontre un problème assez bizarre, j’ai configuré un hôte et les services pour interroger un serveur Microsoft SQL (avec le pack de plugin). Les commandes sur le serveur centreon fonctionne correctement elles renvoient bien les bonnes valeurs.

par contre sur l’interface web de centreon, j’ai la fameuse erreur :

UNKNOWN: Cannot connect: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (44)
Server , database

Pourtant si je copie la commande que réalise centreon sur le shell elle fonctionne.

j’ai exporté les configurations, redémarrer le serveur rien ne se passe.

 

Auriez vous une idée d’où peut provenir le problème ou comment le corriger ?

 

Je vous remercie par avance,

Cordialement,

tom

 

3 replies

Userlevel 5
Badge +14

Hello

let me know if english is an issue, but the community is asked to speak english :)

 

as you copy/pasted the command, is there any “\” in the command parameters, or “\\” (in the user name  for the domain for example)

if the login and password work in command line, it could that a \ is missing, your message clearly says the login is failed

(in the macro of the service you should have \\ for a single \ , there is an escaping being done somewhere) 

 

 

 

Userlevel 6
Badge +20

HI @tomtom and please use ‘centreon-engine’ user to run your command instead of ‘root’

Badge +1

Hi !

Sorry for writing in French, the problem is solved, i put \\ in MSSQLUSERNAME arguments and it’s work

Thanks for your help :)

 

Reply