Zenoss on Mac
Email This Post
Print This Post
I’ve been on an intermittent quest for the past few weeks to build Zenoss 2.1 on my Mac PowerBook G4. Happily, that quest has a successful ending, and I’m willing to share a short recipe for installing Zenoss on a Mac PowerBook using OS X, though I expect these instructions apply to Intel based Mac users too.
Update 01/10/2008: These instructions apply OS X 10.4 Tiger and Zenoss 2.1.2.
Before I continue, I’ll answer the question, “Why do you want to build Zenoss on your PowerBook, Mike?” Well, mostly because I don’t have an Intel Mac, and I need a mobile machine that I can run Zenoss on for demos, evaluations, and just for fun. My mobile machine happens to be a PowerBook. I’m sure this information transcends architectures, which makes it worth sharing.
These steps should get you started:
- Install MacPorts.
- Install Xcode from the OS X install DVD or from Apple so you get a build environment.
- Install Python2.4 and SWIG using MacPorts:
sudo /opt/local/bin/port python24
sudo /opt/local/bin/port swig - Create your Zenoss user via the System Preferences
- Set up the Zenoss users path.
- Edit /Users/zenoss/.bash_login and add:
export ZENHOME=/usr/local/zenoss export PYTHONPATH=$ZENHOME/lib/python export PATH=$ZENHOME/bin:usr/local/mysql/bin:/opt/local/bin:$PATH
- Continue with the Zenoss build instructions, which can be found in the INSTALL.TXT file of the Zenoss source.
Happy monitoring.
Couple questions.
What version of OSX are you using?
Are you using the official MySQL package installer from MySQL AB or a compiled version via MacPorts?
I’m installing on OSX Leopard, but using the macports version of MySQL. In theory, this is the same thing you’re doing except macports links all the mysql5 binaries to symlinks in /opt/local/bin with “5″ appended to their names. Simply renaming the links without the 5 didn’t do the trick — there is still a missing dylib somewhere…
Rick
10 Jan 2008 at 2:23 pm
Hi Rick,
Thanks for stopping. I’m working with Tiger 10.4.11 and I’m using the MySQL AB package. Zenoss version 2.1.2.
-Mike
10 Jan 2008 at 6:24 pm
[...] Zenoss on Mac That could be great! (tags: zenoss redmonkclients install) [...]
11 Jan 2008 at 2:18 am
[...] BadgerFiles: Zenoss on Mac OS X [...]
31 Jan 2008 at 11:20 am