Ad Widget

Collapse

fuzzytime in 1.1.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dstubbs
    Junior Member
    • Oct 2006
    • 11

    #1

    fuzzytime in 1.1.2

    It appears that the fuzzytime function is broken. I can only get it to return a 0. Anyone else see this behavior?

    Here is my user parameter:

    UserParameter=system.time,/bin/date +%H%M%S

    Here is my trigger:

    {Unix:system.time.fuzzytime(30)}=1

    Here is what the server log has:

    009899:20061006:215958 ItemId:17908 Evaluating fuzzytime(137670998)

    009899:20061006:215958 In evaluate_FUNCTION() Function [fuzzytime]
    009899:20061006:215958 In evaluate_FUNCTION() fuzzytime [,17908,215958)] [(null)]
    009899:20061006:215958 In evaluate_FUNCTION() pre-7
    009899:20061006:215958 In evaluate_FUNCTION() 7 Formula [1]
    009899:20061006:215958 In evaluate_FUNCTION() 7 Value [0]
    009899:20061006:215958 In evaluate_FUNCTION() 7 Units []
    009899:20061006:215958 In evaluate_FUNCTION() 7 Value [0] Units [] Formula [1]
    009899:20061006:215958 End of evaluate_FUNCTION. Result [0]
    009899:20061006:215958 Result of evaluate_FUNCTION [0]
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Fuzzytime work for unix time stamps only. Use "date +%s".
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...