I install zabbix agent on FreeBSD 6.1. Run process as standalone, after system reboot zabbix agent warn about mysqladmin (mysqladmin not found). After some time manually restart zabbix agent all work ok. But every restart time zabbix can't find mysqladmin. Process run as user zabbix and group zabbix.
Ad Widget
Collapse
Mysqladmin not found
Collapse
X
-
Yes, mesqladmin found on this computer. And it's work fine.
Mysql monitoring work after i manually restart zabbix client.
If i restart zabbix after reboot immediacy, zabbix don't find mysqladmin, if i waiting some time (5 min) and after restart, all work fine.Comment
-
I know this is two years old, but i saw the same behavior running freebsd 8.1 and zabbix agent 1.8.3.
symptom is that after a reboot, the zabbix agent will show errors in its logs for mysql userparameters like:
Running zabbix_get on an item will result in:Code:mysqladmin: not found mysql: not found
After manually restarting the agent, the mysql userparams start working. I think this may be due to the zabbix user's PATH.Code:$zabbix_get -s127.0.0.1 -kmysql.qps ZBX_NOTSUPPORTED
I got this behavior to stop by specifying the full path to the mysqladmin and mysql binaries. So
changes toCode:UserParameter=mysql.qps,mysqladmin -umonitor status|cut -f9 -d":"
Now, the mysql userparameters will work even after a reboot.Code:UserParameter=mysql.qps,/usr/local/bin/mysqladmin -umonitor status|cut -f9 -d":"
Comment
Comment