[Xymon] rrd graph creation

henrik at hswn.dk henrik at hswn.dk
Thu Sep 6 10:44:58 CEST 2012


Hit "<send>" a bit too early - webmail joys:

On Thu, 06 Sep 2012 10:41:46 +0200, <henrik at hswn.dk> wrote:
> On Wed, 5 Sep 2012 16:23:28 -0500, Larry Barber <lebarber at gmail.com>
> 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




More information about the Xymon mailing list