You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shinken doesn't support Python3 yet, making it a bit tricky to install on newer operating systems like Rocky 8. However, I've put together a step-by-step guide for installation that I've personally tested and confirmed to work.
Shinken does not work because of Python's standard, which requires you to specify a version (Python2 or Python3, making this an annoying choice! But we don't want to deal with that here). So, we need to set Python alternative:
alternatives --set python /usr/bin/python2
You should have something like that:
alternatives --list |grep python
python manual /usr/bin/python2
python3 auto /usr/bin/python3.6
Install PycURL with a Specific Version Required by Shinken:
Now it should be workind without errors (working for me). You need to include your config file to make it work.
The text was updated successfully, but these errors were encountered:
garadar
changed the title
[procedure] How to install shinken on Rocky/centos/redhat > 7salt-c
[procedure] How to install shinken on Rocky/centos/redhat > 7 + gift for saltstack integration ❤️
Apr 5, 2024
Introduction
Shinken doesn't support Python3 yet, making it a bit tricky to install on newer operating systems like Rocky 8. However, I've put together a step-by-step guide for installation that I've personally tested and confirmed to work.
I have integrated all this procedure on salt repository available here (with thruk integration):
https://github.com/garadar/shinken_salt
My architecture:
Arbiter and thruk on dedicated VM Rocky8 for monitoring. No other service on it
Poller/broker on a server with other thing runnint on it
Procedure
Create user and group :
Install rpm dependencies for shinken:
Shinken does not work because of Python's standard, which requires you to specify a version (Python2 or Python3, making this an annoying choice! But we don't want to deal with that here). So, we need to set Python alternative:
You should have something like that:
Install PycURL with a Specific Version Required by Shinken:
Install shinken with pip:
Initialize Shinken and Install All Modules:
Reload systemd to Create Generic Service:
You should see a new service created by systemd-sysv-generator:
Now it should be workind without errors (working for me). You need to include your config file to make it work.
The text was updated successfully, but these errors were encountered: