bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
103 stars 41 forks source link

Thank you!!! #98

Closed ped998 closed 1 year ago

ped998 commented 1 year ago

Not an "issue", but wanted to let you know that upgradeAgents.py saved me a ton of time analyzing the certificate expiry issue.

Thank you!!!

bseltz-cohesity commented 1 year ago

Good to hear! Also check out https://github.com/bseltz-cohesity/scripts/tree/master/python/agentCertificateCheck

bseltz-cohesity commented 1 year ago

Hey @ped998 can you tell me how you used the script? Did you just run it in report mode and review the CSV output? Did you use any of the other parameters / filters, or execute any upgrades with it? Thanks for the feedback!

ped998 commented 1 year ago

I used the the script to determine which agents were impacted by the Certificate issue. Called the script iteratively as I looped through our list of about 100 clusters, and then grep'd out the "not impacted" lines and concatenated results into a single csv to pass on to the Compute & Storage teams. I know there is the Helios option for the scripts that could have done all clusters in a single pass, however we use SSO, and I have not gotten them to work with that.

Basically, within about 30 minutes of reading the support note (containing the reference to the scripts), I was able to have a list of impacted agents, and I knew that 80% of our agents did not have this issue.

bseltz-cohesity commented 1 year ago

Awesome, thank you