Hi All!
The last hour I was on getting UserParameter to run without using any parameter in my command-line-string.
Now, I finished and finally got it to work :-)
So I want to share my experience.
My System:
Zabbix 1.6.1 (Ubuntu Srv 8.10 64bit) with Windows-Agent 1.6.1 (Win 2003 Srv Standard)
Item-Key: myinfo[]
zabbix_agentd.conf: UserParameter=myinfo[*],type C:\windows\myfile.ini | grep MyInfo | cut -f2 -d"="
The point is to give the Item-Key the empty [] and also give the UserParameter the[*]. So no parameter is added.
Without these [] and[*], I was not successful, no matter what I tried,...
I would be interested in your experience.
Kind regards,
Markus.
The last hour I was on getting UserParameter to run without using any parameter in my command-line-string.
Now, I finished and finally got it to work :-)
So I want to share my experience.
My System:
Zabbix 1.6.1 (Ubuntu Srv 8.10 64bit) with Windows-Agent 1.6.1 (Win 2003 Srv Standard)
Item-Key: myinfo[]
zabbix_agentd.conf: UserParameter=myinfo[*],type C:\windows\myfile.ini | grep MyInfo | cut -f2 -d"="
The point is to give the Item-Key the empty [] and also give the UserParameter the[*]. So no parameter is added.
Without these [] and[*], I was not successful, no matter what I tried,...
I would be interested in your experience.
Kind regards,
Markus.
Comment