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
Need some Information/Guidance regarding Nagios installation
-
Siddharth Hegde
- Posts: 70
- Joined: Mon Aug 07, 2017 4:19 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need some Information/Guidance regarding Nagios installa
Personally I always recommend installing Nagios on its own server, but it should play nice with other modules.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?
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.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?
-
Siddharth Hegde
- Posts: 70
- Joined: Mon Aug 07, 2017 4:19 am
Re: Need some Information/Guidance regarding Nagios installa
Hi,
I tried installing Nagios, but I'm getting the following error
What does this do? Is it necessary for me to install this? I don't want web access, just email notifications will do
And I'm not allowed to create a new server. I have to somehow install Nagios in this one
Is there another way?
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.
Code: Select all
sudo apt-get install build-essential libgd2-xpm-dev openssl libssl-dev unzipIs there another way?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need some Information/Guidance regarding Nagios installa
This server has a bunch of broken packages. This will need to be resolved before you can even start the actual nagios installations.
This is just installing a few of the dependent packages. Just like the other apt-get commands.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