1752633 Members
5788 Online
108788 Solutions
New Discussion юеВ

Re: monitoring

 
SOLVED
Go to solution
kacou
Regular Advisor

monitoring

i want to configure monitoring on my hpux server in order to receive alert by mail.
(using /etc/opt/resmon???????)
7 REPLIES 7
smatador
Honored Contributor

Re: monitoring

Hi,
Some thread about this
monconfig and after configure the mail
Look for example
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1068972
Steven E. Protter
Exalted Contributor

Re: monitoring

Shalom,

Any script output can be routed to | mailx and the output will be emailed to whomever you want.

Sendmail must be configured to deliver the mail to an external system if you want this to happen.

The simple way to do that is vi /etc/rc.config.d/mailsvrs Change the sendmail start variable to 1.

/sbin/init.d/sendmail start

You will probably need to institute the DS dierective and relay an smtp relay server. This is done in sendmail.cf DSrelayserver

Then restart the sendmail daemon.

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
Court Campbell
Honored Contributor

Re: monitoring

This really depends on what you are trying to monitor. We currently have a set of perl and shell scripts that get info from our servers and sends alerts to us. Another option is to install nagios on a system. You may still need to do some custom scripting. You can also setup ems for alerts, but it is somewhat limited in what it will monitor. Usually I just use the default ems setup and just add work e-mail address to root's .forward file. Then I get alerts when disk errors and such occur.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
kacou
Regular Advisor

Re: monitoring

my problem is "how can i run this following command etc/opt/resmon/monconfig in order to setup it ? " i forget the command please
Patrick Wallek
Honored Contributor
Solution

Re: monitoring

While logged in as root do:

# /etc/opt/resmon/lbin/monconfig

Then just go through the menus to configure as you desire.
smatador
Honored Contributor

Re: monitoring

Hi,
The doc is not a tutorial but you could apply it without any problem
http://www.docs.hp.com/en/5992-5755/ch03s03.html#d0e3398
Avinash20
Honored Contributor

Re: monitoring

I just did google, and I found the doc which may solve your quey. Please hav a look at it.

h50163.www5.hp.com/TCForum/Others/UpLoadFiles/e846a441-db1f-4258-827a-044646359f0c.rtf
"Light travels faster than sound. That's why some people appear bright until you hear them speak."