hwakabh / storage-metrics Goto Github PK
View Code? Open in Web Editor NEWFork project from network-metrics
Fork project from network-metrics
Make it enable/callable to use as common_functions.
in isilon_collector.py
c_results = {'clustername': isilon_info['name'],
'timestamp': datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")}
in isilon_collector.py
except Exception:
print('ISILON_LOGGER>>> Exception is throwed by common function. '
'Error when getting information from Isilon ...')
in common_functions.py
# URL validation
if 'https' in url:
print('FOR DEBUG>>> Using HTTPS. GET from : ' + url)
else:
print('FOR DEBUG>>> URL seems to be wrong with : ' + url)
raise Exception
the case if some error occurred, each collector send to rabbitmq messages that it failed to operate.
currently port-mapping on remote docker host is disabled.
enable it to establish secure connection with ports defined in param.py.
Check if the container has already run when executing launch_container method in common functions.
In xtremio_collector.py
# Currently only considering single cluster
clustername = ret['clusters'][0]['name']
print('ClusterName : ' + clustername)
in isilon_collector.py
print('ISILON_LOGGER>>> Target Isilon : ' + str_ipaddress)
print('ISILON_LOGGER>>> General Information : ')
isilon_info = get_isilon_information(str_ipaddress, str_username, str_password)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.