Ad Widget

Collapse

Problem with new items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fatima R R Tonon
    Zabbix Certified Specialist
    Zabbix Certified Specialist
    • Oct 2004
    • 29

    #1

    Problem with new items

    hi,
    I'm having a problem when i try to create a new item:
    perf_counter[\Web Service(_Total)\Current Anonymous Users]
    when i type the above key, Zabbix records into the database with two "\\" like:
    perf_counter[\\Web Service(_Total)\\Current Anonymous Users]
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    Originally posted by Fatima R R Tonon
    hi,
    I'm having a problem when i try to create a new item:
    perf_counter[\Web Service(_Total)\Current Anonymous Users]
    when i type the above key, Zabbix records into the database with two "\\" like:
    perf_counter[\\Web Service(_Total)\\Current Anonymous Users]

    Yeah this has to do with the way php, unix, linux, take your pick, escape 'special' shell characters. The best/easiest way to monitor perfmon counters is to set them up as aliases in the agentd.conf file on the box being monitored. see http://www.zabbix.com/manual_config_w32.php

    For example:

    Code:
    in agentd.conf
    Alias = WWW[anon]:perf_counter[\Web Service(_Total)\Current Anonymous Users]
    Then you can monitor it from the server by the aliased item name, in this case WWW[anon].

    HTH

    cooper

    Comment

    Working...