Bug in rrd/do_disk.c while using /GROUP option of bb command
Francesco Duranti
fduranti at q8.it
Sat Sep 30 17:15:44 CEST 2006
Hi Henrik,
I got some problems with RRD creation using the "/group:groupname"
directive.
The do_disk.c will skip every line that don't contain a "/" and the
string " red " or " yellow ".
This will work if the test are in error but it will not work if the test
are not red or yellow.
The first line of the message sent with the group directive is something
like
status+60/GROUP:netappadmin VITROMFS65.disk green Sat Sep 30 16:59:17
2006
And this will be carried on generating a rrd file with a strange name.
This can be avoided skipping the first like changing line 54 of
hobbitd/rrd/do_disk.c from
curline = msg;
To
curline = strchr(msg,'\n');
if (curline) curline++;
Just to skip the first line.
Francesco
More information about the Xymon
mailing list