Hi,
Could you please explain me why it happened this NRPE error ?
Thank you !
bb
check_nrpe error
check_nrpe error
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_nrpe error
Is NRPE running on the External IP?
Is there any firewall between the XI server and the External IP?
On the External IP, can you run
Is there any firewall between the XI server and the External IP?
On the External IP, can you run
Code: Select all
iptables -L
Re: check_nrpe error
Hi,
On Xi server :
NRPE is running on the external IP only for Windows OS. When I try it for Linux I received : CHECK_NRPE: Socket timeout after 10 seconds.Is NRPE running on the External IP?
Yes but it is working fine between the XI server and Win OS.Is there any firewall between the XI server and the External IP?
There is vmware ESXi 4.1 and it doesnt have iptables.On the External IP, can you run: iptables -L
On Xi server :
[root@SERVER ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s mtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:h ttps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s nmp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:s nmp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s nmptrap
ACCEPT udp -- anywhere anywhere state NEW udp dpt:s nmptrap
ACCEPT tcp -- anywhere anywhere state NEW tcp dpts: nrpe:nsca
REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
You do not have the required permissions to view the files attached to this post.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_nrpe error
Your configuration will be different between Linux and Windows NRPE agents, are you attempting to install and monitor an ESX server with NRPE?
Re: check_nrpe error
Yes. Is it possible ?slansing wrote:Your configuration will be different between Linux and Windows NRPE agents, are you attempting to install and monitor an ESX server with NRPE?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_nrpe error
Theoretically yes, you would need to compile it on the underlying OS, the procedure would depend on the OSBogdan_B wrote:Yes. Is it possible ?
Re: check_nrpe error
Did you follow our documentation for installing the linux agent (nrpe) on the client machine?
Can you telnet to your client from your Nagios XI server?
If you have nc installed on the Nagios XI server, you can also run:
Can you telnet to your client from your Nagios XI server?
Code: Select all
telnet <client_IP> 5666
Code: Select all
nc -zv <client_IP> 5666
Be sure to check out our Knowledgebase for helpful articles and solutions!