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:
@@ -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"
|
Reference in New Issue
Block a user