Skip to main content
Released

[hardware::ups::apc::snmp::plugin] warn/crit output with options warning-replace-lasttime/critical-replace-lasttime

Related products:Infra Monitoring - Connectors
  • May 24, 2024
  • 7 replies
  • 70 views

Aleksey

Hello

The plugin output with options warning-replace-lasttime/critical-replace-lasttime shows the battery life value in seconds:

WARNING: replace last time: 230546878 s | ...

Is it possible to convert it into human readable form?
For example per year, month, day.

7 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • 1120 replies
  • May 31, 2024
NewNeeds Votes

Aleksey
Forum|alt.badge.img+6
  • Author
  • Steward **
  • 28 replies
  • November 6, 2024

Hello.
It seems like this is a minor change.
How many more people need to come and vote for this to be done?


ltirand
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • 199 replies
  • November 6, 2024

Hello :)

Can you tell me which mode(s) are affected by your request (I've identified the battery-status mode at least)? In order to help us make a consistent development, can you send us a data set (anonymized) that would allow us to test our modifications?


Aleksey
Forum|alt.badge.img+6
  • Author
  • Steward **
  • 28 replies
  • November 6, 2024

Can you tell me which mode(s) are affected by your request (I've identified the battery-status mode at least)?


Yes. battery-status

 

can you send us a data set (anonymized) that would allow us to test our modifications?


I have uploaded the snmpwalk file as an example.
Please let me know when you download the file so I can delete it.

https://disk.yandex.ru/d/HmrhRQWFzzS8aw


Forum|alt.badge.img+5
  • Centreonian
  • 225 replies
  • December 13, 2024
Needs VotesPlanned

Forum|alt.badge.img+5
  • Centreonian
  • 225 replies
  • April 7, 2025
PlannedReleased

ltirand
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • 199 replies
  • April 7, 2025

Hello :)

This ideas is added in the April release see here.