Hi team,
I am able to ping a server from Nagios server CLI, but when the same remote server is configured in Nagios it is saying that the server is down, and I am unable to ping it from Console.
Is there any setting I am missing here, can someone help me please. thanks.
Regards,
Ram.
Pinging a remote server
Re: Pinging a remote server
What plugin are you using? Can you try to execute this plugin as the 'nagios' user from the command line and see what happens?
Former Nagios Employee.
me.
me.
Re: Pinging a remote server
To add on to hsmith's suggestion = if you are using NSClient++ on the remote server (lets assume its of the Windows variety) you need to make sure the firewall is configured to allow traffic on the port configured for NSClient, which is by default 12489.
Take a look at the 'Basic Troubleshooting Tips' section here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Take a look at the 'Basic Troubleshooting Tips' section here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Pinging a remote server
Have a look at the host definition (or template) to see how its checked.
I recently added a bunch of IPv6 hosts and needed to change the host check in the template to use check_ping rather than check_host_alive, since it failed on IPv6. Also, in linux ping is for v4 and ping6 is for v6. Not very likely, but possible...
I recently added a bunch of IPv6 hosts and needed to change the host check in the template to use check_ping rather than check_host_alive, since it failed on IPv6. Also, in linux ping is for v4 and ping6 is for v6. Not very likely, but possible...
Re: Pinging a remote server
Thanks gormank.
raamardhani7, keep us posted --
raamardhani7, keep us posted --
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Pinging a remote server
Hi Team,bwallace wrote:Thanks gormank.
raamardhani7, keep us posted --
Thanks a lot for the updates, we are using Network Switch/Router plugin to configure our network devices. though the device is pinging from the Nagios XI server, but when configured from Portal, it is showing down. will check with the updates you have posted and will come back if something turns out to be working for us. thanks a lot.
Re: Pinging a remote server
Thanks raamardhani7, we'll leave this thread open in the meantime.
Be sure to check out the Knowledgebase for helpful articles and solutions!