User Tools

Site Tools


networking:monitoring:zabbix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:monitoring:zabbix [2015/10/05 08:32]
gcooper
networking:monitoring:zabbix [2016/09/29 15:00] (current)
gcooper
Line 24: 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 nmap traceroute 
 reboot reboot
 </file> </file>
Line 42: Line 43:
 <file> <file>
 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 "zabbix ALL=(ALL:ALL) NOPASSWD:/usr/bin/nmap" >> /etc/sudoers 
-sudo service apache2 restart +sudo service apache2 restart && sudo service zabbix-server restart
-sudo service zabbix-server restart+
 </file> </file>
  
Line 289: Line 289:
 :!: Set the SNMP community string (like a password) for each host by adding a **macro** ''{$SNMP_COMMUNITY}'' with the value being the community string for the host to be monitored. :!: Set the SNMP community string (like a password) for each host by adding a **macro** ''{$SNMP_COMMUNITY}'' with the value being the community string for the host to be monitored.
  
-{{ ::zabbix_snmp_host.png?750 |Add SNMP Host}}+{{ :networking:monitoring:zabbix_snmp_host.png?750 |Add SNMP Host}} 
 + 
 +=== Mikrotik === 
 + 
 +https://github.com/YSmetana/zabbix-mikrotik-snmp 
 + 
 +  - 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 
 +    - 'public' may be OK if no external access 
 +    - Otherwise, assign another community string 
 +      - A community string is a bit like a 'password'
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 298: Line 310:
 telnet <IP of agent> 10050 telnet <IP of agent> 10050
 </file> </file>
 +
 +:!: When **importing templates**, be sure to import the **'raw'** or pure XML file, not an HTML file from a web page.
  
 ===== Zimbra ===== ===== Zimbra =====
  
 https://github.com/YetOpen/zabbix-scripts/tree/master/zabbix-zimbra https://github.com/YetOpen/zabbix-scripts/tree/master/zabbix-zimbra
networking/monitoring/zabbix.1444055557.txt.gz · Last modified: 2015/10/05 08:32 by gcooper