diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2012-02-27 11:13:37 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-03-14 21:03:22 -0400 |
commit | 967e9dd3a09697afc7a2fb84f193d5c89bf6c1fe (patch) | |
tree | a12960528fc99f0c097c81478f73de52df81dada /files/irc_bot | |
parent | 7610f67b70f1ae78f6e7bcf73769de4615d61d15 (diff) |
remove debugging message
Diffstat (limited to 'files/irc_bot')
-rw-r--r-- | files/irc_bot/riseup-nagios-server.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/irc_bot/riseup-nagios-server.pl b/files/irc_bot/riseup-nagios-server.pl index 92d0114..c1a1e0d 100644 --- a/files/irc_bot/riseup-nagios-server.pl +++ b/files/irc_bot/riseup-nagios-server.pl @@ -167,7 +167,7 @@ sub parse_msg { my $data = join(' ', $event->args); my $msg; if ($data =~ m/([^:]*:)?\s*ack(?:knowledge)?\s+([a-zA-Z0-9\-\.]+)(?:\s+(\w+)(?:\s+([\w\s]+))?)?/) { - print STDERR "writing to nagios scoket ". $CFG::Nsa{'commandfile'} . "\n"; + #print STDERR "writing to nagios scoket ". $CFG::Nsa{'commandfile'} . "\n"; open(my $cmdfile, ">", $CFG::Nsa{'commandfile'}) || die "Can't open Nagios commandfile: $CFG::Nsa{'commandfile'}!\n"; my $host = $2; my ($service, $comment) = (undef, "no comment"); |