Well, <br><br>This could be completely out of line, but what if custom macros and a custom host check was baked for this kind of situation? <br><br>He could associate a custom macro and a custom host check that uses that custom macro to try to achieve what he wants. <br>
<br>Any ideas? <br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 8:49 PM, <span dir="ltr"><<a href="mailto:patrick.morris@hp.com">patrick.morris@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Sat, 13 Mar 2010, Digital Edge wrote:<br>
<br>
><br>
><br>
> > From: <a href="mailto:perldork@webwizarddesign.com">perldork@webwizarddesign.com</a><br>
> > Date: Fri, 12 Mar 2010 13:15:46 -0500<br>
> > To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
> > Subject: Re: [Nagios-users] Two IP for the Same server<br>
> ><br>
> > On Fri, Mar 12, 2010 at 11:52 AM, Digital Edge <<a href="mailto:reachtarak@hotmail.com">reachtarak@hotmail.com</a>> wrote:<br>
> > > Dear List,<br>
> > ><br>
> > > I have a server , which is having 2 NIC with IP assign. I wanted to add in<br>
> > > nagios those two IP with same hostname & relevant service checks.<br>
> > ><br>
> > > Will it be possible.<br>
> ><br>
> > Not with a single host definition; however this can be modeled with 3<br>
> > host definitions:<br>
> > * One virtual parent host object that has as a host check ping checks<br>
> > for both IPs<br>
> > * One virtual host object that represents NIC1 on the host<br>
> > * One virtual host object that represents NIC2 on the host<br>
> ><br>
> > Parent ------> A - NIC 1<br>
> > |<br>
> > |-----------> B - NIC 2<br>
> ><br>
> > The two hosts representing the NICs would have the parent host as<br>
> > their parent so that if the ping checks fail for the two hosts you<br>
> > only get notified that the parent host object is down.<br>
> ><br>
><br>
><br>
> What I mean to say that ,<br>
><br>
> define host{<br>
> use generic-servers<br>
> host_name Example1<br>
> alias Example1 - Used for Cookie<br>
> address 192.168.1.100<br>
> address1 192.168.1.101<br>
> }<br>
><br>
> Is anyway it possible to add multiple address field in the host definition, if the same server having more than one IP address.<br>
<br>
</div></div>To quote the original reply:<br>
<div class="im"><br>
> > Not with a single host definition<br>
<br>
</div><div><div></div><div class="h5">------------------------------------------------------------------------------<br>
Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br>