Ad Widget

Collapse

net.if.discovery, Windows perf counters and #

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gmichels
    Junior Member
    • Apr 2013
    • 19

    #1

    net.if.discovery, Windows perf counters and #

    Hey all,

    I'm trying to gather some perf counters from network interfaces in Windows boxes using net.if.discovery. The resulting list contains interfaces with a hash/pound sign:

    Code:
                    {
                            "{#IFNAME}":"Cisco VIC Ethernet Interface #2"},
                    {
                            "{#IFNAME}":"Cisco VIC Ethernet Interface #4"},
                    {
                            "{#IFNAME}":"Cisco VIC Ethernet Interface #3"},
    The Windows perf counters replace the # with _ (underscore), so they expect:

    Code:
    Cisco VIC Ethernet Interface _2
    Cisco VIC Ethernet Interface _3
    Cisco VIC Ethernet Interface _4
    Any way to do this dynamically? I really would like to avoid having to define stuff manually on a per host basis...

    Using Zabbix 2.2.x everywhere.

    Thank you!
Working...