On Thu, Aug 2, 2012 at 12:34 PM, Uwe Schuerkamp
<uwe.schuerk...@nionex.net> wrote:
> On Thu, Aug 02, 2012 at 11:26:44AM -0400, John Drescher wrote:
>>
>> I agree it should be pretty simple. I was asking before I had to spend
>> 30 minutes to 1 hour of work to figure it all out since I have never
>> written a nagios plugin yet.
>>
>
> Just use the "check_log" script as a template and check the output of
> bconsole like so (from memory):
>
> echo "stat dir " | bconsole | grep -q "is waiting for a mount request"
>
> or similar (basically grep's exit status). then Exit 0 from your
> script for all green, 1 for warning, 2 for critical, 3 for unknown.
>

Looks reasonable. I will check this out soon.

Thanks,
John

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to