Apache RRD - data not updated (NaN)
list Espen Holje
Hi all, I am trying to get Apache RRD graphing work i xymon 4.3.0, but it looks like apache.rrd is not updated with data. I have verified that example.com/server-status?auto returns info, but according to "rrddump dump apache.rrd", only values I can see are NaN. According/var/log/xymon/rrd-data.log (xymond_rrd with --debug option), 8225 2011-04-15 13:27:37 Want msg 103, startpos 154010, fillpos 154010, endpos -1, usedbytes=0, bufleft=374373 8225 2011-04-15 13:27:39 xymond_rrd: Got message 103 @@data#103/XX|1302866859.680847|127.0.0.1||XX|apache|linux| 8225 2011-04-15 13:27:39 startpos 154457, fillpos 154457, endpos -1 .. 8225 2011-04-15 13:31:05 Flushing cache '/XX/apache.rrd' 8225 2011-04-15 13:31:05 Flushing '/XX/apache.rrd' with 2 updates pending, template 'TA:TKB:BW:IW:CPU:REQPERSEC' Any ideas how to debug this further? Regards, Espen Holje
list Henrik Størner
▸
I am trying to get Apache RRD graphing work i xymon 4.3.0, but it looks like apache.rrd is not updated with data. I have verified that example.com/server-status?auto
<http://example.com/server-status?auto>; returns info, but according to "rrddump dump apache.rrd", only values I can see are NaN.
Does it return the *right* data ? You must have the "ExtendedStatus On" setting, or this URL will return data but not the right data. Regards, Henrik
list Espen Holje
Yes, ExtendedStatus is On Data returned is like this: Total Accesses: 375941 Total kBytes: 5982975 CPULoad: .0977676 Uptime: 192487 ReqPerSec: 1.95307 BytesPerSec: 31828.5 BytesPerReq: 16296.6 BusyWorkers: 1 IdleWorkers: 10 Scoreboard: ._____..__W___............ Regards, Espen Holje
▸
On Sun, Apr 17, 2011 at 10:15 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
I am trying to get Apache RRD graphing work i xymon 4.3.0, but it lookslike apache.rrd is not updated with data. I have verified that example.com/server-status?auto <http://example.com/server-status?auto>; returns info, but according to "rrddump dump apache.rrd", only values I can see are NaN.Does it return the *right* data ? You must have the "ExtendedStatus On" setting, or this URL will return data but not the right data. Regards, Henrik
--
Med vennlig hilsen, Escio AS Espen Holje Produkt-/Utviklingssjef Tlf kontor 625 19 730 Tlf direkte 625 19 734 Fax 625 19 731 Mobil 977 36 111 EasyPublish CMS - http://www.easypublish.no EasySurvey - http://www.easysurvey.no
list Espen Holje
Hi Chris, Yes, it is present i hosts.cfg: x.yz example.com # http://example.comCLIENT:10272-ywe-l005.10272-esc.root.local apache= http://example.com/server-status?auto TRENDS:*,a pache:apache|apache1|apache2|apache3 noconn Regards, Espen Holje On Tue, Apr 19, 2011 at 5:23 PM, <user-e510f6c03e57@xymon.invalid> wrote:
Do you have the "apache=http://1.2.3.4/server-status?auto"; tag on the hosts.cfg (was bb-hosts) entry of your apache server? *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Espen Holje *Sent:* 19 April 2011 16:06 *To:* Henrik Størner *Cc:* xymon at xymon.com *Subject:* Re: [Xymon] Apache RRD - data not updated (NaN)
▸
Yes, ExtendedStatus is On Data returned is like this: Total Accesses: 375941 Total kBytes: 5982975 CPULoad: .0977676 Uptime: 192487 ReqPerSec: 1.95307 BytesPerSec: 31828.5 BytesPerReq: 16296.6 BusyWorkers: 1 IdleWorkers: 10 Scoreboard: ._____..__W___............ Regards, Espen Holje On Sun, Apr 17, 2011 at 10:15 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:I am trying to get Apache RRD graphing work i xymon 4.3.0, but it lookslike apache.rrd is not updated with data. I have verified that example.com/server-status?auto <http://example.com/server-status?auto>; returns info, but according to "rrddump dump apache.rrd", only values I can see are NaN.Does it return the *right* data ? You must have the "ExtendedStatus On" setting, or this URL will return data but not the right data. Regards, Henrik-- Med vennlig hilsen, Escio AS Espen Holje Produkt-/Utviklingssjef Tlf kontor 625 19 730 Tlf direkte 625 19 734 Fax 625 19 731 Mobil 977 36 111 EasyPublish CMS - http://www.easypublish.no EasySurvey - http://www.easysurvey.no ****************************************************************************
The information contained in this email is intended only for the use of the
intended recipient at the email address to which it has been addressed. If
the reader of this message is not an intended recipient, you are hereby
notified that you have received this document in error and that any review,
dissemination or copying of the message or associated attachments is
strictly prohibited. If you have received this email in error, please
contact the sender by return email or call 01793 877777 and ask for the
sender and then delete it immediately from your system.Please note that
neither the RWE Group of Companies nor the sender accepts any responsibility
for viruses and it is your responsibility to scan attachments (if any).
▸
*****************************************************************************
-- Med vennlig hilsen, Escio AS Espen Holje Produkt-/Utviklingssjef Tlf kontor 625 19 730 Tlf direkte 625 19 734 Fax 625 19 731 Mobil 977 36 111 EasyPublish CMS - http://www.easypublish.no EasySurvey - http://www.easysurvey.no
list Jerald Sheets
Mine stopped working somewhat with the update as well. On one host, only a couple graphs work and on the other, none at all. The only thing that has changed in each case is the server software. I just haven't had the time to dig into it and figure out what changed, I just wanted to reiterate that this might actually be an issue. --jms On Apr 20, 2011, at 2:51 AM, Espen Holje wrote:
Hi Chris, Yes, it is present i hosts.cfg: x.yz example.com # http://example.com CLIENT:10272-ywe-l005.10272-esc.root.local apache=http://example.com/server-status?auto TRENDS:*,a
▸
pache:apache|apache1|apache2|apache3 noconn Regards, Espen Holje On Tue, Apr 19, 2011 at 5:23 PM, <user-e510f6c03e57@xymon.invalid> wrote: Do you have the "apache=http://1.2.3.4/server-status?auto"; tag on the hosts.cfg (was bb-hosts) entry of your apache server? From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Espen Holje Sent: 19 April 2011 16:06 To: Henrik Størner Cc: xymon at xymon.com Subject: Re: [Xymon] Apache RRD - data not updated (NaN) Yes, ExtendedStatus is On Data returned is like this: Total Accesses: 375941 Total kBytes: 5982975 CPULoad: .0977676 Uptime: 192487 ReqPerSec: 1.95307 BytesPerSec: 31828.5 BytesPerReq: 16296.6 BusyWorkers: 1 IdleWorkers: 10 Scoreboard: ._____..__W___............ Regards, Espen Holje On Sun, Apr 17, 2011 at 10:15 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote: I am trying to get Apache RRD graphing work i xymon 4.3.0, but it looks like apache.rrd is not updated with data. I have verified that example.com/server-status?auto <http://example.com/server-status?auto>; returns info, but according to "rrddump dump apache.rrd", only values I can see are NaN. Does it return the *right* data ? You must have the "ExtendedStatus On" setting, or this URL will return data but not the right data. Regards, Henrik -- Med vennlig hilsen, Escio AS Espen Holje Produkt-/Utviklingssjef Tlf kontor 625 19 730 Tlf direkte 625 19 734 Fax 625 19 731 Mobil 977 36 111 EasyPublish CMS - http://www.easypublish.no EasySurvey - http://www.easysurvey.no **************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). ***************************************************************************** -- Med vennlig hilsen, Escio AS Espen Holje Produkt-/Utviklingssjef Tlf kontor 625 19 730 Tlf direkte 625 19 734 Fax 625 19 731 Mobil 977 36 111 EasyPublish CMS - http://www.easypublish.no EasySurvey - http://www.easysurvey.no