Ad Widget

Collapse

z-agent, ifname and description

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kvone
    Junior Member
    • Nov 2015
    • 4

    #1

    z-agent, ifname and description

    Hello,

    please tell me how to implement the following functionality:

    I ask if the device via SNMP, I can use the following structure for
    the order that would specify the description of the port:

    a prototype of a data element: {$PORT{#SNMPINDEX}_DESCR}
    and define macros for the host: {$PORT5_DESCR} = "ThisIsPort5".

    If the respondent zabbix-agent, {#SNMPINDEX} he does not return, but you can get the name of the interface {#IFNAME}.

    The problem is that if the name of the interface, for example, "vlan100" (lowercase) I can not create a macro {$PORTvlan100_DESCR} = "MyDescr", because his name can only contain uppercase.

    What can be done?
    I chose the wrong way to set the description of the interface obtained by zabbix-agent?

    many thanks
    Last edited by kvone; 25-11-2015, 07:09.
Working...