Ad Widget

Collapse

Incorrect key format: perfmon keys in Aggregate item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dcrandall
    Member
    • Apr 2006
    • 59

    #1

    Incorrect key format: perfmon keys in Aggregate item

    Hi,

    Zabbix version: 1.6.5

    So I've been trying to set up an aggregate item using permon keys in order to get total number of IIS connections for 5 servers.

    I set the item type to 'ZABBIX aggregate', and the type of information to "Numeric(float)" and i set the key like this:

    grpsum("Windows servers",perf_counter["\Web Service(_Total)\Current Connections"],"last","0")

    When I try to save it I get

    "ERROR: Cannot add item"
    "Incorrect key format 'key_name[param1,param2,...]'"

    I'm guessing that this is due ot the format of the percounter containing slashes and whatnot.

    I have tried various quoting schemes, I've searched the forums, and even tried a couple of the fixes, but nothing has worked. While I've seen quite a few threads on aggregate items, I've not seen one where somebody has specifically tried using perf_counter in an aggregate.

    Which either means that nobody has done this, or that I've made some simple mistake that most people don't make.

    Either way, any advice would be greatly appreciated.

    Daniel
  • maldwin
    Junior Member
    • Aug 2009
    • 4

    #2
    Try with [ ] instead of ( ) :

    grpsum["Windows servers","perf_counter["\Web Service(_Total)\Current Connections"]","last","0"]

    Comment

    Working...