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
    • Debian
    • FreeBSD
    • IBM i (i5/OS, OS/400) for IBM System i (AS/400)
    • Linux
    • Mac OS
    • macOS
    • RedHat
    • Security
    • Solaris
    • Ubuntu
    • VMWare
    • Windows
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

ESXi HP Smart Array Monitoring

Overview

Template and instructions for monitoring HP Smart Array controllers as well as physical and logical drives attached to them.

This template is based on scripts and template made by lesovsky:
https://github.com/lesovsky/zabbix-extensions/tree/master/files/hwraid-smartarray

Requirements

  • VMware ESXi 5.x or newer installed, using HPE Customized ESXi image: http://www8.hp.com/us/en/products/servers/solutions.html?compURI=1499005#tab=TAB4

How it works

Due to limitations of VMWare ESXi, all items in this template are "SSH Check" based, meaning all checks are performed via SSH.

The item "ssh.run[hpraid.data.retrieval]" connects to your host and creates the file "/tmp/hp-raid-data-harvester.out" which contains all information about your controllers, disks and logical drives.

Discovery is performed by crawling through the data gathered in "/tmp/hp-raid-data-harvester.out". Discovered physical and logical devices and corresponding checks are then automatically populated for your host(s).

All scripts are located within the template which means that no configuration of your ESXi host(s) is necessary. A user with SSH access is all that is needed

Disclaimer

This template should work with any number of controllers, disks and/or logical drives, however I have only been able to test it with disks and logical drives spanning two controllers. Also, scripts, template and instructions have only been tested on VMware ESXi 6.0 update 1b.

Instructions

  1. Enable SSH and add an SSH user for Zabbix to use, onto your ESXi system(s), with read-only rights.
  2. On your ESXi system(s), edit "/etc/security/access.conf" and after the last line starting with a '+' sign, add a new line with "+:zabbixUsername:ALL".
  3. For persistence, add this line into "/etc/rc.local.d/local.sh" before "exit 0" to ensure "/etc/security/access.conf" is updated upon reboot:
    sed -i '/root/s/.*/&\n\+:zabbixUsername:ALL/' /etc/security/access.conf   
  4. Import template "esxi_hp_smart_array.xml" into Zabbix.
  5. Edit template macros {$ZABBIX_SSH_USER} and {$ZABBIX_SSH_PASS}.
  6. Assign the template to your ESXi server(s).
Rating
500
0 vote

Listing Details

Type
Template
OS
  • General
Min Zabbix version
2.0.x
Features
  • Low Level Discovery (LLD)
  • SSH
Link
zabbix.tips/template-esxi-hp-smart-array-monitoring/
Created
2016-03-01
Modified
2016-04-24 21:23:27
Version 2.0
Download (1728 downloads)
1 version, '2016-03-01 12:16' modified
Tags
hp, smart array, smart, array, hypervisor, raid, disks, disk, vmware, hpe, esxi
Author
Zabbix.tips
Owner
Martin Mørch
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