Nagiosgraph:设置单次检查的对数标度

问题描述 投票:0回答:1

我需要将y轴设置为对数以进行单个服务检查。

我已经读过这可以做到:

在配置文件中配置/usr/local/nagiosgraph/etc/nagiosgraph.conf对于所有图形:rrdopts=--logarithmic对于某些服务:logarithmic=service1,service2

但是我不知道提供正确设置的语法,例如service1

这是包含空格的nagios服务描述吗?

然后如何使CFG生效?

谢谢

configuration nagios logarithm
1个回答
0
投票

我这样做是:

/usr/local/nagiosgraph/etc/nagiosgraph.conf更新中:

logarithmic="BME680 Enviromental Monitoring" 
rrdoptsfile=/usr/local/nagiosgraph/etc/rrdopts.conf 

/usr/local/nagiosgraph/etc/rrdopts.conf行:

BME680 Enviromental Monitoring=-o 

检查全部确定:

sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 

重新启动Nagios / Apache:

sudo service nagios restart 
© www.soinside.com 2019 - 2024. All rights reserved.