Hi,
I am trying to get Cacti (0.8.6c) running on an OpenBSD 3.6 box.
I appear to have it working mostly, except that it can't speak SNMP to anything (localhost, other devices...)
I have verified that the snmpds are running, and can query them with external tools, or snmpwalk/get on this system.
It seems like the problem is I am missing snmp.so for my php-snmp.
I have net-snmp installed. The official pkg for PHP-SNMP has a UCD based snmp, and Apache won't even start if I put that in the appropriate place.
Google has not provided my answer, so I am hoping someone more BSD savvy than I can point me at the right solution.
Thanks in advance.
Cacti on OpenBSD?
Moderators: Developers, Moderators
How did you install everything? ports, packages?
I just went with packages for my system. Try pkg_add'ing php4-snmp-4.3.10. Then do a:
Let me know if it starts flaking out on you. I had to perform a sysadmin sin in order to get mine to work right. I just don't have time at work to figure out WHY. I'd really like to know, so I'll be looking into it after work a bit.
I'm guessing it has something to do with user limitations in openbsd, like num of processes or something down that alley.
Keep me up to date.
-Russ
I just went with packages for my system. Try pkg_add'ing php4-snmp-4.3.10. Then do a:
Code: Select all
/usr/local/sbin/phpxs -a snmp
I'm guessing it has something to do with user limitations in openbsd, like num of processes or something down that alley.
Keep me up to date.
-Russ
cacti on Openbsd
Well, I got that part working. re-walked the configs, and tweaked some paths. Still not polling correctly, but that is probably also a path issue.
I did everything from packages. running 4.3.8, but it seems to be fine.
I may need more memory/horsepower as well.
This is a system at home, so work on it is sporadic.
Thanks for your input and help.
I did everything from packages. running 4.3.8, but it seems to be fine.
I may need more memory/horsepower as well.
This is a system at home, so work on it is sporadic.
Thanks for your input and help.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
To help you debug the issue with polling, turn loggin up to debug level and run the poller manually, this will give you some indication of what is wrong.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Yeah, my test system seemed a bit flakey at times. It was a P3 500/256MB ram. The new production server is P4 2.8/1GB ram. I haven't had any hiccups or problems.
Hey, here's the packages that I have installed. Everything works for me:
One thing I notice is that I'm using ucd-snmp. I haven't tried net-snmp with cacti at all. I've always gone with ucd.
-Russ
Hey, here's the packages that I have installed. Everything works for me:
Code: Select all
freetype-1.3.1p1 free and portable TrueType font rendering engine
gd-1.8.3 graphics library for fast PNG creation
gettext-0.10.40p1 GNU gettext
jpeg-6b IJG's JPEG compression utilities
libiconv-1.9.1 character set conversion library
mysql-client-4.0.20 multithreaded SQL database (client)
mysql-server-4.0.20 multithreaded SQL database (server)
p5-DBD-mysql-2.9004 MySQL drivers for the Perl DBI
p5-DBI-1.43 unified perl interface for database access
p5-Net-Daemon-0.38 extension for portable daemons
p5-PlRPC-0.2018 module for writing rpc servers and clients
php4-core-4.3.10 server-side HTML-embedded scripting language
php4-mysql-4.3.10 mysql database access extensions for php4
php4-snmp-4.3.10 snmp protocol extensions for php4
png-1.2.5p5 library for manipulating PNG images
recode-3.6p1 convert files between character sets and usages
rrdtool-1.0.48 system to store and display time-series data
tiff-3.6.1p1 tools and library routines for working with TIFF images
ucd-snmp-4.2.6 extendible SNMP implementation
-Russ
Who is online
Users browsing this forum: No registered users and 0 guests