Ok. I got it all ironed out (well mostly). It looks like I didn't sudo or wasn't root in a couple of spots when I installed the nagios plugins and nrpe. I just kinda zipped through it without paying attention and that is where a lot of the problems were coming from.
Somehow we need to tell everyone doing instructions (for Debian or Ubuntu) that it's not openssl-dev it's libssl-dev, which is the package you want. If I were a noob (and I am barely more than a noob) I would never think to try libssl-dev when most places say to use apt-get install openssl-dev. I don't know if anyone else has experienced this.
The only I was having after that is with Total Processes. In the remote nrpe.cfg it's defined as:
Code: Select all
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s
command[check_local_procs]=/usr/local/nagios/libexec/check_procs -w 150 -200
I'm not sure if you are supposed to pick one (that's what I ended up doing just using the local and I commented the other one out) or if they are aggregate at the end or what. I changed it to:
Code: Select all
### command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s
command[check_procs]=/usr/local/nagios/libexec/check_procs -w 150 -200
and now it's running fine. I really don't need zombie processes. But I'm going to try and figure that out just because....it'll bug me if I don't.
I know there are 100 different directions out there but I wrote up some for Ubuntu 12.04 precisesly how I did it, which I use and it seems to install perfectly everytime. It doesn't vary too much from what the team puts out....anyway my point is that I was going to write it all out Nagios->Nagios-Plugins->NRPE instructions for Ubuntu 12.04....and I can test it on one of my servers at home. Then maybe some of you fine people can mull over it than I'll throw it up on Ubuntu Forums and possibly help guide someone else. If that's cool with everyone here.