oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Oxidized v.0.26.3 Web GUI "Last Changed"

Open peterbanaszek opened this issue 7 years ago • 5 comments

Hello all,

I've installed Oxidized on a CentOS 7 VM. I've been running backups once daily and I've noticed after a recent restart of the server the "Last Changed" column sets to unknown. We can still access the previous versions of the configs but from a glance it makes it difficult to determine how long ago a switch config was changed.

I've attached a screenshot which shows a few switches that were recently changed after the reset and the others which have set to unknown as a result of the reset.

If this is default behavior I apologize and you can close out the issue.

Capture

peterbanaszek avatar Oct 31 '19 17:10 peterbanaszek

We don't store stats across restarts, so we don't know when the config has changed, as it's earlier than current runtime.

We of course should, there is issue about things that should be refactored, but I currently don't have any concrete plans on fixing that.

ytti avatar Oct 31 '19 17:10 ytti

Okay that makes sense. Thank you for your feedback.

peterbanaszek avatar Oct 31 '19 18:10 peterbanaszek

This is a simple fix, just get the value "date of version" from the last stored version. This information is not lost across server reboots.

Screen Shot 2021-01-12 at 17 43 47

tiagomonsores avatar Jan 12 '21 20:01 tiagomonsores

This is a simple fix, just get the value "date of version" from the last stored version. This information is not lost across server reboots.

Screen Shot 2021-01-12 at 17 43 47

Hello @tmonsores

Could you tell me how I should add that value in the oxidized server? In which file exactly should I modify it? Thanks.

chuache86 avatar Jun 17 '21 10:06 chuache86

Its an oxidized-web bug. Please open issue in the correct project

ghost avatar Jan 12 '22 16:01 ghost