Hello,
I am testing vfense in my ubuntu environment. After setting up the vfense server I installed a client onto an ubuntu machine and it dit not show up in the vfense server. After analyzing the log file of the client it showed that the network was unreachable. After searching google I found out that the client missed a proxy entry. After adding the proxy entry into the /opt/TopPatch/agent/src/core.py
def internet_on(self):
try:
proxy = urllib2.ProxyHandler({'http': '156.5.6.7:8080'})
opener = urllib2.build_opener(proxy)
urllib2.install_opener(opener)
urllib2.urlopen('
http://www.google.com', timeout=3)
logger.debug('Internet connection detected.')
return True
except Exception as e:
logger.debug('No internet connection detected.')
logger.exception(e)
return False
After this the client was working and showed up in the vFense server.