nagios-plugins + nagios-nrpe-server install removes MySQ
Posted: Mon Oct 22, 2012 1:15 pm
Hi, I have an Ubuntu 12.04 64-bit postfix/clamav/spamassisin/courier mail server. I am trying to monitor this server with plugins and nagios core. I have the mail server setup and running smooth by following this tutorial...
http://www.pixelinx.com/2010/10/creatin ... nd-amavis/
I also have an Ubuntu 12.04 64-bit Nagios Server that's running great. I have used this tutorial to help with that install...
http://ubuntuforums.org/showthread.php?p=12310155
Both machines are VMs running on ESX 4.1. Whenever I install the nrpe-server and plugin packages on the mail server the MYSQL installation on (mail) gets removed. In turn, this also is breaking my ClamAV and SpamAssasin install.
My install process on the mail server is as follows...
Create VM > Uninstall Apparmor > Install VMTools > Follow (above) Postfix guide > Test Email functionality > Follow NRPE plugin examples from (above) nagios tutorial
Immediately after the NRPE install I see the ClamAV and Spamassasin service stopping in the /var/log/mail.log file. At that point I check MySQL and it's gone. I say gone because if I run 'mysql' from the command prompt I'm told it's not installed. Reinstall MySQL does not take me through the setup process and all my configured MYSQL options, password, and databases restored. This would be fine but the courier imap services no longer start with...
/etc/init.d/courier-imap start
/etc/init.d/courier-imap-ssl start
In fact, these two plugins seem to break the whole SASL process as I can't authenticate into POP3 either. If I check IMAP with the NRPE-plugins I get a conenction refused in response to Nagios Server's IMAP check. On the same note, all plugins are reporting back to NAgios server and appear fully functional.
I have read something about nrpe-server-plugin being sent to the Universal repository. To my understanding, that repository is mostly depricated software not supported for install by cannonical. Maybe that's the issue here. Or, maybe the issue is 12.04 and I need to drop back a release. Either way, I would like to know if anyone could help me understand what's happening. Obviously the plugins are made to monitor mysql so I know it can work. For what it's worth, I am new to *nix but am versed in servers and networking.
I would like to roll this plugin out to more servers but first I need answers. I've restored the server to pre nrpe installation through veeam several times to go back through the process. Each time I get the same result. Please, someone shed some light on this for me.
Thanks in advance, Andrew.
http://www.pixelinx.com/2010/10/creatin ... nd-amavis/
I also have an Ubuntu 12.04 64-bit Nagios Server that's running great. I have used this tutorial to help with that install...
http://ubuntuforums.org/showthread.php?p=12310155
Both machines are VMs running on ESX 4.1. Whenever I install the nrpe-server and plugin packages on the mail server the MYSQL installation on (mail) gets removed. In turn, this also is breaking my ClamAV and SpamAssasin install.
My install process on the mail server is as follows...
Create VM > Uninstall Apparmor > Install VMTools > Follow (above) Postfix guide > Test Email functionality > Follow NRPE plugin examples from (above) nagios tutorial
Immediately after the NRPE install I see the ClamAV and Spamassasin service stopping in the /var/log/mail.log file. At that point I check MySQL and it's gone. I say gone because if I run 'mysql' from the command prompt I'm told it's not installed. Reinstall MySQL does not take me through the setup process and all my configured MYSQL options, password, and databases restored. This would be fine but the courier imap services no longer start with...
/etc/init.d/courier-imap start
/etc/init.d/courier-imap-ssl start
In fact, these two plugins seem to break the whole SASL process as I can't authenticate into POP3 either. If I check IMAP with the NRPE-plugins I get a conenction refused in response to Nagios Server's IMAP check. On the same note, all plugins are reporting back to NAgios server and appear fully functional.
I have read something about nrpe-server-plugin being sent to the Universal repository. To my understanding, that repository is mostly depricated software not supported for install by cannonical. Maybe that's the issue here. Or, maybe the issue is 12.04 and I need to drop back a release. Either way, I would like to know if anyone could help me understand what's happening. Obviously the plugins are made to monitor mysql so I know it can work. For what it's worth, I am new to *nix but am versed in servers and networking.
I would like to roll this plugin out to more servers but first I need answers. I've restored the server to pre nrpe installation through veeam several times to go back through the process. Each time I get the same result. Please, someone shed some light on this for me.
Thanks in advance, Andrew.