--On Thursday, March 11, 2004 9:26 AM +0100 Christian Hertel <[EMAIL PROTECTED]> wrote:


I just wondered why mon.cgi reports "depstatus=0" although I set dependencies (which are alright). It looks like it's just an reporting error, mon does not set alerts if the dependencies are down. In our case, dep_behavior is set to "m", and the dependencies are simply set to "SELF:ping" (service ping is existing).

I think dep_behavior of "m" is your problem. "m" means don't run monitor scripts if dependencies are failing. But since your service is trap based, Mon never runs monitor scripts at all. And since the dependency status is computed at monitor invocation time, its presumably never getting set at all, thus showing as 0 in the interface.


For trap based services I believe you want dependencies to cause alert suppression, i.e. dep_behavior of "a".

-David

David Nolan                    <*>                    [EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
     a herd of rogue emacs fsck your troff and vgrind your pathalias!


_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon

Reply via email to