[CentOS] CentOS/SNMP update breaks MRTG?

Ian Forde ian at duckland.org
Tue Jul 14 08:29:52 UTC 2009


On Tue, 2009-07-14 at 12:07 +0800, Noob Centos Admin wrote:
> Hi,
> 
> > Did the update overwrite your snmpd.conf file?  The 'view' on the default one
> > may not permit access to the things mrtg needs to see.  Try changing it to .1 to
> > expose everything.
> 
> It might have done so. To be honest I have no idea since I've never
> touched the SNMP configuration before this and simply used the
> default. Currently there's nothing inside the snmpd.conf except a
> rocommunity which is the public user.
> 
> I've added lines from an online source that claims that is the default
> snmpd configuration and it looks like it should be allowing view all
> to the public user. In any case, even prior to adding these lines, I
> could get the relevant values off SNMP using command line with the
> public community user, so I don't think I was blocking any thing iv
> SNMP

Just a couple of random suggestions...

One of the things I always do after patching a box is do an 'updatedb',
followed by 'locate rpmsave' and 'locate rpmnew'.  Then I resolve the
differences.

The other suggestion comes from a recent experience I had when updating
a box running cacti.  Did the upgrade, then cacti broke completely.
Turns out that I didn't have the default fonts that cacti expected.  I
ended up having to install dejavu-lgc-fonts from rpmforge to resolve it.
Why do I bring this up?  Because cacti depends upon rrdtool, just like
mrtg...

	-I




More information about the CentOS mailing list