rrd graph creation
list Larry Barber
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
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
list Henrik Størner
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
list Larry Barber
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
▸
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=diskThe 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 0All 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