[Xymon] Send apache /server-status page to server via client.
deepak deore
deepakdeore2004 at gmail.com
Thu Oct 31 08:13:54 CET 2013
clientlaunch.cfg entry: -
[apache]
ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
CMD $XYMONCLIENTHOME/ext/apache.sh
LOGFILE $XYMONCLIENTLOGS/xymonclient.log
INTERVAL 1m
On Thu, Oct 31, 2013 at 12:40 PM, deepak deore <deepakdeore2004 at gmail.com>wrote:
> Yes, I need the stats every minute. I am running it as an ext script, now
> the graphs are coming under trends after undoing the changes in hosts.cfg.
>
> One problem coming is the graphs are coming 2 times under trends. However
> they are getting updated, I tried : -
>
> 1. Remove apache.rrd, waited for some time and checked after the rrd is
> generated, still 2 graphs for each stats i.e. apache utilizaition, aapche
> workers, apache cpu utilization, apache requests/ Second.
> 2. Removed "|apache:apache|apache1|apache2|apache3" from hosts.cfg which
> shows only one graph of apache utilizaition.
> 3. Added "|apache:apache|apache1|apache2|apache3" again and removed
> apache.rrd, still same problem.
>
>
>
> On Wed, Oct 30, 2013 at 5:43 PM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
>
>> On 30 October 2013 18:41, deepak deore <deepakdeore2004 at gmail.com> wrote:
>>
>>> Hi Ralph,
>>> I have setup this script on client side to run after every 1 minute.
>>>
>>
>> Every minute? Xymon network checks are usually every 5 minutes. Do you
>> need it that often?
>>
>>
>>> On server hosts.cfg i changed the line as below:
>>>
>>
>> You don't need any changes to hosts.cfg. Those settings only tell
>> xymonnet to poll the server, and you don't want that. You don't want the
>> Xymon server creating the "apache" status. Instead, you need the client to
>> do it, which should happen just by running the script.
>>
>>
>>> But I am not getting the apache graph in trends. Could you tell what am
>>> I doing wrong?
>>>
>>
>> Check your ghost report. Also try manually running the script from
>> within a "xymoncmd" shell and see if you get any errors.
>>
>> How are you running the script? From a cron job, or as an "ext" script?
>>
>> J
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131031/c9ad38de/attachment.html>
More information about the Xymon
mailing list