English 中文(简体)
为什么Cacti显示一幅空洞的图表,即便是编造了rd?
原标题:Why is Cacti showing an empty graph, even though the rrd file is created?

I have developed my own SNMP service, and i want to plot a graph of an OID provided. So, i have created a graph in Cacti. -) It is showing device up. -) It is creating rrd file. (RRDTool says OK). -) Showing the graph, but it s empty.

但是,当我检查时,可以说,

rrdtool fetch <rrd file> AVERAGE 

它显示了所有数值的<代码>nan。 受监测的因特网信息数据库有价值47,i 确定了0.1和100。

我正在用呼吸器具体液:

。 http://www.rpath.org/ui/#/appliances?id=http://www.rpath.org/api/products/cacti-appliance

尽管如此,我还是能够显示图表的价值。

问题在哪里? 谁能告诉我?

问题回答

First of all, use Cacti s "Rebuild Poller Cache" function under the Utilities menu. If that didn t work ,check if the RRD file is actually updating with new data. To do this use the command:

rrdtool last [filename.rrd] This will output the last time (in unix timestamp) that a new value has been inserted into the RRA file which you can compare to the current time that date +%s will output.

If it s not updating with data then you should change the cacti log level to DEBUG via the settings page on Cacti s web UI and look for appropriate messages. If the poller couldn t get the data then it s usually an issue relating to connectiviy/SNMP. You can further check issues as such by manually polling the specific OID on that host:

snmpwalk -c[SNMP COMMUNITY] -v2c [HOSTNAME OR IP ADDRESS] 1.3.6.1.2.1

You can use the above command and OID (1.3.6.1.2.1) just to see if you re getting a reply. If that worked then you should change the command from snmpwalk to snmpget and the OID to the actual OID you re trying to poll and retry.

如果复兴共和与民主运动正在更新新的数据,但你仍在把NaN重新列入你的图表,那么我建议对数据来源(通过数据模板)与你的投票间和投票人之间的间隔有关的心灵和步值进行研究。

These values determine how many times the RRD file will miss data before inserting a NaN. The cronjob calls the cacti poller to start performing it s polling cycle. The poller interval is the actual time that the poller will wait between two polling cycles if it was indeed invoked in time by the cronjob.

So for 1 minute polling (on the poller and the cronjob) you will have to use a step of 60 (seconds) and a heartbeat of 120. For 5 minutes polling, the step will be 300 and the heartbeat will be 600.

这主要是因为有人在环境页上改变了投票人之间的间隔。

Cacti论坛的Gandalf写道:“http://docs.cacti.net/manual:087:4_help.2_debugging#debugging”> 准则。 http://forums.cacti.net。 实际论坛

:

也许没有必要许可才能查阅卷宗,而且对用户进行了测试,而用户必须获得许可,例如根基?

你们是否确信你收集了足够的数据?

如果贵国的复兴共和与民主军有1分钟的分步,而贵国的第一份区域局有1个综合数字(1cdp=1pdp),那么,在您期望看到图表中的任何数据之前,你应至少收集X分级(+1)的数据。 确保你收集的数据至少与步骤规模一样多。

如果你收集10个雷区的数据,而没有显示任何数据,那么就能够确保你实际收集数据,确保你得到的数值在幅度之内,并且正在使用。 查阅复兴共和与民主军档案的最后修改时间。 印制你更新的价值观,以核实这些价值是你认为的。

你们应当把Cacti的地块增加一倍。 我移走了图表过滤器中的数值,在图表中发现了一小部分数据,因此,你只得加以调整。

“spotted





相关问题
How do I use SNMP to monitor job status on a printer?

I ve been trying to figure out how to monitor job status via SNMP and I have found a solution on Xerox based printers (using Xerox implemented mibs), but I m looking for something that will work ...

SnmpExtensionTrap has a size limit?

I am working on a problem in SNMP extension agent in windows, which is passing traps to snmp.exe via SnmpExtensionTrap callback. We added a couple of fields to the agent recently, and I am starting ...

SNMP on AIX 5.3

I need to monitor a system with AIX 5.3, but can t find a good source for the OIDs. Does anybody know the OIDs for CPU, Memory and Harddisk values?

opensource network monitoring tools developed in java

i want to know the best opensource network monitoring tool developed in java with very good support via forums and which should have the following features .. Fault and Alert mgmt Performance Poll ...

snmp and platform specific information

I need to come with a strategy to use gather information about the health of my linux platform, hardware health such as high CPU temperature and may be disk space usage, etc... I know my examples are ...

SNMP in Java, specifically to be JMX adapter

I have a few JAVA application that I monitor using JMX. I would like to write an SNMP client for these applications that wraps the JMX interface and by discovery exposes the same attributes that are ...

热门标签