Update main.py to remove unused schedule import, enhance logging, and ensure server collector starts correctly; update telegraf.conf for MongoDB connection details and add authentication; include beautifulsoup4 in requirements.

This commit is contained in:
2025-01-28 22:25:52 +01:00
parent 95babcde15
commit d8fc99fe68
3 changed files with 11 additions and 13 deletions

View File

@@ -25,9 +25,9 @@
data_format = "json"
[[outputs.mongodb]]
dsn = "mongodb://192.168.68.204:27017"
dsn = "mongodb://192.168.68.120:27017"
database = "peertube"
granularity = "seconds"
#authentication = "SCRAM"
#username = "root"
#password = "example"
authentication = "SCRAM"
username = "stats_user"
password = "@z^VFhN7q%vzit"