statusmap.cgi not showing dependencies properl y
Darren Gamble
Darren.Gamble at sjrb.ca
Tue Sep 10 19:40:16 CEST 2002
Good day,
> ok. i have answered my own question.
> it seems that statusmap.cgi does not draw dependencies (ie: lines to from
host
> to host) based upon "hostdependency" object definitions. INSTEAD, it uses
the
> "parents" directive that is part of the "host" object definition.
> aren't "parents" and "hostdependency"s now redundant? in what case would
you
> have a parent that wasn't a hostdependency? in looking at the code, i can
agree
> it might not be a trivial change, but should this fact be documented
somewhere?
As one can see in the docs, "hostdependency" objects offer much more
capability than what you had described here. You can set different
dependencies for a host being up, down, or unreachable. You could say that
a notification isn't send about a host so long as the other dependant host
is up. You can associate devices with others that are not located in the
same network. This could be important, for example, if you check a host's
status via ssh from another trusted host since it's behind a firewall.
Conversely, the "parents" attribute is designed for generating a
network-type layout that lets one easily take network topology into account
when suppressing notifications. I don't think it'll be possible to easily
phase this out for the "hostdependency" object- what would happen if you had
two hosts that depended on each other? How would you join those hosts to
others in the diagram? Additionally, taking the first example into
consideration, it probably wouldn't be logical to join those two hosts
together in a diagram.
I think the documentation for both "parents" and "hostdependency" is
sufficient. It might not be a bad idea to make a note on the documentation
page for the "Status Map CGI" that the "parent" attribute is used when
creating the network diagram.
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
More information about the Users
mailing list