Solved

Centreon Windows Services (SNMP)

  • 18 July 2022
  • 3 replies
  • 343 views

Badge +1

Hello

 

I have recently installed Centreon ( IT version), and have been adding servers via the discovery option.

Some of the services, with special characters are failing, like the print below.

Status information

CRITICAL: Service problem '^COM+ Event System'

Service pattern '^COM+ Event System': service list

i have tried changing the name, and also using the slash \ to substitute the + ou the parentesis even disabling these services, but still not working, or the next day centreon will add them again. 

 

could anyone help me out, on how to solve this.

  

icon

Best answer by kduret 19 July 2022, 16:45

View original

3 replies

Userlevel 3
Badge +10

Hi,

 

You could create a rule to update the service name when it is discovered.

This can be done in Advanced tab of the service discovery rule. Documentation is here : https://docs.centreon.com/docs/monitoring/discovery/services-discovery/#advanced-options

 

So, the rule could look like this :

  • String :     @SERVICENAME@
  • Regexp :  COM\+\s*(.+)
  • Replace : COM-$1

^COM+ Event System will be transformed to COM-Event System

Badge +1

ok ‘ill try that

 

thank you

Badge +3

Hello,

same problem with parenthese in service name ; the regex on service name ok, but check with centreon not good ; when i put \(Netapp Cluster Mode\) it’s ok en command line on the poller, but critical on interface centreon : CRITICAL: Number of services active: 0

Any solution ?

 

thanks for help

Reply