Page 1 of 1
Re: Nagios ignores -T (--timeout) parameter while running sc
Posted: Tue Aug 25, 2020 3:55 pm
by scottwilkerson
there is a setting in the nagios.cfg that is the longest nagios will allow a command to run
for services it is
If you adjust this higher and restart nagios it will allow execution to go longer for service checks
Re: Nagios ignores -T (--timeout) parameter while running sc
Posted: Wed Aug 26, 2020 8:08 am
by scottwilkerson
You don't need to restart the server, just the nagios process, same thing that happens when you Apply Configuration.
or
enoc wrote:Therefore is there any way to overwrite "service_check_timeout"? For example using a flag like "--timeout" or something similar.
there is no way to override this setting without the nagios process restarting
Re: Nagios ignores -T (--timeout) parameter while running sc
Posted: Thu Aug 27, 2020 7:24 am
by scottwilkerson
enoc wrote:Understood, I am trying to coordinate a manual restart for Sunday.
Will update soon.
Many thanks
Sounds good