Code: Select all
nova# uname -v
FreeBSD 8.3-RELEASE-p3 #0: Mon Jun 11 23:52:38 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
nova#
1. Web interface is working
2. I can add/remove hosts
3. rrd files not created automatically (cacti folder has 777 rights )
4. rrd created when i run manually
Code: Select all
php poller.php
6. Web interface shows all added devices status - UP (and localhost)
Cron log
Code: Select all
Jul 9 11:00:00 nova /usr/sbin/cron[44093]: (root) CMD (newsyslog)
Jul 9 11:00:00 nova /usr/sbin/cron[44094]: (operator) CMD (/usr/libexec/save-entropy)
Jul 9 11:00:00 nova /usr/sbin/cron[44095]: (root) CMD (/usr/libexec/atrun)
Jul 9 11:05:00 nova /usr/sbin/cron[44937]: (root) CMD (php /usr/local/share/cacti/poller.php > /dev/null 2>&1)
Jul 9 11:05:00 nova /usr/sbin/cron[44938]: (root) CMD (/usr/libexec/atrun)
Jul 9 11:10:00 nova /usr/sbin/cron[45488]: (root) CMD (php /usr/local/share/cacti/poller.php > /dev/null 2>&1)
Jul 9 11:10:00 nova /usr/sbin/cron[45489]: (root) CMD (/usr/libexec/atrun)
Jul 9 11:11:00 nova /usr/sbin/cron[45550]: (operator) CMD (/usr/libexec/save-entropy)
Jul 9 11:15:00 nova /usr/sbin/cron[46321]: (root) CMD (php /usr/local/share/cacti/poller.php > /dev/null 2>&1)
Jul 9 11:15:00 nova /usr/sbin/cron[46322]: (root) CMD (/usr/libexec/atrun)
Code: Select all
nova# tail /var/log/httpd-error.log
[Tue Jul 09 10:33:50 2013] [error] [client 172.17.111.55] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Tue Jul 09 10:36:26 2013] [error] [client 172.17.111.55] File does not exist: /usr/local/www/apache22/data/favicon.ico
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_20.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_22.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_24.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_19.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_23.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_25.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_traffic_in_21.rrd': No such file or directory
ERROR: opening '/usr/local/share/cacti/rra/asa5510_5min_cpu_18.rrd': No such file or directory
Code: Select all
nova# tail /usr/local/share/cacti/log/cacti.log
07/09/2013 03:09:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373281781 --end=1373368181 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/07/08 15\:09\:41 To 2013/07/09 15\:09\:41\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/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"
07/09/2013 03:09:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373281781 --end=1373368181 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2013/07/08 15\:09\:41 To 2013/07/09 15\:09\:41\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="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE DEF:b="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE DEF:c="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE CDEF:cdefg='TIME,1373367882,GT,a,a,UN,0,a,IF,IF,TIME,1373367882,GT,b,b,UN,0,b,IF,IF,TIME,1373367882,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:""
07/09/2013 03:14:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373282082 --end=1373368482 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/07/08 15\:14\:42 To 2013/07/09 15\:14\:42\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/localhost_mem_buffers_3.rrd":'mem_buffers':AVERAGE DEF:b="/usr/local/share/cacti/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"
07/09/2013 03:14:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373282082 --end=1373368482 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/07/08 15\:14\:42 To 2013/07/09 15\:14\:42\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/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"
07/09/2013 03:14:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373282082 --end=1373368482 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2013/07/08 15\:14\:42 To 2013/07/09 15\:14\:42\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="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE DEF:b="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE DEF:c="/usr/local/share/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE CDEF:cdefg='TIME,1373368182,GT,a,a,UN,0,a,IF,IF,TIME,1373368182,GT,b,b,UN,0,b,IF,IF,TIME,1373368182,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:""
07/09/2013 03:14:42 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1373282082 --end=1373368482 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/07/08 15\:14\:42 To 2013/07/09 15\:14\:42\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/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"
07/09/2013 03:19:43 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - -