Ad Widget

Collapse

Z 1.8.9, macros in perf_counter?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anth0ny
    Member
    • Nov 2009
    • 85

    #1

    Z 1.8.9, macros in perf_counter?

    It is possible or not?

    I defined 2 macros for each Windows host (example):

    {$NET_IF1_NAME} = Broadcom BCM5709C #39
    {$NET_IF1_STRING} = \Network Interface(Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client] _39)

    And try to use this items in template:

    Interface {$NET_IF1_NAME} - inbound traffic, bps --- perf_counter["{$NET_IF1_STRING}\Bytes Received/sec"]

    Interface {$NET_IF1_NAME} - outbound traffic, bps --- perf_counter["{$NET_IF1_STRING}\Bytes Sent/sec"]

    But at server's page i found what {$NET_IF1_STRING} macro is NOT resolved to it's value.

    _Template - Network usage:Interface Broadcom BCM5709C #39 - inbound traffic, bps --- perf_counter[{$NET_IF1_STRING}\Bytes Received/sec]

    _Template - Network usage:Interface Broadcom BCM5709C #39 - outbound traffic, bps --- perf_counter[{$NET_IF1_STRING}\Bytes Sent/sec]

    Is it a bug? Or wrong key string?
    Thanks.
  • Anth0ny
    Member
    • Nov 2009
    • 85

    #2
    solved!

    only display of macros is wrong, data to monitoring recieved successfuly.

    Comment

    Working...