Check Service at a specific time...
Jim Avery
jim at jimavery.me.uk
Tue Apr 28 14:08:39 CEST 2009
2009/4/28 Gavin Williams <gavin.williams at card.co.uk>:
> 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
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list