diff options
author | root <root@puppet.koumbit.net> | 2012-02-27 17:16:35 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-03-14 21:03:33 -0400 |
commit | 4211e9f9a994f1b19b76eeb9d7037204f7dfc996 (patch) | |
tree | e1d2cdbd8b6504fb50d8d5aeca88c4821329c6a9 /files/irc_bot | |
parent | 2e732d4a7f7288c2c89f79621391ddf43311028d (diff) |
be silent when we send stuff to nagios, it will answer back
Diffstat (limited to 'files/irc_bot')
-rw-r--r-- | files/irc_bot/riseup-nagios-server.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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"); } |