Skip to main content
Declined

Is it posible to turn all services to pending?

  • January 31, 2024
  • 2 replies
  • 39 views

ruben_mendez
Forum|alt.badge.img+7

Hi, I applied an event_handler to create tickets via REST API. It works very well, but I wonder if it is possible to turn all services to Pending, this way, if a service turns critical I can get a ticket.
I applied the event handler in every service template I use.

PD: I can’t put this ticket to “Question”. If I try this is the problem it shows me “You haven't selected a category”

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • February 7, 2024

Hi @ruben_mendez , an event handler is to execute remediation. PENDING status is only the first time when you add new resources to be monitored.

event handler must be executed in non-ok status on SOFT state to try to solve problem. If problem persists, the status should be non-ok in HARD state in order to execute notification process.

So may be you need to change “retry check interval” and “max check attempt”


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • February 7, 2024
NewDeclined