Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

lostix

Logstash monitoring

This script is part of a monitoring solution that allows to monitor several services and applications.

For more information about this monitoring solution please check out this post on my site.

Dependencies

Packages

  • ksh
  • curl
  • jq

Debian/Ubuntu

~# sudo apt install ksh curl jq
~#

Red Hat

~# sudo yum install ksh curl jq
~#

Deploy

Default variables:

NAME VALUE
LOGSTASH_URL http://localhost:9600

Note: these variables has to be saved in the config file (lostix.conf) in the same directory than the script.

Zabbix

~# git clone https://github.com/sergiotocalini/lostix.git
~# sudo ./lostix/deploy_zabbix.sh -u "http://localhost:9600"
~# sudo systemctl restart zabbix-agent

Note: the installation has to be executed on the zabbix agent host and you have to import the template on the zabbix web. The default installation directory is /etc/zabbix/scripts/agentd/lostix