[Nodebrain-users] This just does not make since.......!
Rule Engine for State and Event Monitoring
Brought to you by:
trettevik
|
From: <gh...@rl...> - 2003-08-07 22:45:50
|
OK, I just am not getting it, NodeBrain does not respond the way I would
except from reading the manual.
Here I set a rule, then I alert a number of time. When the rule condition
become true the rule fires. Then
the rule fire for each alert after that, even though there are no variablse
that are alerted in the rule!!!!!!!
What's up........
-Gilbert.
Log below:
------------------------ LOG
----------------------------------------------------------------------------
---
N o d e B r a i n 0.5.4 2003/07/22 NBP 0.0.1
Copyright (C) 1998-2003 The Boeing Company
GNU General Public License
----------------------------------------------------------------
/usr/bin/nb
Date Time Message
---------- -------- --------------------------------------------
2003/08/07 05:17:24 NB000I NodeBrain nb rct[6106]
2003/08/07 05:17:24 NB000I Daemon log is /test/tmp/monitoring/policy_es.log
2003/08/07 05:17:24 NB000I FIFO Listener fifoinput enabled on
/test/tmp/monitoring/policy_es_fifo
2003/08/07 05:17:24 NB000T FIFO /test/tmp/monitoring/policy_es_fifo
> define P_2 if (M_21_Warning >= M_21_numnodes):- echo "Policy fired" >>
/tmp/policy_test.txt
> alert M_20_OK=1,M_20_Warning=0,M_20_numnodes=1,M_20_state=0;
> alert M_10_OK=1,M_10_Warning=0,M_10_numnodes=1,M_10_state=0;
> alert M_13_OK=0,M_13_Warning=0,M_13_numnodes=1,M_13_state=2;
> alert M_18_OK=1,M_18_Warning=0,M_18_numnodes=1,M_18_state=0;
> alert M_21_OK=0,M_21_Warning=1,M_21_numnodes=1,M_21_state=1;
2003/08/07 05:17:27 NB000I Rule "P_2" fired
> - echo "Policy fired" >> /tmp/policy_test.txt
> alert M_24_OK=1,M_24_Warning=0,M_24_numnodes=1,M_24_state=0;
2003/08/07 05:17:27 NB000I Rule "P_2" fired
> - echo "Policy fired" >> /tmp/policy_test.txt
> alert M_25_OK=1,M_25_Warning=0,M_25_numnodes=1,M_25_state=0;
2003/08/07 05:17:27 NB000I Rule "P_2" fired
> - echo "Policy fired" >> /tmp/policy_test.txt
> alert M_19_OK=6,M_19_Warning=0,M_19_numnodes=38,M_19_state=2;
2003/08/07 05:17:29 NB000I Rule "P_2" fired
> - echo "Policy fired" >> /tmp/policy_test.txt
> alert M_22_OK=0,M_22_Warning=0,M_22_numnodes=1,M_22_state=2;
2003/08/07 05:17:31 NB000I Rule "P_2" fired
> - echo "Policy fired" >> /tmp/policy_test.txt
Gilbert Hyatt
|