Skip to main content

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.

  

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


ok ‘ill try that

 

thank you


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