Skip to content
Template is for discovering and monitoring LSI (Avago, Broadcom) storage controllers
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
linux
screenshots
windows
README.md
Template LSI JSON discovery.xml

README.md

zabbix_lsi_template

Description

This template is for discovering and monitoring LSI (Avago, Broadcom) storage controllers by using json outputs of storcli tool. Now it works only with zabbix 4.2

Main features

  • Discovery of controllers, logical discs, physical discs, batteries (bbu and cv) without scripts on servers side (it uses parsing of json and java scripts on zabbix side)
  • Monitoring controllers, logical, physical discs, batteries
  • Useful with OS, where storcli works
  • Comfortable changing of time intervals by macroses.

Plans

  • Test template with not only Windows and write instruction for other platforms
  • Make lld discovery for controllers with javascript (dell servers have some different json paths in storcli outputs). Not actually
  • Make PD state trigger controlable by macroses like PD_warning_state

Installation

Zabbix server

  • Import template

  • Create and configure global or template macroses:

    • {$ADAP_DISCOVERY_PERIOD} - adapters discovery period. I think you can set it nearly 1d (daily)
    • {$ADAP_HISTORY_PERIOD} - period of saving history for adapters data. For example 30d
    • {$ADAP_REQUEST_PERIOD} - period of requesting storage adapters data ( adapter,battery state, etc). 1h
    • {$INTERNAL_ITEMS_HISTORY_PEIOD} - period of source data for parsing items by json path. Usually 0, but for debugging you can set it higher
    • {$LD_DISCOVERY_PERIOD} - logical discs discovery period. 6h
    • {$LD_HISTORY_PERIOD} - period of saving history for logical discs data. 30d
    • {$LD_REQUEST_PERIOD} - period of requesting logical discs data. 5m
    • {$PD_DISCOVERY_PERIOD} - physical discs discovery period. 30m
    • {$PD_HISTORY_PERIOD} - period of saving history for physical discs data. 30d
    • {$PD_REQUEST_PERIOD} - period of requesting physical discs data. 5m
    • {$ADAP_THROTTLING_HB_PERIOD} - period of heartbit for throttling for adapter data
    • {$LD_THROTTLING_HB_PERIOD} - period of heartbit for throttling for logical discs data
    • {$PD_THROTTLING_HB_PERIOD} - period of heartbit for throttling for physical discs data.

    Windows

    • Copy storcli utility (you can use version in diskutils_windows.zip) in place where you store things like this
    • Copy lsi_raid_win.conf in zabbix_agent configs folder
    • Edit storcli paths in lsi_raid_win.conf.

    Linux (tested with Centos 7 with disabled SELinux)

    • Install storcli (you can use storcli-007.0916.0000.0000-1.noarch.rpm or storcli_007.0916.0000.0000_all.deb)
    • Copy lsi_raid_linux.conf in zabbix_agent configs folder (by default /etc/zabbix/zabbix_agentd.d/)
    • Check and edit storcli paths in lsi_raid_linux.conf
    • Copy sudoers_zabbix_lsistorcli file to /etc/sudoers.d. Check path for storcli.
You can’t perform that action at this time.