marshallwace / prometheus-ucs-exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for Cisco Unified Computing System (UCS) Manager
License: GNU Lesser General Public License v2.1
Prometheus exporter for Cisco Unified Computing System (UCS) Manager
License: GNU Lesser General Public License v2.1
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
Is it possible to support polling of multiple UCS domains using a single prometheus instance or is it better to dedicate a prmetheus container to each UCS domain?
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.