File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
.chezmoiscripts/universal Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ if command -v netdata-claim.sh > /dev/null; then
7474 logg info " Copying ${XDG_CONFIG_HOME:-$HOME/.config}/netdata/health.d/ to $NETDATA_ETC"
7575 sudo cp -rf " ${XDG_CONFIG_HOME:-$HOME/.config}/netdata/health.d/" " $NETDATA_ETC"
7676
77+ logg info " Adding SFTPGo metrics collection to $NETDATA_ETC/go.d/prometheus.conf"
78+ sudo sed -i.bak " /jobs:/a\ - name: sftpgo_local \n url: 'http://127.0.0.1:57500/metrics'" " $NETDATA_ETC/go.d/prometheus.conf"
79+
7780 # Backup current health alarm configuration and apply new one
7881 if [ -d /usr/local/lib/netdata ]; then
7982 NETDATA_LIB= '/usr/local/lib/netdata'
Original file line number Diff line number Diff line change 361361 "hide_support_link" : true
362362 },
363363 "telemetry" : {
364- "bind_port" : 0 ,
364+ "bind_port" : 57500 ,
365365 "bind_address" : " 127.0.0.1" ,
366366 "enable_profiler" : false ,
367367 "auth_user_file" : " " ,
You can’t perform that action at this time.
0 commit comments