Skip to main content
Solved

Timeout in service

  • November 6, 2022
  • 2 replies
  • 1608 views

Forum|alt.badge.img+8

Hello,

I am creating a script for a service control and I have a problem. The script takes a few seconds to run and get the information as it performs a fairly extensive query. When it takes time to return the information in the control, a timeout appears.

Is there a way to make the control wait for a certain time, for example like what the snmp-timeout command does?

 

Thanks

 

Best regards,

Best answer by lpinsivy

Hi @carnabil you can modify host and / or service check timeout on your Centreon Engine configuration.

Go to “Configuration  >  Pollers  >  Engine configuration”, edit you Centreon Engine, go to “Logs options”, change value and save.

Then generate and export associated configuration.

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Answer
  • November 9, 2022

Hi @carnabil you can modify host and / or service check timeout on your Centreon Engine configuration.

Go to “Configuration  >  Pollers  >  Engine configuration”, edit you Centreon Engine, go to “Logs options”, change value and save.

Then generate and export associated configuration.


Forum|alt.badge.img+8
  • Author
  • Steward ***
  • November 12, 2022

Hello,

The answer has helped me a lot.

 

Thank you