- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Events
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
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
02-26-2009 04:36 AM
02-26-2009 04:36 AM
Events
We have an rp440 running HP-UX 11i v2.
i want to know how to send the events in /var/mail/root to a special e-mail address.
Thanks and Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 04:45 AM
02-26-2009 04:45 AM
Re: Events
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
02-26-2009 04:51 AM
02-26-2009 04:51 AM
Re: Events
For scripted events, this might work well.
http://www.hpux.ws/?p=7
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
02-26-2009 05:18 AM
02-26-2009 05:18 AM
Re: Events
Thank you for your concern.
Through EMS , we can not create an entry or an action for every event ;
For example how to create an action for High temperature event using EMS .
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 06:02 AM
02-26-2009 06:02 AM
Re: Events
use
/etc/opt/resmon/lbin/monconfig
and (M)odify
to adjust the email address:
============================================================================
============== Monitoring Request Manager Main Menu ==============
============================================================================
Note: Monitoring requests let you specify the events for monitors
to report and the notification methods to use.
Select:
(S)how monitoring requests configured via monconfig
(C)heck detailed monitoring status
(L)ist descriptions of available monitors
(A)dd a monitoring request
(D)elete a monitoring request
(M)odify an existing monitoring request
(E)nable Monitoring
(K)ill (disable) monitoring
(H)elp
(Q)uit
Enter selection: [s]
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
02-26-2009 06:54 AM
02-26-2009 06:54 AM
Re: Events
Its very simple.
Please create a file in root's home directory and put your Email ID in the file.
#vi .forward
roger@hp.com
:wq
Hope This helps
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 07:05 AM
02-26-2009 07:05 AM
Re: Events
Did you verify your solution ; is it working.
Regards
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 07:21 AM
02-26-2009 07:21 AM
Re: Events
If you want to redirect mail root to your email I suggest you to read
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=35129
.forward could do the job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 07:25 AM
02-26-2009 07:25 AM
Re: Events
Of course you have to configure sendmail to permit this. Check the sendmail.cf and perhaps the smart relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 07:28 AM
02-26-2009 07:28 AM
Re: Events
It's up to you ...
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
02-26-2009 07:50 AM
02-26-2009 07:50 AM
Re: Events
since you are talking about EMS configurations and such, I am under the impression that you have root capability on this server. If this is true, it makes your life easier.
edit /etc/mail/aliases and insert a line like this :
root: myemail@mydomain.com
run command
newaliases
to compile the binary aliases database
make sure you have a valid mail relay in /etc/mail/sendmail.cf file. Look for a line like this:
DSmailrelayhost
where mailrelayhost is usually a MS exchange server handling your organization's internet email relaying. If it is not there you need to create it and make sure the administrators of this mailrelayhost know that you are going to use it to relay mail and have them add your server's IP address to the authorized mail senders list.
If you just want to direct the mail to another user's mailbox on the same system, you do not need the sendmail.cf modifications. Just add the userid as a root alias, like this
root: user1,user2,sysadmin
in /etc/mail/aliases and run newaliases command. Now all the root mail will be sent to all of the users separated by a comma on this line.
Hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2009 08:07 AM
02-26-2009 08:07 AM
Re: Events
You got a handful of solutions now..
You may better do one of the solutions.
Let me confirm you that , my solution is working perfect with my HPUX Servers.
Regards