centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

add option to filter by service path

Open vanitysys28 opened this issue 9 months ago • 0 comments

Community contributors

Description

Added an option that allows filtering by service path. This is an alternative to the current --filter-name option, that allows to filter content of hrSWRunPath

Type of change

  • [X] New functionality (non-breaking change)

How this pull request can be tested ?

  • SNMP: MIB files and full snmpwalk of enterprise branch (snmpwalk -ObentU -v 2c -c public address .1.3.6.1.4.1 > equipment.snmpwalk) or SNMP collections.

Checklist

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

vanitysys28 avatar Apr 03 '25 20:04 vanitysys28