Skip to content

ifAdminStatus in snmp_queries/interfaces.xml #2618

Closed
@jenhek

Description

@jenhek

Is your feature request related to a problem? Please describe.

when configuring our switches we tend to enable only such ports, that have
a valid patching. however very often the devices behind are not turned on.
we used the ifOperStatus field to discover the switches but so the switch
has to be rediscovered when devices are turned on. we would prefer
to have the "admin status" as a selection field instead of the "operational status".

Describe the solution you'd like

It would be pretty easy to extend the "snmp_queries/interfaces.xml" with the following:

            <ifAdminStatus>
                    <name>AdminStatus</name>
                    <method>walk</method>
                    <source>VALUE/REGEXP:[a-zA-Z]{1,}\(([1-]{1})+\)$</source>
                    <direction>input-output</direction>
                    <oid>.1.3.6.1.2.1.2.2.1.7</oid>
            </ifAdminStatus>

Describe alternatives you've considered

None. Hope that gets clear from the problem description.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancementresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions