Ad Widget

Collapse

Disk R\W IO items are missed in FreeBSD Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ARA
    Junior Member
    • Aug 2011
    • 15

    #1

    Disk R\W IO items are missed in FreeBSD Template

    Hello.

    I'm wondering why disk R\W IO items are missed in FreeBSD Template. I've found diskio.c in sources under FreeBSD folder, tried to add items manually, but getting "Not supported" in web interface.

    /usr/local/sbin/zabbix_agent -c /usr/local/etc/zabbix/zabbix_agentd.conf -t vfs.dev.read
    gives:
    vfs.dev.read[] [m|Collector is not started!]

    Is this expected and known issue?
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    Seems to be supported looking in the dok (updated to 1.8.5/1.8.5 agent I suppose):
    http://www.zabbix.com/documentation/...l/config/items (sec. 19.3)
    Running your command on my debian lanny linux give same output as your agent.
    Running zabbix_agent –p give a more positive result:
    vfs.dev.read[sda,operations] [u|2766]
    Maybe something else is wrong. You can try the zabbix_get command from the server.
    (zabbix_get -s127.0.0.1 -p10050 -ksystem.cpu.load[all,avg1]) – change for your need.
    BR
    Erik

    Comment

    • ARA
      Junior Member
      • Aug 2011
      • 15

      #3
      zabbix_agent -p | grep '\[m'
      system.run[echo test] [m|ZBX_NOTSUPPORTED]
      log[logfile] [m|Accessible only as active check!]
      logrt[logfile] [m|Accessible only as active check!]
      eventlog[system] [m|Accessible only as active check!]
      vfs.dev.read[hda,ops,avg1] [m|Collector is not started!]
      vfs.dev.write[hda,ops,avg1] [m|Collector is not started!]
      system.cpu.util[all,user,avg1] [m|Collector is not started!]
      zabbix_get -s127.0.0.1 -p10050 -ksystem.cpu.load[all,avg1]
      zabbix_get: No match.
      zabbix_get -s127.0.0.1 -p10050 -ksystem.cpu.load
      0.039062
      zabbix_get -s127.0.0.1 -p10050 -kvfs.dev.write[ada0,ops,avg1]
      zabbix_get: No match.
      zabbix_get -s127.0.0.1 -p10050 -kvfs.dev.write
      178380.800000
      Seems zabbix have some problems getting commands with arguments.

      Comment

      • ARA
        Junior Member
        • Aug 2011
        • 15

        #4
        Main question still remains open: why vfs.dev items are dropped from FreeBSD template (and btw from others also - I checked Linux, OpenBSD, MacOS) -
        exported template
        Code:
        cat zbx_templates_export.xml | grep vfs.dev
        returns nothing.
        Is this expected behavior and means admin should add these items manually?

        Comment

        • ARA
          Junior Member
          • Aug 2011
          • 15

          #5
          Zabbix Server v1.8.5 (revision 19050) (15 April 2011)
          Just found them in helper_items and ability to add new item selecting from this table. It seems strange to have superfluous free\used space in bytes\percents (4 different types of items to measure same thing) and haven't disk io in standard template.

          Comment

          Working...