Skip to main content
New

Severity levels (categories) for notification macros

Related products:Infra Monitoring - Configuration
  • March 10, 2026
  • 1 reply
  • 3 views

Forum|alt.badge.img+11

Hello Centreon,

To take advantage of the categories (hosts and services), particularly the severity levels, I would like this field to be available in a macro.

This will allow indicated the severity level in notifications. 

 

Thanks a lot

1 reply

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • March 10, 2026

Hi ​@jstager, I created a command based on service-notify-by-email to log everything in a log file and I have  severity levels:

***** centreon Notification *****

Notification Type: PROBLEM

Service: Broker-Stats
Host: LDAP-1-Master
Address: 127.0.0.1
State: UNKNOWN

Date/Time: 10-03-2026 Additional Info : UNKNOWN: Command error: Host key verification failed.
CRITICITY LEVEL: 1 CRITICITY ID: 5

 

You can use $_SERVICECRITICALITY_LEVEL$ and $_SERVICECRITICALITY_ID$

 

Regards