Is it possible to receive an email when a node is down or being attacked?
That's a pretty broad question, but you can definitely configure the LEM to send you an e-mail when certain events occur on a node or system. You could try adding the "Send E-mail" action to the "Agent Offline Timeout" rule template we provide with the LEM, and that would alert you when an Agent goes off-line. "Attacked" is a little trickier, since there's a lot of potential attacks.
Thanks. But i don't receive any email when i send a test email to myself from the console.
According to this:
Google Apps SMTP settings to send mail from a printer, scanner, or app - Google Apps Administrator Help
To us smtp.gmail.com, you have to be using TLS or SSL. LEM supports this, but you need to change the transport protocol drop-down and the port number appropriately. Also, it says that smtp.gmail.com needs "Your full Gmail or Google Apps email address required for authentication" which you don't have entered there.
Thanks. It's working now.