This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Custom SWQL query for VLAN Identification of an interface

Hi, I have a script on my system that moves two interfaces into a different VLAN and another that moves them back. I'd like to write a custom query that provides an indication on a dashboard as to which VLAN the interfaces are in and display a colour indicating this. I'm very new to SWQL. Is this possible and could anyone please get me started? Thank you very much in advance

Parents
  • Can you doodle up what you'd want this resource to have in it?  It's totally possible, but it's easier to build out what you'd want if we knew how you envision the final result.

  • Hi, thanks for replying. So as I mentioned above, I have two VLANS, say 400 and 401, when the script runs it moves two interfaces from VLAN 400 to VLAN 401, when it runs again it moves them back. I would like a widget on my NOC dashboard that contains the names of both VLANS and displays a green icon next to the one that the interfaces are currently assigned to, with a caption saying “active”, or such like. I don’t know if this is achievable or not.

    The VLANS and interfaces are listed within NPM and are monitored on the switch they reside on, I can collect interface utilisation and other metrics for them. I can also identify the VLAN that they are assigned by looking at the interface config within NCM, however when looking at the VLANS in NPM I cant see assigned interfaces, and this is why I’ve been struggling I think.

    Any help would be very much appreciated, being able to display this information would solve a lot of issues. Thank you

  • Node Interface Current VLAN OK?
    Switch11 gi1/0/2 400 OK
    Switch11 gi2/0/17 302 Nope

    In a very basic representation, you want something like the above, but with icons or something in the last column?

  • Something like that would be perfect, is this possible? Thanks again.

Reply Children