Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
    • Citrix
    • Containers
    • Docker
    • Hyper-V
    • Kubernetes
    • KVM
    • Mesos
    • Proxmox
    • VMware
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Citrix Xenserver Disk, Physical Network and Memory

Zabbix Xenserver

This templates Monitoring Xenserver disks HBA, Physical Network and Memory from all nodes. The agent is setup on xenserver master.

 

Install Zabbix Agent on Xenserver

 

Add repositories:

#mkdir ~/downloads/
#cd ~/downloads
#rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
#rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
#rpm -Uvh https://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm

 

Disable new repositories:

Disable repositories according to the standard adopted by XenServer. To do this, use the command “sed”. Run the commands below:

#sed -i -e "s/enabled=1/enabled=0/" /etc/yum.repos.d/epel.repo
#sed -i -e "s/enabled=1/enabled=0/" /etc/yum.repos.d/remi.repo
#sed -i -e "s/enabled=1/enabled=0/" /etc/yum.repos.d/remi-safe.repo
#sed -i -e "s/enabled=1/enabled=0/" /etc/yum.repos.d/zabbix.repo

 

Update installed repositories:

#yum --enablerepo=epel --enablerepo=remi --enablerepo=base --enablerepo=zabbix makecache

 

Installing Zabbix Agent:

#yum --enablerepo=epel --enablerepo=remi --enablerepo=base --enablerepo=zabbix install zabbix-agent

 

Allow firewall:

For the zabbix agent to work correctly we need to allow port 10050 on the XenServer firewall to allow the agent to connect. Edit the file /etc/sysconfig/iptables and add the line:

-A RH-Firewall-1-INPUT -p tcp --dport 10050 -j ACCEPT

 

Enable services:

#systemctl enable zabbix-agent
#systemctl restart iptables
#systemctl start zabbix-agent

 

Configure template

  • Create xenserver user with read-only role (tested with active directory user)
  • Copy the xenserver folder and userparameter_xenserver.conf inside /etc/zabbix/zabbix_agentd.conf
  • Edit the file zabbix_agentd.d/xenserver/xen_passwd
  • Import template (xenserver_template.xml) on Zabbix server (tested on zabbix 4.4)
Rating
500
0 vote

Listing Details

Type
Template
Min Zabbix version
4.4.x
Features
  • Zabbix Agent
Link
github.com/rodrigosandrin/zabbix_xenserver.git
Created
2020-09-21
Modified
2020-09-30 22:20:50
Version 4.4
Download (123 downloads)
1 version, '2020-09-30 22:19' modified
Tags
LLD, Trigger, Xenserver, Citrix Hypervisor
Author
Rodrigo Sandrin, Eduardo Novaes
Owner
Rodrigo
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us