-
- Novice
- Posts: 3
- Liked: never
- Joined: Nov 13, 2017 4:52 pm
- Full Name: Petr Kallen
Zabbix template for Veeam Agent for Linux
Any tip for Zabbix template ?
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Zabbix template for Veeam Agent for Linux
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
GitHub: https://github.com/nielsengelen
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Zabbix template for Veeam Agent for Linux
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
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
-
- Novice
- Posts: 5
- Liked: 3 times
- Joined: Sep 04, 2020 12:15 pm
- Contact:
Re: Zabbix template for Veeam Agent for Linux
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.
2. Make executable and run 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.
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
Code: Select all
sudo chmod +x zabbix.sh
sudo ./zabbix.sh
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.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Zabbix template for Veeam Agent for Linux
Great stuff, thanks for sharing!
Who is online
Users browsing this forum: No registered users and 9 guests