From 4211e9f9a994f1b19b76eeb9d7037204f7dfc996 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Feb 2012 17:16:35 -0500 Subject: be silent when we send stuff to nagios, it will answer back --- files/irc_bot/riseup-nagios-server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/irc_bot') diff --git a/files/irc_bot/riseup-nagios-server.pl b/files/irc_bot/riseup-nagios-server.pl index faa0eee..2bf5130 100644 --- a/files/irc_bot/riseup-nagios-server.pl +++ b/files/irc_bot/riseup-nagios-server.pl @@ -136,7 +136,7 @@ sub irc_on_msg { #if ( exists $commandChar{$channel} ) { $cmdChar = $commandChar{$channel}; } my $msg = parse_msg($event); if (defined($msg)) { - $self->privmsg($event->nick, "alright, sending this message to nagios, hope it figures it out: $msg"); + #$self->privmsg($event->nick, "alright, sending this message to nagios, hope it figures it out: $msg"); } else { $self->privmsg($event->nick, "can't parse $data, you want 'ack host service comment'\n"); } @@ -150,7 +150,7 @@ sub irc_on_public { if ($1 eq $CFG::Nsa{'nickname'}) { my $msg = parse_msg($event); if (defined($msg)) { - $self->privmsg($event->to, "alright, sending this message to nagios, hope it figures it out: $msg"); + #$self->privmsg($event->to, "alright, sending this message to nagios, hope it figures it out: $msg"); } else { $self->privmsg($event->to, "can't parse $data, you want 'ack host service comment'\n"); } -- cgit v1.2.3