Host with multiple ping test
Host with multiple ping test
Can 1 host have multiple ping tests going to it and alerting on each interface that fails the ping independatnly? We currently use Solarwinds and this is not built-in. Just seeing if Nagios XI can do that.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Host with multiple ping test
Sure you could add additional services under that host for each interface. There are also plugins on the exchange that can accomplish similar actions:
http://exchange.nagios.org/directory/Pl ... dr/details
http://exchange.nagios.org/directory/Pl ... dr/details
Re: Host with multiple ping test
I'm trying to create the service under the object but it uses HOSTNAME. Isn't that the Host object's name/IP not interface?
Re: Host with multiple ping test
If it is a service check, it should also include "service_description". Just make sure that the service_description is unique for each check - "eth0 ping", "eth1 ping", etc.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Host with multiple ping test
The issue is it won't let me ping anything other than the host address. I need to issue several pings to different IPs for each host. Does this mean I need to use the plugin listed above or does this functionality exist out of the box?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Host with multiple ping test
I think there may be a misunderstanding here, a host is a single address under which you add "services" which are essentially items under that host. Now, you could add additional services which essentially ping other addresses, but to ping multiple host addresses and treat them as hosts you will need to add a new host for each address you wish to check. This is a fundamental piece of network monitoring.
Re: Host with multiple ping test
I tried adding "services" to ping other addresses but they all use the hostname/IP of the host instead of letting me specify the IP. Network hosts like routers, switches, firewalls can have multiple IPs and I need to be able to detect circuits being down even if the physical link is up and there are backup lines that allow us to reach the loopback. I want to know if this can be done without using a plugin. If not, I will look at the plugins but if it can be done out of the box with services which one will let me specify my own IP to ping rather than using the hostname/IP of the host itself.
Re: Host with multiple ping test
Nagios can't really do much without plugins because the plugins are what Nagios relies on to check hosts and services. Every service check has an associated plugin that it runs to determine availability of the service, so trying to ping without using a plugin will not work. So no, there isn't a way to do this without a plugin. What you will want to do is create a new command that pings without using $HOSTADDRESS$ and instead lets you specify which IP to use via $ARG1$ or any of the other args. This can be easily done through the CCM, just click Commands on the left and choose your plugin and command arguments, giving it a name that is relevant to what you want accomplished.
Former Nagios employee
Re: Host with multiple ping test
That's what I needed to hear. I know you can do anything with Nagios but I wanted to know that it could be configured out of the box in the UI rather than manual config file tweaking. I'm trying to sell this as a replacement to Orion and it needs to be point and click 90% of the way. Last time I setup a Nagios box was in 2009 and I used Lilac for management I believe.
Anyway thanks!
Anyway thanks!