Skip to main content
Solved

Centreon Windows Services (SNMP)

  • July 18, 2022
  • 3 replies
  • 490 views

Forum|alt.badge.img+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.

  

Best answer by kduret

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

3 replies

kduret
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • Answer
  • July 19, 2022

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


Forum|alt.badge.img+1
  • Author
  • Steward *
  • July 19, 2022

ok ‘ill try that

 

thank you


Forum|alt.badge.img+3
  • Steward *
  • January 11, 2024

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