Comments (4)
Hello,
This issue is driven by some changes is OS.
Max Solaris version on my hosts is 11.4.4, it works with Solaris_exporter v2021Mar01.
But this issue is the second, so I will install new test LDOM with 11.4.41 and try to improve code.
I hope that the fault is not in psutil library which I use, but which author has no time or HW to code for Solaris.
from solaris_exporter.
I investigated.
The old version of psutil fails due to changes in command output:
New variant:
# swap -l
swapfile dev swaplo blocks free encrypted
/dev/zvol/dsk/bercutroot/swap 248,4 0 8388608 8388608 yes
Old variant:
$ swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/swapdump/swap 259,1 16 136314864 136314864
The latest version of psutil library 5.9.0 is adapted to this behavior, but the latest version of psutil not supports Python 2.7.
That is why I copied psutil code to local function psutil_local_swap_memory and adapted it.
Also I added support for Python3.7.
Please test new version v2022Feb05, I placed it into separate branch forPython3.
from solaris_exporter.
Just tested the python2.7 version - all working well
i will move on to test the python3.7 version
from solaris_exporter.
Tested and working on SPARC Solaris 11.4 (11.4.36.101) using python 3.7.10
Many thanks
from solaris_exporter.
Related Issues (10)
- Ask about your GCC installation HOT 3
- can't solaris_exporter on solars11.3.36 HOT 3
- unable to setup solaris_exporter HOT 4
- Metrics solaris_exporter_per_zone_usage_total can't collect HOT 10
- pkgadd with proxy authentification... HOT 1
- On solaris 10 username/groupname max length are lower than the size of the user created for smf install ! HOT 2
- Issue with running solaris exporter HOT 2
- openindiana support HOT 1
- Unfortunately does not work in Solaris 11.4.35 HOT 4
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 solaris_exporter.