marklester / ilo-exporter Goto Github PK
View Code? Open in Web Editor NEWAn HP ILO Prometheus Exporter
An HP ILO Prometheus Exporter
Hello
Can you share your Grafana dashboard for ILO metrics?
Hello, Do you have more detailed documentation docker command?
grafana dashboards help share?
Hello guys, i do not quite understand how this works, i will try this out on docker running Portainer to hopefully make things a bit easier but i dont get where to start or how to implement this solution.
When I tried I get an NPE
Refresh rate set to: PT30S monitoring ilos: [192.168.150.63] using credentials: Credentials [username=root, password=********] Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051) at com.google.common.cache.LocalCache.get(LocalCache.java:3953) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3976) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4960) at ilo.IloCollector.collect(IloCollector.java:66) at io.prometheus.client.CollectorRegistry.collectorNames(CollectorRegistry.java:100) at io.prometheus.client.CollectorRegistry.register(CollectorRegistry.java:50) at io.prometheus.client.Collector.register(Collector.java:139) at io.prometheus.client.Collector.register(Collector.java:132) at ilo.IloExporter.<clinit>(IloExporter.java:8) Caused by: java.lang.NullPointerException at ilo.StorageClient.getArrays(StorageClient.java:33) at ilo.StorageClient.getStorageNode(StorageClient.java:46) at ilo.IloHttpClient.getStorageNode(IloHttpClient.java:133) at ilo.IloHttpClient.getSystemNode(IloHttpClient.java:116) at ilo.IloHttpClient.getChassisNode(IloHttpClient.java:76) at ilo.IloCollector$1.load(IloCollector.java:47) at ilo.IloCollector$1.load(IloCollector.java:43) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ... 9 more
so it's supposedly at this line:
for (JsonNode arrayMember : arrayControllers.get("links").get("Member")) {
(I guess there is no "links" in my situation and therefore the .get("Member") throws the NPE.
Got a good workaround for this ?
Thanks for your help
for which ip's hit make it so a range can be supplied
192.168.2.2-4
turns into
192.168.2.2
192.168.2.3
192.168.2.4
so I don't have to have another smartctl exporter
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.