appsinet / bareos-zabbix

Script and template to monitor backup jobs from Bareos in Zabbix.
Other
7 stars 8 forks source link

zabbix 3.4 bareos 17.2 ubuntu 16.04 #1

Closed nik-weter closed 6 years ago

nik-weter commented 6 years ago

I created this config: mailcommand = "/var/spool/bareos/bareos-zabbix.bash %i" mail = 127.0.0.1 = all, !skipped

Now I always have error: Message delivery ERROR: Mail program terminated in error. CMD=/var/spool/bareos/bareos-zabbix.bash 51 ERR=Child exited with code 63

Maybe you know what does it mean?

cmmata commented 6 years ago

What's the output if you execute that script in command-line? /var/spool/bareos/bareos-zabbix.bash JobID

You can also take a look at this alternative. That's the one that I'm using in a production server.

nik-weter commented 6 years ago

Very sorry! The name bareos and zabbix client weren't same. After correction all work fine! Thanks!

cmmata commented 6 years ago

So problem solved! 😊 Don't worry. Closing the issue