Page 1 of 1
Avamar monitoring with Nagios
Posted: Tue Apr 19, 2016 4:26 pm
by nagiosp1g
Is anyone monitoring Avamar 7.x with Nagios? Either with SNMP polling or NRPE?
Re: Avamar monitoring with Nagios
Posted: Tue Apr 19, 2016 4:41 pm
by rkennedy
I'm not too familiar with Avamar, does it run on a standard bare metal machine / virtual server? Can you provide a bit more information about it?
Both ways should work that you mentioned. What metrics are you looking to monitor?
Re: Avamar monitoring with Nagios
Posted: Wed Apr 20, 2016 7:02 am
by nozlaf
depends on what you want to monitor, I dont think avamar responds to SNMP but certainly you could check the event logs for windows servers or client log on linux servers
Re: Avamar monitoring with Nagios
Posted: Wed Apr 20, 2016 11:41 am
by rkennedy
Thanks @nozlaf! @nagiosp1g - let us know when you have a chance to get back to us.
Re: Avamar monitoring with Nagios
Posted: Fri Jun 10, 2016 2:20 pm
by nagiosp1g
Monitoring event logs wont work for Avamar monitoring. If you're monitoring the node, then you want to be able to monitor the MCS and other processes. On the client, you want to monitor the Avamar client to make sure its running. Anyone with Avamar experience has any information about how they may be doing this?
Re: Avamar monitoring with Nagios
Posted: Sat Jun 11, 2016 6:08 am
by nozlaf
nagiosp1g wrote:Monitoring event logs wont work for Avamar monitoring. If you're monitoring the node, then you want to be able to monitor the MCS and other processes. On the client, you want to monitor the Avamar client to make sure its running. Anyone with Avamar experience has any information about how they may be doing this?
Apologies I was thinking of disksafe
my backups are managed by another company so I don't have access to the MCS but I do monitor the clients
with windows and avamar 7.x
Monitor the log depends on how you have configured avamar, might all be in C:\Program Files\avs\var\avagent.log but may be in a clientlogs folder
it spits out a status at the end of every job like this
Code: Select all
----- END avagent log 2016-06-03 16:50:38 AUS Eastern Standard Time (0 warnings, 0 errors, 0 fatal errors)
it will also spit out a time elapsed
Code: Select all
2016-05-28 21:49:30 avtar Info <7883>: Finished at 2016-05-28 21:49:30 AUS Eastern Standard Time, Elapsed time: 0000h:18m:55s
if you parse that line it gives you the info you need to feed back into nagios
and check the service "backup agent" is operational
I would also suggest watching t he windows event log for errors with VSS
I would love to share the code I use to do this however I am restricted on doing that, I can tell you however its very easy to do this with nsclient++ and should also be easy with nscp with a simple powershell, if the log file name changes for each day, its easy to pick it up by checking for the newest log file
Re: Avamar monitoring with Nagios
Posted: Mon Jun 13, 2016 2:58 pm
by hsmith
Thanks,
@nozlaf.
We do not have have Avamar here, so I can't test this out at all.
@nagiosp1g, did nozlaf's post clear this up at all?
Re: Avamar monitoring with Nagios
Posted: Wed Sep 07, 2016 2:58 am
by DGPearce
Hi,
I monitor the status of backup jobs from avamar with Nagios:
To get these sort of messages daily:
CRITICAL 2 job(s) Failed - 2 job(s) completed with Exceptions - 0 server(s) in the schedule does not exist and 90 job(s) completed successfully
*server w* backup job failed - Summary : Command failed: Miscellaneous error
*server x* backup job failed - Summary : Too many pre-existing snapshots will not permit a backup or restore.
*server y* backup job Completed with Exception - Summary : Command completed with errors, client log should be examined
*server z* backup job Completed with Exception - Summary : Command completed with errors, client log should be examined
Is that the sort of thing you were thinking of?
Thanks
Re: Avamar monitoring with Nagios
Posted: Wed Sep 07, 2016 9:34 am
by tmcdonald
The OP hasn't been around for almost 3 months, so I'm going to lock this for now.