From 16e168b9a670b117c4093558603bf5dc63ca42ba Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Feb 2012 17:17:13 -0500 Subject: make default comment mention irc --- files/irc_bot/riseup-nagios-server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') 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; -- cgit v1.2.3