Hi,
I found that the backup scheduler service stopped running in the vSphere Data Protection Status in VDP Config Utility.
I would like to monitor service status using a script.
I noticed that PowerCLI + avamar.psm1 perhaps could be used for this but I can´t find any documents or reference for this?
Can´t event find the avamar.psm1 file?
A plus would be to also be able to get failed backups for the last day using a script. That way I could also send a warning message when this occurrs.
This way I could integrate this with our central monitoring system.
Thanks for any suggestions...
Same issue here. Anyone have any thoughts on how to best monitor that the appropriate services are indeed running?
*bumping* this thread - in case someone has found a solution for this ...
I saw this video VMworld 2012 - VDP Automation With PowerShell: https://www.youtube.com/watch?v=R6MxgMzxPRo, which looks like it uses an avamar.psm1. I can't find that module anywhere though. Would be really handy...
I would also like to find the avamar.psm1 modules. It looks like there are a few tools in there that I could really use and multiple searches have turned up nothing promising so far.
Thanks!
Any update on the PowerCLI script to monitor and report the backup using the VDP yet ?
As always, I will come to rescue (Hehe!)
You can use proactive_check.pl script (attached)
Run the script as perl <script.pl> in admin mode and that's it.
crontab -e to schedule this script everyday
You can do something like
crontab -e
55 23 * * *
/home/admin/proactive_check.pl >> /usr/local/avamar/var/cron/proactive.log
I have not tested crontab -e though, but the perl script works like a charm.
Fire away!
Suhas
SavkoorSuhas many thanks for the assistance in this regards.
Well, I wrote a custom script for VDP in particular.
If you have a test VDP, DM me and I will send the script over. Would need to test it on a few systems before I release it.
# Suhas
Hi SavkoorSuhas,
I try the script but file not able to send to my email. I see it is successful but no email come to my inbox. Please advice.
I know my post is a bit late. Still, I hope it helps a few people who use VDP and wish to monitor the backups. I recently wrote two small posts on how to use Grafana to display information from Avamar. I recently tested on VDP and it worked as well.
EMC Community Network - DECN: [acl]'s Profile https://community.emc.com/blogs/a_c_l/2018/04/10/avamar-reporting-using-grafana-part2
I have not tried getting the service status information. Definitely something I'll try soon and see how it an be done. On Avanar, we have a bit more flexibility that I think will work on vdp as well. Avamar has as built in SNMP subagent that will give you an overall status of the health of the system. I'm interested to see if that can be enabled via CLI. I'll put that on my list of things to do.
If you want to push the limits, you can extend SNMP and check individual services. That's probably as far as I'd go with vdp since if things break, you are in for a world of hurt.