I have a problem that pertains only to cactid, if I use cmd.php the problem does not exist. If you run cactid as root this is the output.
Code: Select all
[root@burns ~]# /usr/local/cactid/bin/cactid
CACTID: Using cactid config file [/etc/cactid.conf]
CACTID: Version 0.8.6f starting
CACTID: Host[1] SNMP Result: Device does not require SNMP
CACTID: Host[1] No host availability check possible for '127.0.0.1'
CACTID: Host[1] DS[22] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 32227328
CACTID: Host[1] DS[23] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 542662656
CACTID: Host[1] DS[5] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.04 10min:0.01
CACTID: Host[1] DS[15] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1, output: 67328
CACTID: Host[1] DS[10] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda3, output: 2123292
CACTID: Host[1] DS[11] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/sda1, output: 173069980
CACTID: Host[1] DS[15] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1, output: 28539
CACTID: Host[1] DS[10] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda3, output: 4991052
CACTID: Host[1] DS[11] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/sda1, output: 557038336
CACTID: Host[1] DS[7] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/unix_processes.pl, output: 93
CACTID: Host[1] DS[6] SCRIPT: /usr/bin/perl /var/www/html/cacti/scripts/unix_users.pl, output: 2
CACTID: Time: 0.4554 s, Threads: 1, Hosts: 2
Code: Select all
[cactiuser@burns ~]$ /usr/local/cactid/bin/cactid
CACTID: MYSQL: Connection Failed: Access denied for user: 'cactiuser@localhost' (Using password: YES)
Code: Select all
[cactiuser@burns ~]$ mysql --database=cacti --user=cactiuser --password=XXXXXXXXX
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8417 to server version: 3.23.58
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Linux 2.6.12-2.3.legacy_FC3smp #1 SMP Sun Feb 19 08:53:09 EST 2006 i686 i686 i386 GNU/Linux
cacti-0.8.6h.fc3.i386 (Installed from RPM.)
cacti-cactid-0.8.6g (Compiled source.
PHP 4.3.11 (cgi) (built: Nov 8 2005 06:24:40)
MySQL 3.23.58
I do have the MySQL permissions setup correctly and the cactid configuration matches the config.php configuration.
I must be missing something. For now I am running poller.php with root permissions but I would like to change that.
Any insight?