statusmap.cgi not showing dependencies properly
atonns at mail.ivillage.com
atonns at mail.ivillage.com
Fri Sep 6 17:31:36 CEST 2002
i'd like to know if the statusmap.cgi will understand the alternate method
i'm using for configs and map the dependencies properly.
basically, each host has one line in the main nagios.cfg:
cfg_dir=/usr/local/nagios/etc/hosts/firewall
cfg_dir=/usr/local/nagios/etc/hosts/testhost
in each directory there is a host.cfg file that has something like this (as
apropriate):
define host{
use generic-host ; Name of host
template to use
host_name testhost
alias Test for Nagios
address testhost.foobar.com
check_command check-host-alive
max_check_attempts 10
notification_interval 480
notification_period workhours
}
define hostdependency{
host_name firewall
dependent_host_name testhost
notification_failure_criteria d,u
}
also in the appropriate directories are seperate config files for each
service (http.cfg, ping.cfg, etc. etc.)
statusmap.cgi prints a nice picture, but it doesn't show that "testhost"
depends on "router". it shows all hosts directly connected to the "nagios
process" icon.
P.S. "testhost" is actually a virtual IP on "firewall" that is nat'd to
testhost.nat.foobar.com using private 10.x.x.x addresses behind that
firewall.
P.P.S. I only have 3 hosts currently configured. The host that runs nagios,
"firewall" and "testhost". They are all shown as directly connected to
"nagios process".
thanks in advance for any/all help.
--
"Computer science is as much about computers as
astronomy is about telescopes" -- Edsger Dijkstra
---------------------------------------------------------
Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020906/347b75f6/attachment.html>
More information about the Users
mailing list