探索grafana
因为zabbix的监控图形不够美观,功能也不够强大, 那么就用到了grafana
填写zabbix插件配置:
如下需要根据主机群组和主机名来完成图形:
grafana报警如下:
解决如下:
更改标准设置, 默认值为1 ,改成5看看
[root@nginx local]# vim /usr/local/zabbix/etc/zabbix_server.conf
StartDiscoverers=5
[root@nginx local]# service zabbix_server restart
Restarting zabbix_server (via systemctl): [ OK ]
现在再看grafana就正常啦
启动和开机启动
[root@nginx ~]# sudo service grafana-server start
Starting grafana-server (via systemctl): [ OK ]
[root@nginx ~]# sudo systemctl enable grafana-server.service
[root@nginx ~]#