文件操作 - sample.yaml
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/conf/provisioning/notifiers/sample.yaml
编辑文件内容
# # config file version apiVersion: 1 # notifiers: # - name: default-slack-temp # type: slack # org_name: Main Org. # is_default: true # uid: notifier1 # settings: # recipient: "XXX" # token: "xoxb" # uploadImage: true # url: https://slack.com # - name: default-email # type: email # org_id: 1 # uid: notifier2 # is_default: false # settings: # addresses: example11111@example.com # delete_notifiers: # - name: default-slack-temp # org_name: Main Org. # uid: notifier1
修改文件时间
将文件时间修改为当前时间的前一年
删除文件