Changes

Jump to navigation Jump to search
1,163 bytes added ,  00:46, 23 March 2009
Line 232: Line 232:  
===== Additional checks =====
 
===== Additional checks =====
   −
Even if zabbix agent is great and support natively a lot of checks, some where missing for my usage, so I've added some UserParameters entry in the config file. For each of this check, you should add a new item with the name of the check as the key.
+
Even if zabbix agent is great and support natively a lot of checks, some were missing for my use, so I've added UserParameters entries in the configuration file. For each of this check, you should add a new item with the name of the check as the key.
You can have a look at the configuration file /etc/zabbix/zabbix_agentd.conf (at the end of the file) to see the command used to return the corresponding value
+
Configuring the corresponding checks on the server can be quite long. You can have a look at the [http://sme.firewall-services.com/downloads/zabbix/zabbix_SME.xml.zip templates] I use to monitor SME Servers. This file is an XML export of my templates. You can use the Import/Export functionality of zabbix (Manual Chap. 8.XML IMPORT AND EXPORT page 154) to import it on your server.
 +
 
 +
You can also have a look at the configuration file /etc/zabbix/zabbix_agentd.conf (at the end of the file) to see the commands used to return the corresponding values.
 +
 
 +
Please, read chapter 4.11.User Parameters page 119 of the manual to have more informations on how UserParameters works.
    
*External IP:
 
*External IP:
Line 272: Line 276:  
**'''mysql.size''': total space used by mysql databases
 
**'''mysql.size''': total space used by mysql databases
   −
*Network usage
+
*Network usage. These checks are usefull if you want to monitor several SME Servers using one template (so same checks), but those servers use different interfaces configuration (eth0, eth1, br0, bond0, ppp0 etc...)
**'''net.if.in.internal'''
+
**'''net.if.in.internal''': Equivalent to net.if.in[ethX,bytes], but is independent of your internal interface name (eth0, bond0, br0 etc...)
**'''net.if.out.internal'''
+
**'''net.if.out.internal''': Equivalent to net.if.out[ethX,bytes]
**'''net.if.in.external'''
+
**'''net.if.in.external''': Equivalent to net.if.in[ethX,bytes], but is independent of your external interface name (eth0, eth1, ppp0 etc...)
**'''net.if.out.external'''
+
**'''net.if.out.external''': Equivalent to net.if.out[ethX,bytes]
    
*UPS status
 
*UPS status
**'''ups.load'''
+
**'''ups.load''': Current load (in %) of your UPS
**'''ups.battery.charge'''
+
**'''ups.battery.charge''': Current charge (in %) of the battery
**'''ups.status'''
+
**'''ups.status''': Current status of the UPS (OL, OB, OL CHRG etc...)
**'''ups.model'''
+
**'''ups.model''': Model of the UPS
    
==== Proxy ====
 
==== Proxy ====

Navigation menu