Code Monkey home page Code Monkey logo

prometheus-ucs-exporter's People

Contributors

bilbof avatar drewstinnett avatar uberspot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

xt3kn1x mheler

prometheus-ucs-exporter's Issues

UCS System returns "not-applicable" for kernel_mem_total and kernel_mem_free stats

Issue: UCS running version 4.2(1m)B returns "not-applicable" for kernel_mem_total and kernel_mem_free stats which results in prometheus throwing errors during polling.

Work around: comment out the following statements in the swsystem.py file.

kernel_mem_total.labels(self.domain, switch).set(int(item.kernel_mem_total))
kernel_mem_free.labels(self.domain, switch).set(int(item.kernel_mem_free))

Example Output

/repos/prometheus-ucs-exporter/scripts$ ./explore.py query-classid swSystemStats

Managed Object                  :       SwSystemStats
--------------
class_id                        :SwSystemStats
child_action                    :None
correctable_parity_error        :not-applicable
correctable_parity_error_avg    :not-applicable
correctable_parity_error_max    :not-applicable
correctable_parity_error_min    :not-applicable
dn                              :sys/switch-B/sysstats
intervals                       :58982460
kernel_mem_free                 :not-applicable
kernel_mem_free_avg             :not-applicable
kernel_mem_free_max             :not-applicable
kernel_mem_free_min             :not-applicable
kernel_mem_total                :not-applicable
kernel_mem_total_avg            :not-applicable
kernel_mem_total_max            :not-applicable
kernel_mem_total_min            :not-applicable
load                            :2.360000
load_avg                        :2.413333
load_max                        :2.620000
load_min                        :2.130000
mem_available                   :52264
mem_available_avg               :52278
mem_available_max               :52302
mem_available_min               :52264
mem_cached                      :11591
mem_cached_avg                  :11576
mem_cached_max                  :11591
mem_cached_min                  :11563
rn                              :sysstats
sacl                            :None
status                          :None
suspect                         :no
thresholded                     :
time_collected                  :2022-09-24T10:13:48.368
update                          :131081



Managed Object                  :       SwSystemStats
--------------
class_id                        :SwSystemStats
child_action                    :None
correctable_parity_error        :not-applicable
correctable_parity_error_avg    :not-applicable
correctable_parity_error_max    :not-applicable
correctable_parity_error_min    :not-applicable
dn                              :sys/switch-A/sysstats
intervals                       :58982460
kernel_mem_free                 :not-applicable
kernel_mem_free_avg             :not-applicable
kernel_mem_free_max             :not-applicable
kernel_mem_free_min             :not-applicable
kernel_mem_total                :not-applicable
kernel_mem_total_avg            :not-applicable
kernel_mem_total_max            :not-applicable
kernel_mem_total_min            :not-applicable
load                            :3.820000
load_avg                        :2.701667
load_max                        :3.820000
load_min                        :2.090000
mem_available                   :52062
mem_available_avg               :52050
mem_available_max               :52062
mem_available_min               :52036
mem_cached                      :11060
mem_cached_avg                  :11068
mem_cached_max                  :11083
mem_cached_min                  :11060
rn                              :sysstats
sacl                            :None
status                          :None
suspect                         :no
thresholded                     :
time_collected                  :2022-09-24T10:14:32.366
update                          :131078

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.