From: Jim A. <ji...@ji...> - 2009-04-28 12:08:53
|
2009/4/28 Gavin Williams <gav...@ca...>: > HI there, > > > > I’ve got a requirement to run a service check at a specific time of day. > This is to check a backup log and ensure they have run correctly… > > This check needs to be run at this time each and every day… > > > > I’ve had a look at all the Nagios Configuration settings, and I can’t for > the life of me work out how to do this? > > > > Is it currently possible? If so, how do I set it up? If not, is it on the > roadmap? You can run the check on the monitored server either in cron (Unix/Linux) or in the scheduler (Windows) and push the check result back to Nagios using nsca. Typically, I would edit the backup script itself if that's possible and have it push it's status back to Nagios using NSCA rather than scraping a log file for it. See: http://nagios.sourceforge.net/docs/3_0/passivechecks.html Cheers, Jim |