*athena zabbix template

milk

New member
Messages
91
Points
0
Location
/dev/urandom
Emulator
Hello!

There is my Zabbix monitoring template for *athena-based servers.

It gathers data from your Linux server and MySQL database and sends it to Zabbix.

It checks:

- login server port check

- login/char/map server perfomance

- mysqld server perfomance

- online players count

- total zeny count

- Configure Zabbix Server

1. Import the template file into Zabbix frontend (Configuration -> Templates -> Import).

2. Link the Athena template to your host to be monitored.

- Configure Zabbix Agent

1. Open your zabbix_agend.conf and add two lines:

UserParameter=total.zeny,mysql -uroot -ppassword -D hercules_main -s -N -e 'SELECT SUM(zeny) from `char`'UserParameter=total.online,netstat -n | grep ':5121' | wc -l
Where root - is your MySQL username, password - your MySQL password and hercules_main - your emulator's database.

2. Restart your zabbix-agent (/etc/init.d/zabbix-agent restart)

And you can see it in your Zabbix frontend:

 ​
8wW2qTv.png
 ​
Please post your comments and suggestions in order to make it better.

Download link

 
Back
Top