1753288 Members
5427 Online
108792 Solutions
New Discussion юеВ

Events

 
Roro_2
Regular Advisor

Events

Hi,

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
11 REPLIES 11
Torsten.
Acclaimed Contributor

Re: Events

Messages from EMS? You can configure EMS to send mail directly to another account. Configure in SAM.

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!   
Steven E. Protter
Exalted Contributor

Re: Events

Shalom,

For scripted events, this might work well.

http://www.hpux.ws/?p=7

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Roro_2
Regular Advisor

Re: Events

Hi Torsten,

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

Torsten.
Acclaimed Contributor

Re: Events

So many events are covert by so many monitors ...

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!   
killer1
Advisor

Re: Events

Hello Roger

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
Roro_2
Regular Advisor

Re: Events

Hello Killer1,

Did you verify your solution ; is it working.

Regards

Roger
smatador
Honored Contributor

Re: Events

Hi,
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.
smatador
Honored Contributor

Re: Events

Hi,
Of course you have to configure sendmail to permit this. Check the sendmail.cf and perhaps the smart relay
Torsten.
Acclaimed Contributor

Re: Events

By forwarding you receive each and every mail, even statr and stop notifications. With the monconfig tool you can configure on which level you want to receive mails.
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!