-
1. Re: Monitoring vSphere Data Protection Status using cli/script
bbaskinger May 2, 2013 9:53 AM (in response to sigmaitservices)Same issue here. Anyone have any thoughts on how to best monitor that the appropriate services are indeed running?
-
2. Re: Monitoring vSphere Data Protection Status using cli/script
sigmaitservices Nov 27, 2013 5:54 AM (in response to bbaskinger)*bumping* this thread - in case someone has found a solution for this ...
-
3. Re: Monitoring vSphere Data Protection Status using cli/script
JordanAutomations Apr 11, 2014 1:15 PM (in response to sigmaitservices)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...
-
4. Re: Monitoring vSphere Data Protection Status using cli/script
thomasintern Apr 11, 2014 1:33 PM (in response to sigmaitservices)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!
-
5. Re: Monitoring vSphere Data Protection Status using cli/script
AlbertWT Mar 29, 2017 2:57 PM (in response to sigmaitservices)Any update on the PowerCLI script to monitor and report the backup using the VDP yet ?
-
6. Re: Monitoring vSphere Data Protection Status using cli/script
SavkoorSuhas Mar 30, 2017 2:09 PM (in response to AlbertWT)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.logI have not tested crontab -e though, but the perl script works like a charm.
Fire away!
Suhas
-
proactive_check.zip 75.3 K
-
-
7. Re: Monitoring vSphere Data Protection Status using cli/script
AlbertWT Mar 30, 2017 2:46 PM (in response to SavkoorSuhas)SavkoorSuhas many thanks for the assistance in this regards.
-
8. Re: Monitoring vSphere Data Protection Status using cli/script
SavkoorSuhas May 16, 2017 2:37 PM (in response to sigmaitservices)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
-
9. Re: Monitoring vSphere Data Protection Status using cli/script
SavkoorSuhas May 19, 2017 4:04 AM (in response to sigmaitservices)This should help.
-
health.zip 4.0 K
-
Health-Script-ReadMe.txt.zip 420 bytes
-
-
10. Re: Monitoring vSphere Data Protection Status using cli/script
sicnarf_latosa Sep 16, 2017 9:18 PM (in response to SavkoorSuhas)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.
-
11. Re: Monitoring vSphere Data Protection Status using cli/script
vdp4life Apr 11, 2018 8:19 AM (in response to sigmaitservices)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.