Forum Discussion

Mastana420's avatar
Mastana420
Level 5
10 years ago

Setup alert for vmware client

Hi

 

I need to setup an alert so it emails me everytime a parituclar client is not backed up. Client is backed up through a VmWare Inteligent Policy. I do have the OpsCenter with analystic license, but still cant seem to find a way to setup an alert which will give me what i want.

 

I can easily setup an alert on policy level, but cant on client level. It simply does not list any clients at all, it lists the master server - Policy name and then media servers.

  • This doesn't help the OP with alerting for clients that have not had a backup - e.g. if the backup policy/schedule did nto fire, or someone deleted/removed a client from a policy.

    So, as far we know, there is no report to alert for clients not having a backup within a certain time frame.

    Therefore the only solution is to script it.

  • Hi. Would you be able to give me a sample script I could use for a VMware client taken backup off through VMware intelligent policy?
  • Well, I don't have anything pre-written if that's what you mean - so anything written would have to be new, from scratch.  If you need something in Windows DOS/batch then I may be able (time willing) to write something fairly quickly, or if you need something in Unix/Linux ksh then this might take me a fair bit of effort and time to write.  The other question is... does it have to be perfect?  Or can you tolerate a few loose ends that you have to tweak and sort out yourself?   For example would need explicit instructions on how to configure a Unix cron job or a Windows scheduled task?

    Wouldn't this be a great time to learn how to script - especially for something that is relatively straight forward like this?  Are you sure that you can't do it?

    Is your NetBackup VMware Backup Host a Windows based host?  If it is Windows based, then is this Windows based NetBackup VMware Backup Host installed as a 'media server' or is it installed a an 'enterprise client' ?

    Or, is the NetBackup VMware Backup Host a Linux based host?

  • Everything from media server to master is Linux based. Only thing Windows might be the client in question. I would love to learn it myself, and this sample will definitely help me. It would be helpful if you could give some instruction on the cron job as well in Linux.