- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script for sending email about my server heath dai...
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
Forums
Discussions
Discussions
Discussions
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
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
01-30-2008 04:19 AM
01-30-2008 04:19 AM
Script for sending email about my server heath daily
I needs to create a script in my hp-ux servers which can e-mail me daily about my servers diskspace, health etc.. pls give me some idea.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 04:40 AM
01-30-2008 04:40 AM
Re: Script for sending email about my server heath daily
You will receive an email is something wrong with your system (hardware problem, disk is getting full, etc.)?
EMS already does it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 04:46 AM
01-30-2008 04:46 AM
Re: Script for sending email about my server heath daily
I dont want to use any special products, i just wants to get mail mainly about my server
diskspace. instead of logging in the system
and do the bdf command. is it is possible...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 04:51 AM
01-30-2008 04:51 AM
Re: Script for sending email about my server heath daily
Regarding special tools:
do a
man ems
(it is always there)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 04:55 AM
01-30-2008 04:55 AM
Re: Script for sending email about my server heath daily
i have a script which showing and excuting abt my diskspce as per the time interwal, but
my problem is how to send this as a email to my email account
ex:- abc@mymail.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 05:06 AM
01-30-2008 05:06 AM
Re: Script for sending email about my server heath daily
Do you want to know how to monitor the system health or how to send an email?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2008 05:10 AM
01-30-2008 05:10 AM
Re: Script for sending email about my server heath daily
Sorry for the confusion.
I just wants to know how to send a mail with attachment to my email address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2008 02:21 AM
01-31-2008 02:21 AM
Re: Script for sending email about my server heath daily
I use this script:
cat sx
SENDMAIL=/usr/sbin/sendmail
UUENCODE=/usr/bin/uuencode
USER_LIST="john.doe"
DOMAIN=hotmail.com
LOG_FILE=seek_string.log
#
for USER in $USER_LIST
#
do
#
echo "Subject: Output Log $0 \n` cat $LOG_FILE | $UUENCODE $LOG_FILE`" | $SENDMAIL $USER@$DOMAIN
#
done
HTH,
Art