hello,
today i'm upgraded production server/agent to zabbix 2.2.0
all looks fine.
on agent side i use UserParameter for mysql status checking
in mysql is created user with password to check this information.
user and password values are parsed to command line from template macros
after agent upgrade to 2.2.0 i'm started to receive warning in zabbix-agentd.log
how can i disable this warnings or maybe is a different way how to check mysql status?
today i'm upgraded production server/agent to zabbix 2.2.0
all looks fine.
on agent side i use UserParameter for mysql status checking
Code:
UserParameter=mysql.status[*],mysqladmin -u$1 -p$2 extended-status | awk '$$2 ~ /^$3$/ { if($$4 != "|") print $$4 }'
user and password values are parsed to command line from template macros
after agent upgrade to 2.2.0 i'm started to receive warning in zabbix-agentd.log
Code:
25435:20131113:101300.307 Starting Zabbix Agent [MON01]. Zabbix 2.2.0 (revision 40163). 25435:20131113:101300.308 using configuration file: /usr/local/etc/zabbix_agentd.conf 25436:20131113:101300.313 agent #0 started [collector] 25437:20131113:101300.315 agent #1 started[listener #1] 25438:20131113:101300.315 agent #2 started[listener #2] 25440:20131113:101300.316 agent #4 started [active checks #1] 25439:20131113:101300.317 agent #3 started[listener #3] Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure.
Comment