'zabbix_get -s 127.0.0.1 -k mysql.ping' get 'mysqladmin: [Warning] Using a password on the command line interface can be insecure.'.
'zabbix_agentd -t mysql.ping' get 'mysql.ping [t|mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive]'
You see the first one missing 'mysqld is alive'.
I've changed my 'mysql.ping' command to using password on the command line and dropped the 'grep -c alive' part . If I don't change that , all I got is '0' with 'zabbix_get -s 127.0.0.1 -k mysql.ping' , and the result using 'zabbix_agentd -t mysql.ping' is '1' .
I think zabbix_get can't get response from mysql . Now the mysql server is always down and can't get any number specific data in zabbix web.
'zabbix_agentd -t mysql.ping' get 'mysql.ping [t|mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqld is alive]'
You see the first one missing 'mysqld is alive'.
I've changed my 'mysql.ping' command to using password on the command line and dropped the 'grep -c alive' part . If I don't change that , all I got is '0' with 'zabbix_get -s 127.0.0.1 -k mysql.ping' , and the result using 'zabbix_agentd -t mysql.ping' is '1' .
I think zabbix_get can't get response from mysql . Now the mysql server is always down and can't get any number specific data in zabbix web.
Comment