[Xymon] Issue with viewing history data for cpu usage

Jeremy Laidman jlaidman at rebel-it.com.au
Wed Feb 13 21:50:45 CET 2013


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.

J
 On 14/02/2013 3:32 AM, "Adapalli,Sridhar (HHSC)" <
Sridhar.Adapalli at hhsc.state.tx.us> wrote:

> ** ** **
>
> Jeremy ****
>
> 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?****
>
> ** **
>
> Thanks****
>
> ** **
>
> *Sridhar Adapalli**,* CISSP, PMP****
>
> ****Enterprise**** Identity & Access Management****
>
> Health and Human Services, State of ****Texas********
>
> 438 4603****
>   ------------------------------
>
> *From:* Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
> *Sent:* Wednesday, February 13, 2013 10:19 AM
> *To:* Adapalli,Sridhar (HHSC)
> *Subject:* RE: [Xymon] Issue with viewing history data for cpu usage****
>
> ** **
>
> Dunno. But run xymoncmd and then type "set | grep host" and it should show.
> ****
>
> J****
>
> On 14/02/2013 2:37 AM, "Adapalli,Sridhar (HHSC)" <
> Sridhar.Adapalli at hhsc.state.tx.us> wrote:****
>
> Jeremy****
>
> 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?***
> *
>
>  ****
>
> Thanks****
>
>  ****
>
> *Sridhar Adapalli**,* CISSP, PMP****
>
> ****Enterprise**** Identity & Access Management****
>
> Health and Human Services, State of ****Texas********
>
> 438 4603****
>   ------------------------------
>
> *From:* Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
> *Sent:* Tuesday, February 12, 2013 11:57 PM
> *To:* Adapalli,Sridhar (HHSC)
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] Issue with viewing history data for cpu usage****
>
>  ****
>
> 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:****
>
>  ****
>
>   echo echo \$XYMONHISTDIR | xymoncmd****
>
>  ****
>
> 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.
> ****
>
>  ****
>
> 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:****
>
>  ****
>
>   $ sudo -u wwwrun xymoncmd****
>
>   sh$ echo $XYMONHISTDIR****
>
>   /var/lib/xymon/hist****
>
>   sh$ cd $XYMONHISTDIR****
>
>   ls****
>
>   sh$ head the,host,name.conn****
>
>  ****
>
> 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.****
>
>  ****
>
> J****
>
>  ****
>
>  ****
>
> On 13 February 2013 05:38, Adapalli,Sridhar (HHSC) <
> Sridhar.Adapalli at hhsc.state.tx.us> wrote:****
>
> Hi****
>
> 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?
> ****
>
>  ****
>
> Thanks****
>
>  ****
>
> -- Sridhar****
>
>  ****
>
>  ****
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon****
>
>  ****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130214/87b9dd39/attachment.html>


More information about the Xymon mailing list