Ad Widget

Collapse

Aggregate items [1.4]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Voltsifer
    Junior Member
    • Jun 2006
    • 8

    #1

    Aggregate items [1.4]

    grpsum('CMTS','cmts_traf_in','last',0)
    -is it correct formula for Aggregated item Key?
    It's like ZABBIX manual examples...
    But i had error:
    [ERROR: Cannot add item]
    Key should contain '[]0-9a-zA-Z!_,)+.*\ $'- characters only

    Have any the same problems?
  • hannibal20
    Junior Member
    • Jan 2007
    • 22

    #2
    I changed line 325 in the include/defines.inc.php to:
    PHP Code:
    define('ZBX_EREG_ITEM_KEY_FORMAT''([]\[0-9a-zA-Z!\_\*\/\.\,\'\:\(\)\+ [.-.]\$]+)'); 
    (added \' to the define) and it worked for me

    Comment

    Working...