How to execute a service check according to a exact time

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
thomas.bugl
Posts: 1
Joined: Tue Mar 06, 2012 9:53 am

How to execute a service check according to a exact time

Post by thomas.bugl »

Hello!

Does anybody know a way to execute a service check to a exact time e.g. every day on 09:06 am.

Best Regards
Thomas
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: How to execute a service check according to a exact time

Post by jsmurphy »

Hmmmm I don't know how to make a check run at a specific time (I don't think you can). But if I needed to solve this problem I would create a cron job/scheduled task that does the check and writes directly to a text file and just write a quick perl/vbs/whichever script to interpret it.
Locked