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.
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'.
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 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'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.
Now I just need to figure how to actually use PNP4Nagios to my benefit... lol
Thanks again for writing this great Guide!
|