zhenghanyin

Results 7 comments of zhenghanyin

### promgen.rule.yml ``` groups: - name: hostStatsAlert rules: - alert: hostCpuUsageAlert expr: node_load1 > 0.01 for: 1m labels: severity: page annotations: summary: "Instance {{ $labels.instance }} CPU usgae high" description:...

![image](https://user-images.githubusercontent.com/44822985/78009197-3c666c00-7373-11ea-8933-a6bc8daa9f0e.png)

Sorry,the full contents of the prometheus.yml file are as follows. ``` # my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every...

I created promgen.rule.yml as root and run Prometheus and Promgen as root too.I would like to ask you if Prometheus and Promgen must be run by non-root users?

okay,but the question I raised at the beginning still exists.In addition,another problem I found was that when I registerd a new rule, I clicked the test button and reported an...

![image](https://user-images.githubusercontent.com/44822985/78106390-e272ae80-7425-11ea-9d29-066f4989812a.png)

![image](https://user-images.githubusercontent.com/44822985/78118472-a3e6ef00-7439-11ea-83bd-b4b0cb131471.png) I changed the URL as shown in illustration,but the problem still hasn't been solved.