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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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