Ad Widget

Collapse

Userparameter Zabbix Active on Windows hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • INBG
    Junior Member
    • Dec 2015
    • 4

    #1

    Userparameter Zabbix Active on Windows hosts

    Hello fellows,
    I need help with User parameters on Windows hosts.
    It is very important to now what version is Firefox, Google Chrome and Adobe reader. I accomplished this task on Ubuntu Linux with UserParameter. For example:
    UserParameter=firefox,firefox -v
    UserParameter=chrome,google-chrome -version
    UserParameter=Adobereader,acroread -v
    Now I am faced on the challenge to do same configuration on Windows hosts, but with no luck. I use Zabbix Active Agent 2.4.4 win64 version.
    Because of differences between Linux and Windows I installed Sigcheck on Windows host for verifying signatures and software versions. Also created .bat file with command : C:\Sigcheck>sigcheck.exe -n "c:\ProgramFoles (x86)\Mozila Firefox\firefox.exe"
    The output is:
    Sysinternals www.sysinternals.com
    43.0.2
    Create UserParameter=firefox,xxx.bat or UserParameter=firefox,C:\Sigcheck>sigcheck.exe -n "c:\ProgramFoles (x86)\Mozila Firefox\firefox.exe"
    When I issue zabbix_agentd.exe -t firefox for example I receive [m|ZBX_NOTSUPPORTED] [UNSUPPORTED ITEM KEY.]
    So how to teach zabbix active agent installed on windows hosts to send user parameters for this scenario.
    BR!
  • INBG
    Junior Member
    • Dec 2015
    • 4

    #2
    Found Solution

    Finally found the solution.
    I will describe it because I think that is very important every body who deals with user parameters or system.run commands on windows hosts to know how all that stuff works.

    1. It is good practice to create zabbix user with different password then administrator user account.
    2. When zabbix agent is up and running stop it from Control Panel>Administrative tools>Services>zabbix agent.
    3. Right click on zabbix agent>properties>Log on tab and choose This account.
    You can browse for zabbix account on your Windows machine and select it. Put your password and conform it>Apply and OK.

    Now Start zabbix agent and log off zabbix account.
    All this is necessary because of Windows System 32. Zabbix agent can not find the right path. Also I tried different approach with adding new path on Environment Variables but this did not work.


    Hope this helps to every one faced on such problem.

    Comment

    Working...