Operating System - HP-UX
1836610 Members
2022 Online
110102 Solutions
New Discussion

Removing a single Resource from a Monitor

 
S.J. Sarwar
Occasional Advisor

Removing a single Resource from a Monitor

I have HP-UX 11.11 running EMS Version : A.04.00.02,STM Version : A.47.15, in which I have a monitor configured which includes many resources, and I want to remove a single resource "/storage/events/tapes/SCSI_tape", without removing the entire monitor.

Kindly suggest.

Thanks,
Sarwar.
3 REPLIES 3
Mark Greene_1
Honored Contributor

Re: Removing a single Resource from a Monitor

Run this:

/etc/opt/resmon/lbin/monconfig

and then do option "D" to delete a request.

mark
the future will be a lot like now, only later
Chauhan Amit
Respected Contributor

Re: Removing a single Resource from a Monitor

Hi Sarwar,

You can't delete single resource as suggested above. How ever you Can change the same to the Information , so configured that it prints as a "Information" in "event.log" file.

Here is the Procedure

a) Run /etc/opt/resmon/lbin/monconfig

b) 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] M

c)
============================================================================
==================== Modify Monitoring Request ===================
============================================================================

The current monitor configuration is:
1) Send events generated by all monitors
with severity >= MAJOR WARNING to SYSLOG
2) Send events generated by all monitors
with severity >= INFORMATION to TEXTLOG /var/opt/resmon/log/event.log
3) Send events generated by all monitors
with severity >= MAJOR WARNING to EMAIL root

Enter number of monitoring request to modify {(Q)uit,(H)elp} -
Select (2) and follow the instructions thereafter.


-Amit

If you are not a part of solution , then you are a part of problem
S.J. Sarwar
Occasional Advisor

Re: Removing a single Resource from a Monitor

Dear All,

Here is how I figured out to accomplish that.
1.The EMS should be KILLED.
2.In the /var/stm/config/tools/monitor, rename the .cfg files.
3.Remove the .hwa from /var/stm/data/tools/monitor for the particular resource.
4.Restart the EMS now.

This should now remove a particular resource from being monitored.

Thanks,
Sarwar.