Hi Raffy -
I gave that a shot and it didn't seem to have an effect. Same error:
2012-03-15 15:41:26,112 ERROR [4f626206051e57890] module:56 - [Errno 2] No such file or directory: u'/opt/splunk/etc/apps/afterglow/appserver/modules/AfterGlow/../../static/afterglow1331847685.2.map'
Traceback (most recent call last):
File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/module.py", line 54, in renderModule
pageContent = instance.generateResults(**args)
File "/opt/splunk/etc/apps/afterglow/appserver/modules/AfterGlow/AfterGlow.py", line 87, in generateResults
fileDesc = open(os.path.join(TARGETDIR,mapName),'r')
IOError: [Errno 2] No such file or directory: u'/opt/splunk/etc/apps/afterglow/appserver/modules/AfterGlow/../../static/afterglow1331847685.2.map'
My afterglow.py config:
AFTERGLOWLOCATION = "/opt/splunk/afterglow/src/perl/graph"
AFTERGLOWPARAMETERS = "-c /opt/splunk/afterglow/src/perl/graph/sample.properties -e 1.2"
if maxNumberOfFields==2:
localCommand += " -t"
try:
output = os.popen(localCommand + " | /usr/bin/neato -Tgif -o " + os.path.join(TARGETDIR,imageName) + " -Tcmapx -o " + os.path.join(TARGETDIR, mapName),"w")
except ImportError:
raise Exception('AfterGlow.generateResults - AfterGlow could not be executed!')
output.write(outStr)
output.close()
root@ubuntu-server:/opt/splunk/etc/apps/afterglow/appserver/modules/AfterGlow# which neato
/usr/bin/neato
root@ubuntu-server:/opt/splunk/etc/apps/afterglow/appserver/modules/AfterGlow#
... View more