projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sallinen now runs apache
[mirror/dsa-nagios.git]
/
config
/
static
/
bin
/
notify-irc
diff --git
a/config/static/bin/notify-irc
b/config/static/bin/notify-irc
index
ca3db61
..
4aef2ec
100755
(executable)
--- a/
config/static/bin/notify-irc
+++ b/
config/static/bin/notify-irc
@@
-59,7
+59,7
@@
if ($state =~ m/CRITICAL|DOWN|UNREACHABLE/ ) {
open(MAIL, "|$SENDMAIL -t -oi -f $ENVELOPE_FROM") or
die ("Cannot exec sendmail: $!\n");
print MAIL "From: $HEADER_FROM\n";
open(MAIL, "|$SENDMAIL -t -oi -f $ENVELOPE_FROM") or
die ("Cannot exec sendmail: $!\n");
print MAIL "From: $HEADER_FROM\n";
-print MAIL "To: $
BOT_ADDRESS
\n";
+print MAIL "To: $
bot_address
\n";
print MAIL "Subject: Announce $project\n";
print MAIL "Precedence: junk\n";
print MAIL "\n";
print MAIL "Subject: Announce $project\n";
print MAIL "Precedence: junk\n";
print MAIL "\n";