Forum Discussion
On 1/19/2022 at 3:21 AM, Stuart Weenig said:FYI, this isn't a very efficient way of handling your data. Reason being: you have to create a new datapoint for every location. Instead, have your locations be instances and have one datapoint. Your output would look something like:
0.status=0
1.status=0
2.status=0
3.status=1
Yeah creating all those datapoints was ugly and time consuming to do this with every new site we deploy. I modelled it off another one we had configured here - but I could already see this was out of date and missing sites...
I ended up adjusting the script to be an email alert yesterday.
It creates a robocopy log file, then powershell parses the log for errors, then emails the team if there are any errors present in the script.
I will try integrate this into LM in the future.
Related Content
- 5 months ago
- 7 months ago