I was just wondering if the number of host allowed in gmetad's
data_source option in the config file was intentional or not.  I think I
tracked it down to the dotconf parsing library functions, in particular
CFG_VALUES is defined to 16 in lib/dotconf.h.  Therefore, depending on
whether you specify a polling interval or not, you are limited to 15 or
16 hosts for that data source.

Also, there is a bug associated with this that basically adds all
parameters past the 16th value to the 16th one, so if you try to add
more options they are all concatenated together and become part of that
last value.

So, if I try to add more than the allowed number of hosts to the data
source, I get a warning like this:

gmetad: Warning: we failed to resolve data source name
rcas6015.rcf.bnl.gov rcas6016.rcf.bnl.gov rcas6017.rcf.bnl.gov

~Jason


-- 
/------------------------------------------------------------------\
|  Jason A. Smith                          Email:  [EMAIL PROTECTED] |
|  Atlas Computing Facility, Bldg. 510M    Phone:  (631)344-4226   |
|  Brookhaven National Lab, P.O. Box 5000  Fax:    (631)344-7616   |
|  Upton, NY 11973-5000                                            |
\------------------------------------------------------------------/


Reply via email to