I have a Debian Nagios server in 431 which is working perfectly. This server is monitoring many windows servers (services, number of files on directory, etc).
This week, my boss asked me to supervise the disk space on our owncloud server (Ubuntu 14.1). This is the first linux we needs to monitor.
Firstly even if i already use the plugin check_nrpe on our nagios server, I've launched the command "# sudo apt-get install nagios-nrpe-plugin" and verified that the command "check_nrpe" wasn't disabled on command.cfg.
Then, on our owncloud server (the target we need to supervise), I've launched :
Code: Select all
# sudo apt-get install nagios-nrpe-server
# sudo apt-get install nagios-plugins
Code: Select all
allowed_hosts = IP adress of our nagios (I also tried to write 127.0.0.1, IPadressenagiosserver)
Code: Select all
# /etc/init.d/nagios-nrpe-server start
Code: Select all
# ./check_nrpe -H IPadresse localhost or owncloud or nagios
Then i'd tried some commands (many, ...) and the problem was the same on both servers.
I've checked again the nrpe.cfg on our ubuntu server, and i see the IP adress of our nagios server next to "allowed hosts". But still nothing...
Could you help me ?
Thank you by advance.