summaryrefslogtreecommitdiff
path: root/templates/irc_bot/nsa.cfg.erb
blob: a3bb2b1078ddefdb263a9dac030d50b652bf2f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%Nsa = (
        'socket'     => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_socket') %>',
        'server'     => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_server') %>',
        'port'       => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_port') %>',
        'nickname'   => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_nickname') %>',
        'password'   => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_password') %>',
	# this needs libio-socket-ssl-perl
	# doesn't actually works because Net::IRC is braindead and tries to use IO::Socket::SSL->read/write instead of the builtin print, see http://search.cpan.org/dist/IO-Socket-SSL/SSL.pm
	#'SSL'       => 0,
        'channel'    => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_channel') %>',
        'pidfile'    => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_pidfile') %>', # set to undef to disable
        'realname'   => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_realname') %>',
        'usenotices' => '<%= scope.lookupvar('nagios::irc_bot::base::nsa_usenotices') %>',
);