Hi Team,
Recently i have installed Nagios for testing Postgres client monitoring. I have installed below dump but having some nrpe communication issue. i have pasted complete log in below. Could you please review and help me on this please.
Nagios Server running with - Oracle Linux Server release 7.4
Cleint running with OEL-7.7
nagios-4.4.5.tar.gz
nrpe-nrpe-3.2.1
nagios-plugins-2.2.1.tar.gz
i modified configuration as per installation document. but i could see some nrpe communication error.
in Web i see below message:
Root Partition
CRITICAL 05-08-2020 12:44:40 0d 18h 59m 5s 3/3 CHECK_NRPE: Error - Could not connect to 10.9.104.101: Connection reset by peer
[root@test2]# /usr/local/nagios/libexec/check_nrpe -H 192.168.0.2
CHECK_NRPE: Error - Could not connect to 192.168.0.2: Connection reset by peer
[root@test2]#
i see below meesages in Nagios server /var/log/message:
May 8 12:54:40 test2 check_nrpe: Error: (nerrs = 0)(!log_opts) Could not complete SSL handshake with 192.168.0.2: rc=-1 SSL-error=5
In postgres-client i see below messages in /var/log/messages
May 8 12:54:40 postgresclient nrpe[88826]: Error: (use_ssl == false): Request packet version was invalid!
May 8 12:54:40 postgresclient nrpe[88826]: Could not read request from client 192.168.0.10, bailing out...
Regards
Naresh
CHECK_NRPE: Error - Could not connect to 192.168.0.2: Conn
-
- Posts: 3
- Joined: Fri May 08, 2020 7:49 am
-
- Posts: 14
- Joined: Thu May 07, 2020 8:46 am
Re: CHECK_NRPE: Error - Could not connect to 192.168.0.2: Co
nareshgandham wrote:Hi Team,
Recently i have installed Nagios for testing Postgres client monitoring. I have installed below dump but having some nrpe communication issue. i have pasted complete log in below. Could you please review and help me on this please.
Nagios Server running with - Oracle Linux Server release 7.4
Cleint running with OEL-7.7
nagios-4.4.5.tar.gz
nrpe-nrpe-3.2.1
nagios-plugins-2.2.1.tar.gz
i modified configuration as per installation document. but i could see some nrpe communication error.
in Web i see below message:
Root Partition
CRITICAL 05-08-2020 12:44:40 0d 18h 59m 5s 3/3 CHECK_NRPE: Error - Could not connect to 10.9.104.101: Connection reset by peer
[root@test2]# /usr/local/nagios/libexec/check_nrpe -H 192.168.0.2
CHECK_NRPE: Error - Could not connect to 192.168.0.2: Connection reset by peer
[root@test2]#
i see below meesages in Nagios server /var/log/message:
May 8 12:54:40 test2 check_nrpe: Error: (nerrs = 0)(!log_opts) Could not complete SSL handshake with 192.168.0.2: rc=-1 SSL-error=5
In postgres-client i see below messages in /var/log/messages
May 8 12:54:40 postgresclient nrpe[88826]: Error: (use_ssl == false): Request packet version was invalid!
May 8 12:54:40 postgresclient nrpe[88826]: Could not read request from client 192.168.0.10, bailing out...
Regards
Naresh
Can you confirm that you're nrpe.cfg file has nagios server IP in allowed_hosts section?
Can you check SELINUX status on the server(if it is enabled, disable it)
can you check in /etc/xinetd.d/nrpe file has your nagios IP in only_form section
Can you check your 192.168.0.2 has any other interfaces, can you run hostname -I command on the server?
Thanks,
Srikanth
-
- Posts: 3
- Joined: Fri May 08, 2020 7:49 am
Re: CHECK_NRPE: Error - Could not connect to 192.168.0.2: Co
Hi Srikanth,
I configured multiple applications in single server so might something messed up in Nagios configuration so i did fresh OS load and installed Nagios. now all looks good no issues.
Could you help me how to enable mail alert?
Regards
Naresh
I configured multiple applications in single server so might something messed up in Nagios configuration so i did fresh OS load and installed Nagios. now all looks good no issues.
Could you help me how to enable mail alert?
Regards
Naresh
-
- Posts: 3
- Joined: Fri May 08, 2020 7:49 am
Re: CHECK_NRPE: Error - Could not connect to 192.168.0.2: Co
Thank you very much for your support and time.