choogendyk wrote:
> Dustin J. Mitchell wrote:
> 
> > On Sat, Oct 31, 2009 at 10:33 PM, valerium
> > <amanda-forum < at > backupcentral.com> wrote:
> > 
> > 
> > > You could try something like this:
> > > 
> > > /usr/lib64/nagios/plugins/check_udp -H localhost -p 10080 -w 5 -c 60 -s 
> > > "Amanda 2.5 REQ HANDLE 000-00000000 SEQ 0" -e "Amanda 2.5 NAK HANDLE 
> > > 000-00000000 SEQ 0"
> > > 
> > > This might not be the most elegant way, but it works.
> > > 
> > > 
> > 
> > I have no idea what the context is here -- this is another random
> > email from the backupcentral forums gateway.  But it brings up the
> > idea of submitting nagios scripts along for inclusion in Amanda's
> > contrib/ directory.  Anyone want to toss something my way?
> > 
> 
> Pardon me if this is a naive question, but -- What, exactly, would 
> something like nagios have to offer? Amanda doesn't run as a daemon. So 
> there's no need to check and see that it is still running. Typically, 
> amcheck is run off cron to catch things during the day when sysadmins 
> are around to do something about them. In either case, you get an email 
> that gives you the status of a completed run or if something needs 
> attention.
> 
> 
> -- 
> ---------------
> 
> Chris Hoogendyk
> 
> -
> O__  ---- Systems Administrator
> c/ /'_ --- Biology & Geology Departments
> (*) \(*) -- 140 Morrill Science Center
> ~~~~~~~~~~ - University of Massachusetts, Amherst 
> 
> <hoogendyk < at > bio.umass.edu>
> 
> --------------- 
> 
> Erdös 4


You are correct in stating that Amanda doesn't run as a daemon, but it runs 
"under" a daemon such as xinetd. Anyway, the purpose of the nagios check above 
is to notify the admin when the daemon listening for amanda connections no 
longer accepts them. In the example above I use the check_udp Nagios plugin.

amcheck might be another way to check that Amanda clients are OK (via a cron 
job) but I prefer Nagios because all my monitoring is in one place.
I guess one could setup Nagios to invoke amcheck which would be a nicer way to 
do this.

+----------------------------------------------------------------------
|This was sent by [email protected] via Backup Central.
|Forward SPAM to [email protected].
+----------------------------------------------------------------------


Reply via email to