Solved

Timeout in service

  • 6 November 2022
  • 2 replies
  • 843 views

Badge +7

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,

icon

Best answer by Laurent 9 November 2022, 16:28

View original

2 replies

Userlevel 6
Badge +18

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.

Badge +7

Hello,

The answer has helped me a lot.

 

Thank you

Reply