Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
kallenp
Novice
Posts: 3
Liked: never
Joined: Nov 13, 2017 4:52 pm
Full Name: Petr Kallen

Zabbix template for Veeam Agent for Linux

Post by kallenp »

Any tip for Zabbix template ? :-(
nielsengelen
Product Manager
Posts: 5635
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Zabbix template for Veeam Agent for Linux

Post by nielsengelen »

There is no service you can monitor by port however you could utilise a script to monitor your needs (job state for example). I haven't seen any custom scripts yet for Zabbix or Nagios but there is a custom mail report which can get you started. For more information check this thread.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Zabbix template for Veeam Agent for Linux

Post by PTide »

Hi Petr,

Not sure if I understand what exactly do you want to monitor, but I guess you could make Zabbix to watch after /var/tmp/veeam/socket/veeam.sock socket state? If that does not meet your requirements then please kindly elaborate.

Thanks
smmikhail
Novice
Posts: 5
Liked: 3 times
Joined: Sep 04, 2020 12:15 pm
Contact:

Re: Zabbix template for Veeam Agent for Linux

Post by smmikhail » 1 person likes this post

Hi all.

I've made simple zabbix template and script to monitor Veeam Agent for Linux job conditions. It is for free version of Veeam Agent so it is suitable to monitor one job only.

0. It is assumed that Zabbix Agent and Veeam Agent are already installed and configured.
1. Copy zabbix.sh script to the host.

Code: Select all

#!/bin/bash
# add user parameter to zabbix_agentd.conf
echo "UserParameter=Veeam.Result,veeamconfig session list | tail -n 2 | head -n -1 | awk '{print \$(NF-4)}'" >> /etc/zabbix/zabbix_agentd.conf
# add user zabbix to group veeam (it enables it to run veeamconfig)
usermod -G veeam zabbix
# restart zabbix agent service to enable new config
service zabbix-agent restart
2. Make executable and run zabbix.sh:

Code: Select all

sudo chmod +x zabbix.sh
sudo ./zabbix.sh
3. Download and import template zbx_VeeamAgentLinux.xml to zabbix

https://drive.google.com/file/d/1dVgLjL ... sp=sharing

4. Apply the template to the host.

You can freely copy, use, distribute and modify the template for your needs.
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Zabbix template for Veeam Agent for Linux

Post by PTide »

Great stuff, thanks for sharing!
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests