Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] SNMP MA CACTI

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] SNMP MA CACTI


Chronological Thread 
  • From: Jason Zurawski <>
  • To: Herbert Monteiro <>
  • Cc: perfsonar-ps-users <>,
  • Subject: Re: [perfsonar-user] SNMP MA CACTI
  • Date: Fri, 05 Nov 2010 09:40:15 -0400
  • Organization: Internet2

Hi Herbert;

In the 3.2 release there was a change in the way cacti should be configured, and it does not look like we updated the default configuration file to refect this. Old way:

# Sample Cacti configuration
# metadata_db_external cacti
# metadata_db_external_source /etc/cacti/cactid.conf

New way:

# Sample Cacti configuration
# cacti_database cacti
# cacti_host localhost
# cacti_password 12NPT00LK1T
# cacti_username cactiuser

Try to add these new entries to your daemon.conf file (making sure that the cacti user/pass are changed for your system) and let us know if the error disappears.

Thanks;

-jason


On 11/5/10 7:26 AM, Herbert Monteiro wrote:
Hi,

I tried to install the SNMP MA and I got:

[root@snmpma
~]# /etc/init.d/snmp_ma start
/opt/perfsonar_ps/snmp_ma/bin/daemon.pl
--config=/opt/perfsonar_ps/snmp_ma/etc/daemon.conf
--pidfile=snmp_ma.pid --piddir=/var/run
--logger=/opt/perfsonar_ps/snmp_ma/etc/daemon_logger.conf
--user=perfsonar --group=perfsonar
Use of uninitialized value in concatenation (.) or string at
/opt/perfsonar_ps/snmp_ma/bin/../lib/perfSONAR_PS/DB/Cacti.pm line
106.
Use of uninitialized value in concatenation (.) or string at
/opt/perfsonar_ps/snmp_ma/bin/../lib/perfSONAR_PS/DB/Cacti.pm line
106.
DBI connect('database=;host=','',...) failed: Access denied for user
'root'@'localhost' (using password: NO) at
/opt/perfsonar_ps/snmp_ma/bin/../lib/perfSONAR_PS/DB/Cacti.pm line 106
/etc/init.d/snmp_ma start: perfSONAR SNMP MA Service could not be started

I think that change the privileges in MySQL it's could work fine but I
won´t. Is there another way? In daemon.conf there is a parameter for
cacti configuration file but in new cacti version the configuration
file is PHP.

Regards.



Archive powered by MHonArc 2.6.16.

Top of Page