Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-07 Thread John Drescher
> if test ${status} -eq 127; then > echo "STATUS UNKNOWN - command not found (did > you install bconsole)" > [ Wrote 65 lines ] > Oops.. I did not get the whole script. Here goes: vs_www plugins # cat

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-07 Thread John Drescher
On Thu, Aug 2, 2012 at 12:34 PM, Uwe Schuerkamp 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 ye

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-03 Thread John Drescher
> You requested the same thing two years ago! > This was my response on 3 June 2010. Works fine for me. > LOL. I believe it. My primarily job role is a lead programmer for medical imaging research. The boss does a very good job at always keeping my busy with programming tasks leaving me little ti

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread Ken Barclay
Hi John, You requested the same thing two years ago! This was my response on 3 June 2010. Works fine for me. I don't use Nagios, I use Zabbix, but getting alerts for mount requests is fairly simple. I receive alerts for the following type of Bacula messages: 09-Apr 04:35 Test-sd JobId 6900: Jo

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread John Drescher
On Thu, Aug 2, 2012 at 12:34 PM, Uwe Schuerkamp 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 ye

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread Uwe Schuerkamp
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 chec

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread John Drescher
> Well > > I thing that is not so hard create a script that run a single command like > bconsole and check the status of directory... > Is a simple question of study how to do that... and return a value to nagios > I agree it should be pretty simple. I was asking before I had to spend 30 minu

Re: [Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread Gilberto Nunes
Well I thing that is not so hard create a script that run a single command like bconsole and check the status of directory... Is a simple question of study how to do that... and return a value to nagios 2012/8/2 John Drescher > Does anyone have a nagios plugin that checks if bacula is wait