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
    • Buffalo
    • Dell
    • EMC
    • FreeNAS
    • Fujitsu
    • HP
    • Huawei
    • IBM
    • Infinidat
    • Lenovo EMC
    • NetAPP
    • Nimble Storage
    • Oracle
    • Pure Storage
    • QNAP
    • QSAN
    • ReadyNAS
    • smartmontools
    • StarWind
    • Synology
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix

HP MSA 2040 Popular

Template and script for Zabbix 3.0+ for monitoring HP MSA storage devices.
Tested with MSA 2040 but may work with other MSAs as well.

Based on template by Michael Weber that is based on Emir Imamagics HP P2000 G3 Template.

For bug reports and discussion:

https://www.zabbix.com/forum/showthread.php?p=176984

Modified by Eugene Varnavsky:

1. Discovery and check intervals frequency is increased
2. Fixed bug with disk status trigger and vdisk fault tolerance trigger
3. Script modified from HTTP to HTTPS
4. Support for per-host authentication
5. Script is run by speedyCGI instead of classic perl for better performance

Installation:

1. Make sure you have perl with all needed modules installed and speedyCGI
2. Copy hp-msa.pl to /usr/lib/zabbix/externalscripts and chmod 755 it.
3. Check if it works with command /usr/lib/zabbix/externalscripts/hp-msa.pl username password lld controller
4. Increase "Timeout" parameter in zabbix_server.conf to 20 or even more, script takes time.
5. Import template
6. Create host, with macros:

{$MSA1} = hostname or address of Controller 1
{$MSA2} = hostname or address of Controller 2
{$USER} = username for monitor user on MSA.
{$PASSWORD} = password for 'monitor' user

and attach template to it
8. Wait for discovery to complete it's job

Tips:
1. Have JSON-XS installed for faster JSON processing
2. For security, use user with monitor privilege only
3. You may need to increase amount of Zabbix pollers

Known issues:

It seems MSA2040 cannot handle many queries to it's API in short period of time. This leads to "Unsupported" items with timeout and connection errors. Possible solution is to rewrite script to make bulk requests and script-level caching. Another possible solution is to disable less important items. Disabling "HP MSA Disk Discovery" discovery rule in the template is an easy fix.

Rating
501
1 vote

Listing Details

Type
Template
Min Zabbix version
3.0.x
Features
  • Low Level Discovery (LLD)
  • Custom Script
Link
www.zabbix.com/forum/showthread.php?p=176984
Created
2016-03-02
Modified
2016-04-26 08:35:32
Version 3.0
Download (5716 downloads)
2 version, '2016-03-03 14:12' modified
Author
M. Weber, E. Imamagic, E. Varnavsky
Owner
Eugene
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