Is there someone with practise howto use Solaris_exporter with prometheus_client?
Hello,
I created a x86 Solaris 11 SRU 42 LAB and tried to run the installation Instruction from step by step in a internet-connected x86 Solaris 11.4 SRU 42 LAB-eviroment.
~$ uname -aSunOS Solaris11.4pro 5.11 11.4.42.111.0 i86pc i386 i86pc virtualbox~$
But the result of running the last step './solaris_exporter_smf.sh install' was not possitiv!
~/solaris_exporter-2022May04$ pip show prometheus_clientName: prometheus-clientVersion: 0.17.1Summary: Python client for the Prometheus monitoring system.
Home-page: Author: Brian BrazilAuthor-email: License: Apache Software License 2.0Location: /export/home/foemgqv/.local/lib/python3.7/site-packagesRequires:Required-by:
~/solaris_exporter-2022May04$ sudo ./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 removedInstalling solaris_exporter.py as SMF prometheus/solaris_exporter i[ 2024 Jun 28 12:43:43 Stopping because all processes in service exited. ][ 2024 Jun 28 12:43:43 Executing start method ("/usr/bin/python2.7 /export/home/foemgqv/solaris_exporter-2022May04/solaris_exporter.py"). ][ 2024 Jun 28 12:43:43 Environment variable "LC_ALL=" already set. ]Traceback (most recent