Multiple IP Address per Host Strategies

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Multiple IP Address per Host Strategies

Post by jdalrymple »

wltjr wrote:dealing with multiple IPs per host and strategies there
wltjr wrote:the main issue was and still is having MULTIPLE IP addresses per host and passing those on. I have gone with #4 and implemented custom host macros
What did you do with those host macros? I mean at this point I guess it sounds like your problem is resolved so I guess it doesn't really matter. I just feel like all along I've totally misunderstood the actual problem and maybe if I knew why you cared to store those addresses in macros I'd perhaps understand what you were trying to do that I was totally misunderstanding.
wltjr wrote:Just seems bit hackish and not so elegant, but works.
$HOSTADDRESS$ is a construct indicating how Nagios is intended to communicate with the monitored device, nothing else. It sounds like you needed a different sort of macro for a different reason. All that said, hackish and not so elegant is often the only answer, and who cares if it works?
Locked