zamentur / yunomonitor Goto Github PK
View Code? Open in Web Editor NEWEasy monitoring for YunoHost
License: GNU Affero General Public License v3.0
Easy monitoring for YunoHost
License: GNU Affero General Public License v3.0
I installed yunomonitor inside a YNH server running 11.1.1.2, and got nothing really happening. Investigating the timer service I checked to run it manually and got:
root@ynh:/opt/yunomonitor# /opt/yunomonitor/yunomonitor.py -c /opt/yunomonitor/conf/yunomonitor.yml
/opt/yunomonitor/yunomonitor.py:321: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(local_config_file)
INFO:root:CHECKING EACH SERVERS...
INFO:root:[localhost] CONFIGURING...
/opt/yunomonitor/yunomonitor.py:747: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
app_settings = yaml.load(settings_file)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/opt/yunomonitor/yunomonitor.py", line 448, in run
self.ynh_maps[self.server] = self._load_monitoring_config()
File "/opt/yunomonitor/yunomonitor.py", line 488, in _load_monitoring_config
config = generate_monitoring_config()
File "/opt/yunomonitor/yunomonitor.py", line 778, in generate_monitoring_config
"label": app_settings['label'],
KeyError: 'label'
INFO:root:FILTERING...
INFO:root:MAILING...
Hope this helps,
Bonjour,
j'ai ouvert une issue sur la page Github du package Yunohost pour yunomonitor mais elle m'a l'air d'avoir plus sa place ici puisque liée directement à yunomonitor et non son package yunohost.
Voici l'issue :
YunoHost-Apps/yunomonitor_ynh#3
As seen in: #2
/opt/yunomonitor/yunomonitor.py -c /opt/yunomonitor/conf/yunomonitor.yml
INFO:root:CHECKING EACH SERVERS...
INFO:root:[localhost] CONFIGURING...
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/opt/yunomonitor/yunomonitor.py", line 448, in run
self.ynh_maps[self.server] = self._load_monitoring_config()
File "/opt/yunomonitor/yunomonitor.py", line 488, in _load_monitoring_config
config = generate_monitoring_config()
File "/opt/yunomonitor/yunomonitor.py", line 778, in generate_monitoring_config
"label": app_settings['label'],
KeyError: 'label'
INFO:root:FILTERING...
INFO:root:MAILING...
Dunno why an app wouldn't have a label, though :-/
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.