Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifAdminStatus in snmp_queries/interfaces.xml #2618

Closed
jenhek opened this issue Apr 5, 2019 · 2 comments
Closed

ifAdminStatus in snmp_queries/interfaces.xml #2618

jenhek opened this issue Apr 5, 2019 · 2 comments
Labels
enhancement General tag for an enhancement resolved A fixed issue
Milestone

Comments

@jenhek
Copy link

jenhek commented Apr 5, 2019

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.

@netniV
Copy link
Member

netniV commented Apr 5, 2019

Seems reasonable

@cigamit cigamit added the enhancement General tag for an enhancement label Apr 10, 2019
cigamit added a commit that referenced this issue Apr 25, 2019
ifAdminStatus in snmp_queries/interfaces.xml
@cigamit cigamit added the resolved A fixed issue label Apr 25, 2019
@cigamit cigamit added this to the v1.2.4 milestone Apr 25, 2019
@cigamit
Copy link
Member

cigamit commented Apr 25, 2019

This is in GitHub and the default device packages now.

@cigamit cigamit closed this as completed Apr 25, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement General tag for an enhancement resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants