summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorroot <root@puppet.koumbit.net>2012-02-27 17:17:13 -0500
committerMicah Anderson <micah@riseup.net>2012-03-14 21:03:38 -0400
commit16e168b9a670b117c4093558603bf5dc63ca42ba (patch)
treecd8ab40131efa8d1735ba3ac4d7c5ffbf7559711 /files
parent4211e9f9a994f1b19b76eeb9d7037204f7dfc996 (diff)
make default comment mention irc
Diffstat (limited to 'files')
-rw-r--r--files/irc_bot/riseup-nagios-server.pl2
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;