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

NetApp IP MC - Switch monitoring or Cisco switch in general #3286

Open
BrendonA667 opened this issue Nov 13, 2024 · 6 comments
Open

NetApp IP MC - Switch monitoring or Cisco switch in general #3286

BrendonA667 opened this issue Nov 13, 2024 · 6 comments
Assignees
Labels
customer feature New feature or request

Comments

@BrendonA667
Copy link

Is your feature request related to a problem? Please describe.
Feature request if this is possible

Describe the solution you'd like
If possible any metric from the Cisco Cluster switches specially from the Metro Cluster. We had and issue with one of the replication port where down and ONTAP did not reported this. Case is open for investigation but independent from this it would be a huge improvement when harvest could collect some data from the supported/recommended Cisco switches.

Additional context
From my point of view harvest collects at the moment all possible metrics that are currently available in ONTAP. If this could be extended to Cisco switches this would be awesome.

@BrendonA667 BrendonA667 added the feature New feature or request label Nov 13, 2024
@cgrinds
Copy link
Collaborator

cgrinds commented Nov 15, 2024

While we evaluate the feasibility of adding a Cisco switch collector to Harvest, I gathered a list of existing open-source Cisco exporters. Have you tried any from the list below @BrendonA667?

You should be able to use one of these to:

  • collect and export Cisco switch metrics
  • update your existing instance of Prometheus to scrape the new endpoint
  • use those metrics in Grafana

Looks like most of the Cisco switches do not provide a REST API and instead, the collectors listed below, gather the metrics via ssh. Some of the Nexus switches provide a REST API. Most of the projects below have not been updated in a few years which may mean they are abandoned or feature complete.

We have not tried them and can not vouch for their quality.

@BrendonA667
Copy link
Author

Hi @cgrinds Thank you for your feedback. We will discuss this if we use one of these exporters dedicated for Cisco or like a generic one with SNMP. My idea behind this request is, that since ONTAP already monitor the switches, there should (in my small world) any informations that Harvest could collect

@cgrinds cgrinds self-assigned this Nov 19, 2024
@cgrinds
Copy link
Collaborator

cgrinds commented Nov 19, 2024

hi @BrendonA667 understood. I like your idea. Can you see if this returns anything for you? Replacing $ip, $user, $pass with correct values.

curl -sk -u$user:$pass 'https://$ip/api/storage/switches?fields=*'

@BrendonA667
Copy link
Author

BrendonA667 commented Nov 21, 2024

Hi @cgrinds with the API api/network/ethernet/switches?fields=* there is like the CLI output but unfortunately nothing which adds a big value regarding performance or the port status. I'm not sure how ONTAP collects information which is showed in the system health alert section when for example a port goes down.

@cgrinds
Copy link
Collaborator

cgrinds commented Nov 26, 2024

@BrendonA667 looks like api/storage/switches?fields=*' should tell you if a port is down along with some speed and environmental metrics. Can you try that endpoint instead of network/ethernet/switches?

@roybatty2019
Copy link

Having monitoring of MetroCluster ISL links in Harvest + nabox would be really useful. For example, we'd like to see the utilisation of the links to know if we need to upgrade the bandwidth between sites. Of course the up/down status is also really important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants