I pulled from the subversion trunk last night and got to looking at the
gmetad-python bits out of curiosity. I tried running the gmetad.py script
using:

python ./gmetad.py

after copying the bits to a separate directory but i get the following
when it attempts to start up:

Traceback (most recent call last):
  File "./gmetad.py", line 43, in ?
    from gmetad_gmondReader import GmondReader
  File 
"/usr/local/drive_sata/src/ganglia-svn-05212008/gmetad-python/test/gmetad_gmondReader.py",
 line 40, in ?
    from gmetad_config import GmetadConfig, getConfig
  File 
"/usr/local/drive_sata/src/ganglia-svn-05212008/gmetad-python/test/gmetad_config.py",
 line 46, in ?
    class GmetadConfig:
  File 
"/usr/local/drive_sata/src/ganglia-svn-05212008/gmetad-python/test/gmetad_config.py",
 line 69, in GmetadConfig
    _cfgDefaults = {
NameError: name 'RRD_ROOTDIR' is not defined

now in the gmetad_config.py script I see the following:

    _cfgDefaults = {
            DEBUG_LEVEL : 2,
            LOGFILE : None,
            PIDFILE : None,
            DATA_SOURCE : [],
            SCALABLE : True,
            GRIDNAME : 'unspecified',
            AUTHORITY : 'http://%s/ganglia/' % getfqdn(),
            TRUSTED_HOSTS : [],
            ALL_TRUSTED : False,
            SETUID : True,
            SETUID_USERNAME : 'nobody',
            XML_PORT : 8651,
            INTERACTIVE_PORT : 8652,
            SERVER_THREADS : 4,
            RRD_ROOTDIR : '/var/lib/ganglia/rrds',
            PLUGINS_DIR : '/usr/lib/ganglia/gmetad/plugins'
    }





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to