Ad Widget

Collapse

UserDefined doesn't understand $

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ShivaS
    Member
    • Oct 2005
    • 51

    #1

    UserDefined doesn't understand $

    Hi, i've configured a simple thing to get iowait
    mpstat|grep "all"|awk '{print $7}'
    however zabbix doesn't "eat" it and after putting debug in agent, i've got the following:
    (notice the omitted $7)


    023107:20060813:052557 Run remote command [mpstat|awk '{print }'|grep "all"] Result [83] [05:25:57 AM all 0.73 0.00 0.33 16.51 0.03 0.00 82.40 911.38
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Replace "$7" by "$ 7".
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • ShivaS
      Member
      • Oct 2005
      • 51

      #3
      thanks! it works!

      Comment

      Working...