Ad Widget

Collapse

Windows Inventory not populating

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mail_admin
    Junior Member
    • Dec 2014
    • 6

    #1

    Windows Inventory not populating

    For taking inventory of windows 2012 server standard and windows 7 dekstop I followed the steps below. Placed cpuz32, cpuz64 in C: drive along with zabbix_agentd.conf

    Used the link https://www.zabbix.com/forum/showthread.php?t=26862

    zabbix agent conf file

    LogFile=c:\zabbix_agentd.log

    Server=10.20.1.5

    ListenPort=10050

    StartAgents=5

    ServerActive=127.0.0.1


    Hostname=IC01


    UserParameter = inventory[*],cscript "C:\zabbix_inv_inventory.vbs" //Nologo "$1" "$2" "$3"

    But class.ctag.php was in the location /usr/share/zabbix/include/classes and forms.inc.php /usr/share/zabbix/include. But I couldnt find the line $frmHostP in the file.


    For windows 7 I added the line 'On Error Resume Next'


    I am using zabbix version 2.2 zabbix agent version 2.2.5. Also nothing gets populated in Host Inventory.

    Also when I try to link this INV template along with Template OS windows for the host it shows the below error.

    Two items ("System information" and "INV OS") cannot populate one host inventory field "OS", this would lead to a conflict.

    For taking inventory of windows 2012 server standard and windows 7 dekstop I followed the steps below. Placed cpuz32, cpuz64 in C: drive along with zabbix_agentd.conf

    zabbix agent conf file

    LogFile=c:\zabbix_agentd.log

    Server=10.20.1.5

    ListenPort=10050

    StartAgents=5

    ServerActive=127.0.0.1


    Hostname=IC01


    UserParameter = inventory[*],cscript "C:\zabbix_inv_inventory.vbs" //Nologo "$1" "$2" "$3"

    But class.ctag.php was in the location /usr/share/zabbix/include/classes and forms.inc.php /usr/share/zabbix/include. But I couldnt find the line $frmHostP in the file.


    For windows 7 I added the line 'On Error Resume Next'


    I am using zabbix version 2.2 zabbix agent version 2.2.5. Also nothing gets populated in Host Inventory. Hardware is IBM HS 23 blade.

    Also when I try to link this INV template along with Template OS windows for the host it shows the below error.

    Two items ("System information" and "INV OS") cannot populate one host inventory field "OS", this would lead to a conflict.
  • authex
    Member
    • Jan 2014
    • 32

    #2
    Hi,
    There are multiple versions of Zabbix:

    1.8
    2.0
    2.2
    2.4
    3.0

    sounds to me that you have the wrong agent version.

    Comment

    • mail_admin
      Junior Member
      • Dec 2014
      • 6

      #3
      Hi,

      zabbix agent version is 2.4.4 and zabbix server version is 2.2.7, apologies for the error.

      Comment

      Working...