Skip to main content

    Filter by idea status

    Filter by product

    301 Ideas

    FredericGerard
    FredericGerardSteward **

    Virtual Curves (Centreon SQL Metrics) : improve output messageNeeds Votes

    Hi,We’ve got a question/suggestion about the « formatting » node and outputs messages of virtual curves.Let’s say 2 virtual curves are defined for traffic network, summing incoming interfaces on one hand, outgoing on the other. Since the same printf_msg is used for each virtual curve, it has to be generic. So, just reading the « status information », one can’t figure out which one is the incoming traffic an which is the outgoing.Ex of current output:Status informationOK: Traffic on data interfaces is OKTraffic SUM is: 15.32 Mb/sTraffic SUM is: 7.82 Mb/sFiguring it out requires to get to the « performance data » and is neither explicit nor convenient.Persona : ITOps teamsProblem to solve : same output message for all the set of metrics of a virtual curves serviceExpected outcome : customize output of virtual curves servicesPotential solution :Offer possibility to define a « comment » entry in the virtual curves definition section with free entry.Ex :"virtualcurve": {        "sum_traffic_in": {            "pattern": "^traffic_in$",            "aggregation":"sum",            "comment":"IN"        },        "sum_traffic_out": {            "pattern": "^traffic_out$",            "aggregation":"sum",            "comment":"OUT"        }    }Then formatting node could be :"formatting": {        "change_bytes_network": 1,        "custom_message_global": "Traffic on data interfaces is OK",        "printf_msg": "Traffic %s SUM is: %s %s/s",        "printf_var": "$self->{result_values}->{comment},$self->{result_values}->{value}, $self->{result_values}->{unit}"    }And expected resultStatus informationOK: Traffic on data interfaces is OKTraffic IN SUM is: 15.32 Mb/sTraffic OUT SUM is: 7.82 Mb/sRegards 

    Aleksey
    AlekseySteward **

    [hardware::pdu::cyberpower::snmp::plugin] new modesNeeds Votes

    Hello. Please improve the capabilities of the hardware::ups::cyberpower::snmp::plugin1) Add a new "input-lines" mode similar to how it is implemented in the "hardware::ats::apc::snmp::plugin"Information about the state of sources A/B inputs can be obtained from the OID table: .1.3.6.1.4.1.3808.1.1.6.9.4 (ePDU2SourceStatusTable)From these OIDs we can obtain information about the current state of the ATS inputs:     Name/OID: ePDU2SourceStatusSelectedSource.1; Value (Integer): sourceA (1)    Name/OID: ePDU2SourceStatusSourceAVolStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusSourceBVolStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusSourceAFreqStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusSourceBFreqStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusPowerSupplySourceAStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusPowerSupplySourceBStatus.1; Value (Integer): normal (1)    Name/OID: ePDU2SourceStatusRedundancyState.1; Value (Integer): atsFullyRedundant (2) From these OIDs we can create a perfdata for the Voltage and Frequency parameters:    Name/OID: ePDU2SourceStatusSourceAVoltage.1; Value (Integer): 218    Name/OID: ePDU2SourceStatusSourceBVoltage.1; Value (Integer): 222    Name/OID: ePDU2SourceStatusSourceAFrequency.1; Value (Integer): 500    Name/OID: ePDU2SourceStatusSourceBFrequency.1; Value (Integer): 500 2) Add a new "time" mode similar to how it is implemented in the "hardware::ats::apc::snmp::plugin"    OID:.1.3.6.1.4.1.3808.2.1.5.1.0 (mconfigClockDate.0); Example value: 2024/09/02    OID:.1.3.6.1.4.1.3808.2.1.5.2.0 (mconfigClockTime.0); Example value: 18:08:57The received time should be compared with the NTP source. 3) Add a new mode for checking the NMC operating time ("uptime")This mode can be simply copied from the plugin "hardware::pdu::apc::snmp::plugin" 4) Add a new environment sensor check mode ("environment" mode):OID space environmentSensor2 (1.3.6.1.4.1.3808.1.1.8) is suitable for obtaining information about temperature (C) and humidity (%)MIB and snmpalk files are attached: https://github.com/user-attachments/files/16846878/CyberPower-ATS-PDU44005.zipThank you