[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Status changes and hostmon

I've noticed what seems like broken behaviour with logging by noclogd
with hostmon events. Here's an example.

In this case with portmapper, when the site came back up the level moved
to Info and was marked up

Fri Sep  4 03:09:00 1998 [rpcpingmon]: SITE mail.xxx mail.xxx.com VAR 
Portmapper 0 3 Status LEVEL Critical LOGLEVEL Critical NOCOP down
Fri Sep  4 05:59:00 1998 [rpcpingmon]: SITE mail.xxx mail.xxx.com VAR 
Portmapper 1 3 Status LEVEL Info LOGLEVEL Critical NOCOP up

Whereas, this example shows a hostmon incident where page outs went
critical for a while. In this case the last entry is still down, though
it moved to Level Error from Critical.

Thu Sep  3 22:24:00 1998 [hostmon]: SITE mail1.toronto.xxx - VAR
PageOut 1219 999 po LEVEL Critical LOGLEVEL Critical NOCOP down
Thu Sep  3 22:34:00 1998 [hostmon]: SITE mail1.toronto.xxx - VAR
PageOut 34 10 po LEVEL Error LOGLEVEL Critical NOCOP down

Is this a bug? I've been working on a script to reformat the noclogd
output into an email message for emailing and sending to a pager gateway
and this is messing me up. ;)


-- 
  Artificial Intelligence stands no chance against Natural Stupidity.
            GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                 b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*