Comments (2)
Hello,
I have the same issue here ...
I have try another "netapp collector" , wihtout success ... can you test it plz ?
https://github.com/SpringerPE/diamond-ontapclustercollector
I'm using diamond version 4.0.181
Thank you in advance.
from diamond.
I can see that this still remains a problem (and only for this specific collector):
netapp/netapp.py: def collect(self, device, ip, user, password):
netapp/netappDisk.py: def collect(self, device, ip, user, password):
netapp/netapp_inode.py: def collect(self, device, ip, user, password):
I don't know much about the history of diamond or how this collector remains in the current state that it's in (and I unfortunately I don't have the cycles to study the git log), but I think it's reasonable to assert that this collector wasn't updated whenever the collect
api changed.
If you'd still like to see this work, device, ip, user, password
can be removed from the method signature and where they are referenced in the method's implementation, replace the ref with self.config.get(device, etc
) instead, as these values are expected to exist as part of the config.
Even with the above suggestion though, the code needs a lot of TLC, for instance, on every invocation of collect
, there's a try - except
block where the code attempts to import some netapp library - this is something that should be done when the collector is initally loaded, not on every collection which could be as much as every second.
Anyhow, @josegonzalez , can this issue be closed please? (If there is still interest in this plugin, please feel free to contribute by opening a new issue/pr.)
from diamond.
Related Issues (20)
- delete = False in [[FilesCollector]] config file is delete = 'False', so it is True HOT 1
- VM metric collector config question HOT 1
- JolokiaCollector is not working HOT 1
- NetworkCollector sends absurd data to grafana HOT 1
- ERROR: diamond requires Python '==2.7' but the running Python is 2.7.16 HOT 1
- MongoDBCollector ignores metrics_whitelist? HOT 2
- ApcupsdCollector also working with apcaccess binary instead of network
- Insecure TLS in RabbitMQ Collector HOT 1
- mdstat may fail on some _parse_array_member_state situations HOT 2
- Multi-server support for NginxCollector HOT 1
- Problem with GlusterFS HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- MongoDBCollector reduce sending data HOT 1
- diamond fails to run at boot with "Name or service not known" HOT 2
- Spike after missing data points HOT 1
- Error: [MainThread] Took too long to run! Killed! HOT 1
- Unable lo load second handler metrices
- Syntax error HOT 2
- collect_without_dimension not in latest release HOT 1
- "global name 'self' is not defined" in diamond/utils/scheduler.py HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diamond.