Operating System - HP-UX
1831185 Members
3042 Online
110021 Solutions
New Discussion

Re: EMS on multiple clients

 
Kevin Lamb_2
Frequent Advisor

EMS on multiple clients

Hi,
I have over 100 C3xx workstations running our company build of UX11, these are all running EMS.
What I am looking to do is to configure one machine with the reports that will mail me in the event of a problem, once this is configured to my spec I want to replicate this across the remainder of the clients, does anyone know the easiest way to do this without having to log into each machine and running monconfig.
Is it just a case of copying all the config files from /var/stm/config/tools/monitor to all the clients then restarting EMS?

Kev
"I'd rather be flying"
I'd Rather be Flying!!!
4 REPLIES 4
Fabio Ettore
Honored Contributor

Re: EMS on multiple clients

Hi,

AFAIK it is not possible.
Every EMS system works about the own hardware. If there is an event then EMS logs an event on that system under /var/stm/config/tools/monitor (of course according to EMS configuration by monconfig).
Just a thought: you could configure an email address different than root@the_same_system, you could configure root@another_system. In this way event will be logged on root's mail of another system.

It just is to give you another idea.

Best regards,
Ettore

WISH? IMPROVEMENT!
Kevin Lamb_2
Frequent Advisor

Re: EMS on multiple clients

Hi Ettore,

I was going to set up a .forward in each of the workstations accounts so i get the mail, however, the way that the EMS has been configured on the workstations is very limited with only the major warnings being mailed.

What I wanted to capture by mail was the majority of the warnings, including the information ones, looks like I might have to log onto each machine individualy and set the monconfig mannualy :-(

Kev
"I'd rather be flying"
I'd Rather be Flying!!!
Hoefnix
Honored Contributor

Re: EMS on multiple clients

At work (I am @ home rigth now) we have a software depot that we push to all our systems to set our EMS configuration. I think the kit is build with all the specific monitor config files. I did not build the SD kit but it contains all the files that you change in the /etc/opt/resmon structure.
It restart also your monitoring during the install process. Just check what files are changed while you configure your first system using monconfig.

We use OpenView to monitor all the EMS events, so that puts all the errors in a central place.


Regards,

Peter
Kevin Lamb_2
Frequent Advisor

Re: EMS on multiple clients

Hi All,
Took a look through the EMS FAQ's and found this:
"How can I push my EMS Hardware Monitors configuration to multiple systems?
Do the configuration on one system via monconfig (creates appropriate /var/stm/config/tools/monitor/*.sapcfg

Do additional manual edits, if any, in the other configuration files
(NOTE: The default values in these files work; it would only be if you had specific configurations you wanted to change and push out that you would need this step)

/var/stm/config/tools/monitor/*.cfg, default_*.clcfg

/var/stm/config/tools/monitor/Global.cfg

/var/stm/data/tools/monitor/

For each system where the new configuration is desired:
Copy all /var/stm/config/tools/monitor/*.cfg, default_*.clcfg, *.sapcfg to new system except any file with the name "predictive" in it. Execute /etc/opt/resmon/lbin/startcfg_client to enable the new configuration.

NOTE: If OPC (OpenView) configuration is desired (using "opcmsg"), the initial configuration must be done on a system where OPC is installed. Otherwise, the option of "opcmsg" will not be a destination in monconfig.

NOTE: If you want to keep a copy of the old configuration, either on the system where you do the configuration or the systems where you are going to do the push, you should make copies of the files before doing any changes."

I have tried it and, yippppeeee it works.

Thanks for your responses.

Kev
"I'd rather be flying"

I'd Rather be Flying!!!