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 4:34 AM UTC
  • 7 replies
  • 83 views

Aleksey
Forum|alt.badge.img+6

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
  • May 31, 2024 12:07 PM UTC
New→Needs Votes

Aleksey
Forum|alt.badge.img+6
  • Author
  • Builder *
  • Nov 6, 2024 7:36 AM UTC

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+13
  • Centreonian
  • Nov 6, 2024 8:07 AM UTC

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
  • Builder *
  • Nov 6, 2024 11:57 AM UTC

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
  • Dec 13, 2024 1:31 PM UTC
Needs Votes→Planned

Forum|alt.badge.img+5
  • Centreonian
  • Apr 7, 2025 4:21 PM UTC
Planned→Released

ltirand
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Apr 7, 2025 4:22 PM UTC

Hello :)

This ideas is added in the April release see here.