LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-30-2006, 04:23 PM   #1
JakeX
Member
 
Registered: Aug 2004
Location: Windsor Ontario
Distribution: Ubuntu, Debian, Redhat
Posts: 44

Rep: Reputation: 15
Question Daily Status/Security/Info script.. email notification?


I've been looking for most of the day today, I'm trying to find something that will basically email me daily (a status email if you will) with info like so:
1. Bandwith used (on a specific interface) for the past 24h
2. Major temp changes (like 2-3 deg changes etc)
3. Users who logged in.. etc..

Or at least give something like:
TEMP: OK
PING: OK

I don't know if I've been searching wrong, but I can't find anything on the topic, like a status script? or daily information log.. etc..
I would just like to get it emailed to me, so I know of any outages etc..

Maybe a remote script too that I can have ping the specific machines. Anyone know of a tutorial for anything like this? I wanna test it on an internal test server I have to play with.

Just something I can cron, I'm very n00b with shell scripts and would love to learn more of how to make my own, maybe this will help (if there are tutorials..)

Thanks..
 
Old 06-30-2006, 10:19 PM   #2
fedora4002
Member
 
Registered: Mar 2004
Posts: 135

Rep: Reputation: 15
You need to have various logs for each category that you want to monitor. Then, have a utility like logcheck to send you email about interesting entry.
 
Old 07-04-2006, 09:13 AM   #3
JakeX
Member
 
Registered: Aug 2004
Location: Windsor Ontario
Distribution: Ubuntu, Debian, Redhat
Posts: 44

Original Poster
Rep: Reputation: 15
Hmm so theres no tutorials or scripts anyone has that do this for you already?
I understand what needs to be done, I just don't know how to go about it

EDIT:
I've tried playing around with logwatch, it does what I want it to do in some aspects, hmmm maybe there are ways to include things like temp & bandwidth.

Last edited by JakeX; 07-04-2006 at 10:03 AM.
 
Old 07-04-2006, 10:50 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,766
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
Not really a security question or issue: moved to Linux Software forum for better exposure.
 
Old 07-04-2006, 04:00 PM   #5
JakeX
Member
 
Registered: Aug 2004
Location: Windsor Ontario
Distribution: Ubuntu, Debian, Redhat
Posts: 44

Original Poster
Rep: Reputation: 15
Hmm ok I guess nobody else knows anything better, so I've configured LogWatch currently on my servers and have it email me daily @ 0:01 hours with the last days stats. Seems to work well, I'll tinker with it some more.
Thanks anyways..
 
Old 07-04-2006, 04:27 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,766
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
I guess nobody else knows anything better
Well, that or people are busy answering other questions or maybe you're causing it yourself saying "I understand what needs to be done, I just don't know how to go about it". I mean, for any of the requested bandwith measuring, lm_sensors, utmp/syslog monitoring you just install the daemons/modules/whatever. Configure them so they syslog or log to a logfile and then configure a logchecking & reporting app just like edora4002 said. Can't see what the actual problem is, then...
 
  


Reply

Tags
email, notification, status


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Email Notification - Perl Script jamesyreid Programming 3 07-21-2009 08:56 AM
Cron.daily timing info (problem and solution) dannystaple Suse/Novell 5 08-06-2008 08:31 AM
daily email from 'webalizer' tradnbillies Linux - General 1 01-08-2006 03:06 PM
mail daily root@localhost to private email? robberttheman Linux - Newbie 4 08-27-2004 08:36 AM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 11:16 AM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration