diff options
author | root <root@puppet.koumbit.net> | 2012-02-27 17:17:13 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-03-14 21:03:38 -0400 |
commit | 16e168b9a670b117c4093558603bf5dc63ca42ba (patch) | |
tree | cd8ab40131efa8d1735ba3ac4d7c5ffbf7559711 | |
parent | 4211e9f9a994f1b19b76eeb9d7037204f7dfc996 (diff) |
make default comment mention irc
-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 2bf5130..a7bad28 100644 --- a/files/irc_bot/riseup-nagios-server.pl +++ b/files/irc_bot/riseup-nagios-server.pl @@ -170,7 +170,7 @@ sub parse_msg { #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"); + my ($service, $comment) = (undef, "no comment (from irc)"); if ($4) { $service = $3; $comment = $4; |