Skip to content

Conversation

@rmorandell-pgum
Copy link
Contributor

@rmorandell-pgum rmorandell-pgum commented Aug 4, 2025

Community contributors

Description

New plugin for snmp support for Westermo standard network devices

Modes Available:
cpu
interfaces
list-interfaces
list-spanning-trees (snmp_standard::mode::listspanningtrees)
memory (snmp_standard::mode::memory)
sensors (snmp_standard::mode::entity)
spanning-tree (snmp_standard::mode::spanningtree)
tcpcon (snmp_standard::mode::tcpcon)
udpcon (snmp_standard::mode::udpcon)
uptime (snmp_standard::mode::uptime)

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

How this pull request can be tested ?

here the MIB file
WESTERMO-WEOS-MIB.txt

image

The snmpwalk of a "Westermo Wolverine" i will send you via email.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (develop).
  • I have provide data or shown output displaying the result of this code in the plugin area concerned.

Copy link
Contributor

@Evan-Adam Evan-Adam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you contribution

Following review, there is some minor change to do.
in addition to the change asked in others comment, could you give use the exact model of your hardware ?

For the automated test, if you want to create them there is some good example in tests/network/f5/bigip/snmp/cpuusage.robot, or we will created them once you give us the snmpwalk data.

@rmorandell-pgum
Copy link
Contributor Author

Thanks for you contribution

Following review, there is some minor change to do. in addition to the change asked in others comment, could you give use the exact model of your hardware ?

For the automated test, if you want to create them there is some good example in tests/network/f5/bigip/snmp/cpuusage.robot, or we will created them once you give us the snmpwalk data.

Hi, thanks for answer.

The snmpwalk i send always to @lucie-tirand via mail to not make it public.

You're right. Normally, I always use the new label and the new performance data. (I've already created several plugins and have PRs open).

Since I copied this from another CPU load, it wasn't included. I'll change that. Sorry.

I named it “cpu-load” because that's what it's actually called in the MIB. I also found examples such as Fortiweb, JVM, and Tomcat where it's also called cpu-load.

Because it's really CPU load average and not “system load” after all.

loadaverage could be confusing. what do you think ?

@lucie-tirand
Copy link
Contributor

once you give us the snmpwalk data.

My bad, data are available internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants