Hi zabbix community,
Please guide about following question.
I'm trying to monitor number of opened connections to MySQL using netstat.
On DB server I created file: /etc/zabbix/agent.d/netstat.conf
And added this trigger to Zabbix server. It is shown as monitored item, but graph is empty.
Two questions:
1. What should I modify to make graph working ?
2. Is there any better way to get number of connections to MySQL server on port 3306?
Thank you in advance!
Please guide about following question.
I'm trying to monitor number of opened connections to MySQL using netstat.
On DB server I created file: /etc/zabbix/agent.d/netstat.conf
Code:
UserParameter=netstat_mysql_connection,netstat -ntp | grep mysql | grep ESTABLISH | wc -l
Two questions:
1. What should I modify to make graph working ?
2. Is there any better way to get number of connections to MySQL server on port 3306?
Thank you in advance!
Comment