NAN error ...searched Google and the forums for HOURS

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
plau
Posts: 2
Joined: Thu Mar 20, 2014 11:21 am

NAN error ...searched Google and the forums for HOURS

Post by plau »

First of all, I searched Google and these forums for the past few hours, so this is my last desperate attempt to try and fix the problem.

I installed cacti on a separate user account, on a server running WHM/CPanel.

RRDTool and snmpwalk are both installed correctly and when running the poller.php through the user "cacti" (not root), I get the following:

Code: Select all

cacti@cacti.com [~/www]# php poller.php
03/20/2014 09:09:04 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '243', Max Runtime '298', Poller Runs: '1'
03/20/2014 09:09:04 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/home/cacti/public_html/cmd.php" 0 1]
Waiting on 1 of 1 pollers.
03/20/2014 09:09:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1395331744:1426112
OK u:0.00 s:0.00 r:0.00
Waiting on 1 of 1 pollers.
03/20/2014 09:09:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_swap_4.rrd --template mem_swap 1395331744:32764316
OK u:0.00 s:0.00 r:0.01
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
03/20/2014 09:09:04 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.12' [map 1min->load_1min]
03/20/2014 09:09:04 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.19' [map 5min->load_5min]
03/20/2014 09:09:04 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.15' [map 10min->load_15min]
03/20/2014 09:09:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1395331744:0.12:0.19:0.15
OK u:0.00 s:0.00 r:0.01
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
03/20/2014 09:09:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_users_6.rrd --template users 1395331744:1
OK u:0.00 s:0.00 r:0.02
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
03/20/2014 09:09:04 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_proc_7.rrd --template proc 1395331744:332
OK u:0.00 s:0.00 r:0.05
03/20/2014 09:09:04 AM - SYSTEM STATS: Time:0.1727 Method:cmd.php Processes:1     Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
Loop  Time is: 0.18
Sleep Time is: 299.82
Total Time is: 0.18
cacti@cacti.com [~/www]#
I even set the permissions of the files to 777 and they get generated ok, but they are empty and show only "nan".

Code: Select all

cacti@cacti.com [~/www/rra]# v
total 344
drwxrwxrwx  2 cacti cacti    4096 Mar 20 07:22 ./
drwxr-x--- 16 cacti nobody   4096 Mar 20 07:37 ../
-rwxr-xr-x  1 cacti cacti      33 Apr  3  2012 .htaccess*
-rwxrwxrwx  1 cacti cacti  141640 Mar 20 08:09 localhost_load_1min_5.rrd*
-rwxrwxrwx  1 cacti cacti   47992 Mar 20 08:09 localhost_mem_buffers_3.rrd*
-rwxrwxrwx  1 cacti cacti   47992 Mar 20 08:09 localhost_mem_swap_4.rrd*
-rwxrwxrwx  1 cacti cacti   47992 Mar 20 08:09 localhost_proc_7.rrd*
-rwxrwxrwx  1 cacti cacti   47992 Mar 20 08:09 localhost_users_6.rrd*
cacti@cacti.com [~/www/rra]#
I even tried removing all the files in the rra/ folder and running poller.php again with the user "cacti" (not root). The files were generated again but again show "nan".

I set the reporting to DEBUG and the log files show:

Code: Select all

03/20/2014 10:25:01 AM - SYSTEM STATS: Time:0.1344 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
03/20/2014 10:25:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_proc_7.rrd --template proc 1395336301:351
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Time: 0.0552 s, Theads: N/A, Hosts: 1
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /home/cacti/public_html/scripts/unix_processes.pl, output: 351
03/20/2014 10:25:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1395336301:2194964
03/20/2014 10:25:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1395336301:0.04:0.22:0.59
03/20/2014 10:25:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_swap_4.rrd --template mem_swap 1395336301:32763336
03/20/2014 10:25:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_users_6.rrd --template users 1395336301:2
03/20/2014 10:25:01 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.59' [map 10min->load_15min]
03/20/2014 10:25:01 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.22' [map 5min->load_5min]
03/20/2014 10:25:01 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.04' [map 1min->load_1min]
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /home/cacti/public_html/scripts/unix_users.pl , output: 2
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /home/cacti/public_html/scripts/loadavg_multi.pl, output: 1min:0.04 5min:0.22 10min:0.59
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl SwapFree:, output: 32763336
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl MemFree:, output: 2194964
03/20/2014 10:25:01 AM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.15 ms)
03/20/2014 10:25:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/home/cacti/public_html/cmd.php" 0 1]
03/20/2014 10:25:01 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
03/20/2014 10:24:51 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395246290 --end=1395332690 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:24\:50 To 2014/03/20 10\:24\:50\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_proc_7.rrd':'proc':AVERAGE AREA:a#F51D30FF:'Running Processes' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:24:51 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395246290 --end=1395332690 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2014/03/19 10\:24\:50 To 2014/03/20 10\:24\:50\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_1min':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_5min':AVERAGE DEF:c='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_15min':AVERAGE CDEF:cdefg='TIME,1395332391,GT,a,a,UN,0,a,IF,IF,TIME,1395332391,GT,b,b,UN,0,b,IF,IF,TIME,1395332391,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:'1 Minute Average' GPRINT:a:LAST:' Current\:%8.2lf\n' AREA:b#EA8F00FF:'5 Minute Average':STACK GPRINT:b:LAST:' Current\:%8.2lf\n' AREA:c#FF0000FF:'15 Minute Average':STACK GPRINT:c:LAST:'Current\:%8.2lf\n' LINE1:cdefg#000000FF:''
03/20/2014 10:24:51 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395246290 --end=1395332690 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:24\:50 To 2014/03/20 10\:24\:50\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_users_6.rrd':'users':AVERAGE AREA:a#4668E4FF:'Users' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:24:51 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395246290 --end=1395332690 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:24\:50 To 2014/03/20 10\:24\:50\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_mem_swap_4.rrd':'mem_swap':AVERAGE AREA:a#FF4105FF:'Free' GPRINT:a:LAST:'Current\:%8.2lf %s' GPRINT:a:AVERAGE:'Average\:%8.2lf %s' GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' AREA:b#FFC73BFF:'Swap':STACK GPRINT:b:LAST:'Current\:%8.2lf %s' GPRINT:b:AVERAGE:'Average\:%8.2lf %s' GPRINT:b:MAX:'Maximum\:%8.2lf %s\n'
03/20/2014 10:20:02 AM - SYSTEM STATS: Time:0.1537 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
03/20/2014 10:20:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_proc_7.rrd --template proc 1395336002:350
03/20/2014 10:20:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_users_6.rrd --template users 1395336002:2
03/20/2014 10:20:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1395336002:2194404
03/20/2014 10:20:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_swap_4.rrd --template mem_swap 1395336002:32763336
03/20/2014 10:20:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1395336002:0.29:0.45:0.79
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Time: 0.0771 s, Theads: N/A, Hosts: 1
03/20/2014 10:20:02 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.79' [map 10min->load_15min]
03/20/2014 10:20:02 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.45' [map 5min->load_5min]
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /home/cacti/public_html/scripts/unix_processes.pl, output: 350
03/20/2014 10:20:02 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.29' [map 1min->load_1min]
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /home/cacti/public_html/scripts/unix_users.pl , output: 2
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /home/cacti/public_html/scripts/loadavg_multi.pl, output: 1min:0.29 5min:0.45 10min:0.79
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl SwapFree:, output: 32763336
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl MemFree:, output: 2194404
03/20/2014 10:20:02 AM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.15 ms)
03/20/2014 10:20:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/home/cacti/public_html/cmd.php" 0 1]
03/20/2014 10:20:02 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '301', Max Runtime '298', Poller Runs: '1'
03/20/2014 10:19:47 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245984 --end=1395332384 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:19\:44 To 2014/03/20 10\:19\:44\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_proc_7.rrd':'proc':AVERAGE AREA:a#F51D30FF:'Running Processes' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:19:46 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245984 --end=1395332384 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:19\:44 To 2014/03/20 10\:19\:44\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_mem_swap_4.rrd':'mem_swap':AVERAGE AREA:a#FF4105FF:'Free' GPRINT:a:LAST:'Current\:%8.2lf %s' GPRINT:a:AVERAGE:'Average\:%8.2lf %s' GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' AREA:b#FFC73BFF:'Swap':STACK GPRINT:b:LAST:'Current\:%8.2lf %s' GPRINT:b:AVERAGE:'Average\:%8.2lf %s' GPRINT:b:MAX:'Maximum\:%8.2lf %s\n'
03/20/2014 10:19:46 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245984 --end=1395332384 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2014/03/19 10\:19\:44 To 2014/03/20 10\:19\:44\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_1min':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_5min':AVERAGE DEF:c='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_15min':AVERAGE CDEF:cdefg='TIME,1395332086,GT,a,a,UN,0,a,IF,IF,TIME,1395332086,GT,b,b,UN,0,b,IF,IF,TIME,1395332086,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:'1 Minute Average' GPRINT:a:LAST:' Current\:%8.2lf\n' AREA:b#EA8F00FF:'5 Minute Average':STACK GPRINT:b:LAST:' Current\:%8.2lf\n' AREA:c#FF0000FF:'15 Minute Average':STACK GPRINT:c:LAST:'Current\:%8.2lf\n' LINE1:cdefg#000000FF:''
03/20/2014 10:19:46 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245984 --end=1395332384 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:19\:44 To 2014/03/20 10\:19\:44\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_users_6.rrd':'users':AVERAGE AREA:a#4668E4FF:'Users' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:17:03 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245822 --end=1395332222 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2014/03/19 10\:17\:02 To 2014/03/20 10\:17\:02\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_1min':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_5min':AVERAGE DEF:c='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_15min':AVERAGE CDEF:cdefg='TIME,1395331923,GT,a,a,UN,0,a,IF,IF,TIME,1395331923,GT,b,b,UN,0,b,IF,IF,TIME,1395331923,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:'1 Minute Average' GPRINT:a:LAST:' Current\:%8.2lf\n' AREA:b#EA8F00FF:'5 Minute Average':STACK GPRINT:b:LAST:' Current\:%8.2lf\n' AREA:c#FF0000FF:'15 Minute Average':STACK GPRINT:c:LAST:'Current\:%8.2lf\n' LINE1:cdefg#000000FF:''
03/20/2014 10:17:03 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245822 --end=1395332222 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:17\:02 To 2014/03/20 10\:17\:02\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_users_6.rrd':'users':AVERAGE AREA:a#4668E4FF:'Users' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:17:03 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245822 --end=1395332222 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:17\:02 To 2014/03/20 10\:17\:02\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_mem_swap_4.rrd':'mem_swap':AVERAGE AREA:a#FF4105FF:'Free' GPRINT:a:LAST:'Current\:%8.2lf %s' GPRINT:a:AVERAGE:'Average\:%8.2lf %s' GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' AREA:b#FFC73BFF:'Swap':STACK GPRINT:b:LAST:'Current\:%8.2lf %s' GPRINT:b:AVERAGE:'Average\:%8.2lf %s' GPRINT:b:MAX:'Maximum\:%8.2lf %s\n'
03/20/2014 10:17:03 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245822 --end=1395332222 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:17\:02 To 2014/03/20 10\:17\:02\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_proc_7.rrd':'proc':AVERAGE AREA:a#F51D30FF:'Running Processes' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:15:11 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245703 --end=1395332103 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:15\:03 To 2014/03/20 10\:15\:03\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_mem_swap_4.rrd':'mem_swap':AVERAGE AREA:a#FF4105FF:'Free' GPRINT:a:LAST:'Current\:%8.2lf %s' GPRINT:a:AVERAGE:'Average\:%8.2lf %s' GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' AREA:b#FFC73BFF:'Swap':STACK GPRINT:b:LAST:'Current\:%8.2lf %s' GPRINT:b:AVERAGE:'Average\:%8.2lf %s' GPRINT:b:MAX:'Maximum\:%8.2lf %s\n'
03/20/2014 10:15:05 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245703 --end=1395332103 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:15\:03 To 2014/03/20 10\:15\:03\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_users_6.rrd':'users':AVERAGE AREA:a#4668E4FF:'Users' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:15:05 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245703 --end=1395332103 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2014/03/19 10\:15\:03 To 2014/03/20 10\:15\:03\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_1min':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_5min':AVERAGE DEF:c='/home/cacti/public_html/rra/localhost_load_1min_5.rrd':'load_15min':AVERAGE CDEF:cdefg='TIME,1395331805,GT,a,a,UN,0,a,IF,IF,TIME,1395331805,GT,b,b,UN,0,b,IF,IF,TIME,1395331805,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:'1 Minute Average' GPRINT:a:LAST:' Current\:%8.2lf\n' AREA:b#EA8F00FF:'5 Minute Average':STACK GPRINT:b:LAST:' Current\:%8.2lf\n' AREA:c#FF0000FF:'15 Minute Average':STACK GPRINT:c:LAST:'Current\:%8.2lf\n' LINE1:cdefg#000000FF:''
03/20/2014 10:15:05 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245703 --end=1395332103 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:15\:03 To 2014/03/20 10\:15\:03\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_proc_7.rrd':'proc':AVERAGE AREA:a#F51D30FF:'Running Processes' GPRINT:a:LAST:'Current\:%8.0lf' GPRINT:a:AVERAGE:'Average\:%8.0lf' GPRINT:a:MAX:'Maximum\:%8.0lf\n'
03/20/2014 10:15:05 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1395245703 --end=1395332103 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/03/19 10\:15\:03 To 2014/03/20 10\:15\:03\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/home/cacti/public_html/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/home/cacti/public_html/rra/localhost_mem_swap_4.rrd':'mem_swap':AVERAGE AREA:a#FF4105FF:'Free' GPRINT:a:LAST:'Current\:%8.2lf %s' GPRINT:a:AVERAGE:'Average\:%8.2lf %s' GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' AREA:b#FFC73BFF:'Swap':STACK GPRINT:b:LAST:'Current\:%8.2lf %s' GPRINT:b:AVERAGE:'Average\:%8.2lf %s' GPRINT:b:MAX:'Maximum\:%8.2lf %s\n'
03/20/2014 10:15:01 AM - SYSTEM STATS: Time:0.1756 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
03/20/2014 10:15:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_proc_7.rrd --template proc 1395335701:350
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Time: 0.0945 s, Theads: N/A, Hosts: 1
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /home/cacti/public_html/scripts/unix_processes.pl, output: 350
03/20/2014 10:15:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_users_6.rrd --template users 1395335701:2
03/20/2014 10:15:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1395335701:2193424
03/20/2014 10:15:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_mem_swap_4.rrd --template mem_swap 1395335701:32763336
03/20/2014 10:15:01 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/cacti/public_html/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1395335701:0.48:0.27:0.88
03/20/2014 10:15:01 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.88' [map 10min->load_15min]
03/20/2014 10:15:01 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.27' [map 5min->load_5min]
03/20/2014 10:15:01 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.48' [map 1min->load_1min]
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /home/cacti/public_html/scripts/unix_users.pl , output: 2
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /home/cacti/public_html/scripts/loadavg_multi.pl, output: 1min:0.48 5min:0.27 10min:0.88
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl SwapFree:, output: 32763336
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /home/cacti/public_html/scripts/linux_memory.pl MemFree:, output: 2193424
03/20/2014 10:15:01 AM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.15 ms) 
Anybody knows what's wrong? :(
bangolio
Cacti User
Posts: 61
Joined: Sun Nov 24, 2013 5:44 am

Re: NAN error ...searched Google and the forums for HOURS

Post by bangolio »

First of all, I don't have the solution for you.
However, I had the exact same problem a couple of days ago and from what I can tell:
1. It thinks there is another poller running (duh ofc...)
2. This happens when you fiddle around with the poller settings web page ie enabling/disabling the poller, switching between spine and cmd.php etc.

I would advise you to disable the poller, reboot the server or restart relevant services (mainly mysqld), wait a while (more than one poller cycle) and enable the poller again.
Sorry for the voodoo style troubleshooting advice but those are some of the actions I did and somehow it fixed itself.
I think there are many severe issues in this area and I'm still having problems myself :(
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests