<p dir="ltr">Do you get conn history files? You won't get disk or cpu unless the Xymon client is running correctly on the other VB boxes.</p>
<p dir="ltr">J<br>
</p>
<div class="gmail_quote">On 14/02/2013 3:32 AM, "Adapalli,Sridhar (HHSC)" <<a href="mailto:Sridhar.Adapalli@hhsc.state.tx.us">Sridhar.Adapalli@hhsc.state.tx.us</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<u></u>
<u></u>
<u></u>





<div lang="EN-US" link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Jeremy <u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I found the set of history files.  There
are files such as ausimo610.cpu, ausimo610.disk, etc.  However, I don’t find
these files for some of the other servers that we are monitoring, and these are
the ones that I am not able to see historical data.  I set up these servers
recently.  Is there a separate setting to enable capturing of history data that
I missed?<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><strong><b><i><font size="3" color="teal" face="Calibri"><span style="font-size:12.0pt;font-family:Calibri;color:teal;font-style:italic">Sridhar
Adapalli</span></font></i></b></strong><em><i><font color="blue" face="Arial"><span style="font-family:Arial;color:blue">,</span></font></i></em><font color="blue" face="Arial"><span style="font-family:Arial;color:blue"> </span></font><font color="maroon" face="Bookman Old Style"><span style="font-size:10.0pt;font-family:"Bookman Old Style";color:maroon">CISSP, PMP</span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>


<p class="MsoNormal"><u></u><u></u><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">Enterprise</span></font><u></u><u></u><font color="blue"><span style="font-size:10.0pt;color:blue"> Identity &
Access Management</span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">Health and Human Services, State of <u></u><u></u>Texas<u></u><u></u></span></font><font color="navy"><span style="color:navy"><u></u><u></u></span></font></p>


<p class="MsoNormal"><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">438 4603</span></font><u></u><u></u></p>

</div>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Jeremy Laidman
[mailto:<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, February 13, 2013
10:19 AM<br>
<b><span style="font-weight:bold">To:</span></b> Adapalli,Sridhar (HHSC)<br>
<b><span style="font-weight:bold">Subject:</span></b> RE: [Xymon] Issue with
viewing history data for cpu usage</span></font><u></u><u></u></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Dunno.
But run xymoncmd and then type "set | grep host" and it should show.<u></u><u></u></span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">J<u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On 14/02/2013 2:37 AM, "Adapalli,Sridhar (HHSC)" <<a href="mailto:Sridhar.Adapalli@hhsc.state.tx.us" target="_blank">Sridhar.Adapalli@hhsc.state.tx.us</a>>
wrote:<u></u><u></u></span></font></p>

<div link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Jeremy</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks for getting back to me.  I am using Hobbit, the older
version.  Can you please let me know the equivalent environment variables
for Hobbit?</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font><u></u><u></u></p>

<div>

<p class="MsoNormal"><strong><b><i><font size="3" color="teal" face="Calibri"><span style="font-size:12.0pt;font-family:Calibri;color:teal;font-style:italic">Sridhar Adapalli</span></font></i></b></strong><em><i><font color="navy" face="Arial"><span style="font-family:Arial;color:navy">,</span></font></i></em><font color="blue" face="Arial"><span style="font-family:Arial;color:blue"> </span></font><font color="maroon" face="Bookman Old Style"><span style="font-size:10.0pt;font-family:"Bookman Old Style";color:maroon">CISSP, PMP</span></font><u></u><u></u></p>


<p class="MsoNormal"><u></u><u></u><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">Enterprise</span></font><u></u><u></u><font color="blue"><span style="font-size:10.0pt;color:blue"> Identity &
Access Management</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">Health and Human Services, State of <u></u><u></u>Texas<u></u><u></u></span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="blue" face="Times New Roman"><span style="font-size:10.0pt;color:blue">438 4603</span></font><u></u><u></u></p>

</div>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Jeremy Laidman [mailto:<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>]
<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, February 12, 2013
11:57 PM<br>
<b><span style="font-weight:bold">To:</span></b> Adapalli,Sridhar (HHSC)<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Xymon] Issue with
viewing history data for cpu usage</span></font><u></u><u></u></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Xymon looks for
the history file in the directory that XYMONHISTDIR is set to.  Run
something like this to find out what it's set to:<u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  echo echo
\$XYMONHISTDIR | xymoncmd<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Ensure that the
directory is writeable by the Xymon user and/or group and is also readable by
the web user and/or group.  Also check to see if the directory contains
the file "hostname.service" matching whatever you are trying to get
history on, but where the hostname has commas instead of dots.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">In cases like
this, I try to replicate the process myself as the process user.  So for
example my webserver runs as user "wwwrun" so I do this:<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  $ sudo -u
wwwrun xymoncmd<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  sh$ echo
$XYMONHISTDIR<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 
/var/lib/xymon/hist<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  sh$ cd
$XYMONHISTDIR<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  ls<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">  sh$ head
the,host,name.conn<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">If I get any
errors with this, then it points to where the problem is.  Common problems
like this are caused by Xymon not being able to create the file or Apache not
being able to read the file/directory.  In most cases, it's filesystem
permissions, but in some cases it's kernel-level security such as SELINUX.
 In the latter case, the output of "dmesg|tail" immediately
after an attempt will usually confirm.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">J<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On 13 February
2013 05:38, Adapalli,Sridhar (HHSC) <<a href="mailto:Sridhar.Adapalli@hhsc.state.tx.us" target="_blank">Sridhar.Adapalli@hhsc.state.tx.us</a>>
wrote:<u></u><u></u></span></font></p>

<div link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hi</span></font><u></u><u></u></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">I am using
Hobbit monitor 4.2., when I click on History button for all the parameters that
I am monitoring (cpu, http, memory, etc.), I get a message “Cannot open history
file”.  Can someone let me know how to fix this issue?</span></font><u></u><u></u></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><u></u><u></u></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Thanks</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="#888888" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:#888888"> </span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="#888888" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:#888888">-- Sridhar</span></font><u></u><u></u></p>

<p class="MsoNormal"><font color="#888888" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:#888888"> </span></font><u></u><u></u></p>

<p class="MsoNormal"><font size="3" color="#888888" face="Times New Roman"><span style="font-size:12.0pt;color:#888888"> </span></font><u></u><u></u></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><u></u><u></u></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>


</blockquote></div>