01-05-2020, 12:39 AM
I have not tried this, but I can't see a reason that it would not work.
You could create a new version of "check_ping" (just clone it), that would allow you to pass an IP address as a param, rather than using the HOSTADDRESS that it is attached to.
You could then add this to any host that has a secondary address, using that secondary address as the param. It could then monitor that secondary address sort of "as a service".
Now whether this is *easier* or *better* than creating a secondary host, depends on what you are trying to accomplish. It might be particularily handy if you had a host (like a router) with *alot* of ip addresses.
Hope this helps.
Jim
You could create a new version of "check_ping" (just clone it), that would allow you to pass an IP address as a param, rather than using the HOSTADDRESS that it is attached to.
You could then add this to any host that has a secondary address, using that secondary address as the param. It could then monitor that secondary address sort of "as a service".
Now whether this is *easier* or *better* than creating a secondary host, depends on what you are trying to accomplish. It might be particularily handy if you had a host (like a router) with *alot* of ip addresses.
Hope this helps.
Jim