Xymon Mailing List Archive search

rrd graph creation

4 messages in this thread

list Larry Barber · Wed, 5 Sep 2012 16:23:28 -0500 ·
I have a new Xymon installation on 64 bit RHEL5.8. I cannot get the rrd
graphs to display, I am seeing the following in my Apache error logs:

[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] , referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] GLib-ERROR **:
gmem.c:135: failed to allocate 4294967296 bytes, referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] aborting...,
referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk

Anybody have any idea what may be causing this?

Thanks,
Larry Barber
list Henrik Størner · Thu, 06 Sep 2012 10:41:46 +0200 ·
On Wed, 5 Sep 2012 16:23:28 -0500, Larry Barber <user-6ef9c2864140@xymon.invalid>
quoted from Larry Barber
wrote:
I have a new Xymon installation on 64 bit RHEL5.8. I cannot get the rrd
graphs to display, I am seeing the following in my Apache error logs:

[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] , referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] GLib-ERROR
**:
gmem.c:135: failed to allocate 4294967296 bytes, referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] aborting...,
referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk

The status page displays OK, just without the graph ?

Try running this command:

rrdtool graph test.png \
DEF:p1=/var/lib/xymon/rrd/bandobras/disk,root.rrd:pct:AVERAGE
LINE2:p1#ff00ff:Root -u 100 -l 0
list Henrik Størner · Thu, 06 Sep 2012 10:44:58 +0200 ·
Hit "<send>" a bit too early - webmail joys:
quoted from Henrik Størner

On Thu, 06 Sep 2012 10:41:46 +0200, <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, 5 Sep 2012 16:23:28 -0500, Larry Barber <user-6ef9c2864140@xymon.invalid>
wrote:
I have a new Xymon installation on 64 bit RHEL5.8. I cannot get the rrd
graphs to display, I am seeing the following in my Apache error logs:

[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] , referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] GLib-ERROR
**:
gmem.c:135: failed to allocate 4294967296 bytes, referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] aborting...,
referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
The status page displays OK, just without the graph ?

Try running this command:

rrdtool graph test.png \
DEF:p1=/var/lib/xymon/rrd/bandobras/disk,root.rrd:pct:AVERAGE
LINE2:p1#ff00ff:Root -u 100 -l 0
All on one line.

That should generate a graph for the root filesystem only. If you have
more filesystems - disk,*.rrd files - for this host, you can add an extra
"DEF:..." for each, just varying the "p1" to "p2", "p3" etc - and extra
"LINE:..." for each also.

If that fails, then you have a problem with rrdtool or the rrd-file is
corrupt.

If it works, then we have a problem with Xymon.


Regards,
Henrik
list Larry Barber · Thu, 6 Sep 2012 08:15:11 -0500 ·
Yes the status pages display OK. The test command generated an rrd graph.
I've also discovered that most/all of the scripted stuff doesn't work, for
instance when I try to disable a test, the disable screen pops up fine, and
I can select everything correctly, but nothing happens when I hit "Apply".

Thanks,
Larry Barber
quoted from Henrik Størner

On Thu, Sep 6, 2012 at 3:44 AM, <user-ce4a2c883f75@xymon.invalid> wrote:
Hit "<send>" a bit too early - webmail joys:

On Thu, 06 Sep 2012 10:41:46 +0200, <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, 5 Sep 2012 16:23:28 -0500, Larry Barber <user-6ef9c2864140@xymon.invalid>
wrote:
I have a new Xymon installation on 64 bit RHEL5.8. I cannot get the rrd
graphs to display, I am seeing the following in my Apache error logs:

[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] , referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] GLib-ERROR
**:
gmem.c:135: failed to allocate 4294967296 bytes, referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
[Wed Sep 05 16:19:52 2012] [error] [client 199.134.170.66] aborting...,
referer:
https://xymonback.edc.ds1.usda.gov/xymon-cgi/svcstatus.sh?HOST=bandobras&SERVICE=disk
The status page displays OK, just without the graph ?

Try running this command:

rrdtool graph test.png \
DEF:p1=/var/lib/xymon/rrd/bandobras/disk,root.rrd:pct:AVERAGE
LINE2:p1#ff00ff:Root -u 100 -l 0
All on one line.

That should generate a graph for the root filesystem only. If you have
more filesystems - disk,*.rrd files - for this host, you can add an extra
"DEF:..." for each, just varying the "p1" to "p2", "p3" etc - and extra
"LINE:..." for each also.

If that fails, then you have a problem with rrdtool or the rrd-file is
corrupt.

If it works, then we have a problem with Xymon.


Regards,
Henrik