Re: Cacti not working on Debian wheezy

Jaap Winius <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
On Tue, 26 Mar 2013 16:22:17 +0000, Jaap Winius wrote:

> Has anyone tried getting Cacti to work yet on Debian wheezy? It seems to
> be broken due to a bug in php5-snmp. That's Cacti 0.8.8a with php5-snmp
> 5.4.4. In this case, I get no response from SNMP if I run any of Cacti's
> PHP scripts manually. A quick downgrade to php5-snmp 5.3.3 gets Cacti
> working again, although it results in dependency problems.

There were two issues involved. First, when Cacti's php scripts are run 
to query the localhost's SNMP daemon (netsnmp), it now appears to do so 
with IPv6 only by default. The SNMP daemon was already listening on IPv6, 
but it didn't have 'rocommunity6' set to 'public' in snmpd.conf, so 
adding that directive got it working again.

Second, Cacti had already been configured to contact all of the remote 
SNMP daemons via IPv6 using a hostname prefix: 'udp6:host.domain.tld'. 
Now the remote hosts are contacted via IPv6 by default, but it doesn't 
work unless that prefix is omitted.

Cheers,

Jaap


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.