<?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: httpd check in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060760#M305883</link>
    <description>I do understand that checking the pid is not the best method.</description>
    <pubDate>Mon, 27 Aug 2007 06:47:21 GMT</pubDate>
    <dc:creator>Nobody's Hero</dc:creator>
    <dc:date>2007-08-27T06:47:21Z</dc:date>
    <item>
      <title>httpd check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060759#M305882</link>
      <description>If I were to write a script to check if httpd (apache) is really operating ok, what flag would I use to build into a script check?&lt;BR /&gt;&lt;BR /&gt;httpd -help&lt;BR /&gt;Usage: httpd [-D name] [-d directory] [-f file]&lt;BR /&gt;             [-C "directive"] [-c "directive"]&lt;BR /&gt;             [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F]&lt;BR /&gt;Options:&lt;BR /&gt;  -D name          : define a name for use in &lt;IFDEFINE name=""&gt; directives&lt;BR /&gt;  -d directory     : specify an alternate initial ServerRoot&lt;BR /&gt;  -f file          : specify an alternate ServerConfigFile&lt;BR /&gt;  -C "directive"   : process directive before reading config files&lt;BR /&gt;  -c "directive"   : process directive after  reading config files&lt;BR /&gt;  -v               : show version number&lt;BR /&gt;  -V               : show compile settings&lt;BR /&gt;  -h               : list available command line options (this page)&lt;BR /&gt;  -l               : list compiled-in modules&lt;BR /&gt;  -L               : list available configuration directives&lt;BR /&gt;  -S               : show parsed settings (currently only vhost settings)&lt;BR /&gt;  -t               : run syntax check for config files (with docroot check)&lt;BR /&gt;  -T               : run syntax check for config files (without docroot check)&lt;BR /&gt;  -F               : run main process in foreground, for process&lt;BR /&gt;&lt;BR /&gt;That is, which command would really tell me if apache was up and working?&lt;/IFDEFINE&gt;</description>
      <pubDate>Mon, 27 Aug 2007 06:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060759#M305882</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2007-08-27T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: httpd check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060760#M305883</link>
      <description>I do understand that checking the pid is not the best method.</description>
      <pubDate>Mon, 27 Aug 2007 06:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060760#M305883</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2007-08-27T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: httpd check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060761#M305884</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The best method is to see if you can get content from another system. &lt;BR /&gt;&lt;BR /&gt;wget http://websitname/&lt;BR /&gt;&lt;BR /&gt;By default this will get index.html&lt;BR /&gt;&lt;BR /&gt;wget works on HP-UX with effort, and is standard with Linux.&lt;BR /&gt;&lt;BR /&gt;A network outage would trigger a wget based script to send hour warnings. However the point is to provide service on the network, so that is where the check should be run.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 27 Aug 2007 07:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060761#M305884</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-27T07:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: httpd check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060762#M305885</link>
      <description>I think httpd itself has no options to check if the HTTP-server is up and functional.&lt;BR /&gt;&lt;BR /&gt;What I do in a serviceguard checkscript to not only see that our HTTPD is alive, but that the starting page of an application is accessible is :&lt;BR /&gt;&lt;BR /&gt;RESPONSE=$(telnet localhost 80 2&amp;gt;&amp;gt;/dev/null &amp;lt;</description>
      <pubDate>Mon, 27 Aug 2007 07:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060762#M305885</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-08-27T07:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: httpd check</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060763#M305886</link>
      <description>I would request a page from the server. If you get it, the server is running.&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;# telnet 127.0.0.1 80&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to 127.0.0.1.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;GET index.html&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But you can also use&lt;BR /&gt;&lt;BR /&gt;apachectl status</description>
      <pubDate>Mon, 27 Aug 2007 09:37:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/httpd-check/m-p/4060763#M305886</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-08-27T09:37:34Z</dc:date>
    </item>
  </channel>
</rss>

