Ad Widget

Collapse

Stupid newbie questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • random.n!ck
    Junior Member
    • Sep 2006
    • 4

    #1

    Stupid newbie questions

    Hi,

    I have just installed v.1.1.1

    The Zabbix client is running on a Linux and on a Windows XP box, they were added to the Zabbix server by using the Unix_t and Windows_t templates and the Zabbix agent.

    Both hosts are using the same zabbix_agentd.conf file from the distribution.

    Both hosts come up pre-configured with the template provided items.

    On the Linux host about 60% of the pre-configured items are "Active", the rest is "Not supported".

    The Windows XP box is much worse: out of the 23 items only 3 (host status, number of running Apache processes, size of c:\msdos.sys) works "out of box", the rest is "Not supported", which seems very strange.

    My questions:

    1) The zabbix_agentd.conf files on the Linux and Windows hosts are identical.

    First I thought that I need to add some kind of definitions here to make them "active", but I don't see any references in the zabbix_agentd.conf for the working "Active" items.

    I have tried ZabbixW32 check-config, it comes back without error and the zabbix_agentd.log contains only:

    *************** Log file opened ****************
    [07-Sep-2006 16:28:56] Collector thread initialized successfully
    [07-Sep-2006 16:28:56] Zabbix Win32 Agent started

    Why do some of the pre-defined template items work, while the others not?


    2) In the Zabbix server log I see many items (referring to the Windows box), like:

    Parameter [system.cpu.load[,avg15]] is not supported by agent on host
    019945:20060907:140855 Parameter [system.uptime] is not supported by agent on host
    019945:20060907:140855 Parameter [vfs.fs.size[d:,free]] is not supported by agent on host019945:20060907:140855 Parameter [agent.ping] is not supported by agent on host
    019945:20060907:140855 Parameter [system.cpu.load[,avg1]] is not supported by agent
    019945:20060907:140855 Parameter [system[procrunning]] is not supported by agent on host
    019945:20060907:140855 Parameter [vfs.fs.size[d:,total]] is not supported by agent on host
    019945:20060907:140855 Parameter [agent.version] is not supported by agent on host
    019945:20060907:140855 Parameter [system.cpu.load[,avg5]] is not supported by agent on host
    019945:20060907:140856 Parameter [vfs.file.cksum[c:\autoexec.bat]] is not supported by agent on host
    019945:20060907:140856 Parameter [vm.memory.size[free]] is not supported by agent on host
    019945:20060907:140856 Parameter [system.swap.size[,free]] is not supported by agent on host
    019945:20060907:140856 Parameter [vfs.file.cksum[c:\config.sys]] is not supported by agent on host
    019945:20060907:140856 Parameter [vm.memory.size[total]] is not supported by agent on host
    019945:20060907:140856 Parameter [proc.num[]]

    If all these are not supported, why are they in the template?


    3) From posts on the Forum, I can see references and examples for defining items and adding definitions in the zabbix_agentd.conf file.

    Are there different pre-configured zabbix_agentd.conf files available for Linux, Windows, etc. servers to enable all the "Not supported" items?

    4) If I understand properly, custom configured items and corresponding definitions in the zabbix_agentd.conf are needed to collect data (e.g. WIndows server Event logs.)

    Is there any repository of the commonly used, server based items - e.g. Windows 2003 with Exchange, etc. (which are not included in the current host templates)?

    Maybe even as SQL statements, which could be loaded into the database and the definitions to be added to zabbix_agentd.conf.

    Thanks you for the help!

    Nick
  • dantheman
    Senior Member
    • May 2006
    • 209

    #2
    Some of the templates have not been updated after they made changes to the keys, for the items that are not supported you will need to go in and change the Key to match the new format. You can find most of them here http://www.zabbix.com/manual/v1.1/config_items.php

    Comment

    • random.n!ck
      Junior Member
      • Sep 2006
      • 4

      #3
      Thank you for your reply.

      I randomly checked this key on the Windows template:

      Item 'Windows_t:Free disk space on $1'

      Description: Free disk space on $1
      Type: Zabbix agent
      Key: vfs.fs.size[c:,free]
      Type of information: Numeric (float)
      Units; B
      Use multiplier: Custom multiplier
      Custom multiplier: 1


      According to http://www.zabbix.com/manual/v1.1/config_items.php

      vfs.fs.size[fs <,mode>] Calculate disk space for a given volume.
      Example: vfs.fs.size[/tmp,free].


      It looks like the item key in the Windows template is correct, still in the items list for the Windows XP host I have:

      Windows_t:Total disk space on c: vfs.fs.size[c:,total] 3600 7 365 ZABBIX agent Not supported

      In the server log:
      Parameter [vfs.fs.size[c:,free]] is not supported by agent on host


      The key seems to be okay, it must be something else.


      Thanks for any advice again.

      Nick

      Comment

      Working...