I have problem with fresh cacti's installation - it can't draw graphs
I can see attempts in cacti.log, but no files created:
Code: Select all
root@hpux-test:/ # tail -n 5 /opt/hpws22/apache/htdocs/cacti/log/cacti.log
04/22/2014 05:15:38 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1398089737 --end=1398176137 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/04/21 17\:15\:37 To 2014/04/22 17\:15\:37\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/opt/hpws22/apache/htdocs/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'
04/22/2014 05:21:18 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1398090078 --end=1398176478 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/04/21 17\:21\:18 To 2014/04/22 17\:21\:18\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/opt/hpws22/apache/htdocs/cacti/rra/localhost_mem_buffers_3.rrd':'mem_buffers':AVERAGE DEF:b='/opt/hpws22/apache/htdocs/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'
04/22/2014 05:21:18 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1398090078 --end=1398176478 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2014/04/21 17\:21\:18 To 2014/04/22 17\:21\:18\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='/opt/hpws22/apache/htdocs/cacti/rra/localhost_load_1min_5.rrd':'load_1min':AVERAGE DEF:b='/opt/hpws22/apache/htdocs/cacti/rra/localhost_load_1min_5.rrd':'load_5min':AVERAGE DEF:c='/opt/hpws22/apache/htdocs/cacti/rra/localhost_load_1min_5.rrd':'load_15min':AVERAGE CDEF:cdefg='TIME,1398176178,GT,a,a,UN,0,a,IF,IF,TIME,1398176178,GT,b,b,UN,0,b,IF,IF,TIME,1398176178,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:''
04/22/2014 05:21:18 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1398090078 --end=1398176478 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/04/21 17\:21\:18 To 2014/04/22 17\:21\:18\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/opt/hpws22/apache/htdocs/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'
04/22/2014 05:21:19 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1398090078 --end=1398176478 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2014/04/21 17\:21\:18 To 2014/04/22 17\:21\:18\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/opt/hpws22/apache/htdocs/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'
root@hpux-test:/ # ll /opt/hpws22/apache/htdocs/cacti/rra/
total 16
-rwxrwxrwx 1 root sys 33 Apr 4 2012 .htaccess
root@hpux-test:/ #
Code: Select all
root@hpux-test:/ # uname -a
HP-UX hpux-tes B.11.31 U ia64 2582444402 unlimited-user license
root@hpux-test:/ # swlist | grep -i -e bzip2 -e cairo -e expat -e fontconfig -e freetype -e gettext -e glib2 -e libXft -e libXrender -e libffi -e libicon>
ixLibxml2 A.20.00-2.9.0.001 Libxml2 Library
ixZlib A.20.00-1.2.7.001 zlib compression library
bzip2 1.0.6 bzip2
cairo 1.12.16 cairo
expat 2.1.0 expat
fontconfig 2.11.0 fontconfig
freetype 2.5.3 freetype
gettext 0.18.3.2 gettext
glib2 2.34.3 glib2
harfbuzz 0.9.27 harfbuzz
libXft 2.3.1 libXft
libXrender 0.9.8 libXrender
libffi 3.0.13 libffi
libiconv 1.14 libiconv
libpng 1.6.10 libpng
pango 1.36.3 pango
pixman 0.32.4 pixman
xz 5.0.5 xz
root@hpux-test:/ # swlist | grep hpuxws22
hpuxws22Apache B.2.2.15.19 HP-UX Apache-based Web Server
hpuxws22Php E.5.4.11.02 HP-UX PHP-5.4.11
hpuxws22Tomcat C.6.0.36.02 HP-UX Tomcat-based Servlet Engine
hpuxws22Webmin A.1.070.13 HP-UX Webmin-based Admin
root@hpux-test:/ # whereis rrdtool
rrdtool: /usr/local/bin/rrdtool /usr/local/share/man/man1/rrdtool.1
root@hpux-test:/ # /usr/local/bin/rrdtool
RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Apr 24 2012 12:21:42
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport, flushcached
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
Code: Select all
22.04.2014 17:09:09 (12 ms) : Device: hpux-test
22.04.2014 17:09:09 (19 ms) : SNMP V1
22.04.2014 17:09:09 (22 ms) : Uptime
22.04.2014 17:09:09 (66 ms) : -------
22.04.2014 17:09:09 (69 ms) : Value: 239722
22.04.2014 17:09:09 (72 ms) : Done