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。 实际论坛。
: