Bacula-users

Re: [Bacula-users] New Wiki entry - Nagios monitoring

2009-04-07 08:37:18
Subject: Re: [Bacula-users] New Wiki entry - Nagios monitoring
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 7 Apr 2009 15:32:00 +0300
On Tuesday 07 April 2009 13:50:47 Kevin Keane wrote:
> Silver Salonen wrote:
> > On Monday 06 April 2009 11:15:43 Kevin Keane wrote:
> >   
> >> Silver Salonen wrote:
> >>     
> >>> Maybe the other approach (Nagios' active checks) should be listed too?
> >>>       
> >> Good idea. How about you write a wiki page to describe how you do it? 
> >> That's the beauty of Wikis.
> >>     
> >
> > Done :)
> >
> > http://wiki.bacula.org/doku.php?id=nagios_active_checks
> >   
> Looks good! Are you sure that one check in 24 hours is enough? I think 
> that it could go wrong like this: you might be checking in the middle of 
> a backup (more than 24 hours since the last one, but before this one has 
> completed), and never see CRITICAL status even when every backup failed.

Yes, well.. there is a possibility, but it's quite unlikely that Nagios will 
execute the check while backup is running (and will not see previous backup 
completed successfully). I myself have defined the period as 27-hours, for the 
same reasons.

And anyway, even if Nagios will execute the check 5 minutes after the backup 
has began, it will see the previous backup within 24-hours period, because 
it's likely that the previous backup lasted more than 5 minutes (as does the 
current one), and so was completed not more than 24 hours ago.

But even if the checks play out in an unlikely way, ONLY CRITICAL will be 
seen, because the plugin checks the number of successful jobs (but none of 
them will appear in this case), not the number of failed jobs.

PS. The check_bacula.pl script is not uploaded in the wiki, because my user 
doesn't appear to have sufficient rights for that. I'll see where I can put it 
:)

-- 
Silver

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users