Nagios dependencia

Fórumok

Sziasztok!

A hostok monitorozására a nagiost használom
Az volna a kérdésem, hogyan tudom azt megoldani, ha mondjuk egy tűzfal mögött több gép is van amit nézek és a tűzfal nem elérhető /kapom róla a mailt/ akkor ami mögötte van arról ne küldjön értesítést?

Van vkinek ötlete?
Nagyon fontos lenne, előre is köszi

Hozzászólások

Úgy érted, hogy ha a tűzfalad lehal, akkor ne jöjjön tévesen check_host_alive red alert a tűzfal mögötti dolgokról?
A parents ilyen tekintetben hidegen hagyja a nagiost. Hiába állítod be, akkor is be fog pirosodni minden, ami a tűzfal miatt nem pingelhető.

--
unix -- több, mint kód. filozófia.

Hi!

Sajnos nekem is ugyan ez volt eddig a gondom, azzal a különbséggel, hogy nekem nem sikerült megoldanom.

Én is a dependencies.cfg-t állítgatom, ugyan úgy min a fenti sorokban, de ugyan úgy jön mindendől levél.

Kérdésem hogy mit jelent a dependent_host (függő)
Pl.: Router---->host, tehát ha a router megáll, akkor a host-ra ne riasszon

akkor ez kell:

define hostdependency{
host_name host
dependent_host_name router
notification_failure_criteria d,u
}

vagy ez:

define hostdependency{
host_name router
dependent_host_name host
notification_failure_criteria d,u
}

Köszi

Ha a parents nalad nem mukodik, az bug.
Arra valo, ha a parent lemegy akkor a mogotte levol dolgokra ne riasszek.

--> parents:
This directive is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the "Determining Status and Reachability of Network Hosts" document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored.

Talan az alabbi idezet az ami elkerulte a figyelmedet:
DOWN vs. UNREACHABLE Notification Types

I get lots of email from people asking why Nagios is sending notifications out about hosts that are unreachable. The answer is because you configured it to do that. If you want to disable UNREACHABLE notifications for hosts, modify the notification_options argument of your host definitions to not include the u (unreachable) option.

Akkor tulajdonképp kimondható, hogy a 1.3-1.5 körüli nagios verziókban a dependencia nem működik?! Vagy van akinek sikerült megcsinálnia...?!