Nagios client machine configuration steps

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
miyappan
Posts: 57
Joined: Thu Feb 11, 2016 5:42 am

Re: Nagios client machine configuration steps

Post by miyappan »

hi ,

i have configured client side but i am getting error in server side. please find the attachement.

CHECK_NRPE: Socket timeout after 30 seconds.
Attachments
Nagios Chech NRPE.PNG
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Nagios client machine configuration steps

Post by nozlaf »

are you sure nrpe is running on the client machine and that selinux is turned disabled

Code: Select all

echo 0 > /selinux/enforce
will turn off selinux on the client machine
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
miyappan
Posts: 57
Joined: Thu Feb 11, 2016 5:42 am

Re: Nagios client machine configuration steps

Post by miyappan »

can any one help this CHECK_NRPE: Socket timeout after 30 seconds error. please find the attachment.
Attachments
Nagios Chech NRPE.PNG
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Nagios client machine configuration steps

Post by rhassing »

Does NRPE run on the server you want to monitor.

Code: Select all

ps -ef | grep xinetd
Could you check with netstat if a process listens on port 5666 on the server you want to monitor?
Show the output of:

Code: Select all

netstat -tulpn | grep 5666
Can you telnet to port 5666 from the nagios server to the server you want to monitor?

Code: Select all

telnet <IP address server> 5666
Is iptables (or other firewall) opened?
Rob Hassing
Image
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios client machine configuration steps

Post by hsmith »

Can you post your /etc/xinetd.d/nrpe file here for us to review?
Former Nagios Employee.
me.
miyappan
Posts: 57
Joined: Thu Feb 11, 2016 5:42 am

Re: Nagios client machine configuration steps

Post by miyappan »

Issue resolved ..kindly close the loop.
Locked