Re: [Bacula-users] How to evaluate number of JobQueue-Entries?

2007-02-27 Thread Arno Lehmann
Hi, On 2/27/2007 9:04 AM, Ralf Gross wrote: > Jonas Wueste schrieb: > >>The problem is that bconsole only can be run with root rights. >>I want to transmit the querys result via nrpe to my nagios-server and >>the nrpe user on the local machine has no root privileges. >>So, is there a possibility

Re: [Bacula-users] How to evaluate number of JobQueue-Entries?

2007-02-27 Thread Ralf Gross
Jonas Wueste schrieb: > The problem is that bconsole only can be run with root rights. > I want to transmit the querys result via nrpe to my nagios-server and > the nrpe user on the local machine has no root privileges. > So, is there a possibility to get the value without root privileges? Chang

Re: [Bacula-users] How to evaluate number of JobQueue-Entries?

2007-02-26 Thread Jonas Wueste
Arno Lehmann schrieb: > Hi, > > On 2/26/2007 3:32 PM, Jonas Wueste wrote: > >> Hi, >> >> I want to evaluate the number of currently queued jobs. At first I >> wanted to do this with a mysql-query. (SELECT COUNT(*) from Job where >> JobStatus ='C') >> > > That's not the best solution, as t

Re: [Bacula-users] How to evaluate number of JobQueue-Entries?

2007-02-26 Thread Arno Lehmann
Hi, On 2/26/2007 3:32 PM, Jonas Wueste wrote: > Hi, > > I want to evaluate the number of currently queued jobs. At first I > wanted to do this with a mysql-query. (SELECT COUNT(*) from Job where > JobStatus ='C') That's not the best solution, as the catalog doesn't necessarily represent the s

[Bacula-users] How to evaluate number of JobQueue-Entries?

2007-02-26 Thread Jonas Wueste
Hi, I want to evaluate the number of currently queued jobs. At first I wanted to do this with a mysql-query. (SELECT COUNT(*) from Job where JobStatus ='C') My Problem is that there are some old entries with the status "Created, not yet running", wich shouldn't be deleted. Is there an other pos