Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We've recently set up Nagios on one of our Amazon EC2 instances to act as a monitoring server to our other instances. nrpe was installed on our staging server stager and appears to be working fine:

monitoring_server~: /usr/lib/nagios/plugins/check_nrpe -H xx.xx.xx.xx -p 5666
NRPE v2.12

The issue is - when viewing the remote server stager within the Nagios admin screen - it appears to be 'DOWN'.

The check_ping command reveals:

monitoring_server~: /usr/lib/nagios/plugins/check_ping -H 'xx.xx.xx.xx' -w 5000,100% -c 5000,100% -p 1
PING CRITICAL - Packet loss = 100%|rta=5000.000000ms;5000.000000;5000.000000;0.000000 pl=100%;100;100;0

Can anyone provide some direction on how to get this working? Not sure what else to do

share|improve this question
4  
Can you ping the staging server from the monitoring server via an actual command line ping? Talking to NRPE is very different from getting an ICMP reply... –  John Jun 25 '13 at 17:17
    
Cheers John - this was correct. ICMP reply was set up, and I can ping.. ping -c 10 monitoring_server - now works. –  williamsowen Jul 23 '13 at 9:59

1 Answer 1

Since you're unable to ping the EC2 instances, you're going to have to use a different plugin for the host checks.

And since you're going to use NRPE, you can use check_tcp pointed at port 5556 as a host check, for example.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.