let us assume nagios is called "localhost" and let us assume that this is
the host definition for nagios
define host{
use linux-server
host_name localhost
alias localhost
address 192.168.1.1
parents *local-router*
}
The above host definition applies to the local nagios server and it shows
that it depends on a router. On your nagios status map - nagios server will
depend on the local-router.
Alex
On Jan 15, 2008 3:40 PM, Eric F Crist <[EMAIL PROTECTED]> wrote:
> OK, great. How?
>
> Eric
>
> On Jan 15, 2008, at 9:23 AM, Alex Dehaini wrote:
>
> > You can make nagios depend on another host or device, that should
> > solve your problem.
> >
> > On Jan 15, 2008 2:30 PM, Eric F Crist <[EMAIL PROTECTED] >
> > wrote:
> > On Jan 14, 2008, at 2:40 PM, Patrick Morris wrote:
> >
> > > On Mon, 14 Jan 2008, Eric F Crist wrote:
> > >
> > >> Is there any way or any benefit to telling nagios it resides on a
> > >> particular host? It would appear to me that bit of information
> > would
> > >> be necessary to properly handle notifications and parenting.
> > >
> > > Assuming you set up your parents correctly (from the perspective of
> > > Nagios), it'll drop itself into the right place.
> > >
> > > And, no, there's no way to tell Nagios whic host it lives on, but
> > > again,
> > > if you set up parents correctly, it won't matter.
> > >
> > > Say Nagios lives on Box A, and that box plugs into Switch B. You're
> > > alos monitoring Box C, also attached to Switch B.
> > >
> > > Switch B would have a parent of Box A, and Box C would have a parent
> > > of
> > > Switch B. When you look at the status map after setting that up,
> > > you'll
> > > see Nagios happily hanging itself off Box A, since it's the topmost
> > > parent of everything else.
> >
> >
> > I think I do have all of the parenting set up correctly, but the
> > Nagios process appears in the status map in the center, not attached
> > to anything. Should Nagios be at the top of my parenting chain?
> > Rather, the nagios host?
> >
> > -----
> > Eric F Crist
> > Secure Computing Networks
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
> >
> >
> > --
> > Alex Dehaini
> > Developer
> > Site - www.alexdehaini.com
> > Email - [EMAIL PROTECTED]
>
> -----
> Eric F Crist
> Secure Computing Networks
>
>
>
--
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null