Avamar monitoring with Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagiosp1g
Posts: 2
Joined: Tue Apr 19, 2016 2:18 pm

Avamar monitoring with Nagios

Post by nagiosp1g »

Is anyone monitoring Avamar 7.x with Nagios? Either with SNMP polling or NRPE?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Avamar monitoring with Nagios

Post 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?
Former Nagios Employee
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Avamar monitoring with Nagios

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Avamar monitoring with Nagios

Post by rkennedy »

Thanks @nozlaf! @nagiosp1g - let us know when you have a chance to get back to us.
Former Nagios Employee
nagiosp1g
Posts: 2
Joined: Tue Apr 19, 2016 2:18 pm

Re: Avamar monitoring with Nagios

Post 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?
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Avamar monitoring with Nagios

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Avamar monitoring with Nagios

Post 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?
Former Nagios Employee.
me.
DGPearce
Posts: 1
Joined: Mon Sep 23, 2013 2:24 am

Re: Avamar monitoring with Nagios

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Avamar monitoring with Nagios

Post by tmcdonald »

The OP hasn't been around for almost 3 months, so I'm going to lock this for now.
Former Nagios employee
Locked