Ad Widget

Collapse

[1.4.1] Bug. UserParameter not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #1

    [1.4.1] Bug. UserParameter not working

    Hi,

    I did the upgrade from 1.4 to 1.4.1.

    I have a userparameter that returns the percent of used memory:

    Code:
    UserParameter=mem.usedpercent,free | grep Mem | awk '{OFMT = "%.0f" ; print $3/$2*100}'
    In 1.4 it was working well. If I type zabbix_agentd -t mem.usedpercent it will return something like "mem.usedpercent [t|83]". In 1.4.1 it is always returning "mem.usedpercent [t|0]"

    So I rolled back to 1.4 and it worked again....

    As far as I noticed, UserParameters didn't changed, Am I right? So, I think that it's a bug....

    I'm running zabbix over a RedHat EL Update 4.
    Last edited by bobrivers; 01-07-2007, 04:11. Reason: Forgot to mention OS data...
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this. Character '%' is incorrectly processed in 1.4.1. Patch is attached.
    Attached Files
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...