<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Monitoring the age of the last backup with OEM</title>
	<atom:link href="http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html</link>
	<description>Oracle Certified Master</description>
	<pubDate>Mon, 01 Dec 2008 19:49:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: laurentschneider</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-1085</link>
		<dc:creator>laurentschneider</dc:creator>
		<pubDate>Thu, 15 Mar 2007 09:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-1085</guid>
		<description>Hi Roger,

how do you do your backup? what is an unsuccessful backup?

- if your server is down, is it an unsuccessful backup?
- if your listener is down, is it an unsuccessful backup?
- if the tape drive crashes after all datafiles have been backup, but not the archivelog, is it an unsuccessful backup?

well, you could try the following approach :

- when you do a backup, write a log file
- in oem, define a generic service which is a shell script (if you are using linux/unix) and you grep for errors in your logfile
- you output 0 for a successful backup and 1 for an unsuccessful backup (or the opposite)

Have a nice day,
Laurent</description>
		<content:encoded><![CDATA[<p>Hi Roger,</p>
<p>how do you do your backup? what is an unsuccessful backup?</p>
<p>- if your server is down, is it an unsuccessful backup?<br />
- if your listener is down, is it an unsuccessful backup?<br />
- if the tape drive crashes after all datafiles have been backup, but not the archivelog, is it an unsuccessful backup?</p>
<p>well, you could try the following approach :</p>
<p>- when you do a backup, write a log file<br />
- in oem, define a generic service which is a shell script (if you are using linux/unix) and you grep for errors in your logfile<br />
- you output 0 for a successful backup and 1 for an unsuccessful backup (or the opposite)</p>
<p>Have a nice day,<br />
Laurent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Barton</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-1084</link>
		<dc:creator>Roger Barton</dc:creator>
		<pubDate>Wed, 14 Mar 2007 23:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-1084</guid>
		<description>Hi Laurent!

I stumbled across this when trying to set up something to report on my last backups... and thought "Wow ... this is exactly what I needed!" Thanks.

So I have set it up in OEM, and yes, it is showing me that my backups are being performed, and is warning me when a backup has not been performed within the last 24hours, or a serious alert when last backup is not within the last 48hours .... so far so good!

My issue, now is that I discovered that my last backup was not in fact successful.  OEM reports that the backup has failed, however, according to my alerting that I have set up with your guidence on this blog entry, I have a backup within the last 24 hours, so no alert.

Thus, I'm looking to further extend on the alerting you have provided in this blog.  Do you know a way of modifying what you have in your blog entry to alert me that I don't have a SUCCESSFUL backup .
ie. aim - I want to be alerted if I don't have a SUCCESSFUL backup in the last say 24 hours - no alert - good news! If Alert - needs investigating to determine (a) if the backup process infact ran, and then (b) if it ran, why it was not successful.

Regards,
Roger Barton</description>
		<content:encoded><![CDATA[<p>Hi Laurent!</p>
<p>I stumbled across this when trying to set up something to report on my last backups&#8230; and thought &#8220;Wow &#8230; this is exactly what I needed!&#8221; Thanks.</p>
<p>So I have set it up in OEM, and yes, it is showing me that my backups are being performed, and is warning me when a backup has not been performed within the last 24hours, or a serious alert when last backup is not within the last 48hours &#8230;. so far so good!</p>
<p>My issue, now is that I discovered that my last backup was not in fact successful.  OEM reports that the backup has failed, however, according to my alerting that I have set up with your guidence on this blog entry, I have a backup within the last 24 hours, so no alert.</p>
<p>Thus, I&#8217;m looking to further extend on the alerting you have provided in this blog.  Do you know a way of modifying what you have in your blog entry to alert me that I don&#8217;t have a SUCCESSFUL backup .<br />
ie. aim - I want to be alerted if I don&#8217;t have a SUCCESSFUL backup in the last say 24 hours - no alert - good news! If Alert - needs investigating to determine (a) if the backup process infact ran, and then (b) if it ran, why it was not successful.</p>
<p>Regards,<br />
Roger Barton</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-581</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Fri, 19 Jan 2007 10:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-581</guid>
		<description>@Laurent

....of course, I want always more, then that what is obvious ;-)

I have seen your suggested solution, but what I want is to completely change header and footer (for instance it, the report, always generates a "created by OEM" remarks and stuff).

I want to generate a OEM report which can be used as a base for a SLA reporting solution (and/or if possible) imbedded in a portal...</description>
		<content:encoded><![CDATA[<p>@Laurent</p>
<p>&#8230;.of course, I want always more, then that what is obvious <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I have seen your suggested solution, but what I want is to completely change header and footer (for instance it, the report, always generates a &#8220;created by OEM&#8221; remarks and stuff).</p>
<p>I want to generate a OEM report which can be used as a base for a SLA reporting solution (and/or if possible) imbedded in a portal&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurentschneider</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-580</link>
		<dc:creator>laurentschneider</dc:creator>
		<pubDate>Fri, 19 Jan 2007 10:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-580</guid>
		<description>daryl: for your example, you may want to try something like :
select max(c) from (select username,(select count(*) from v$session where username=dba_users.username)/decode(limit,'0',-1,'UNLIMITED',null,'DEFAULT',(select decode(limit,'0',-1,'UNLIMITED',null,to_number(limit)) from dba_profiles where profile='DEFAULT' and resource_name='SESSIONS_PER_USER'),to_number(limit)) c from dba_profiles join dba_users using(profile) where resource_name='SESSIONS_PER_USER' );

and set a metric at 0.8

HTH</description>
		<content:encoded><![CDATA[<p>daryl: for your example, you may want to try something like :<br />
select max(c) from (select username,(select count(*) from v$session where username=dba_users.username)/decode(limit,&#8217;0&#8242;,-1,&#8217;UNLIMITED&#8217;,null,&#8217;DEFAULT&#8217;,(select decode(limit,&#8217;0&#8242;,-1,&#8217;UNLIMITED&#8217;,null,to_number(limit)) from dba_profiles where profile=&#8217;DEFAULT&#8217; and resource_name=&#8217;SESSIONS_PER_USER&#8217;),to_number(limit)) c from dba_profiles join dba_users using(profile) where resource_name=&#8217;SESSIONS_PER_USER&#8217; );</p>
<p>and set a metric at 0.8</p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurentschneider</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-579</link>
		<dc:creator>laurentschneider</dc:creator>
		<pubDate>Fri, 19 Jan 2007 09:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-579</guid>
		<description>marco: you can add an image (logo/header) to your report with Elements --&gt; Add --&gt; Image Display

Daryl: you can &lt;a href="http://laurentschneider.com/wordpress/wp-register.php" rel="nofollow"&gt;Register&lt;/a&gt; to my blog to avoid those math challenge</description>
		<content:encoded><![CDATA[<p>marco: you can add an image (logo/header) to your report with Elements &#8211;> Add &#8211;> Image Display</p>
<p>Daryl: you can <a href="http://laurentschneider.com/wordpress/wp-register.php" rel="nofollow">Register</a> to my blog to avoid those math challenge</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daryl</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-578</link>
		<dc:creator>daryl</dc:creator>
		<pubDate>Thu, 18 Jan 2007 18:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-578</guid>
		<description>(dang got the spam answer wrong and lost my nice reply)
Let me just say that my tar was from before the date on the above tar. The rep insisted that there was no problem. After a month of me "fighting" with him. I gave in and gave up.
Please post more OEM UDM - I have one for example, that alerts when a user approaches max connections based on their profile restrictions. This catches thos run away java apps that dont disconnect.</description>
		<content:encoded><![CDATA[<p>(dang got the spam answer wrong and lost my nice reply)<br />
Let me just say that my tar was from before the date on the above tar. The rep insisted that there was no problem. After a month of me &#8220;fighting&#8221; with him. I gave in and gave up.<br />
Please post more OEM UDM - I have one for example, that alerts when a user approaches max connections based on their profile restrictions. This catches thos run away java apps that dont disconnect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurentschneider</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-577</link>
		<dc:creator>laurentschneider</dc:creator>
		<pubDate>Thu, 18 Jan 2007 16:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-577</guid>
		<description>daryl: &lt;a href="https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&#038;p_id=399217.1" rel="nofollow"&gt; check note 399217.1&lt;/a&gt;
it will be available in 11g</description>
		<content:encoded><![CDATA[<p>daryl: <a href="https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&#038;p_id=399217.1" rel="nofollow"> check note 399217.1</a><br />
it will be available in 11g</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurentschneider</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-576</link>
		<dc:creator>laurentschneider</dc:creator>
		<pubDate>Thu, 18 Jan 2007 16:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-576</guid>
		<description>I will have a look. I did not try the reports yet.</description>
		<content:encoded><![CDATA[<p>I will have a look. I did not try the reports yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-575</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Thu, 18 Jan 2007 16:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-575</guid>
		<description>Great post, just what i was looking for. Do you know if there is a decent manual to created customized reporting (with company logo's, different headers etc...)?</description>
		<content:encoded><![CDATA[<p>Great post, just what i was looking for. Do you know if there is a decent manual to created customized reporting (with company logo&#8217;s, different headers etc&#8230;)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daryl</title>
		<link>http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-574</link>
		<dc:creator>daryl</dc:creator>
		<pubDate>Thu, 18 Jan 2007 14:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/01/monitoring-the-age-of-the-last-backup-with-oem.html#comment-574</guid>
		<description>And now the apply is working too .. Thanks Laurent. I had all but given up on mass deploying UDM since I couldnt get the templates to work. I wrestled with support for a month trying get them to understand the problem let alone solve it - and you have have solved it for me in 5 minutes -- "UDM cant be multicolumn for use in templates".</description>
		<content:encoded><![CDATA[<p>And now the apply is working too .. Thanks Laurent. I had all but given up on mass deploying UDM since I couldnt get the templates to work. I wrestled with support for a month trying get them to understand the problem let alone solve it - and you have have solved it for me in 5 minutes &#8212; &#8220;UDM cant be multicolumn for use in templates&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
