Can I get the status of jobs from the database directly? I'm rebuilding my Zabbix template to monitor bareos jobs, but that part is missing.
I have this currently jobquery = "select distinct name from job where type = 'B' and clientid in (select clientid from client where jobretention <> 0);" -> gets the jobs for job in jobs: statusquery = ("select * from job where name = '%s' order by endtime desc" %(job['name'])) -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/cf4d6157-9d3c-4dc4-95bf-a83a3731b2c5n%40googlegroups.com.