- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: send me mail daily
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 01:50 AM
тАО05-26-2005 01:50 AM
But I dont konw what's important info about system health.
Now the script is
info.sh
bdf > /scripts/log
ps -aef | grep ora_ | grep -v grep >> /scripts/log
cat /scripts/log
then in cron ,call this script like below
0 6 * * * /scripts/info.sh | mailx -s `date "+%y/%m/%d"` vulgate@test.net
and any other else?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 02:06 AM
тАО05-26-2005 02:06 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=178514
Bill McNamara is the illustrious author of this and two succeeding scripts that sysadmins should not be without.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 02:07 AM
тАО05-26-2005 02:07 AM
Re: send me mail daily
As I could see, you are just sending you a bdf output and all oracle processes (excepting listener).
I think you can do this a little better:
1. I sent an script to monitor filesystem usage in another thread, in that script, only filesystem with more than a % occupied space are sent to you
2. You can make a script to monitor ONLY processes in oracle that are no longer running (I particularly have a script like that running every 15 minutes)
3. You can make a script to monitor tablespaces usage
4. You can make a script that cut init.ora every day and send all ORA- errors in you e-mail
5. Also you can make a script that verify if all disk are CLAIMED
6. If you have mirror, you can make a script that verify if they are synchronized
7. In oracle, you can have a lot of scripts: monitor sga, large pool, log buffer, etc.
As you can see, you can control everything in your unix box with scripts.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 02:13 AM
тАО05-26-2005 02:13 AM
Re: send me mail daily
ioscan, sar, vmstat, nfsstat, vgdisplay, netconf, lanscan, etc.
The 'print_manifest' tool is a good one as well. Part of the Ignite package.
You can use built-in monitoring tools to only send mail when something is close to a threshold. Example, the EMS facility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 09:02 PM
тАО05-26-2005 09:02 PM
Re: send me mail daily
Consider using the Oracle Enterprise Manager to monitor your Oracle database. It is a very powerfull (free) tool, which offers you the option to automatically repear errors.
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2005 01:56 AM
тАО06-03-2005 01:56 AM