<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1549802675;
        mso-list-type:hybrid;
        mso-list-template-ids:-1999094006 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Sailesh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">That’s good work, I am sure it will help others to get started.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t actually monitor Oracle databases, others will have better ideas, but to get you started I would suggest monitoring them from the client host that has the Oracle DB process on it rather than accessing
 the Oracle DB across the network. This benefits you because it reduces the amount of network traffic flowing around and speeds up and response to queries.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Have the client perform you DB checks and report the back to the Xymon server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">|\/|artin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>Sailesh<br>
<b>Sent:</b> 18 November 2011 07:52<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] Install Xymon 4.2.2 on Solaris 10 Sparc<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After much effort I have been able to successfully install and configure xymon-4.2.2 on Solaris 10.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><b><span lang="EN-US"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span></span></b><![endif]><b><span lang="EN-US">Please find below the package required:-<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">apache-2.2.21-sol10-sparc-local      <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libtool-2.4-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">db-4.7.25.NC-sol10-sparc-local        <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">make-3.82-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">expat-2.0.1-sol10-sparc-local         <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">openldap-2.4.24-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">fontconfig-2.8.0-sol10-sparc-local    <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">openldap-2.4.26-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">fping-2.4b2-sol10-sparc-local         <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">openssl-1.0.0e-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">freetype-2.4.2-sol10-sparc-local      <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">pango-1.18.2-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ganglia-3.0.7-sol10-sparc-local       <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">pcre-8.20-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gcc-3.4.6-sol10-sparc-local           <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">prngd-0.9.25-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">glib-2.25.13-sol10-sparc-local        <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">render-0.8-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">jpeg-8a-sol10-sparc-local            <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> renderproto-0.9.3-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">jpeg2ps-1.9-sol10-sparc-local         <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">rrdtool-1.2.19-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">jpeginfo-1.6.1-sol10-sparc-local      <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">sasl-2.1.25-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libart_lgpl-2.3.19-sol10-sparc-local <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> tar-1.26-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libgcc-3.4.6-sol10-sparc-local        <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">unrar-3.68-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libiconv-1.14-sol10-sparc-local       <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">xrender-0.8.3-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libintl-3.4.0-sol10-sparc-local       <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">xymon-4.2.2.tar<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">libpng-1.2.44-sol10-sparc-local       <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">zlib-1.2.5-sol10-sparc-local<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><b><span lang="EN-US"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span></span></b><![endif]><b><span lang="EN-US">Entry on root profile. On Solaris 10, /etc/profile<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11/bin:/usr/openwin/bin:/usr/ucb:/usr/ccs/bin:/usr/local/lib<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The profile entry should be in that order.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><b><span lang="EN-US"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span></span></b><![endif]><b><span lang="EN-US">After make & make install, use default apache2 web server on Solaris 10. It is installed on /etc/apache2. It can be started on Solaris 10 as mentioned below:-<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"># svcadm enable svc:/network/http:apache2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US">Go to the ~/server/etc/ directory.
<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US">more hobbit-apache.conf<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US">use the entry on this file to update the httpd.conf for your apache server. I am attaching mine httpd.conf for all of you to have an idea.<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><b><span lang="EN-US"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span></span></b><![endif]><b><span lang="EN-US">Next, for my case, I had to add my library path to start hobbit server. Please see my hobbit.sh file.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">#!/bin/sh<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">LD_LIBRARY_PATH=/usr/local/lib:/usr/local/rrdtool-1.2.19/lib<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">export LD_LIBRARY_PATH<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver"># Startup script for the Hobbit monitor<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver"># This starts the "hobbitlaunch" tool, which in turn starts<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver"># all of the other Hobbit server programs.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">case "`uname -s`" in<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "SunOS")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ID=/usr/xpg4/bin/id<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   *)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ID=id<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">esac<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">if test `$ID -un` != root<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        echo "Hobbit must be started as the root user"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        exit 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">case "$1" in<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "start")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        if test -s /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                kill -0 `cat /var/log/xymon/hobbitlaunch.pid`<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                if test $? -eq 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        echo "Hobbit appears to be running, doing restart"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        $0 stop<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        rm -f /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">         /xymon/hobbit/server/bin/hobbitlaunch --config=/xymon/hobbit/server/etc/hobbitlaunch.cfg --<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">env=/xymon/hobbit/server/etc/hobbitserver.cfg --log=/var/log/xymon/hobbitlaunch.log --pidfile=/var/l<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">og/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        echo "Hobbit started"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "stop")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        if test -s /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                kill -TERM `cat /var/log/xymon/hobbitlaunch.pid`<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                echo "Hobbit stopped"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                echo "Hobbit is not running"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        rm -f /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "status")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        if test -s /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                kill -0 `cat /var/log/xymon/hobbitlaunch.pid`<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                if test $? -eq 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        echo "Hobbit (hobbitlaunch) running with PID `cat /var/log/xymon/hobbitlaunc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">h.pid`"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        echo "Hobbit not running, removing stale PID file"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                        rm -f /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                echo "Hobbit (hobbitlaunch) does not appear to be running"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "restart")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        if test -s /var/log/xymon/hobbitlaunch.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                $0 stop<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                sleep 10<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                $0 start<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                echo "hobbitlaunch does not appear to be running, starting it"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                $0 start<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "reload")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        if test -s /var/log/xymon/hobbitd.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        then<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                kill -HUP `cat /var/log/xymon/hobbitd.pid`<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                echo "hobbitd not running (no PID file)"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        fi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   "rotate")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        for PIDFILE in /var/log/xymon/*.pid<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        do<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">                kill -HUP `cat $PIDFILE`<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        done<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        ;;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">   *)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        echo "Usage: $0 start|stop|restart|reload|status|rotate"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">        break;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">esac<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">exit 0</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">NB. Please check path as for me I had to modify it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><b><span lang="EN-US"><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">      
</span></span></span></b><![endif]><b><span lang="EN-US">After starting hobbit server check for errors  on /var/log/xymon path and /var/apache2/logs path. I had one more modification where I had to put the path for libraries on all scripts. The cgi-bin and
 the cgi-secure folder where all scripts are kept. Please vi all the scripts on both folder and add the library path. For me it was as below:-<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">LD_LIBRARY_PATH=/usr/local/lib:/usr/lib; /usr/local/rrdtool-1.2.19/lib<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:silver;mso-highlight:silver">export LD_LIBRARY_PATH</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For me this has work and I am able to monitor my servers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now I want to monitor my oracle databases. Can anyone help me how to monitor my oracle database. Where to put the scripts for performace tuning, tablespace space etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<br>
Sailesh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
</div>
[Colt Disclaimer]
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. The contents of
this message and its attachments are confidential and may also be subject to
legal privilege. If you are not the named addressee and/or have received this
message in error, please advise us by e-mailing abuse@colt.net and delete the
message and any attachments without retaining any copies. Internet
communications are not secure and Colt does not accept responsibility for this
message, its contents nor responsibility for any viruses. No contracts can be
created or varied on behalf of Colt Technology Services, its subsidiaries,
group companies or affiliates ("Colt") and any other party by email
communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900
</body>
</html>