Ad Widget

Collapse

Windows SNMP - field length

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StevenBrs
    Junior Member
    • Sep 2015
    • 11

    #1

    Windows SNMP - field length

    Hi Zabbix community,

    I'm having an issue with the field length of IfAlias SNMP fields from Windows servers.
    It is cut off at 65 characters.

    Here is an example of return from snmpwalk:

    IF-MIB::ifAlias.22 = STRING: Embedded LOM 1 Port 1
    IF-MIB::ifAlias.23 = STRING: Embedded LOM 1 Port 1-WFP Native MAC Layer LightWeight Filter-00
    IF-MIB::ifAlias.24 = STRING: Embedded LOM 1 Port 1-QoS Packet Scheduler-0000
    IF-MIB::ifAlias.25 = STRING: Embedded LOM 1 Port 2-WFP Native MAC Layer LightWeight Filter-00
    IF-MIB::ifAlias.26 = STRING: Embedded LOM 1 Port 2-QoS Packet Scheduler-0000
    IF-MIB::ifAlias.27 = STRING: Embedded LOM 1 Port 1-WFP 802.3 MAC Layer LightWeight Filter-000

    I'm not sure which part of the chain is limiting the description. Is it the description field in windows, or is it the windows SNMP service, or snmpwalk, or ... ?

    I'll explain why this is an issue : I'm seeing LOTS of network interfaces that change a lot and I don't want to monitor. Most of them end with -0000
    So I created a filter on the LLD to exclude names ending in -0000, and only show interfaces that have a valid MAC address.
    If the field is truncated, the filter is not working for all entries, and I'm having lots of warnings in Zabbix that I don't want to see.
    I can adapt my filter to exclude "-0+", but I rather solve the cause than creating a partially-working dirty fix.

    So my question : Is there any way I can get the full description strings ?
    If not, is there any way to only discover the physical network interfaces ?

    (what are those lightweigt filter interfaces anyway ?)

    Thanks for reading and hopefully helping me ;-)

    best regards,
    Steven
    Last edited by StevenBrs; 11-12-2019, 11:43.
  • batchen_regev
    Member
    • Aug 2018
    • 80

    #2
    Maybe ifPhysAddress will be more helpful ? as it shows mac

    Comment

    Working...