RRDToold doesn't update RRD files

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

RRDToold doesn't update RRD files

Post by CichyAcz »

Hi,
I have upgraded from 8.6j to 8.7b and after installation none of my graphs work.
I have check logs and poller does it work correctly (snmp returns correct value). RRDTool afterwards tries update RRD files with new value and from log perspective it looks good but when I dump RRD file (any of them) and check if there is value that I saw in log (that RRDTool was supposed to update)- there is NaN in RRD file (for all timestamps).
One of my records in logfile:
POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\cacti\rra\cucm_unregisteredphones_764.rrd --template UnregisteredPhones 1227803120:4

part xml file that I dumped from rrd file(cucm_unregisteredphones_764.rrd):
<!-- 2008-11-27 16:25:00 CST / 1227803100 --> <row><v> NaN </v></row>


But when I execute rrdtool update command (with other timestamp) value I enter will be in RRD file placed correctly.

What can be wrong, and how can I troubleshot that - is there any log file or any other source of information about DDRTool?

Thanks for any help.

CichyAcz
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see the crontab entry for cacti poller and change > /dev/null to > /path/to/cacti/log/poller.log
See contents of this file after a poller's run and find any rrdtool errors in there
Reinhard
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Hi,
I am in windows environment if that makes difference.

I set scheduled task to log all output and error stream to file but there is no errors at all, even I execute poller manually there is no errors.

Have you got any idea what could cause that problem - I even try two version of RRDTool.

part of output file:
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core0load_437.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core8load_313.rrd --template Core8Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core7load_312.rrd --template Core7Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core6load_311.rrd --template Core6Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core5load_310.rrd --template Core5Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core4load_309.rrd --template Core4Load 1228237810:1
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core3load_308.rrd --template Core3Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core2load_307.rrd --template Core2Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_core1load_306.rrd --template Core1Load 1228237810:2
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_hrstoragesize_202.rrd --template hrStorageUsed:hrStorageSize 1228237810:145125988:365886183
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss2_hrstoragesize_172.rrd --template hrStorageUsed:hrStorageSize 1228237810:84828:131055
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core0load_451.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core8load_321.rrd --template Core8Load 1228237810:3
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core6load_319.rrd --template Core6Load 1228237810:3
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core7load_320.rrd --template Core7Load 1228237810:3
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core5load_318.rrd --template Core5Load 1228237810:3
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core4load_317.rrd --template Core4Load 1228237810:4
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core3load_316.rrd --template Core3Load 1228237810:4
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core2load_315.rrd --template Core2Load 1228237810:3
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_core1load_314.rrd --template Core1Load 1228237810:9
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_hrstoragesize_205.rrd --template hrStorageUsed:hrStorageSize 1228237810:264270838:365886207
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss2_hrstoragesize_173.rrd --template hrStorageUsed:hrStorageSize 1228237810:164810:262127
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core0load_455.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core8load_305.rrd --template Core8Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core7load_304.rrd --template Core7Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core6load_303.rrd --template Core6Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild01_core0load_433.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_hrstoragesize_167.rrd --template hrStorageSize:hrStorageUsed 1228237810:65519:14332
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_hrstoragesize_197.rrd --template hrStorageSize:hrStorageUsed 1228237810:35519707:24533210
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core1load_234.rrd --template Core1Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core2load_235.rrd --template Core2Load 1228237810:1
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core3load_236.rrd --template Core3Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core4load_237.rrd --template Core4Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core5load_238.rrd --template Core5Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core6load_239.rrd --template Core6Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core7load_240.rrd --template Core7Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core8load_241.rrd --template Core8Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild02_core0load_434.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_hrstoragesize_169.rrd --template hrStorageSize:hrStorageUsed 1228237810:65521:12524
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_hrstoragesize_199.rrd --template hrStorageSize:hrStorageUsed 1228237810:19530495:19530461
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core1load_250.rrd --template Core1Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core2load_251.rrd --template Core2Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core3load_252.rrd --template Core3Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core4load_253.rrd --template Core4Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core5load_254.rrd --template Core5Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core6load_255.rrd --template Core6Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core7load_256.rrd --template Core7Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core8load_257.rrd --template Core8Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devperf00_core0load_438.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_hrstoragesize_170.rrd --template hrStorageSize:hrStorageUsed 1228237810:128372:18141
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_hrstoragesize_206.rrd --template hrStorageSize:hrStorageUsed 1228237810:73240075:72147807
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_hrstoragesize_207.rrd --template hrStorageSize:hrStorageUsed 1228237810:178956059:44804890
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core1load_290.rrd --template Core1Load 1228237810:1
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core2load_291.rrd --template Core2Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core3load_292.rrd --template Core3Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core4load_293.rrd --template Core4Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core5load_294.rrd --template Core5Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core6load_295.rrd --template Core6Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core7load_296.rrd --template Core7Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core8load_297.rrd --template Core8Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\qavss_core0load_450.rrd --template Core0Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_hrstoragesize_168.rrd --template hrStorageSize:hrStorageUsed 1228237810:128372:29193
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_hrstoragesize_200.rrd --template hrStorageSize:hrStorageUsed 1228237810:73240075:73120625
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_hrstoragesize_201.rrd --template hrStorageSize:hrStorageUsed 1228237810:178956059:29013087
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core1load_242.rrd --template Core1Load 1228237810:2
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core2load_243.rrd --template Core2Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core3load_244.rrd --template Core3Load 1228237810:1
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core4load_245.rrd --template Core4Load 1228237810:0
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core5load_246.rrd --template Core5Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core6load_247.rrd --template Core6Load 1228237810:U
OK
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core7load_248.rrd --template Core7Load 1228237810:U
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core8load_249.rrd --template Core8Load 1228237810:U
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devvss_core0load_436.rrd --template Core0Load 1228237810:U
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_hrstoragesize_171.rrd --template hrStorageSize:hrStorageUsed 1228237810:161140:130489
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_hrstoragesize_203.rrd --template hrStorageSize:hrStorageUsed 1228237810:73238318:56682051
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_hrstoragesize_204.rrd --template hrStorageSize:hrStorageUsed 1228237810:178956059:41628797
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core1load_298.rrd --template Core1Load 1228237810:6
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core2load_299.rrd --template Core2Load 1228237810:4
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core3load_300.rrd --template Core3Load 1228237810:5
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core4load_301.rrd --template Core4Load 1228237810:2
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\tsvss_core5load_302.rrd --template Core5Load 1228237810:U
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild01_core8load_233.rrd --template Core8Load 1228237810:U
12/02/2008 05:10:10 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\devbuild01_hrstoragesize_196.rrd --template hrStorageSize:hrStorageUsed 1228237810:35519707:31125404
OK
OK
12/02/2008 05:15:30 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\printerhpusoffice_totalpagescount_822.rrd --template TotalPagesCount 1228238129:6642
OK
12/02/2008 05:15:30 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\printerhpusoffice_poweronpagescount_821.rrd --template PowerOnPagesCount 1228238129:3
OK
12/02/2008 05:15:30 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\cacti\rra\printerhpusoffice_pagesperminute_820.rrd --template PagesPerMinute 1228238129:6642
OK
12/02/2008 05:15:30 PM - SYSTEM STATS: Time:29.7900 Method:cmd.php Processes:1 Threads:N/A Hosts:83 HostsPerProcess:83 DataSources:929 RRDsProcessed:674
12/02/2008 05:15:30 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q C:/cacti/poller_export.php]
Loop Time is: 29.801311016083
Sleep Time is: 270.19522500038
Total Time is: 29.804774999619
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

No windows guy here. But on unix, a drawback would be that the user running the poller (cactiuser) may lack permission to those rrd files. The hint of my last post would have revealed this
Reinhard
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

I have checked that as well - I even added cactiuser to administrators group

CichyAcz
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Is there anyone else experiencing such problem? Does anyone know how to troubleshot that or even fix?

Many thanks,
Cichyacz
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moving to Windows hoping for more knowledgable attention
Reinhard
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) What version of rrdtool? I suggest Win32 1.2.26.

2) If you manually run one of those full rrdtool update commands, does it work?

3) Follow the Debug Windows NTFS permission problems guide and see if anything turns up.
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Hi,

1) What version of rrdtool? I suggest Win32 1.2.26.
So far I had 1.2.27, I have just changes to 1.2.26 as you sugested

2) If you manually run one of those full rrdtool update commands, does it work?
I used to be able to update rrd file manually but since I use 1.2.26 it doesn't work as well.
The weird think is - there is set of servers (only servers no network devices at all) that cacti is graphing properly and all others aren't graphed at all.

3) Follow the Debug Windows NTFS permission problems guide and see if anything turns up.
Permissions looks fine - I even promoted cacti user to admin role to be sure that permissions are not the issue.
rrdtool is able to modify all files as it does. Every time scheduled task run all rrd files are modified but with NaN value.


Do you have any idea what could be wring?
How can I troubleshot rrdtools (is there any logfile or somthing).

Thanks,
CichoAcz
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

CichyAcz wrote:2) If you manually run one of those full rrdtool update commands, does it work?
I used to be able to update rrd file manually but since I use 1.2.26 it doesn't work as well.
The weird think is - there is set of servers (only servers no network devices at all) that cacti is graphing properly and all others aren't graphed at all.
Well that's a problem. If you can't manually update the rrd files with those commands, how is cacti suppose to? What error is thrown when you try running the command?
CichyAcz wrote:3) Follow the Debug Windows NTFS permission problems guide and see if anything turns up.
Permissions looks fine - I even promoted cacti user to admin role to be sure that permissions are not the issue.
rrdtool is able to modify all files as it does. Every time scheduled task run all rrd files are modified but with NaN value.
Hmm that contradicts what you earlier said. But anyways, in that case sounds like cacti isn't collecting data. You can see from the rrdtool update commands you pasted here -- everything with a U at the end means no data.
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Hi,

cacti is able to update some of graphs.
CichyAcz wrote:
2) If you manually run one of those full rrdtool update commands, does it work?
I used to be able to update rrd file manually but since I use 1.2.26 it doesn't work as well.
The weird think is - there is set of servers (only servers no network devices at all) that cacti is graphing properly and all others aren't graphed at all.

Well that's a problem. If you can't manually update the rrd files with those commands, how is cacti suppose to? What error is thrown when you try running the command?
When I actually use rrdtool 1.2.27 I can update rrd file manually executing those commands, but cacti still can't even whole command is in the logfile recorded properly.

But anyways, in that case sounds like cacti isn't collecting data. You can see from the rrdtool update commands you pasted here -- everything with a U at the end means no data.
As far I can say I thing cacti is collecting data correctly as ther is correct value in those rrdtool update commands. i.e:
c:/rrdtool/rrdtool.exe update C:\cacti\rra\printerhpusoffice_totalpagescount_822.rrd --template TotalPagesCount 1228238129:6642

when I execute any from command in logfile it works.
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Hi,

I have done some additional testings and it seems that installation is fine in general - I have removed database and create clean one, create some graphs from screech and it works fine. it is about upgrade when I sue database from old server it fails.
Is there any other way to copy graphs, devices and all templates between cacti installations?

Thanks,
CichyAcz
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

graph data is stored in the rrd files. Configuration info / templates are stored in the cacti db. Also make sure to copy over any extra scripts.

There shouldn't be any problems moving cacti from one server to another. Does the Cacti technical support page state there is anything wrong with your configuration on the new server?
CichyAcz
Posts: 13
Joined: Mon Nov 24, 2008 9:08 am

Post by CichyAcz »

Hello,
Cacti technical support page doesn't detect anythink wrong.

I am trying different options now - I have upgraded cacti from 8.6j (as previously) and deleted all host that are not graphed properlly. I have recreted one of those host and on graph for it - and there is one point on graph. Only first rrd update wrote proper data in rra file. all others wrote NaN value.
Why? - I don't know.

any idea?

Regards,
CichyAcz
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Change the cacti logging level to debug for a few cycles and look through it. Why isn't that problem device returning any data? rrdtool update running with that new data?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests