lesovsky / zabbix-extensions

Zabbix additional monitoring modules
BSD 3-Clause "New" or "Revised" License
316 stars 230 forks source link

Some fixes for adaptec sender #28

Closed aekondratiev closed 7 years ago

aekondratiev commented 7 years ago

Hello, some fixes for adaptec sender, maybe it will be good to other scripts too

  1. grep ^Server\= , because config may content some commented #Server or ServerActive, better idea to use ServerActive if it exist in config, if not, then Server(not implement yet)
  2. grep ^Hostname from config because if bash hostname will be different from zabbix Hostname - zabbix sender fails
  3. use several zabbix servers to send data
  4. if controller haven't battery - dont send it, otherwise zabbix sender fails