<?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: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895564#M403147</link>
    <description>&lt;A href="http://cr.yp.to/" target="_blank"&gt;http://cr.yp.to/&lt;/A&gt; &amp;lt;- daemontools&lt;BR /&gt;&lt;BR /&gt;It's free and it's nice !</description>
    <pubDate>Tue, 12 Apr 2005 08:11:02 GMT</pubDate>
    <dc:creator>Alexander_101</dc:creator>
    <dc:date>2005-04-12T08:11:02Z</dc:date>
    <item>
      <title>how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895554#M403137</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;i have installed a product (NNM) on my HP-UX machine. Is there any way my HP-UX to monitor some daemons - nnm daemons an start them over if some of them get down ?</description>
      <pubDate>Mon, 11 Apr 2005 10:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895554#M403137</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-11T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895555#M403138</link>
      <description>UNIX95= ps -C"daemon_name" || "start_program"</description>
      <pubDate>Mon, 11 Apr 2005 10:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895555#M403138</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-11T10:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895556#M403139</link>
      <description>How about - install MC/ServiceGuard.&lt;BR /&gt;&lt;BR /&gt;Though Anil's way should work...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 11 Apr 2005 11:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895556#M403139</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-04-11T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895557#M403140</link>
      <description>We wrote script that has configuration file with values to check with ps and how many instances there should be. It runs every 5 minutes in crontab and if the process is down or there are not enough instances of it, it starts the program with the line that is also written in the config file.&lt;BR /&gt;&lt;BR /&gt;Not complicated at all.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;About ServiceGuard, I'll say it's a bit expensive solution for a such small problem :)&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2005 13:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895557#M403140</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-04-11T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895558#M403141</link>
      <description>If NNM daemons are stopping, you need to get the latest patches. NNM is not cheap and the required programs (daemons) should never disappear. Install the current patches for your HP-UX system and the latest patches for NNM.</description>
      <pubDate>Mon, 11 Apr 2005 21:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895558#M403141</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-11T21:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895559#M403142</link>
      <description>Hello Bill, &lt;BR /&gt;&lt;BR /&gt;I think, this is not such a bad idea ! &lt;BR /&gt;&lt;BR /&gt;Now my question is how to determine which patches/updates do i need ?? they are hundrets !&lt;BR /&gt;&lt;BR /&gt;I need some sort of "service guard", because there are some additional thinks i need to be always UP and running (vncserver for example), what happens if I'm not at the office and something goes wrong ?</description>
      <pubDate>Tue, 12 Apr 2005 01:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895559#M403142</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-12T01:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895560#M403143</link>
      <description>Hi Alex, &lt;BR /&gt;&lt;BR /&gt;sounds intresting, but i can't do ANY programing/scripting, if you can help me a bit ??&lt;BR /&gt;&lt;BR /&gt;or at least give me some links to reed about it ??</description>
      <pubDate>Tue, 12 Apr 2005 01:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895560#M403143</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-12T01:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895561#M403144</link>
      <description>Hey, I'll give guidelines for this script:&lt;BR /&gt;&lt;BR /&gt;conf file (example):&lt;BR /&gt;&lt;BR /&gt;test.prog:5:/usr/bin/test.prog&lt;BR /&gt;&lt;BR /&gt;script (in crontab, runs let's say every 5 minutes):&lt;BR /&gt;&lt;BR /&gt;cat conf.file | while read line&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;grep_line=`echo $line | awk -F : '{print $1}'`&lt;BR /&gt;num=`echo $line | awk -F : '{print $2}'`&lt;BR /&gt;command_line=`echo $line | awk -F : '{print $3}'`&lt;BR /&gt;&lt;BR /&gt;num_procs=`ps -ef | grep test.prog | grep -v grep | wc -l`&lt;BR /&gt;&lt;BR /&gt;if [ $num_procs -lt $num ]&lt;BR /&gt;then&lt;BR /&gt;   # exeute the program with command_line&lt;BR /&gt;   # may be send an email to someone that the     process is down&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Well, it's just a skeleton, that gives the general idea of the script. I checks every line and gets the info it need to check the process and how to execute it if the number of instances is less than it should be.&lt;BR /&gt;&lt;BR /&gt;There are ofcourse more scripting to do, may be send an email, of more complex checks, bt this is the direction.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 01:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895561#M403144</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-04-12T01:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895562#M403145</link>
      <description>Bill, don't bother, i found the latest patch bundle for my hp-ux</description>
      <pubDate>Tue, 12 Apr 2005 01:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895562#M403145</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-12T01:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895563#M403146</link>
      <description>thanks Alex, &lt;BR /&gt;&lt;BR /&gt;sounds a little complicated... i'll desipher it ;)</description>
      <pubDate>Tue, 12 Apr 2005 02:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895563#M403146</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-12T02:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to monitor some daemons/programs and automaticaly make them up if they go down for some reason</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895564#M403147</link>
      <description>&lt;A href="http://cr.yp.to/" target="_blank"&gt;http://cr.yp.to/&lt;/A&gt; &amp;lt;- daemontools&lt;BR /&gt;&lt;BR /&gt;It's free and it's nice !</description>
      <pubDate>Tue, 12 Apr 2005 08:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-monitor-some-daemons-programs-and-automaticaly-make-them/m-p/4895564#M403147</guid>
      <dc:creator>Alexander_101</dc:creator>
      <dc:date>2005-04-12T08:11:02Z</dc:date>
    </item>
  </channel>
</rss>

