Comments (4)
Hello,
Use the latest README.
pip2.7 install prometheus_client==0.7.1
# Note than current versions of prometheus_client (0.14.1 +) for some reasons not works with Python 2.7,
# that is why I fixed its version to 0.7.1, it is tested.
from solaris_exporter.
Hello, Use the latest README.
pip2.7 install prometheus_client==0.7.1 # Note than current versions of prometheus_client (0.14.1 +) for some reasons not works with Python 2.7, # that is why I fixed its version to 0.7.1, it is tested.
Thank you so much for the prompt respond
let me check
from solaris_exporter.
Hello, Use the latest README.
pip2.7 install prometheus_client==0.7.1 # Note than current versions of prometheus_client (0.14.1 +) for some reasons not works with Python 2.7, # that is why I fixed its version to 0.7.1, it is tested.Thank you so much for the prompt respond let me check
Thank you its working now.
++++++++++++++++++++++++++++++++++
but when I tried to set it up as a service I get the following messages and do not see the output on web like I gout it earlier
> root@solaris-test:/opt/solaris_exporter# ./solaris_exporter_smf.sh install
> ./solaris_exporter_smf.sh Script for adding solaris_exporter.py to Solaris SMF as prometheus/solaris_exporter
> r Removing "Prometheus::solaris:cmd:::/usr/sbin/fmadm:uid=0" from /etc/security/exec_attr
> r Removing "Prometheus::solaris:cmd:::/usr/sbin/nvmeadm:uid=0" from /etc/security/exec_attr
> r Removing "Prometheus::solaris:cmd:::/usr/sbin/raidctl:uid=0" from /etc/security/exec_attr
> r Removing "Prometheus::solaris:cmd:::/usr/sbin/zlogin:uid=0" from /etc/security/exec_attr
> r Removing "Prometheus:::User could run some monitoring commands" from /etc/security/prof_attr
> r Current profiles of monitor user is:
> SMF prometheus/solaris_exporter removed
> Installing solaris_exporter.py as SMF prometheus/solaris_exporter
> i
> [ 2022 Sep 4 02:24:04 svc.startd could not set context for method: ]
> chdir: No such file or directory
> [ 2022 Sep 4 02:24:04 Stopping because all processes in service exited. ]
> [ 2022 Sep 4 02:24:04 Executing start method ("/usr/bin/python2.7 /opt/solaris_exporter/solaris_exporter.py"). ]
> [ 2022 Sep 4 02:24:04 Environment variable "LC_ALL=" already set. ]
> [ 2022 Sep 4 02:24:04 svc.startd could not set context for method: ]
> chdir: No such file or directory
> online 2:24:04 svc:/prometheus/solaris_exporter:default
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter#
> root@solaris-test:/opt/solaris_exporter# svcs solaris_exporter
> STATE STIME FMRI
> online 2:24:48 svc:/prometheus/solaris_exporter:default
Kind regards,
from solaris_exporter.
after creating the /exporter/home/monitor directory and setting its permission to user monitor
the service configured and it is working.
BTW will this same setup work in solaris 11.3.35.6.0 (0.5.11)
from solaris_exporter.
Related Issues (10)
- Ask about your GCC installation HOT 3
- can't solaris_exporter on solars11.3.36 HOT 3
- 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
- Issue running solaris_exporter 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.