This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
networking:monitoring:zabbix [2015/08/06 17:32] 127.0.0.1 external edit |
networking:monitoring:zabbix [2016/09/29 15:00] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Zabbix NMS Notes ====== | ====== Zabbix NMS Notes ====== | ||
+ | |||
+ | See also **[[networking: | ||
+ | |||
+ | See also **[[networking: | ||
**Home**: http:// | **Home**: http:// | ||
Line 14: | Line 18: | ||
**HowTo - Agent**: http:// | **HowTo - Agent**: http:// | ||
- | |||
- | See also **[[networking: | ||
===== Install Server ===== | ===== Install Server ===== | ||
Line 22: | Line 24: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install apache2 mysql-server php5 php5-cli php5-common php5-mysql snmp snmp-mibs-downloader \ | sudo apt-get install apache2 mysql-server php5 php5-cli php5-common php5-mysql snmp snmp-mibs-downloader \ | ||
- | smistrip | + | smistrip |
reboot | reboot | ||
</ | </ | ||
Line 40: | Line 43: | ||
< | < | ||
sudo apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent | sudo apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent | ||
- | + | echo " | |
- | sudo service apache2 restart | + | sudo service apache2 restart |
- | sudo service zabbix-server restart | + | |
</ | </ | ||
Line 179: | Line 181: | ||
sc config " | sc config " | ||
netsh advfirewall firewall add rule name=" | netsh advfirewall firewall add rule name=" | ||
+ | </ | ||
+ | |||
+ | == Uninstall == | ||
+ | |||
+ | < | ||
+ | net stop " | ||
+ | cd C: | ||
+ | .\zabbix_agentd.exe --config C: | ||
+ | netsh advfirewall firewall delete rule name=" | ||
</ | </ | ||
Line 278: | Line 289: | ||
:!: Set the SNMP community string (like a password) for each host by adding a **macro** '' | :!: Set the SNMP community string (like a password) for each host by adding a **macro** '' | ||
- | {{ :: | + | {{ :networking: |
+ | |||
+ | === Mikrotik === | ||
+ | |||
+ | https:// | ||
+ | |||
+ | - In Zabbix, Add a Host | ||
+ | - Add a host group too, if not already created | ||
+ | - Use UDP port 161 | ||
+ | - Assign the SNMP IP address and community string | ||
+ | - ' | ||
+ | - Otherwise, assign another community string | ||
+ | - A community string is a bit like a ' | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 287: | Line 310: | ||
telnet <IP of agent> 10050 | telnet <IP of agent> 10050 | ||
</ | </ | ||
+ | |||
+ | :!: When **importing templates**, | ||
===== Zimbra ===== | ===== Zimbra ===== | ||
https:// | https:// |