/etc/torrus/conf/notify-siteconfig.pl is in torrus-common 2.08-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | %Torrus::Notify::programs =
(
'mailto' => '$TORRUS_BIN/action_printemail | /usr/bin/mail $ARG1',
'page' => '/usr/bin/echo $TORRUS_NODEPATH:$TORRUS_MONITOR ' .
'>> /tmp/monitor.$ARG1.log'
);
%Torrus::Notify::policies =
(
'CUST_A' => {
'match' => sub { $ENV{'TORRUS_P_notify_policy'} eq 'A' },
'severity' => {
'3' => [ 'mailto:aaa@domain.com',
'mailto:bbb@domain.com' ],
'5' => [ 'page:1234', 'mailto:boss@domain.com' ] } } );
# Torrus::Log::setLevel('debug');
1;
# Local Variables:
# mode: perl
# indent-tabs-mode: nil
# perl-indent-level: 4
# End:
|