I'm a complete newb to Cacti but consider myself a pseudo-newb to building applications. I'm working on a build of Cacti for a Mac OS X 10.4.
Problem: I get an "SNMP error" when creating/editing a device. I had a clean build of SNMP and I configured snmp.conf with snmpconf -r none -g basic_setup and matched the rocommunity with the device. Yet the error stays and no data is being collected.
Any suggestions?
Anybody get Cacti to work on an a Mac OS X 10.4? I'm willing to start from scratch.
Cacti on Mac OS X
Moderators: Developers, Moderators
what happens when you run the snmpget and snmpwalk from the command line? Do they look to work in a sane manner?
/usr/bin/snmpget
Mine would bomb out as soon as I ran it, and it turned out that the rpm I'd grabbed wasn't as universal as I'd been led to believe. I was getting something about libcrypto.so.6 errors. I poked around and found a more appropriate rpm (not for OSX), and all was good to go after that.
So I'm guessing it's a problem with net-snmp, and now you need to figure out what.
/usr/bin/snmpget
Mine would bomb out as soon as I ran it, and it turned out that the rpm I'd grabbed wasn't as universal as I'd been led to believe. I was getting something about libcrypto.so.6 errors. I poked around and found a more appropriate rpm (not for OSX), and all was good to go after that.
So I'm guessing it's a problem with net-snmp, and now you need to figure out what.
Cacti on MAC OS X
Thanks for the reply styrofoam.
I agree it's a SNMP Error hence the error on the UI of Cacti. I installed net-SNMP 5.3.1 from source directly from net-snmp.org w/o error. I ran ./snmpget from the command line, same as the example on their website and got similar results.
A couple of days ago, I was desperate and even tried net-SNMP installation via Darwin Ports for OSX. It also behaved the same way; SNMP Error message on the Cacti UI but OK running snmp* from the command line.
Those were the only two working SNMP builds I have used. I don't think OSX work with RPMs? FreeBSD Maybe? Anybody have SNMP working on OSX?
I agree it's a SNMP Error hence the error on the UI of Cacti. I installed net-SNMP 5.3.1 from source directly from net-snmp.org w/o error. I ran ./snmpget from the command line, same as the example on their website and got similar results.
A couple of days ago, I was desperate and even tried net-SNMP installation via Darwin Ports for OSX. It also behaved the same way; SNMP Error message on the Cacti UI but OK running snmp* from the command line.
Those were the only two working SNMP builds I have used. I don't think OSX work with RPMs? FreeBSD Maybe? Anybody have SNMP working on OSX?
Who is online
Users browsing this forum: No registered users and 4 guests