How/where do I change this?
I have 1 check script that I want to have a longer timeout set for.
I would like to change this to 60 seconds.
How do i change the default timeout for check_nrpe -t 30
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
How do i change the default timeout for check_nrpe -t 30
You do not have the required permissions to view the files attached to this post.
-
bolson
Re: How do i change the default timeout for check_nrpe -t 30
Because the command being executed by Nagios XI is check_nrpe, rather than the service check itself, the timeout cannot be overridden on a per check basis. The timeout value has no bearing on how long the check will take, only on how long check_nrpe will wait for a return value before entering a failed state. For this reason, the recommendation would be to raise the timeout value for check_nrpe to -t 60
Hope this helps.
Thank you!
Hope this helps.
Thank you!
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: How do i change the default timeout for check_nrpe -t 30
So here's my current check. I need the nrpe agent to run the check_db_state script.
How do I need to set this up?
How do I need to set this up?
You do not have the required permissions to view the files attached to this post.
-
bolson
Re: How do i change the default timeout for check_nrpe -t 30
Is check_db_state a custom plugin of yours? If not, where did you find it? I don't see it on the Nagios Exchange.
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: How do i change the default timeout for check_nrpe -t 30
It's a custom bash script.
Re: How do i change the default timeout for check_nrpe -t 30
So, in order to change the check_nrpe timeout from 30 to 60, you need to go to the Core Config Manager > Commands, type "check_nrpe" in the search bar, and hit "Enter". Find the "check_nrpe" command, click on "Edit". Change "30" to "60", click "Save", and apply configuration.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: How do i change the default timeout for check_nrpe -t 30
That was exactly what I needed. I copied the check_nrpe command to check_nrpe_60 and changed the timeout.
Worked just how I needed it to.
Worked just how I needed it to.
You do not have the required permissions to view the files attached to this post.
Re: How do i change the default timeout for check_nrpe -t 30
I am glad I could help!
I will be closing this topic now. If you have any more questions/issues, please start a new thread. Thanks!
I will be closing this topic now. If you have any more questions/issues, please start a new thread. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!