plugin to automated remove RMAN

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
alexporta
Posts: 6
Joined: Mon Sep 30, 2013 6:42 am

plugin to automated remove RMAN

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: plugin to automated remove RMAN

Post 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/
alexporta
Posts: 6
Joined: Mon Sep 30, 2013 6:42 am

Re: plugin to automated remove RMAN

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: plugin to automated remove RMAN

Post 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).
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
alexporta
Posts: 6
Joined: Mon Sep 30, 2013 6:42 am

Re: plugin to automated remove RMAN

Post 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...
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: plugin to automated remove RMAN

Post 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. :(
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked