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::ups::socomec::netvision::snmp::plugin] --mode=battery - add UPS Ambient Temperature #5490

Open
gbin2265 opened this issue Mar 5, 2025 · 2 comments

Comments

@gbin2265
Copy link

gbin2265 commented Mar 5, 2025

We have a Socomec NetVision v7.42.

centreon_plugins.pl --plugin="hardware::ups::socomec::netvision::snmp::plugin" --mode="battery" --snmp-version="1" --snmp-community="public" --hostname=x.x.x.x --debug
OK: battery status is normal - charge remaining: 100% (10 minutes remaining) | 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=10;;;0; 'battery.voltage.volt'=535V;;;;

.1.3.6.1.4.1.4555.1.1.7.1.2.1.0 = 2
.1.3.6.1.4.1.4555.1.1.7.1.2.3.0 = 10
.1.3.6.1.4.1.4555.1.1.7.1.2.4.0 = 100
.1.3.6.1.4.1.4555.1.1.7.1.2.5.0 = 5350
.1.3.6.1.4.1.4555.1.1.7.1.2.6.0 = 0
.1.3.6.1.4.1.4555.1.1.7.1.2.8.0 = 0

snmpwalk -O n -c public -v 1 x.x.x.x .1.3.6.1.4.1.4555.1.1.7.1.2
.1.3.6.1.4.1.4555.1.1.7.1.2.1.0 = INTEGER: 2
.1.3.6.1.4.1.4555.1.1.7.1.2.2.0 = INTEGER: 0
.1.3.6.1.4.1.4555.1.1.7.1.2.3.0 = INTEGER: 10
.1.3.6.1.4.1.4555.1.1.7.1.2.4.0 = INTEGER: 100
.1.3.6.1.4.1.4555.1.1.7.1.2.5.0 = INTEGER: 5340
.1.3.6.1.4.1.4555.1.1.7.1.2.6.0 = INTEGER: 0
.1.3.6.1.4.1.4555.1.1.7.1.2.7.0 = INTEGER: 190
.1.3.6.1.4.1.4555.1.1.7.1.2.8.0 = INTEGER: 0
.1.3.6.1.4.1.4555.1.1.7.1.2.9.0 = INTEGER: 0


snmpwalk -O n -c public -v 1 x.x.x.x upsBatteryStatus
.1.3.6.1.2.1.33.1.2.1.0 = INTEGER: batteryNormal(2)

snmpwalk -O n -c public -v 1 x.x.x.x upsEstimatedMinutesRemaining
.1.3.6.1.2.1.33.1.2.3.0 = INTEGER: 10 minutes

snmpwalk -O n -c public -v 1 x.x.x.x upsEstimatedChargeRemaining
.1.3.6.1.2.1.33.1.2.4.0 = INTEGER: 100 percent

snmpwalk -O n -c public -v 1 x.x.x.x upsBatteryVoltage
.1.3.6.1.2.1.33.1.2.5.0 = INTEGER: 5340 0.1 Volt DC

snmpwalk -O n -c public -v 1 x.x.x.x upsBatteryCurrent
.1.3.6.1.2.1.33.1.2.6.0 = INTEGER: 0 0.1 Amp DC

snmpwalk -O n -c public -v 1 x.x.x.x upsBatteryTemperature
.1.3.6.1.2.1.33.1.2.7.0 = INTEGER: 19 degrees Centigrade


@gbin2265
Copy link
Author

gbin2265 commented Mar 6, 2025

I went to look for more information, and now I see the difference between .6 and .7.

6 upsBatteryTemperature
7 upsAmbientTemperature

Because the batteries are external, the temperature of the battery itself is 0 degrees.

On the other hand, the internal temperature of the UPS itself is present , 19 degrees.

https://apac.socomec.com/sites/default/files/2024-09/NET-VISION-8_INSTALLATION-AND-OPERATING-MANUAL_2023-01_552370A_EN.pdf

If you look at page 65, you can see the difference between .6 and .7

Question

can you also add the ambient temperature to the plugin?

@gbin2265 gbin2265 changed the title [hardware::ups::socomec::netvision::snmp::plugin] --mode=battery - no temperature for version 7 [hardware::ups::socomec::netvision::snmp::plugin] --mode=battery - add UPS Ambient Temperature Mar 6, 2025
@gbin2265
Copy link
Author

gbin2265 commented Mar 7, 2025

See also #5493

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

1 participant