Run check every 45 mins past the hour

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stonefury
Posts: 4
Joined: Mon Sep 21, 2015 6:39 pm

Run check every 45 mins past the hour

Post by stonefury »

How can I get nagios to run a check exactly 45 mins past the hour? I need this check to coincide with a cron job that is executed. My job is an audit job, so I must run the check when the cron job is expected to complete.

thanks for any ideas. We considered starting the time period at 00:00 and then just checking every 45 mins, but I don't know if that will work, or if things can get out of sync.

What I need is the ability to specify a schedule using wildcards but I can't find anything like that.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Run check every 45 mins past the hour

Post by tmcdonald »

Probably the easiest and most accurate way to do this would be to schedule that check on a cron and submit the results as a passive check to Nagios:

https://assets.nagios.com/downloads/nag ... hecks.html
Former Nagios employee
stonefury
Posts: 4
Joined: Mon Sep 21, 2015 6:39 pm

Re: Run check every 45 mins past the hour

Post by stonefury »

Can't post new messages?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Run check every 45 mins past the hour

Post by tmcdonald »

The first two posts from a new user must be moderated as an anti-spam measure. After that you can post as much as you want.
Former Nagios employee
Locked