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
plugin to automated remove RMAN
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: plugin to automated remove RMAN
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/
http://exchange.nagios.org/
Re: plugin to automated remove RMAN
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
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
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.
Re: plugin to automated remove RMAN
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
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.