Ad Widget

Collapse

Problem with new agentd on clients

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix_admin12
    Junior Member
    • Nov 2006
    • 4

    #1

    Problem with new agentd on clients

    I am a long term user of zabbix (Using in productions environments -pre 1.0 version) and this product in my opinion is the best out there.

    I run zabbix on Redhat ES3 (2.4 kernel) and ES4 (2.6 kernel). My Zabbix server is on ES4 and currently is version 1.6.

    Since my upgrade from 1.0 I have had a few problems and thought I would bounce them off everybody before I revert my clients to the 1.0 Agentd daemon.

    Problem that I have.
    I have built the client agentd's from version 1.3 and 1.6 and when used, many of the items are seen as "not supported" for the clients. If I leave the zabbix server at 1.6 and change out the client agents to binaries I built for version 1.0 all values work again. Below I have included the list of items for each version so that you can see what is supported and not support. Let me know if any one else has seen this problem and found a resolution (otherwise I will just set up my client with older agent version). Thanks for any input and thanks for the developer for creating such a fine product.

    Supported items for agentd 1.6 client redhat ES4
    memory[buffers] Active
    memory[cached] Active
    cksum[/etc/inetd.conf] Not supported
    cksum[/etc/passwd] Not supported
    cksum[/etc/services] Not supported
    cksum[/usr/bin/ssh] Not supported
    cksum[/usr/sbin/sshd] Not supported
    cksum[/vmlinuz] Not supported
    check_service[smtp] Not supported
    diskfree[/] Not supported
    memory[free] Active
    inodefree[/] Not supported
    swap[free] Active
    system[uname] Active
    system[hostname] Active
    status Active
    system[uptime] Active
    netloadin15[eth0] Not supported
    netloadin15[eth1] Not supported
    netloadin1[eth1] Not supported
    netloadin5[eth1] Not supported
    netloadin15[lo] Not supported
    kern[maxfiles] Active
    kern[maxproc] Not supported
    mysql[ping] Not supported
    mysql[slowqueries] Not supported
    mysql[threads] Not supported
    mysql[qps] Not supported
    mysql[uptime] Not supported
    version[mysql] Not supported
    io[disk_rblk] Active
    io[disk_wblk] Active
    io[disk_rio] Active
    io[disk_io] Active
    io[disk_wio] Active
    system[proccount] Active
    system[procrunning] Active
    proc_cnt[httpd] Not supported
    proc_cnt[mysqld] Not supported
    proc_cnt[sshd] Not supported
    proc_cnt[syslogd] Not supported
    proc_cnt[zabbix_agentd] Not supported
    system[users] Active
    disk_write_ops15[hda] Not supported
    disk_write_ops1[hda] Not supported
    disk_write_ops5[hda] Not supported
    disk_write_ops15[hdb] Not supported
    disk_write_ops1[hdb] Not supported
    disk_write_ops5[hdb] Not supported
    netloadout15[eth0] Not supported
    netloadout15[eth1] Not supported
    netloadout1[eth1] Not supported
    netloadout5[eth1] Not supported
    netloadout15[lo] Not supported
    ping Not supported
    system[procload] Active
    memory[shared] Active
    filesize[/var/log/syslog] Not supported
    check_service[ssh] Not supported
    sensor[temp2] Not supported
    sensor[temp3] Not supported
    sensor[temp1] Not supported
    disktotal[/] Not supported
    memory[total] Active
    inodetotal[/] Not supported
    swap[total] Active
    diskused[/] Not supported
    version[zabbix_agent] Active
    net[listen_80] Not supported

    Supported items for agentd 1.0 client redhat ES4
    memory[buffers] Active
    memory[cached] Active
    cksum[/etc/passwd] Active
    cksum[/etc/services] Active
    cksum[/usr/bin/ssh] Active
    cksum[/usr/sbin/sshd] Active
    cksum[/vmlinuz] Not supported
    check_service[smtp] Active
    diskfree[/] Active
    diskfree[/home] Active
    diskfree[/opt] Active
    diskfree[/tmp] Active
    diskfree[/usr] Active
    diskfree[/var] Active
    memory[free] Active
    inodefree[/] Active
    inodefree[/home] Active
    inodefree[/opt] Active
    inodefree[/tmp] Active
    inodefree[/usr] Active
    swap[free] Active
    check_service[ftp] Active
    system[uname] Active
    system[hostname] Active
    status Active
    system[uptime] Active
    check_service[imap] Active
    netloadin15[eth0] Active
    netloadin1[eth0] Active
    netloadin5[eth0] Active
    netloadin15[eth1] Active
    netloadin1[eth1] Active
    netloadin5[eth1] Active
    netloadin15[lo] Active
    netloadin1[lo] Active
    netloadin5[lo] Active
    mapserver1 Active
    kern[maxfiles] Not supported
    kern[maxproc] Not supported
    check_service[nntp] Active
    io[disk_rblk] Active
    io[disk_wblk] Active
    io[disk_rio] Active
    io[disk_io] Active
    io[disk_wio] Active
    system[proccount] Active
    system[procrunning] Active
    proc_cnt[httpd] Active
    proc_cnt[inetd] Active
    proc_cnt[mysqld] Active
    proc_cnt[sshd] Active
    proc_cnt[syslogd] Active
    proc_cnt[zabbix_agentd] Active
    proc_cnt[zabbix_suckerd] Active
    proc_cnt[zabbix_trapperd] Active
    system[users] Active
    disk_write_ops15[hda] Not supported
    disk_write_ops1[hda] Not supported
    disk_write_ops5[hda] Not supported
    disk_write_ops15[hdb] Not supported
    disk_write_ops1[hdb] Not supported
    disk_write_ops5[hdb] Not supported
    netloadout15[eth0] Active
    netloadout1[eth0] Active
    netloadout5[eth0] Active
    netloadout15[eth1] Active
    netloadout1[eth1] Active
    netloadout5[eth1] Active
    netloadout15[lo] Active
    netloadout1[lo] Active
    netloadout5[lo] Active
    ping Active
    check_service[pop] Active
    system[procload] Active
    system[procload15] Active
    system[procload5] Active
    memory[shared] Active
    filesize[/var/log/syslog] Not supported
    check_service[ssh] Active
    net[listen_23] Active
    sensor[temp2] Not supported
    sensor[temp3] Not supported
    sensor[temp1] Not supported
    disktotal[/] Active
    disktotal[/home] Active
    disktotal[/opt] Active
    disktotal[/tmp] Active
    disktotal[/usr] Active
    memory[total] Active
    inodetotal[/] Active
    inodetotal[/home] Active
    inodetotal[/opt] Active
    inodetotal[/tmp] Active
    inodetotal[/usr] Active
    swap[total] Active
    diskused[/] Active
    diskused[/home] Active
    diskused[/opt] Active
    diskused[/tmp] Active
    diskused[/usr] Active
    diskused[/var] Active
    version[zabbix_agent] Active
    check_service[http] Active
    net[listen_80] Active
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Looking at your list, it appears that your problem is that you are trying to use the old style item keys. Many of those keys have been completely replaced by the new style keys. And the ones that are still active are in the process of being replaced. For example; cksum[/etc/services] has been changed to vfs.file.cksum[/etc/services]

    Before you revert the agents, you might want to check what the new keys are for the ones that are no longer active.

    EDIT: New keys are listed at ZABBIX Agent
    Unofficial Zabbix Developer

    Comment

    • zabbix_admin12
      Junior Member
      • Nov 2006
      • 4

      #3
      Thanks James for the reply. I think it pointed me in the right direction.

      I changed both ports so that 10051 and 10050 back to the old values 10001 and 10051 ( create a lot of perl scripts that use sender/trapper service). I found an error in agentd and it was not changed to 10001 so the active checks failed. I restarted the logs and the error I saw went away and I could see

      get_active_checks: host[192.168.100.35] port[10001]
      009536:20070319:151329 Sending [ZBX_GET_ACTIVE_CHECKS
      utility.knowledgewhere.com
      ]

      So that looks good but I still don't see any of the items for the newer agent.
      IE vfs.fs.size[fs <,mode>]

      I also check the zabbix user to make sure it could cat files in the /proc directory and that seems fine.

      Is there something I need to do to see the new items for an upgraded client in the zabbix gui?

      Thanks a lot

      Comment

      • zabbix_admin12
        Junior Member
        • Nov 2006
        • 4

        #4
        templates

        I looked through the templates and non of them use the new keys (IE net.if.in[if bytes]. This may be the problem as I continued to use templates as I did in the past (Host.Unix)

        Is it correct that I have to create my own template for the functionality in the new agents? There are no pre-builts to save time?


        I did try deleting a client with the new agents then readding it with no template but then there are no items listed for that host. I will try creating my own template but this is much more time consuming than having a template with all the new checks that I can disable at will.

        Is this what everyone else had to do?

        Thanks

        Comment

        • James Wells
          Senior Member
          • Jun 2005
          • 664

          #5
          Originally posted by zabbix_admin12
          Is this what everyone else had to do?
          Pretty much. In fact, I created my own data.sql, that contains just the users, their rights, user groups, and help data. From there I use the UI to create my templates and hosts. I found that in the long run it saves me a great deal of time and energy that way.
          Unofficial Zabbix Developer

          Comment

          Working...