This site is now 100% read-only, and retired.

XML logo

Cluster Monitoring with Cacti
Posted by atrixnet on Mon 18 Jun 2007 at 19:07
Tags: none.
I am at a loss with getting Cacti to cooperate with snmpd on all nodes in a load balanced cluster (ipvs - keepalived) and I'm hoping somebody out there has some experience getting cacti to successfully query snmpd on remote hosts. Could anybody shed some light on this dark mystery for me?

 

Comments on this Entry

Re: Cluster Monitoring with Cacti
Posted by randallb (74.94.xx.xx) on Mon 18 Jun 2007 at 20:49
Are you able to successfully query snmp from the server that's running cacti? Try running the snmpwalk command on your cacti box to see if you can successfully query your remote hosts.

[ Parent ]

Re: Cluster Monitoring with Cacti
Posted by atrixnet (75.53.xx.xx) on Tue 19 Jun 2007 at 00:30
[ View Weblogs ]
That would be another problem. I was hoping there was some sort of debian out-of-the-box solution, as is usually the case when a new package is installed-- suitable defaults are already set up and you have a working package right off the bat. In this case, snmp access for remote hosts is not enabled (I can only assume this is for security reasons) and I can't get it to work so that I can snmpwalk anyone but localhost... even if I set up snmp configuration using the snmpconfig tool. I am going to surf over to tldp.org and see if there are any tutorials or howtos for snmpd. I have a feeling this isn't going to be a quick fix. Like I said, I was hoping there was a quick debian solution to this issue.

[ Parent ]

Re: Cluster Monitoring with Cacti
Posted by atrixnet (75.53.xx.xx) on Tue 19 Jun 2007 at 00:35
[ View Weblogs ]
Not much luck at tldp.org. There was absolutely nothing for snmp. Neither was the documentation at cacti.net extremely helpful (though I'm still combing through it, having already read most of it).

Googling for 'snmp howto' has yielded some results that I'm going to try. I really thought debian would have a quick tool for this. apt-cache is showing me that there's a gui-based mib browser, so I'm going to look at the debian package for mbrowse also.

[ Parent ]

Re: Cluster Monitoring with Cacti
Posted by randallb (69.116.xx.xx) on Tue 19 Jun 2007 at 02:08
In Etch, snmpd is bound to 127.0.0.1 by default. Edit your /etc/default/snmpd, remove the 127.0.0.1, and make sure you understand the security risks of SNMP. Take a look at /usr/share/doc/snmpd/NEWS.Debian.gz for more info.

[ Parent ]