Jump to content
  • 0
Sign in to follow this  
milk

*athena zabbix template

Question

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

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.