Hi,
I have a problem which makes me want to pull out my hair in despair...
I am monitoring MySQL performance with a script that pulls all the information by running a set of show * command on the server every minute and puts all the output into cache file (it's located in shm for better performance). Collecting the data is done by a user parameter like (/etc/zabbix/cache is linked to /dev/shm/cache):
UserParameter=mysql.getparam[*], egrep "^$1:" /etc/zabbix/cache/check_mysql.cache | awk -F':' '{ print $$2; }'
Everything goes smoothly until (without any apparent reason) items become unsupported. Zabbix complains that:
2036:20111031:152213.850 item [HOSTNAME:mysql.getparam[Threads_created]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
BUT when I run that same parameter with zabbix_get:
root@ZBX_SVR:~# zabbix_get -s HOSTNAME -k "mysql.getparam[Threads_created]"
67
I am perplexed and on the verge of going insane because of that behavior...
Sometimes it will stay unsupported for a few hours, and sometimes only 15 or so minutes. Does someone have an idea why is it happening?
I would be grateful for any advice
P.S.
I am running latest trunk server and agent
I have a problem which makes me want to pull out my hair in despair...

I am monitoring MySQL performance with a script that pulls all the information by running a set of show * command on the server every minute and puts all the output into cache file (it's located in shm for better performance). Collecting the data is done by a user parameter like (/etc/zabbix/cache is linked to /dev/shm/cache):
UserParameter=mysql.getparam[*], egrep "^$1:" /etc/zabbix/cache/check_mysql.cache | awk -F':' '{ print $$2; }'
Everything goes smoothly until (without any apparent reason) items become unsupported. Zabbix complains that:
2036:20111031:152213.850 item [HOSTNAME:mysql.getparam[Threads_created]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
BUT when I run that same parameter with zabbix_get:
root@ZBX_SVR:~# zabbix_get -s HOSTNAME -k "mysql.getparam[Threads_created]"
67
I am perplexed and on the verge of going insane because of that behavior...
Sometimes it will stay unsupported for a few hours, and sometimes only 15 or so minutes. Does someone have an idea why is it happening?
I would be grateful for any advice

P.S.
I am running latest trunk server and agent



Comment