Ad Widget

Collapse

1.8 agent ZBX_NOTSUPPORTED for items with an argument with '-' in the text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • username_taken
    Junior Member
    • Oct 2009
    • 11

    #1

    1.8 agent ZBX_NOTSUPPORTED for items with an argument with '-' in the text

    Anyone else seeing this?

    I've got a bunch of tests that test multipath disks ( dm-2, dm-3, etc ) which have stopped working since upgrading to the 1.8 agent.

    This is on a 64 bit centos box.

    UserParameter=custom.vfs.dev.write.sectors[*],cat /proc/diskstats | grep $1 | head -1 | awk '{print $$10}'

    # ./zabbix_get -s server -k custom.vfs.dev.write.sectors[dm-3] ZBX_NOTSUPPORTED

    # ./zabbix_get -s server -k custom.vfs.dev.write.sectors[sda]
    138643176

    I've tried this with some other tests as well, and it seems as soon as I add a - into the argument it fails. Note I can run the test from the command line ( cat /proc/diskstats | grep dm-3 | head -1 | awk '{print $10}' ) and it works correctly.

    If other people see this as well, I'll add it to the tracker.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    and the same items work with 1.6 agent ? if so, report on the tracker right away
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...