Getting service check timed out error for DB checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Getting service check timed out error for DB checks

Post by plakshmi »

We are frequently getting "Service Check Timed Out" alert for DB checks.

We are able to run checks through CLI. The service throws the "service checked timeout" error for a small duration of time like 4-5 mins and then again going to its normal state. We are observing that the errors are occurring quite frequently. Please help us in getting this resolved.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Getting service check timed out error for DB checks

Post by slansing »

Have you tried bumping out your timeout to see if it will still get through? Sounds like you're having some networking issues between the XI server and the DB server. To add a longer timeout edit the command that the service is running, either in CCM > Services > "service name" > at the end of the arguments add "-t 30" or however long you want it to keep the socket open. Or you may need to change it in the template if there is nothing defined in the first page of the service's config. To see it's template and edit that, you will need to click the Templates button on the service's config page, and find the service template selected there.
Locked