Hello,
I am monitoring my infrastructure with IP address and all its services are working perfectly fine.
But as one of my VM gets restart hosted on Azure, its instance IP gets changed after every reboot so we have to manually change new IP addressess.
I have tried to monitor with cloudapp name (url), all my services are working fine but ping is in disable state. Error message is as below.
CRITICAL - abc.cloudapp.net: rta nan, lost 100%
Can anyone help me out for ping alert resolution.
Thank you very much!
Ping is crtical on cloudapp
Re: Ping is crtical on cloudapp
If the nagios machine cannot ping the host (abc.cloudapp.net), then it's going to be critical. If this is expected, then perhaps you'll want to disable the check.
If your other checks are working at this point, then it sounds like ICMP traffic may be blocked which is why the ping checks are failing. Try enabling ICMP traffic on the client machine, to see if that resolves the issue.
If your other checks are working at this point, then it sounds like ICMP traffic may be blocked which is why the ping checks are failing. Try enabling ICMP traffic on the client machine, to see if that resolves the issue.
Former Nagios Employee
Re: Ping is crtical on cloudapp
Thank you!
This sounds quite logical, what change I need to make on client side.
Thank you!
This sounds quite logical, what change I need to make on client side.
Thank you!
Re: Ping is crtical on cloudapp
What is the OS and version are you running on the remote system?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ping is crtical on cloudapp
Hello,
I have enabled rule on client side by following below guide, but this did not work for me.
Windows 2012 r2 server
http://www.sysprobs.com/how-to-enable-p ... 2-firewall
Any other suggestions?
Thank you!
I have enabled rule on client side by following below guide, but this did not work for me.
Windows 2012 r2 server
http://www.sysprobs.com/how-to-enable-p ... 2-firewall
Any other suggestions?
Thank you!
Re: Ping is crtical on cloudapp
You may need to login to Azure security settings for that host and allow inbound ICMP also to get this to work.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ping is crtical on cloudapp
Thank you!
I have already enabled endpoints of this host, I have enabled port 1 for ping.
Is there anything which is still missing? Or I am doing wrong.
Thank you!
I have already enabled endpoints of this host, I have enabled port 1 for ping.
Is there anything which is still missing? Or I am doing wrong.
Thank you!
Re: Ping is crtical on cloudapp
Looks like you've covered everything so there must be something else going on with your network. This may be over kill, but I would run a set of simultaneous captures (one on Nagios using tcpdump and the other on the Windows Server using Wireshark) while trying to ping the Win server from the Nagios machine.
In the tcpdump on Nagios you should see the ping/ICMP leaving. On the client Wireshark capture - does it ever get there? If not, then of course there's something in the middle dropping those packets.
In the tcpdump on Nagios you should see the ping/ICMP leaving. On the client Wireshark capture - does it ever get there? If not, then of course there's something in the middle dropping those packets.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Ping is crtical on cloudapp
Actually, I searched google and found that Azure doesn't allow inbound ICMP through their load balancer.
You can either disable the host check on the Nagios server or select an open port on the server and use that instead.
You can either disable the host check on the Nagios server or select an open port on the server and use that instead.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ping is crtical on cloudapp
You could change the check host alive command in order to monitor this host successfully. For more information on how to do that, check our "Nagios XI – Changing Host Alive Check" document here:
https://assets.nagios.com/downloads/nag ... _In_XI.pdf
Hope this helps.
https://assets.nagios.com/downloads/nag ... _In_XI.pdf
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!