a long running service
Posted: Thu Jul 17, 2014 1:33 am
A service I wrote takes about 8 minutes to run.
It doesn't use the npre check but is just a standalone check run on a few boxes which polls some queues
over time.
I don't want to change the current setting of service_check_timeout in the cfg which is 60 seconds
to 8+ minutes. It gets time-out by the service timeout check default of 60 seconds.
What are my options other than:
+ not writing the monitor (that's not possible)
+ making it a standalone cron/at/daemon of some kind
The reasons for keeping it in Nagios are obvious.
I can't believe there is not a per-service service_check_timeout rather than only a global setting. The npre
is not needed in this case so I can't use the -t because it is running on the monitoring server itself, not remotely,
and I don't want to "loop back".
It doesn't use the npre check but is just a standalone check run on a few boxes which polls some queues
over time.
I don't want to change the current setting of service_check_timeout in the cfg which is 60 seconds
to 8+ minutes. It gets time-out by the service timeout check default of 60 seconds.
What are my options other than:
+ not writing the monitor (that's not possible)
+ making it a standalone cron/at/daemon of some kind
The reasons for keeping it in Nagios are obvious.
I can't believe there is not a per-service service_check_timeout rather than only a global setting. The npre
is not needed in this case so I can't use the -t because it is running on the monitoring server itself, not remotely,
and I don't want to "loop back".