Page 1 of 1

plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 7:04 am
by alexporta
Hi to all,

we need to improve a control/script/plugin to automated some scripts to remove old backup RMAN files older than xx days

Someone could help us?

Thanks

Re: plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 9:15 am
by slansing
What is used to create these files? I'd start by searching the exchange for a plugin, if it does not exist there you may need to create it:

http://exchange.nagios.org/

Re: plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 9:24 am
by alexporta
Hi slansing,

some one before us told to our customer that they could automated the launch fo those scripts using Nagios...
We need to remove some RMAN backup files older than xx days on the oracle servers

Re: plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 9:33 am
by sreinhardt
Well, yes technically you could do this. An event handler and check_by_ssh or nrpe would work pretty fantastically. I would suggest running it similar to your exchange idea, where you have a check that just looks at file age in the directory(s) and if needed launches the event handler when some are to old, which in turn launches a script that cleans the files in said directory(s).

Re: plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 10:11 am
by alexporta
sreinhardt wrote:Well, yes technically you could do this. An event handler and check_by_ssh or nrpe would work pretty fantastically. I would suggest running it similar to your exchange idea, where you have a check that just looks at file age in the directory(s) and if needed launches the event handler when some are to old, which in turn launches a script that cleans the files in said directory(s).

Hi sreinhardt,

there is only one "little problem", no one of us is able to do that...

Re: plugin to automated remove RMAN

Posted: Mon Sep 30, 2013 10:21 am
by sreinhardt
Well, considering you are posting in core, I tend not to try and push people towards sales, but if you are looking for custom development you should speak with [email protected]. They can create a dialog between yourself and our developers who would be able to do this. However we do not really just create scripts for people, otherwise we would constantly be giving out free work. :(