Skip to main content

    529 Ideas

    cima-wpSteward *

    [network::huawei::standard::snmp::plugin]: Extend Huawei SNMP plugin to include additional hardware checks (Faultlight, Image Version, Max CPU, PoE, PSU, VLAN validation)Needs Votes

    ContextWe currently use the Centreon Huawei SNMP plugin for switch monitoring.However, several important metrics available via Huawei MIBs are not yet covered by the existing plugin.We would like to request an enhancement to include the following additional checks, based on the MIBs listed below and verified via working internal scripts. Device InformationVendor: HuaweiModel: S5720 series (tested on S5720-52X-LI-AC)SNMP version: v2c Checks RequestedCheck Description Example Output MIB / OID (symbolic) Faultlight Detects hardware fault indicator light OK: Stack slot 1 Light Status OK HUAWEI-ENTITY-EXTENT-MIB::hwEntityFaultLight.OID Image version Retrieves current system image version OK: Stack slot 1 Version: V200R021C00 HUAWEI-SYS-MAN-MIB::hwSysImageVersion.INDEX Max CPU Reports maximum CPU usage since last boot OK: Stack slot 1: Max CPU: 45 HUAWEI-ENTITY-EXTENT-MIB::hwEntityCpuMaxUsage.OID PoE available power Displays total PoE power available per slot OK: Stack slot 1: PoE Power Available: 155000 mW HUAWEI-POE-MIB::hwPoeSlotAvailablePower.STACKSLOT PSU status Checks PSU operational state and total power OK: Stack slot 1: Power Status OK 370W PSUs HUAWEI-ENTITY-EXTENT-MIB::hwEntityPwrState.STACKSLOT.PSUSLOT Storage/VLAN consistency Verifies VLANs defined on device against expected configuration WARNING: Not all VLANs defined or with wrong name: VLAN10 , VLAN20 HUAWEI-L2VLAN-MIB::hwL2VlanDescr  Supporting FilesFull SNMP walk of the enterprise branch:snmpwalk -ObentU -v2c -c <REDACTED> X.X.X.X .1.3.6.1.4.1 > huawei_switch.snmpwalkAll relevant Huawei MIB files, including:HUAWEI-ENTITY-EXTENT-MIB HUAWEI-SYS-MAN-MIB HUAWEI-POE-MIB HUAWEI-L2VLAN-MIB The list of file are present in the GitHub Issue: https://github.com/centreon/centreon-plugins/issues/5811 SummaryWe request an enhancement of the existing Huawei SNMP plugin to include:Faultlight status Image version Max CPU usage PoE available power PSU power and status VLAN consistency validation All OIDs have been verified on live Huawei devices and are stable across multiple firmware versions.Thank you.  

    FredericGerard
    FredericGerardSteward **

    Plugin for Splunk : return value of spl requestReleased

    Hi    Persona: operators and adminsProblem to solve: The Monitoring Connector Splunk brings a host template App-Monitoring-Splunk-Api-custom which allows to configure search request using Query-Matches-Number template. This service returns the number of response to the request. But there's no way, with this plugin, to get a value calculated by Splunk.For instance : it'd be useful to monitor ratio of splunk scheduled requests skipped by the scheduler. Proper SPL request exists and return a percentage(index=x blablabla | table skippedRatio). Since the service template counts the number of response, the best one can do is to add condition to the SPL request (index=x blablabla | table skippedRatio | where skippedRatio > y) so that it would generate a response only in case of threshold crossing. It's a shame because threshold is coded in the request, return value can not be historised.Expected outcome: a Query-Number-Value service template.Potential solutions: Enrich plugin to get back a pair {fieldName, fieldValue} as long output, and the value as short one. The fieldValue has to be a decimal number to be compared to threshold. The essentials is likely already coded in the plugin, since it's ending each request sent with a "|stats count".It could also be probably achieved using HTTP collection plugin, but enriching Splunk plugin would probably be welcomed by the Centreon-Splunk community 🙂.Thanks !