summaryrefslogtreecommitdiff
path: root/templates/irc_bot/nsa.cfg.erb
blob: 41e6319ddc535d823284af79dcf3a032be036ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%Nsa = (
        'socket'     => '<%= nagios_nsa_socket %>',
        'server'     => '<%= nagios_nsa_server %>',
        'port'       => '<%= nagios_nsa_port %>',
        'nickname'   => '<%= nagios_nsa_nickname %>',
        'password'   => '<%= nagios_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'     => '<%= nagios_nsa_channel %>',
        'pidfile'     => '<%= nagios_nsa_pidfile %>', # set to undef to disable
        'realname'    => "<%= nagios_nsa_realname %>",
        'usenotices'  => "<%= nagios_nsa_usenotices %>",
        'commandfile' => '/var/lib/nagios3/rw/nagios.cmd',
);