Issues with NRPE Monitoring for a Linux Server
-
venturegardengroup
- Posts: 62
- Joined: Tue Jun 28, 2016 10:11 am
Issues with NRPE Monitoring for a Linux Server
Hello Support,
I am trying to monitor some in-house linux servers for the first time. I have followed the procedure on https://assets.nagios.com/downloads/nag ... 1452760324 successfully. However, after completing the setup on Nagios XI, I am getting ” CHECK_NRPE: Error - Could not complete SSL handshake” on all NRPE services. Could this be an error in the setup process? Find snapshot attached.
In addition I will like to monitor the following services on the same server:
- Connectivity - LAN
- Connectivity - WAN
- Disk:
- Opsview Agent
- Runaway Processes
- SSH processes
- Total files in /var/log
- Unix Load Average
- Unix Memory
- Unix Swap
- Zombie Processes
Please help.
Regards,
I am trying to monitor some in-house linux servers for the first time. I have followed the procedure on https://assets.nagios.com/downloads/nag ... 1452760324 successfully. However, after completing the setup on Nagios XI, I am getting ” CHECK_NRPE: Error - Could not complete SSL handshake” on all NRPE services. Could this be an error in the setup process? Find snapshot attached.
In addition I will like to monitor the following services on the same server:
- Connectivity - LAN
- Connectivity - WAN
- Disk:
- Opsview Agent
- Runaway Processes
- SSH processes
- Total files in /var/log
- Unix Load Average
- Unix Memory
- Unix Swap
- Zombie Processes
Please help.
Regards,
You do not have the required permissions to view the files attached to this post.
Re: Issues with NRPE Monitoring for a Linux Server
Have you reviewed this common solutions document?
https://assets.nagios.com/downloads/nag ... utions.pdf
Usually this is because, on the remote linux server, your Nagios XI server's IP address was not added to the list of allowed hosts. Check out pages 3 and 4 if you haven't tried this yet!
https://assets.nagios.com/downloads/nag ... utions.pdf
Usually this is because, on the remote linux server, your Nagios XI server's IP address was not added to the list of allowed hosts. Check out pages 3 and 4 if you haven't tried this yet!
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
venturegardengroup
- Posts: 62
- Joined: Tue Jun 28, 2016 10:11 am
Re: Issues with NRPE Monitoring for a Linux Server
Hello XI Support,
I have followed the the procedures outlined in the aspect of the document that is relevant to the error I am getting-"CHECK_NRPE: Error - Could Not Complete SSL Handshake".
On "Allowed Hosts":
I have listed and added the IP address of the Nagios server on the nrpe.cfg and the nxinetd configurations files respectively, but the issue persists.
On "SSL Not Compiled In":
I could not find the nrpe-2.14 file in the /tmp folder.
On "Xinetd Per Source Limit":
I have followed the procedure, but the issue persists.
Please advice. Thank you.
HNI, VGG
I have followed the the procedures outlined in the aspect of the document that is relevant to the error I am getting-"CHECK_NRPE: Error - Could Not Complete SSL Handshake".
On "Allowed Hosts":
I have listed and added the IP address of the Nagios server on the nrpe.cfg and the nxinetd configurations files respectively, but the issue persists.
On "SSL Not Compiled In":
I could not find the nrpe-2.14 file in the /tmp folder.
On "Xinetd Per Source Limit":
I have followed the procedure, but the issue persists.
Please advice. Thank you.
HNI, VGG
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Issues with NRPE Monitoring for a Linux Server
From your Nagios XI server execute these commands and provide the output:
Where xxx is the IP address of the remote server.
On the remote server execute these commands and provide the output:
What operating system is running on the remote server?
Code: Select all
nmap -Pn -p T:5666 xxx
/usr/local/nagios/libexec/check_nrpe -H xxx
/usr/local/nagios/libexec/check_nrpe -H xxx -nOn the remote server execute these commands and provide the output:
Code: Select all
ps -C xinetd
ps -C nrpe
tail -n 50 /var/log/messagesAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
venturegardengroup
- Posts: 62
- Joined: Tue Jun 28, 2016 10:11 am
Re: Issues with NRPE Monitoring for a Linux Server
Hello XI Support,
Please find outputs attached.
Kind regards,
HNI
VGG
Please find outputs attached.
Kind regards,
HNI
VGG
You do not have the required permissions to view the files attached to this post.
Re: Issues with NRPE Monitoring for a Linux Server
Could you please answer this?Box293 wrote: What operating system is running on the remote server?
Also, from your output I noticed -
Code: Select all
nmap -Pn -p T:5666 xxx
Starting Nmap 6.47 ( http://nmap.org ) at 2016-07-07 11:03 WAT
Failed to resolve "xxx".
WARNING: No targets were specified, so 0 hosts scanned.
Former Nagios Employee
-
venturegardengroup
- Posts: 62
- Joined: Tue Jun 28, 2016 10:11 am
Re: Issues with NRPE Monitoring for a Linux Server
Hello XI Support,
The OS running on the remote is Ubuntu - 3.19.0-49-generic #55~14.04.1-Ubuntu SMP.
See also the output requested below; sorry for the mistake:
[root@localhost ~]# nmap -Pn -p T:5666 197.253.1.248
Starting Nmap 6.47 ( http://nmap.org ) at 2016-07-08 10:35 WAT
Stats: 0:00:00 elapsed; 0 hosts completed (0 up), 0 undergoing Host Discovery
Parallel DNS resolution of 1 host. Timing: About 0.00% done
Nmap scan report for 197.253.1.248
Host is up (0.0045s latency).
PORT STATE SERVICE
5666/tcp open nrpe
Nmap done: 1 IP address (1 host up) scanned in 0.78 seconds
[root@localhost ~]#
Thanks.
HNI
VGG
The OS running on the remote is Ubuntu - 3.19.0-49-generic #55~14.04.1-Ubuntu SMP.
See also the output requested below; sorry for the mistake:
[root@localhost ~]# nmap -Pn -p T:5666 197.253.1.248
Starting Nmap 6.47 ( http://nmap.org ) at 2016-07-08 10:35 WAT
Stats: 0:00:00 elapsed; 0 hosts completed (0 up), 0 undergoing Host Discovery
Parallel DNS resolution of 1 host. Timing: About 0.00% done
Nmap scan report for 197.253.1.248
Host is up (0.0045s latency).
PORT STATE SERVICE
5666/tcp open nrpe
Nmap done: 1 IP address (1 host up) scanned in 0.78 seconds
[root@localhost ~]#
Thanks.
HNI
VGG
Re: Issues with NRPE Monitoring for a Linux Server
Run the following commands, and show the output:
on the client
on the nagios xi server
on the client
Code: Select all
ip addr
find / -name nrpe
cat /etc/xinetd.d/nrpe
/usr/local/nagios/bin/nrpe
service xinetd restartCode: Select all
ip addrBe sure to check out our Knowledgebase for helpful articles and solutions!
-
venturegardengroup
- Posts: 62
- Joined: Tue Jun 28, 2016 10:11 am
Re: Issues with NRPE Monitoring for a Linux Server
Please find the required output attached.
Regards,
Regards,
You do not have the required permissions to view the files attached to this post.
Re: Issues with NRPE Monitoring for a Linux Server
Can you also run the following command on the Nagios XI server and show the output?
Code: Select all
netstat -nrBe sure to check out our Knowledgebase for helpful articles and solutions!