Detecting Windows Backups?
Matt White
lists at matthewjwhite.co.uk
Wed Oct 13 00:59:41 CEST 2010
Hi Kevin,
What do you use for backups?
I just setup backup exec to send SNMP traps to my monitoring server. The processed trap then interfaces with my Opsview install to update a check.
You should be able to do something similar so that when the "Job Started" trap is received the state changes on a dependant check and stops then when a JobSuccess, JobCompleteExceptions, JobFailured, JobCancelled trap is received the state turns back to OK and you can continue monitoring.
I don't know about other backup softwares however this could be helpful,
The other option would be to have a check to see if the ntbackup/relevant .exe file is running using the NSClient agent and then if it is change state this way?
-----Original Message-----
From: Kevin Keane [mailto:subscription at kkeane.com]
Sent: 12 October 2010 17:11
To: Nagios Users List
Subject: Re: [Nagios-users] Detecting Windows Backups?
Thank you very much! I'm really more interested in keying off the actual backup, rather than a specific time. The reason is that I may not always have control over when the backup window occurs.
-----Original Message-----
From: Tom Yates [mailto:madlists at teaparty.net]
Sent: Tuesday, October 12, 2010 8:05 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Detecting Windows Backups?
On Tue, 12 Oct 2010, Joseph L. Casale wrote:
> Check/notification schedules, but if you find a way to drop a host
> into maintenance mode programmatically, post back! I have wanted to
> know how to do this. I haven't looked in to it much, but I assume one
> could do it with the cgi's?
i have a tiny piece of perl which produces a scheduled downtime for a defined service on a defined host from x minutes in the future to y minutes in the future. you run it with the relevant arguments and feed the output straight to your command file, which in my case is /usr/local/nagios/var/rw/nagios.cmd .
it works very nicely out of cron, i use to automatically schedule 2-300 downtime windows a week. hacking it to schedule host downtime instead would be trivial; sorry if that's not what you meant by "drop a host into maintenance mode programmatically".
if that might be of interest to anyone let me know and i'll put it up somewhere. it's not very complex!
--
Tom Yates - http://www.teaparty.net
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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