[Xymon] Alternative DB to RRD
henrik at hswn.dk
henrik at hswn.dk
Thu Mar 10 12:33:00 CET 2011
On Thu, 10 Mar 2011 10:49:16 +0100, Gautier Begin <gbegin at csc.com> wrote:
> Henrik,
>
> I just tried but I got this error in the rrd-data.log:
> 2011-03-10 10:31:44 External processor
> '/project/hobbit0/bin/SQL_feed.pl' started
> 2011-03-10 10:31:44 exec() failed for child command
> /project/hobbit0/bin/SQL_feed.pl: Bad address
"exec failed" means it couldn't start your SQL_feed.pl utility.
Check that it has execute-permissions set. The "Bad address" part
of the error message is the error reported by the operating
system as result of the exec() function call.
I tried this on the www.xymon.com demo-site using this miniature
shell script:
#!/bin/sh
exec /bin/cat >>/var/tmp/rrdfeed.txt
and it seems to work ok. Here's some sample data:
la 1299755931:63 renoir.hswn.dk la
la 1299755931:145 renoir.hswn.dk procs
la 1299755931:0 renoir.hswn.dk users
la 1299755931:0 renoir.hswn.dk clock
pct:used 1299755931:26:2329324 renoir.hswn.dk disk ,root
pct:used 1299755931:1:356 renoir.hswn.dk disk ,dev
pct:used 1299755931:0:0 renoir.hswn.dk disk ,dev,shm
pct:used 1299755931:1:340 renoir.hswn.dk disk ,var,run
pct:used 1299755931:0:0 renoir.hswn.dk disk ,var,lock
pct:used 1299755931:0:0 renoir.hswn.dk disk ,lib,init,rw
pct:used 1299755931:3:985776 renoir.hswn.dk disk ,var
pct:used 1299755931:5:45575540 renoir.hswn.dk disk ,var,lib,mythtv
pct:used 1299755931:60:1160476788 renoir.hswn.dk disk
,var,lib,mythtv,videos
realmempct 1299755931:36 renoir.hswn.dk memory real
realmempct 1299755931:1 renoir.hswn.dk memory swap
realmempct 1299755931:14 renoir.hswn.dk memory actual
runtime 1299755941:0.05 jorn.hswn.dk xymongen
Regards,
Henrik
More information about the Xymon
mailing list