View Single Post
  #7   (View Single Post)  
Old 30th December 2008
roundkat roundkat is offline
Shell Scout
 
Join Date: May 2008
Posts: 115
Default

Quote:
Originally Posted by dguitar View Post
Well I had a SPARC box sitting in a lab collecting dust, so I figured I'll try this out, and I needed a Nagios box there anyways. I've been using nagios for a few years, but never touched RRDTools or PNP4Nagios.
Nagios is an awesome product

Quote:
Just a few things I'd like to add to your AWESOME guide.

In your ./configure for your plugins - you just need --with-mysql, don't add in the = sign + path. As you can see from the print out of your plugins, check_mysql isn't in there. Also you have a typo in that configure command, the last word should be 'snmpgetnext' instead of 'snmpgetnetxt'.
Fixed the typo - thx
MySql - I could never get the plugin to compile.. just never fixed the guide..

Quote:
I had a lib missing, not the one you had (libgcc_s.so.1), even after the crle commands. I just created a sym link so that the lib would be in the folder. Might not be the best solution but it worked.
I tried symlinks at first (in a sparse root zone) but kept running into
issues..
Essentially, PHP made me go to a full root zone and crle did pretty
much solve all the issues..
Quote:
I had a lot of trouble getting RRDTools to complie so I just installed the one on SunFreeware which was 1.2.19. Worked fine.
I also tried that route but got errors compiling pnp4nagios...
the cgilib is what got me in compiling rrdtool-1.2.9
Quote:
I'm not a Solaris admin, and had a lot of problems with the pkg-get stuff. I ended up just downloading the packages from SunFreeware.
pkg-get installs in /usr/bin/ so it *has* to be installed in the global zone
it is just a tool to automate the download process nothing more..
I have also done the same thing when pkg-get doesn't work..

Note Here: pkg-get will also let update a package in place very
easily

Quote:
Now I just need to figure how to actually use PNP4Nagios to my benefit... lol
It generates some nice graphs when you just want an overview..

Quote:
Thanks again for writing this great Guide!
No Problem...
Thanks for all the input..!!

I am going to redo my installation with a few more features and
will post the next guide here..

rk
__________________
All posts sent on ReCycled Electrons...
Reply With Quote