
UNSOLVED
RecoverPoint: Journal Protection Window in a 'static' format
Hi,
Is there a way by CLI to have the Journal Protection Window of a CG in a 'static' time format ?
e.g. :
1 day, 2 hours => 26 hours
1 week, 1 day, 1 hour => 193 hours
I need a static format in order to parse it and then follow this value with Zabbix.
Thx for help
Responses (4)
Solutions (0)
Hi,
I have parsed the result with a awk command but it's a big pain in the butt !
ssh $1@$2 -i $3 get_group_statistics group=$4 | sed "s/^ [ ]*//" | grep "Value: " | sed "s/Value: //" | awk '{if ($$2 ~ /days/) {print $$1=$$1*24+$$3} else if ($$2 ~ /hr/) {print $$1} else if ($$2 ~ /weeks/) {print $$1=($$1*168)+($$3*24)}}'
EnjoyReply

DELL-Josh Cr
Community Manager
•
9801 Posts
•
45350 Points
741
0
Posted December 2nd, 2020 09:00
Hi,
I was not able to find a way to change the time format.