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

[hardware::server::hp::proliant::snmp::plugin] - mode(hardware): No perfdata for FAN/CPU #5276

Open
gbin2265 opened this issue Nov 5, 2024 · 4 comments

Comments

@gbin2265
Copy link

gbin2265 commented Nov 5, 2024

Hello,

I'm not receiving performance data for the FAN and CPU via the plugin hardware::server::hp::proliant::snmp::plugin.

When I use the verbose option, the information is listed under .1.3.6.1.4.1.232.6.2.6.7.1.6.0.x.

Is there an additional parameter to get this information as performance output for nagios/icinga ?

regards,
Geert

centreon_plugins.pl' '--hostname' 'x.x.x.x' '--mode' 'hardware' '--plugin' 'hardware::server::hp::proliant::snmp::plugin' '--snmp-community' 'public' '--snmp-timeout' '15' --component 'fan' --debug
OK: All 10 components are ok [10/10 fans]. | 'hardware.fan.count'=10;;;;

.1.3.6.1.4.1.232.1.2.6.1.0 = U40 v3.30 (07/31/2024)
.1.3.6.1.4.1.232.2.2.2.1.0 = serialnumber
.1.3.6.1.4.1.232.2.2.4.2.0 = ProLiant XL450 Gen10
Product Name: ProLiant XL450 Gen10, Serial: serialnumber, Rom Version: U40 v3.30 (07/31/2024)
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.1 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.2 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.3 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.4 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.5 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.6 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.7 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.8 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.9 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.3.0.10 = 3
.1.3.6.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9.0.9 = 2
.1.3.6.1.4.1.232.6.2.6.7.1.9.0.10 = 2
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.1 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.2 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.3 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.4 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.5 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.6 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.7 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.8 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.9 = 3
.1.3.6.1.4.1.232.6.2.6.7.1.10.0.10 = 3
Checking fans
fan '0.1' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 2].
fan '0.2' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 3].
fan '0.3' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 4].
fan '0.4' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 5].
fan '0.5' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 6].
fan '0.6' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 7].
fan '0.7' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 8].
fan '0.8' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 9].
fan '0.9' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 10].
fan '0.10' status is ok, speed is unknown [location: system, redundance: redundant, redundant partner: 1].

@lucie-dubrunfaut
Copy link
Contributor

lucie-dubrunfaut commented Nov 19, 2024

Hello :)

For fan mode, it seems that you don't have any perfdata because your fans have a speed categorised as unknown. On the OID .1.3.6.1.4.1.232.6.2.6.7.1.6 your value for all the fans are 20 and the plugin will map into the following values to create a fan speed status:

my %map_fanspeed = (
    1 => ‘other’,
    2 => ‘normal’,
    3 => ‘high’,
);

And if you want you fan current speed value you need to have a value in this OID : .1.3.6.1.4.1.232.6.2.6.7.1.12, if defined it's added as perfdata hardware.fan.speed.rpm


About the cpu mode I think I need your debug output in to understand better the situation because with the current data I have only this output :

perl centreon_plugins.pl --plugin=hardware::server::hp::proliant::snmp::plugin --hostname=XXXX --snmp-community=XXXX --snmp-port=XXXX --mode=hardware --debug --component='cpu'
OK: All 0 components are ok []. 
.1.3.6.1.4.1.232.1.2.6.1.0 = U40 v3.30 (07/31/2024)
.1.3.6.1.4.1.232.2.2.2.1.0 = serialnumber
.1.3.6.1.4.1.232.2.2.4.2.0 = ProLiant XL450 Gen10 Product Name: ProLiant XL450 Gen10, Serial: serialnumber, Rom Version: U40 v3.30 (07/31/2024)
Product Name: ProLiant XL450 Gen10 Product Name: ProLiant XL450 Gen10, Serial: serialnumber, Rom Version: U40 v3.30 (07/31/2024), Serial: serialnumber, Rom Version: U40 v3.30 (07/31/2024)
Checking cpu

@gbin2265
Copy link
Author

Hello,

I have reviewed your code and compared it with what I find on my HPE servers as a result.

I see this in the code:

cpqHeFltTolFanSpeed => { oid => '.1.3.6.1.4.1.232.6.2.6.7.1.6', map => %map_fanspeed },
This is the speed of the FAN in % for ILO Gen 9/10/11 and not for me the map_fanspeed->other/normal/high

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.6.0

CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.1 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.2 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.3 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.4 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.5 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.6 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.7 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.8 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.9 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.10 = INTEGER: 20

See here the screenshot where the the speed is 20%
fan_speed

cpqHeFltTolFanCurrentSpeed => { oid => '.1.3.6.1.4.1.232.6.2.6.7.1.12' },
Tested on HPE servers ILO Gen 9/10/11
CPQHLTH-MIB::cpqHeFltTolFanCurrentSpeed.0 = No Such Object available on this agent at this OID

Below, I have listed all the OIDs and compared them with your code.
Is this code perhaps based on very old HPE Gen 1 or 2?

@gbin2265
Copy link
Author

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.1.0

CPQHLTH-MIB::cpqHeFltTolFanChassis.0.1 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.2 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.3 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.4 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.5 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.6 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.7 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.8 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.9 = INTEGER: 0
CPQHLTH-MIB::cpqHeFltTolFanChassis.0.10 = INTEGER: 0

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.2.0

CPQHLTH-MIB::cpqHeFltTolFanIndex.0.1 = INTEGER: 1
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.2 = INTEGER: 2
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.3 = INTEGER: 3
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.4 = INTEGER: 4
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.5 = INTEGER: 5
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.6 = INTEGER: 6
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.7 = INTEGER: 7
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.8 = INTEGER: 8
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.9 = INTEGER: 9
CPQHLTH-MIB::cpqHeFltTolFanIndex.0.10 = INTEGER: 10

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.3.0

CPQHLTH-MIB::cpqHeFltTolFanLocale.0.1 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.2 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.3 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.4 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.5 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.6 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.7 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.8 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.9 = INTEGER: system(3)
CPQHLTH-MIB::cpqHeFltTolFanLocale.0.10 = INTEGER: system(3)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.4.0

CPQHLTH-MIB::cpqHeFltTolFanPresent.0.1 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.2 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.3 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.4 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.5 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.6 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.7 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.8 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.9 = INTEGER: present(3)
CPQHLTH-MIB::cpqHeFltTolFanPresent.0.10 = INTEGER: present(3)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.5.0

CPQHLTH-MIB::cpqHeFltTolFanType.0.1 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.2 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.3 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.4 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.5 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.6 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.7 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.8 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.9 = INTEGER: spinDetect(3)
CPQHLTH-MIB::cpqHeFltTolFanType.0.10 = INTEGER: spinDetect(3)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.6.0

CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.1 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.2 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.3 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.4 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.5 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.6 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.7 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.8 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.9 = INTEGER: 20
CPQHLTH-MIB::cpqHeFltTolFanSpeed.0.10 = INTEGER: 20

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.7.0

CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.1 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.2 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.3 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.4 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.5 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.6 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.7 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.8 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.9 = INTEGER: redundant(3)
CPQHLTH-MIB::cpqHeFltTolFanRedundant.0.10 = INTEGER: redundant(3)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.8.0

CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.1 = INTEGER: 2
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.2 = INTEGER: 3
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.3 = INTEGER: 4
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.4 = INTEGER: 5
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.5 = INTEGER: 6
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.6 = INTEGER: 7
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.7 = INTEGER: 8
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.8 = INTEGER: 9
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.9 = INTEGER: 10
CPQHLTH-MIB::cpqHeFltTolFanRedundantPartner.0.10 = INTEGER: 1

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.9.0

CPQHLTH-MIB::cpqHeFltTolFanCondition.0.1 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.2 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.3 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.4 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.5 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.6 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.7 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.8 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.9 = INTEGER: ok(2)
CPQHLTH-MIB::cpqHeFltTolFanCondition.0.10 = INTEGER: ok(2)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.10.0

CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.1 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.2 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.3 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.4 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.5 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.6 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.7 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.8 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.9 = INTEGER: hotPluggable(3)
CPQHLTH-MIB::cpqHeFltTolFanHotPlug.0.10 = INTEGER: hotPluggable(3)

snmpwalk x.x.x.x .1.3.6.1.4.1.232.6.2.6.7.1.12.0

CPQHLTH-MIB::cpqHeFltTolFanCurrentSpeed.0 = No Such Object available on this agent at this OID

@lucie-dubrunfaut
Copy link
Contributor

Hello @gbin2265 :)

For the following OIDs I found this informations :
1.3.6.1.4.1.232.6.2.6.7.1.6

cpqHeFltTolFanSpeed OBJECT-TYPE
SYNTAX INTEGER {other(1), normal(2), high(3)}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This specifies the speed of the fan. This value will be set
if the fan type is tachOutput."

and
1.3.6.1.4.1.232.6.2.6.7.1.5

cpqHeFltTolFanType OBJECT-TYPE
SYNTAX INTEGER {other(1), tachOutput(2), spinDetect(3)}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This specifies the type of fan.
other(1)
The type of fan could not be determined.
tachOutput(2)
The fan can increase speed for greater cooling. Implies
spin detect.
spinDetect(3)
The fan can detect when the fan stops spinning."

https://oid-rep.orange-labs.fr/get/1.3.6.1.4.1.232.6.2.6.7.1.6
https://oid-rep.orange-labs.fr/get/1.3.6.1.4.1.232.6.2.6.7.1.5

In you case FanType is spinDetect(3) so according to the 1.3.6.1.4.1.232.6.2.6.7.1.6 OID you shouldn't have value in (This value will be set if the fan type is tachOutput).
The mapping cpqHeFltTolFanSpeed => { oid => '.1.3.6.1.4.1.232.6.2.6.7.1.6', map => %map_fanspeed }, matches with the OID description I've found above. If you have an other MIB information (corresponding of your equipment) we can think about taking the equipment type into account to evaluate the value in 1.3.6.1.4.1.232.6.2.6.7.1.6

@lucie-dubrunfaut lucie-dubrunfaut changed the title [hardware::server::hp::proliant::snmp::plugin] no perfdata for FAN/CPU [hardware::server::hp::proliant::snmp::plugin] - mode(hardware): No perfdata for FAN/CPU Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants