I installed the cacti on centos 6.7
snmp was apparently connected, but not graph
Code: Select all
SRV-ACD 7 1 1 [b]Unknown [/b] 192.168.10.10 0 0 100
Moderators: Developers, Moderators
Code: Select all
SRV-ACD 7 1 1 [b]Unknown [/b] 192.168.10.10 0 0 100
Code: Select all
Inbound Data Source
The data source to use for this graph item.
Outbound Data Source
The data source to use for this graph item.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='ACD-SRV - Traffic - ethernet_5' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/8/62.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/8/62.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefe#002A97FF:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
ERROR: opening '/usr/share/cacti/rra/8/62.rrd': No such file or directory
EDIT:micke2k wrote:Permissions?
Whats your permission and owner of /rra and log ?
Code: Select all
ls -l /usr/share/cacti/rra
lrwxrwxrwx. 1 root root 18 Mar 9 18:19 /usr/share/cacti/rra -> /var/lib/cacti/rra
Code: Select all
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Code: Select all
Graph Item Fields
Free Data Source
The data source to use for this graph item.
Swap Data Source
The data source to use for this graph item.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='cent os - Memory Usage' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='kilobytes' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/9/65.rrd':'mem_buffers':AVERAGE \
DEF:b='/usr/share/cacti/rra/9/66.rrd':'mem_swap':AVERAGE \
CDEF:cdefa='a,1024,*' \
CDEF:cdefe='b,1024,*' \
AREA:cdefa#FF4105FF:'Free' \
GPRINT:cdefa:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
AREA:cdefe#FFC73BFF:'Swap':STACK \
GPRINT:cdefe:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'
RRDTool Says:
ERROR: opening '/usr/share/cacti/rra/9/65.rrd': No such file or directory
http://www.cacti.net/downloads/docs/htm ... cacti.htmlSet the appropriate permissions on cacti's directories for graph/log generation. You should execute these commands from inside cacti's directory to change the permissions.
shell> chown -R cactiuser rra/ log/
(Enter a valid username for cactiuser, this user will also be used in the next step for data gatherin
Code: Select all
chown -R admin /usr/share/cacti/rra /log
Code: Select all
cacti]# chown -R admin rra/ log
chown: invalid user: `admin'
Try this, change the folder to the correct first.mnnn wrote:thanks
if i with user admin im login in cacti panel
is this way to write ?Code: Select all
chown -R admin /usr/share/cacti/rra
or
Code: Select all
chown -R admin rra/log
Code: Select all
cd /var/www/html/cacti
chown -R admin rra/ log/
Code: Select all
cd /var/www/
cgi-bin/ error/ html/ icons/
[root@Centos html]# cd /var/www/html/cacti
-bash: cd: /var/www/html/cacti: No such file or directory
Where is your cacti installed?mnnn wrote:Code: Select all
cd /var/www/ cgi-bin/ error/ html/ icons/ [root@Centos html]# cd /var/www/html/cacti -bash: cd: /var/www/html/cacti: No such file or directory
Code: Select all
*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&
Code: Select all
03/13/2016 04:02:13 PM - AUTH LOGIN: User 'admin' Authenticated
~
~
Users browsing this forum: No registered users and 0 guests