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

[Bigsister-general] maxmsg issu


Hi,
 
I set the configuration as below in /etc/bigsister/bb_event_generator.cfg
#
# General
#
*.*             down=red up=yellow repeat=10 repeatprio=60
suppressed maxmsg=90
 
However, maxmsg won't come into effect. If I add the following config, it works fine.
*.cpu           maxmsg=90
 
Why not it work on *.*? If I don't specify the maxmsg, I will get some problem for cpu alarm because there are multi-lines for the subject. Multi-lines subject will be caused user unknown.
 
Subject: abc.cpu down 11:29 (&red  only 0% idle!|>CPU load = 1.42, &green Swap Space 506.1MB (98.9%) free|>&green logged on users = 0|> 11:29am  up 172 days, 23:41,  0 users,  load average: 1.42, 1.11, 0.57|>44 processes: 41 sleeping, 3 running, 0 zombie, 0 stopped|>CPU states: 97.2% user,  2.7% system,  0.0% nice,  0.0% idle|>Mem:   255968K av,  164144K used,   91824K free,       0K shrd,   40444K buff|>Swap:  524152K av,    5908K used,  518244K free                   42124K cached|>|>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND|>18468 nobody    14   0 12512  12M  4584 R    64.8  4.8   8:31 httpd|>18463 nobody     9   0 11288  11M  4592 S    18.5  4.4   2:43 httpd|>18464 nobody    20   0 12196  11M  4608 R    15.0  4.7   2:26 httpd|>19388 bigsis    12   0  1060 1060   848 R     0.9  0.4   0:00 top|>    1 root       8   0   364  336   308 S     0.0  0.1   0:25 init|>    2 root       9   0     0    0     0 SW    0.0  0.0   0:04 keventd|>   !
  3 root       9   0     0    0     0 SW    0.0  0.0   0:00 kapmd|>    4 root      19  19     0    0     0 SWN   0.0  0.0   0:02 ksoftirqd_CPU0|>    5 root       9   0     0    0     0 SW    0.0  0.0   4:56 kswapd|>    6 root       9   0     0    0     0 SW    0.0  0.0   0:00 kscand/DMA|>    7 root       9   0     0    0     0 SW    0.0  0.0 345:09 kscand/Normal|>    8 root       9   0     0    0     0 SW    0.0  0.0   0:00 kscand/HighMem|>    9 root       9   0     0    0     0 SW    0.0  0.0   0:00 bdflush|>   10 root       9   0     0    0     0 SW    0.0  0.0   0:46 kupdated|>   11 root      -1 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd|>   15 root       9   0     0    0     0 SW    0.0  0.0  32:02 kjournald|>   94 root       9   0     0    0     0 SW    0.0  0.0   0:00 khubd|>  188 root       9   0     0    0     0 SW    0.0  0.0   0:00 kjournald|>  734 rpcuser    9   0   228  132   128 S     0.0  0.0   0:00 rpc.statd|>  988 root       8   0   396  356   316!
  S     0.0  0.1   0:24 crond|> 1032 daemon     9   0   104   5!
 2    36
 
S     0.0  0.0   0:00 atd|> 1114 root       9   0    60    4     0 S     0.0  0.0   0:00 mingetty|> 1115 root       9   0    60    4     0 S     0.0  0.0   0:00 mingetty|> 1116 root       9   0    60    4     0 S     0.0  0.0   0:00 mingetty|>22513 root       8   0   856  732   636 S     0.0  0.2 359:11 sshd|>|>)
To: <
suppressed>
 

Linda

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.