Skip to main content
Solved

Timeout in service

  • Nov 6, 2022 4:15 PM UTC
  • 2 replies
  • 1811 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.

View original

2 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • Answer
  • Nov 9, 2022 3:28 PM UTC

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
  • Builder *
  • Nov 12, 2022 3:54 PM UTC

Hello,

The answer has helped me a lot.

 

Thank you