Email Alerts not being sent
Hi,
I have trial version 7.7.0 and am not getting alerts sent out. I have tested using the internal mail server in the general settings and I get that email. However, when the conditions set it to Warning or Down nothing is sent.
For one I just tested with I changed the warning level for memory and it went to Warning status. I have the alert set up to send on ALL Awarning Cycles and am alerting the team that I set up called "Help".
The team is set up to send an email to an email address. I even tested the email through general settings and I received the test.
Alerts/log looks like this:
119435782520|X|MEMORY Warning level: 11 (returned value) less than 15|X|0|3|11|C.55|D.87|Z.76|X|1194029238|X|BTR992|X|1193252713|X|WARNING|X||X|BTR992 192.168.99.99|X|WINDOWSHEALTH|X|OK|X||X|0|X|0|3|11|C.55|D.87|Z.76|X|0|X|WINDOWSHEALTH|X||X|alerts-2007-11-6|X|1194357825
teams.conf:
Help<X>Help<X>00:00-23:59<X>0|1|2|3|4|5|6<X>[email protected]<X><X><X><X><X>Help default alert
I have trial version 7.7.0 and am not getting alerts sent out. I have tested using the internal mail server in the general settings and I get that email. However, when the conditions set it to Warning or Down nothing is sent.
For one I just tested with I changed the warning level for memory and it went to Warning status. I have the alert set up to send on ALL Awarning Cycles and am alerting the team that I set up called "Help".
The team is set up to send an email to an email address. I even tested the email through general settings and I received the test.
Alerts/log looks like this:
119435782520|X|MEMORY Warning level: 11 (returned value) less than 15|X|0|3|11|C.55|D.87|Z.76|X|1194029238|X|BTR992|X|1193252713|X|WARNING|X||X|BTR992 192.168.99.99|X|WINDOWSHEALTH|X|OK|X||X|0|X|0|3|11|C.55|D.87|Z.76|X|0|X|WINDOWSHEALTH|X||X|alerts-2007-11-6|X|1194357825
teams.conf:
Help<X>Help<X>00:00-23:59<X>0|1|2|3|4|5|6<X>[email protected]<X><X><X><X><X>Help default alert
This discussion has been closed.
Comments
This will allow you to see if an alert was triggered and if so how the alert is sent.
http://kb.serverscheck.com/index.php?page=index_v2&id=33&c=6
http://kb.serverscheck.com/index.php?page=index_v2&id=42&c=6
I did that and I see this in the alert window:
Looks like it is not sending the right data. It decided to use my exchange server to send because that is where the recipient is.
Anythoughts on what I can do to get these emails to send?
#
#
# ServersCheck Alerting & Notification Component
# version 7.5.4
#
#
# (c) Copyright 2003-2007 - ServersCheck BVBA
# www.serverscheck.com
#
# IP address: 192.168.6.94
#
#
# Wed Nov 7 17:44:42 2007 processing alert ID 119447548267 for alert through .S
MTP.
# Wed Nov 7 17:44:42 2007 - Sending SMTP alert to [email protected] thr
ough internal mail server 1194475482 - 1194475482
Net::SMTP>>> Net::SMTP(2.30)
Net::SMTP>>> Net::Cmd(2.27)
Net::SMTP>>> Exporter(5.58)
Net::SMTP>>> IO::Socket::INET(1.29)
Net::SMTP>>> IO::Socket(1.29)
Net::SMTP>>> IO::Handle(1.25)
Net::SMTP=GLOB(0x3ea731c)<<< 220 exmf014-5.msoutlookonline.net Microsoft ESMTP M
AIL Service Version: 2.0
Net::SMTP=GLOB(0x3ea731c)>>> EHLO serverscheck.com
Net::SMTP=GLOB(0x3ea731c)<<< 250-exmf014-5.msoutlookonline.net
Net::SMTP=GLOB(0x3ea731c)<<< 250-PIPELINING
Net::SMTP=GLOB(0x3ea731c)<<< 250-SIZE 128000000
Net::SMTP=GLOB(0x3ea731c)<<< 250-VRFY
Net::SMTP=GLOB(0x3ea731c)<<< 250-ETRN
Net::SMTP=GLOB(0x3ea731c)<<< 250-STARTTLS
Net::SMTP=GLOB(0x3ea731c)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x3ea731c)<<< 250 DSN
Net::SMTP=GLOB(0x3ea731c)>>> MAIL FROM:<>
Net::SMTP=GLOB(0x3ea731c)<<< 250 2.1.0 Ok
Net::SMTP=GLOB(0x3ea731c)>>> RCPT TO:<[email protected]>
Net::SMTP=GLOB(0x3ea731c)<<< 250 2.1.5 Ok
Net::SMTP=GLOB(0x3ea731c)>>> DATA
Net::SMTP=GLOB(0x3ea731c)<<< 354 End data with <CR><LF>.<CR><LF>
Net::SMTP=GLOB(0x3ea731c)>>> To: [email protected]
Net::SMTP=GLOB(0x3ea731c)>>> From:
Net::SMTP=GLOB(0x3ea731c)>>> X-Priority: 1
Net::SMTP=GLOB(0x3ea731c)>>> Priority: Urgent
Net::SMTP=GLOB(0x3ea731c)>>> Subject:
Net::SMTP=GLOB(0x3ea731c)>>> .
Net::SMTP=GLOB(0x3ea731c)<<< 550 5.7.1 message content rejected
Net::SMTP=GLOB(0x3ea731c)>>> QUIT
Net::SMTP=GLOB(0x3ea731c)<<< 421 4.7.0 exmf014-5.msoutlookonline.net Error: too
many errors
I noticed that the s-alert.exe program was not updated with this upgrade. Still an august date.
Download it directly from following url:
http://upgrade.serverscheck.net/monitoring_software/s-alerts.exe
#
#
# ServersCheck Alerting & Notification Component
# version 7.8.0
#
#
# (c) Copyright 2003-2007 - ServersCheck BVBA
# www.serverscheck.com
#
# IP address: 192.168.6.94
#
#
# Thu Nov 8 10:17:23 2007 processing alert ID 119453468456 for alert through .S
MTP.
# Thu Nov 8 10:17:23 2007 - Sending SMTP alert to [email protected] thr
ough internal mail server 1194534684 - 1194535043
Net::SMTP>>> Net::SMTP(2.30)
Net::SMTP>>> Net::Cmd(2.27)
Net::SMTP>>> Exporter(5.58)
Net::SMTP>>> IO::Socket::INET(1.29)
Net::SMTP>>> IO::Socket(1.29)
Net::SMTP>>> IO::Handle(1.25)
Net::SMTP=GLOB(0x3e0a3c0)<<< 220 exmf014-5.msoutlookonline.net Microsoft ESMTP M
AIL Service Version: 2.0
Net::SMTP=GLOB(0x3e0a3c0)>>> EHLO serverscheck.com
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-exmf014-5.msoutlookonline.net
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-PIPELINING
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-SIZE 128000000
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-VRFY
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-ETRN
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-STARTTLS
Net::SMTP=GLOB(0x3e0a3c0)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0x3e0a3c0)<<< 250 DSN
Net::SMTP=GLOB(0x3e0a3c0)>>> MAIL FROM:<>
Net::SMTP=GLOB(0x3e0a3c0)<<< 250 2.1.0 Ok
Net::SMTP=GLOB(0x3e0a3c0)>>> RCPT TO:<[email protected]>
Net::SMTP=GLOB(0x3e0a3c0)<<< 250 2.1.5 Ok
Net::SMTP=GLOB(0x3e0a3c0)>>> DATA
Net::SMTP=GLOB(0x3e0a3c0)<<< 354 End data with <CR><LF>.<CR><LF>
Net::SMTP=GLOB(0x3e0a3c0)>>> To: [email protected]
Net::SMTP=GLOB(0x3e0a3c0)>>> From:
Net::SMTP=GLOB(0x3e0a3c0)>>> X-Priority: 1
Net::SMTP=GLOB(0x3e0a3c0)>>> Priority: Urgent
Net::SMTP=GLOB(0x3e0a3c0)>>> Subject:
Net::SMTP=GLOB(0x3e0a3c0)>>> .
Net::SMTP=GLOB(0x3e0a3c0)<<< 550 5.7.1 message content rejected
Net::SMTP=GLOB(0x3e0a3c0)>>> QUIT
Net::SMTP=GLOB(0x3e0a3c0)<<< 421 4.7.0 exmf014-5.msoutlookonline.net Error: too
many errors
LOGFILE:
GRAPHS:true
HTML:true
SMS:serverscheck<X>****<X><X><X><X><X><X><X><X><X><X><X>
SETTINGS:<X>53616c7465645f5fde5215e82c6c389c9da4c050869d3140<X><X><X><X><X><X><X><X><X><X>
WINDOWSHEALTH|X|1171011122|X|3|X|60|X||X||X||X|true|X|true|X||X|5|90|5|10|X||X||X||X|127.0.0.1<X><X>|X|
HELP!
SMTP:<X><X><X>[email protected]<X>%l is %s<X>status of %l (%d - %g) changed to %s at %t. Reason: %r<X><X><X><X><X><X><X>1
LOGFILE:true
GRAPHS:true
HTML:true
SMS:demo<X>demo<X>10<X>300<X>300<X><X><X><X><X><X><X><X>
# checktype|X|check label|X|retries|X|check interval in seconds|X|email alert to|X|network message to|X|sms alert to|X|fail on up/down|X|fail on value1|X|operand|X|target value1|X|fail on value2|X|operand|X|target value2|X|check definition|X|Time intervals When not to check|X|minimum service level in %|X|active|X|
After these lines the rules start.
You can download a sample conf file from following url:
http://files.serverscheck.net/serverscheck.conf