No remote server on Nagios 3.4.0 (work on 3.2.1) [Solved]
Posted: Wed May 09, 2012 5:23 am
Hi,
I successfully set up a Nagios 3.2.1 on squeeze and including remote monitoring of 2 servers.
So I installed the 3.4.0 this time downloading from http://www.nagios.org/download
So, i installed using the same download method the last version of nrpe (2.13) and "./check_nrpe -H remoteserverip -c check_users" result is ok.
I found out that the config files of the 3.4.0 are in /usr/local/nagios/etc/objects so i create there a config file for my remote host with minimum requirement to see it displayed on Nagios.
Nada....
I have restarted nagios, apache, check permission, etc... The remote server don't show up on Nagios Dashboard.
I certainly missed something but where ?
It is important to notice that while Nagios 3.4.0 (nagios) don't show me the remote server, Nagios 3.2.1 (nagios3) still running display remote server informations.
I successfully set up a Nagios 3.2.1 on squeeze and including remote monitoring of 2 servers.
Once this done, i find out that the last version is 3.4.0.Using apt-get and basing the install on this tutorial http://www.howtoforge.com/installing-na ... nny-server (outdated but it worked fine)
So I installed the 3.4.0 this time downloading from http://www.nagios.org/download
Success, working fine my localhost is displayed properly.Using the explanation from the official quickstart, http://nagios.sourceforge.net/docs/3_0/ ... buntu.html
So, i installed using the same download method the last version of nrpe (2.13) and "./check_nrpe -H remoteserverip -c check_users" result is ok.
I found out that the config files of the 3.4.0 are in /usr/local/nagios/etc/objects so i create there a config file for my remote host with minimum requirement to see it displayed on Nagios.
Code: Select all
define host{
use generic-host
host_name remote
alias remote
address remoteserverip
}
define service{
use generic-service
host_name remote
service_description HTTP-Server
check_command check_http
}
I have restarted nagios, apache, check permission, etc... The remote server don't show up on Nagios Dashboard.
I certainly missed something but where ?
It is important to notice that while Nagios 3.4.0 (nagios) don't show me the remote server, Nagios 3.2.1 (nagios3) still running display remote server informations.