Giter Site home page Giter Site logo

ilo-exporter's People

Contributors

marklester avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ilo-exporter's Issues

Help plz

Hello, Do you have more detailed documentation docker command?
grafana dashboards help share?

add ip ranges

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

Need help setting this up.

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.

NPE when trying to use it

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.