<?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: Looking for a custom SAS validation script with mail option in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435555#M12213</link>
    <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110793"&gt;@shayes_ccllc&lt;/a&gt; Thanks, it works fine! I will expand the shell script.&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Feb 2018 08:46:34 GMT</pubDate>
    <dc:creator>sergie89</dc:creator>
    <dc:date>2018-02-09T08:46:34Z</dc:date>
    <item>
      <title>Looking for a custom SAS validation script with mail option</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435275#M12210</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a script or something else what makes possible to validate all SAS services (status check) every hour and&amp;nbsp; send after each check a report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Day: 8/2/2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Time:&amp;nbsp; 15.15&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Status SAS services:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Metadata&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; running&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Object Spawner&amp;nbsp; &amp;nbsp; running&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Web Server&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; running&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Web App xx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;running&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have also configured SAS environment Manager. But an overview of all sas services in a mail&amp;nbsp;makes a lot easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435275#M12210</guid>
      <dc:creator>sergie89</dc:creator>
      <dc:date>2018-02-08T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a custom SAS validation script with mail option</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435423#M12211</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192219"&gt;@sergie89&lt;/a&gt;:&amp;nbsp;You could create a simple shell script with something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(date; echo; echo "Status SAS services:"; echo; /path/to/Lev1/sas.servers status) |&amp;nbsp;mailx -s "SAS Status"&amp;nbsp;your_name@yourcompany.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Put that into a cron as the SAS Installer account to run every hour and you should be all set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spencer&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435423#M12211</guid>
      <dc:creator>shayes_ccllc</dc:creator>
      <dc:date>2018-02-08T20:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a custom SAS validation script with mail option</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435555#M12213</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110793"&gt;@shayes_ccllc&lt;/a&gt; Thanks, it works fine! I will expand the shell script.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Feb 2018 08:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435555#M12213</guid>
      <dc:creator>sergie89</dc:creator>
      <dc:date>2018-02-09T08:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a custom SAS validation script with mail option</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435916#M12226</link>
      <description>Be mindful of alert fatigue with a setup like this. It doesnt take long until these emails will have a mail rule putting them in a folder and they go unread.&lt;BR /&gt;&lt;BR /&gt;Consider setting up a job to email into a ticketing system when a fault is detected rather than just a status.</description>
      <pubDate>Sat, 10 Feb 2018 02:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Looking-for-a-custom-SAS-validation-script-with-mail-option/m-p/435916#M12226</guid>
      <dc:creator>SimonDawson</dc:creator>
      <dc:date>2018-02-10T02:48:09Z</dc:date>
    </item>
  </channel>
</rss>

