Operating System - HP-UX
1753861 Members
7407 Online
108809 Solutions
New Discussion юеВ

Querying EMS for active alerts?

 
SOLVED
Go to solution
mvpel
Trusted Contributor

Querying EMS for active alerts?

Hi all,

I'm new to Superdomes and EMS, and so I've been relying on the syslog.log file to inform me of any EMS alerts, and running the resmon command provided in the syslog to get the details.

I'm sure, though, that there has to be a way to query the EMS system directly to determine if there's any active alerts for the system, rather than having to grep through the current and archived syslog.log files.

Can anyone point me in the right direction? Thanks!
5 REPLIES 5
OldSchool
Honored Contributor

Re: Querying EMS for active alerts?

Actual, you should be able to get notifications to logs as well as email messages, and on the console.

see is "man monconfig" gives you anything.

If not,look at one or more of the following:

the ems manual is here
http://docs.hp.com/en/5992-6254/5992-6254.pdf

Configuring Harware Monitoring:
http://docs.hp.com/en/5992-6254/ch03s03.html



Mel Burslan
Honored Contributor
Solution

Re: Querying EMS for active alerts?

Since EMS does not 'close' events per-se, all events logged by this software are just one way communication from system to you. You need to keep track of what you have addressed and what still is an issue. Otherwise EMS does not keep a tally of what you did and did not.

The logfile you are looking for, I believe is,

/etc/opt/resmon/log/reslog.html

It is in a human friendly format. You need to massage it to create event descriptors out of it.

Also, instead of creating new threads like this:

https://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1364622

you should use the reply button to continue the conversation on the same thread.
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: Querying EMS for active alerts?

Shalom,

EMS can send alerts. You don't have to ask it. You have to configure it with perhaps sam or smh(11.31).

It can send email

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
mvpel
Trusted Contributor

Re: Querying EMS for active alerts?

Yes, I know it can send alerts. I see them in the syslog. What I'd like to know is how to go about asking it about alerts, even though I don't have to.
mvpel
Trusted Contributor

Re: Querying EMS for active alerts?

Thanks for the reference to reslog.html, I'll check it out.

I got the impression that EMS did keep track of events, since when I run the syslog-provided command on some older events it will sometimes say that there's no active event by that number.