Mrpe nagios plugin timeout

Hi Guys,

I am using a nagios plugin (mrpe). The plugin is working however i get a lot of plugin timeouts. Also when i run the plugin on the command line the first time almost always gives a timeout. Second time after gives me the correct output.

The plugin i am using is check_rbl. I am using checkmk version 2.4.0p2-1 raw edition.

Wat can be the problem here?

url

check_rbl needs to use DNS, check if that causes the timeouts.

You can run Nagios plugins via MRPE asynchronous and not every minute by using the (interval=300) parameter between the service name and the command line.

1 Like

Hi,

Thanks for your reply. I already use the interval. Its not a dns issue. when the timeout accurs i can still do a nslookup. it resolves fine. when i run at the same time the nagios plugin it times out. Then after i run it again i will work fine. and the after 10 minutes it wont

Maybe the Nagios plugin uses different DNS resolvers than your nslookup?

i think is the plugin itself?

I dont have dns issues. maybe the plugin takes to long to complete. The plugin stops trying afte5 15 seconds. Can we tel checkmk to try longer?

You describe it as the issue is within the plugin. Is there a timeout command line switch?

Nit that i am aware of.

This is the plugin i use:

Isn’t -t 60 a 60 seconds timeout?

You are right. Ik so sorry did not know it was an option.

Now i use the -t 120 and it works every time.

Thank you.