Jump to content

Monitoring & Update Email Notifications


miT

Recommended Posts

Continuing in part off of my last Ubuntu Server post, "The Perfect Linux Server" - http://forums.hak5.org/index.php?showtopic=15160, I decided that i wanted the server to send me emails updating its status with me. If the HD space gets low, the RAM is all used up, services go down, or even i lose internet at my house while im out and about, i get a nice email from my server notifying me of the problem (at least when my inet comes back online).

What better way to top this off than with use of a gmail account that i already owned and used?

In this post, i will walk you through installing the following along side your postfix installation:

Self signed SSL certfication (don't want anyone being nosey!)

Apticron - A nice set of scripts that will execute 'apt-get udpate' and email you the results

Webmin - One of the best web based management consoles for head-less servers. Has a great system notification setup, along with many many many other goodies.

Note: This how-to assumes you've already installed Postfix mail server on an Ubuntu Linux Server (sudo apt-get postfix)

http://timashley.me/node/370

Enjoy! :)

Link to comment
Share on other sites

  • 2 weeks later...
good job sir. keep it up. great walkthrough

Thanks man :) It's always nice to get some positive feedback. I have been keeping it up, check out my other posts:

Video Tutorial: Installing Airpwn On Ubuntu 9.10: http://forums.hak5.org/index.php?showtopic=15880

Video Tutorial: Installing Aircrack + Wicrawl On Ubuntu Linux: http://forums.hak5.org/index.php?showtopic=15929

Nice job, I think I set my server up without having to use a CA. I cannot recall how I did it, but I think it was easier to do.

Why the CA anyhow, just to make sure that no one snoops yer email?

Yes. I wanted to communicate with the google mail servers over a TLS SSL connection. Since my server will be sending me reports (Such as security patches to my linux server), i don't want someone to see that email and realize that my server is unpatched and vulnerable to attack.

Yeah i know this is probably over-board and involves a couple extra steps, but i try to keep security in mind at all times. ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...