Page 1 of 1
Need some Information/Guidance regarding Nagios installation
Posted: Wed Apr 11, 2018 3:30 am
by Siddharth Hegde
Hi,
I have to install nagios on server which is behind layer of DMZ and private network and also have couple of modules already installed and running in that particular server, i.e, MongoDB and RabbitMQ.
Is it a good practice?
And also server won't be exposed to public, how will email notifications work as couple of contacts are not in that private network?
Thanks in advance for any advice and suggestions
Re: Need some Information/Guidance regarding Nagios installa
Posted: Wed Apr 11, 2018 9:20 am
by scottwilkerson
Siddharth Hegde wrote:I have to install nagios on server which is behind layer of DMZ and private network and also have couple of modules already installed and running in that particular server, i.e, MongoDB and RabbitMQ.
Is it a good practice?
Personally I always recommend installing Nagios on its own server, but it should play nice with other modules.
Siddharth Hegde wrote:
And also server won't be exposed to public, how will email notifications work as couple of contacts are not in that private network?
This would be up to you. My guess is you would have to configure the server to send mail to a mailserver on your network, and hopefully that mail server knows how to reach out to the public.
Re: Need some Information/Guidance regarding Nagios installa
Posted: Tue Apr 17, 2018 6:34 am
by Siddharth Hegde
Hi,
I tried installing Nagios, but I'm getting the following error
Code: Select all
apt-get install php libapache2-mod-php php-mcrypt php-mysql
Error-
Setting up scx (1.6.3.527) ...
Failed to start omid.service: Unit omid.service not found.
dpkg: error processing package scx (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
scx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
apt-get install php-cli
Error-
Setting up scx (1.6.3.527) ...
Failed to start omid.service: Unit omid.service not found.
dpkg: error processing package scx (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
Code: Select all
sudo apt-get install build-essential libgd2-xpm-dev openssl libssl-dev unzip
Error-
Note, selecting 'libgd-dev' instead of 'libgd2-xpm-dev'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgd-dev : Depends: libfontconfig-dev
E: Unable to correct problems, you have held broken packages.
What does this do? Is it necessary for me to install this? I don't want web access, just email notifications will do
Code: Select all
sudo apt-get install build-essential libgd2-xpm-dev openssl libssl-dev unzip
And I'm not allowed to create a new server. I have to somehow install Nagios in this one
Is there another way?
Re: Need some Information/Guidance regarding Nagios installa
Posted: Tue Apr 17, 2018 7:56 am
by scottwilkerson
This server has a bunch of broken packages. This will need to be resolved before you can even start the actual nagios installations.
Siddharth Hegde wrote:What does this do? Is it necessary for me to install this? I don't want web access, just email notifications will do
Code: Select all
sudo apt-get install build-essential libgd2-xpm-dev openssl libssl-dev unzip
This is just installing a few of the dependent packages. Just like the other apt-get commands.