2 %Torrus::Notify::programs =
4 'mailto' => '$TORRUS_BIN/action_printemail | /usr/bin/mail $ARG1',
5 'page' => '/usr/bin/echo $TORRUS_NODEPATH:$TORRUS_MONITOR ' .
6 '>> /tmp/monitor.$ARG1.log'
9 %Torrus::Notify::policies =
12 'match' => sub { $ENV{'TORRUS_P_notify_policy'} eq 'A' },
14 '3' => [ 'mailto:aaa@domain.com',
15 'mailto:bbb@domain.com' ],
16 '5' => [ 'page:1234', 'mailto:boss@domain.com' ] } } );
21 # Torrus::Log::setLevel('debug');
29 # indent-tabs-mode: nil
30 # perl-indent-level: 4