Hi, I'm trying to write a module into a home-grown management tool that will alert us when snapshots are kept longer than their retention target. It works fine for CDOT, but I'm having trouble with the time stamps in 7-mode. They omit the year.
I need to use cli to get this, I can't use powershell or the api. Does anyone have an idea?
I think I have a solution. Snap list doesn't show the year, but snap delta directly shows the age.
On Thursday, 16 June 2016, Basil basilberntsen@gmail.com wrote:
Hi, I'm trying to write a module into a home-grown management tool that will alert us when snapshots are kept longer than their retention target. It works fine for CDOT, but I'm having trouble with the time stamps in 7-mode. They omit the year.
I need to use cli to get this, I can't use powershell or the api. Does anyone have an idea?
You can also list the snapshot directory. The access time is when the snap was created, and you can get that via ls or just a stat call. On 16 Jun 2016 21:30, "Basil" basilberntsen@gmail.com wrote:
I think I have a solution. Snap list doesn't show the year, but snap delta directly shows the age.
On Thursday, 16 June 2016, Basil basilberntsen@gmail.com wrote:
Hi, I'm trying to write a module into a home-grown management tool that will alert us when snapshots are kept longer than their retention target. It works fine for CDOT, but I'm having trouble with the time stamps in 7-mode. They omit the year.
I need to use cli to get this, I can't use powershell or the api. Does anyone have an idea?
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters