<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ignite success script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827296#M87947</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try the following simple script. Replace the make_recovery command line with your options.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;HOST=$(hostname)&lt;BR /&gt;EMAIL="your_id@yourhost.com"&lt;BR /&gt;/opt/ignite/bin/make_recovery -v -A &amp;gt; /tmp/ignite.out 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;cat /tmp/ignite.out |mailx -s "$HOST - make_recovery failed" $EMAIL&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 16 Oct 2002 16:41:59 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-10-16T16:41:59Z</dc:date>
    <item>
      <title>ignite success script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827295#M87946</link>
      <description>We need a script to email us if make_recovery fails for any reason., We currently mail the results of the makrec.log1 file , but we really only need emails if the job fails.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 16 Oct 2002 16:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827295#M87946</guid>
      <dc:creator>Rpger Tavener</dc:creator>
      <dc:date>2002-10-16T16:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: ignite success script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827296#M87947</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try the following simple script. Replace the make_recovery command line with your options.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;HOST=$(hostname)&lt;BR /&gt;EMAIL="your_id@yourhost.com"&lt;BR /&gt;/opt/ignite/bin/make_recovery -v -A &amp;gt; /tmp/ignite.out 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;cat /tmp/ignite.out |mailx -s "$HOST - make_recovery failed" $EMAIL&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 16 Oct 2002 16:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827296#M87947</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-10-16T16:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: ignite success script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827297#M87948</link>
      <description>Roger,&lt;BR /&gt;&lt;BR /&gt;Here's a simple script that you might be able to adapt:&lt;BR /&gt;&lt;BR /&gt;if [ `grep -i 'message_indicating_failure' /full/path/to/makrec.log1 | wc -l` -gt 0 ]&lt;BR /&gt;      then&lt;BR /&gt;    echo "$hostname had an ignite failure" &amp;gt; file.oops&lt;BR /&gt;  elm -s "Oops" joeblow@wherever.com &amp;lt; file.oops&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 16 Oct 2002 16:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827297#M87948</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-10-16T16:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: ignite success script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827298#M87949</link>
      <description>file it though script.&lt;BR /&gt;&lt;BR /&gt;make_recovery -ACvd /dev/rmt/0mn&lt;BR /&gt;if [$? -ne 0]&lt;BR /&gt;mailx -s "recovery Failed" your_Address&lt;BR /&gt;exit&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Oct 2002 16:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-success-script/m-p/2827298#M87949</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2002-10-16T16:56:26Z</dc:date>
    </item>
  </channel>
</rss>

