View Code? Open in Web Editor
NEW
This project forked from nikimaxim/zbx-smartmonitor
Zabbix template for monitoring disk attributes
License: GNU General Public License v3.0
PowerShell 51.98%
Shell 48.02%
zbx-smartmonitor's Introduction
Zabbix smartmonitor storage
- OS: Windows 7, 2008R2 and later
- PowerShell: 5.1 and later
- Zabbix-agent: 4.0 and later
- Smartmontools: 7.1 and later
Check correct versions PowerShell: (Execute in PowerShell!) (Requirements!)
Get-Host|Select-Object Version
- github/smartctl-storage-discovery.ps1 in C:\service\smartctl-storage-discovery.ps1
Check powershell script(Out json): (CMD!)
powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\smartctl-storage-discovery.ps1"
Add from zabbix_agentd.conf "UserParameter" in zabbix_agentd.conf:
- github/zabbix_agentd.conf
- github/Template smartmonitor.xml
- OS: RedHat family
- Zabbix-agent: 4.0 and later
- Smartmontools: 7.1 and later
- github/smartctl-storage-discovery.sh in /opt/zabbix/smartctl-storage-discovery.sh
chmod -R 750 /opt/zabbix/
chown -R root:zabbix /opt/zabbix/
Check bash script(Out json):
/opt/zabbix/smartctl-storage-discovery.sh
Add from zabbix_agentd.conf "UserParameter" in zabbix_agentd.conf:
- github/zabbix_agentd.conf
- Defaults:zabbix !requiretty
- zabbix ALL=(root) NOPASSWD: /usr/sbin/smartctl
- zabbix ALL=(root) NOPASSWD: /opt/zabbix/smartctl-storage-discovery.sh
- github/Template smartmonitor.xml
- Graph: Temperature smartmonitor
zbx-smartmonitor's People
Contributors