Changes

From SME Server
Jump to navigationJump to search
17 bytes removed ,  04:31, 29 June 2017
m
Line 157: Line 157:  
Zabbix is composed of four major components:
 
Zabbix is composed of four major components:
 
*The server (the main part). The server will store and analyse the different data, send alerts, etc...
 
*The server (the main part). The server will store and analyse the different data, send alerts, etc...
*The web interface (which is automatically installed with the server with this contrib)
+
*The web interface (which is automatically installed with the server with this contrib).
*The agent, which gathers informations on the different hosts you monitor
+
*The agent, which gathers informations on the different hosts you monitor.
*The proxy, which is an optional part, can be used to collect performance and availability data locally, and send it to the server
+
*The proxy, which is an optional part, can be used to collect performance and availability data locally, and send it to the server.
    
==== Server ====
 
==== Server ====
   −
The server is the core component of Zabbix software. It uses one database (MySQL in this contrib) to store configuration, performance and integrity informations. The server can check network services with simple check (ICMP, TCP etc...) for agent-less monitoring, it can monitor network devices using SNMP and is also the central component to which agent report informations (agent can work in active, passive, or both mode). The server will also analyse all the informations and send alerts depending on very flexible triggers.
+
The server is the core component of Zabbix software. It uses one database (MySQL in this contrib) to store configuration, performance and integrity information. The server can check network services with simple check (ICMP, TCP etc...) for agent-less monitoring, it can monitor network devices using SNMP and is also the central component to which agent report information (agent can work in active, passive, or both mode). The server will also analyse all the information and send alerts depending on very flexible triggers.
    
===== Installation on SME9=====
 
===== Installation on SME9=====
first enable the needed repo: Firewall service and REMI  
+
First enable the needed repo: Firewall service and REMI  
 
{{:Fws}}
 
{{:Fws}}
 
{{:Remi-safe}}
 
{{:Remi-safe}}
Line 194: Line 194:  
*'''JabberPassword''': Password for the account (for "JabberAccount")
 
*'''JabberPassword''': Password for the account (for "JabberAccount")
 
*'''JabberTLS''': (enabled|disabled) Does your Jabber server requires TLS security
 
*'''JabberTLS''': (enabled|disabled) Does your Jabber server requires TLS security
{{Note box|The different Jabber settings above are not for the built-in jabber notification function (because I couldn't get it working as my server requires TLS and the built-in feature do not support it). But I've included a external script using sendxmpp to send the notification. You should have a media called 'xmpp' in zabbix administration. }}  
+
{{Note box|The different Jabber settings above are not for the built-in jabber notification function (because I couldn't get it working as my server requires TLS and the built-in features do not support it). But I've included a external script using sendxmpp to send the notification. You should have a media called 'xmpp' in zabbix administration. }}  
    
*'''NodeID''': The node ID of your server. If you don't use distributed monitoring (just one central Zabbix server), you should let this to 0
 
*'''NodeID''': The node ID of your server. If you don't use distributed monitoring (just one central Zabbix server), you should let this to 0
Line 212: Line 212:  
===== Web Interface =====
 
===== Web Interface =====
   −
The main web interface is available (if not disabled with teh key WebAccess) on https://server.domain.tld/zabbix.
+
The main web interface is available (if not disabled with the key WebAccess) on https://server.domain.tld/zabbix.
 
The default user is '''admin''', with password '''zabbix''' (you should change this password ASAP)
 
The default user is '''admin''', with password '''zabbix''' (you should change this password ASAP)
   Line 228: Line 228:       −
For more screenshots, you can have a look at the project website [http://www.zabbix.com/screenshots.php here]
+
For more screenshots, visit the project website [http://www.zabbix.com/screenshots.php here]
    
==== Agent ====
 
==== Agent ====
   −
Zabbix agent is a very small daemon which will gather informations about the host being monitored, and report it to one or several server(s) (or proxy(s)).
+
Zabbix agent is a very small daemon which will gather information about the host being monitored, and report it to one or several server(s) (or proxy(s)).
 
Agents can run in active or passive mode (or both):
 
Agents can run in active or passive mode (or both):
 
*In active mode, the agent will make outgoing connection to the server (port 10051 by default).
 
*In active mode, the agent will make outgoing connection to the server (port 10051 by default).
 
*In passive mode, the server will connect to the agent (on port 10050 by default).  
 
*In passive mode, the server will connect to the agent (on port 10050 by default).  
   −
Please read Chap. 2.3.4.ZABBIX Agent page 39 and Chap. 3.3.ZABBIX Agent (UNIX, standalone daemon) of the manual for more informations on Zabbix agent.
+
Please read Chap. 2.3.4.ZABBIX Agent page 39 and Chap. 3.3.ZABBIX Agent (UNIX, standalone daemon) of the manual for more information on Zabbix agent.
   −
===== Installation  SME9=====
+
===== Installation  SME9 =====
 
first enable the needed repo: Firewall service   
 
first enable the needed repo: Firewall service   
 
{{:Fws}}
 
{{:Fws}}
Line 296: Line 296:  
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.zip templates] I use to monitor SME Servers. This archive contains some templates/items/graphs/triggers in XML format (exported from Zabbix). You can use the Import/Export functionality of Zabbix (Manual Chap. 8.XML IMPORT AND EXPORT page 154) to import it on your server.
 
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.zip templates] I use to monitor SME Servers. This archive contains some templates/items/graphs/triggers in XML format (exported from Zabbix). 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 to see the commands used to return the corresponding values. You'll also find for each UserParameter informations on how to create the corresponding item on the server.
+
You can also have a look at the configuration file /etc/zabbix/zabbix_agentd.conf to see the commands used to return the corresponding values. You'll also find for each UserParameter information on how to create the corresponding item on the server.
   −
Please, read chapter 4.11.User Parameters page 119 of the manual to have more informations on how UserParameters works.
+
Please, read chapter 4.11.User Parameters page 119 of the manual to have more information on how UserParameters work.
    
*External IP:
 
*External IP:
Line 321: Line 321:  
**'''mail.in[total]''': number of emails received (accept + denied)
 
**'''mail.in[total]''': number of emails received (accept + denied)
   −
*Outgoing mails statistics
+
*Outgoing mails statistics:
 
**'''mail.out[total]''': sum of outgoing emails
 
**'''mail.out[total]''': sum of outgoing emails
 
**'''mail.out[success]''': number of successful transmitted emails
 
**'''mail.out[success]''': number of successful transmitted emails
Line 327: Line 327:  
**'''mail.out[failure]''': number of failures
 
**'''mail.out[failure]''': number of failures
   −
*Memory/Swap usage
+
*Memory/Swap usage:
 
**'''vm.memory.size.used''': Actually used memory in bytes
 
**'''vm.memory.size.used''': Actually used memory in bytes
 
**'''vm.memory.size.pused''': Actually used memory in %
 
**'''vm.memory.size.pused''': Actually used memory in %
 
**'''system.swap.size.used''': Actually used swap space in bytes
 
**'''system.swap.size.used''': Actually used swap space in bytes
   −
*MySQL Informations
+
*MySQL Information:
 
**'''mysql.uptime''': uptime of mysql server in seconds
 
**'''mysql.uptime''': uptime of mysql server in seconds
 
**'''mysql.threads''': number of threads
 
**'''mysql.threads''': number of threads
Line 348: Line 348:  
{{Note box|Since version 0.1-38 of smeserver-zabbix-agent, the keys to retrieve UPS informations has changed. You now have to select the name of your UPS on the server side. The default name for an UPS in SME is '''UPS'''}}
 
{{Note box|Since version 0.1-38 of smeserver-zabbix-agent, the keys to retrieve UPS informations has changed. You now have to select the name of your UPS on the server side. The default name for an UPS in SME is '''UPS'''}}
   −
*UPS status
+
*UPS status:
 
**'''ups.load[UPS]''': Current load (in %) of your UPS
 
**'''ups.load[UPS]''': Current load (in %) of your UPS
 
**'''ups.battery.charge[UPS]''': Current charge (in %) of the battery
 
**'''ups.battery.charge[UPS]''': Current charge (in %) of the battery
Line 354: Line 354:  
**'''ups.model[UPS]''': Model of the UPS
 
**'''ups.model[UPS]''': Model of the UPS
   −
*Raid Array Monitoring
+
*Raid Array Monitoring:
 
**'''raid.sw.status''': Current status of your software Raid (all array)
 
**'''raid.sw.status''': Current status of your software Raid (all array)
 
**'''raid.mega.status''': Current status of your mega raid based raid array (for example, the perc5/6(i) are megaraid based). Requires additional MegaCLI package available from here: [http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/]
 
**'''raid.mega.status''': Current status of your mega raid based raid array (for example, the perc5/6(i) are megaraid based). Requires additional MegaCLI package available from here: [http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/]
Line 360: Line 360:  
==== Proxy ====
 
==== Proxy ====
   −
Zabbix proxy is a lightweight daemon. It will act as a server for agents, will cache locally (in a mysql database) the informations, and send it to the server it belongs to. This is useful to monitor networks elements behind a firewall.
+
Zabbix proxy is a lightweight daemon. It will act as a server for agents, will cache locally (in a mysql database) the information, and send it to the server it belongs to. This is useful to monitor networks elements behind a firewall.
    
===== Installation SME9=====
 
===== Installation SME9=====
12

edits

Navigation menu