import torrus 1.0.9
[freeside.git] / torrus / configs / notify-siteconfig.pl
1
2 %Torrus::Notify::programs =
3     (
4      'mailto' => '$TORRUS_BIN/action_printemail | /usr/bin/mail $ARG1',
5      'page' => '/usr/bin/echo $TORRUS_NODEPATH:$TORRUS_MONITOR ' .
6      '>> /tmp/monitor.$ARG1.log'
7      );
8
9 %Torrus::Notify::policies =
10     (
11      'CUST_A' => {
12          'match' => sub { $ENV{'TORRUS_P_notify_policy'} eq 'A' },
13          'severity' => {
14              '3' => [ 'mailto:aaa@domain.com',
15                       'mailto:bbb@domain.com' ],
16              '5' => [ 'page:1234', 'mailto:boss@domain.com' ] } } );
17      
18                  
19              
20          
21 # Torrus::Log::setLevel('debug');    
22     
23
24
25 1;
26
27 # Local Variables:
28 # mode: perl
29 # indent-tabs-mode: nil
30 # perl-indent-level: 4
31 # End: