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 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

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-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 time

[Bacula-users] Nagios Plungin to check mount requests

2012-08-02 Thread John Drescher
Does anyone have a nagios plugin that checks if bacula is waiting for a mount request? I have seen ones that check if jobs fail or check if the daemons are running but not one that checks if bacula is waiting on a mount. Sometimes bacula wants a tape that is not in my 24 slot autochanger and that

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 some parameter 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 dresche...@gmail.com Does anyone have a nagios

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 some parameter 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

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 check the

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 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

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

2012-08-02 Thread Ken Barclay
:09 PM To: bacula-users Subject: [Bacula-users] Nagios Plungin to check mount requests Does anyone have a nagios plugin that checks if bacula is waiting for a mount request? I have seen ones that check if jobs fail or check if the daemons are running but not one that checks if bacula is waiting