Operating System - HP-UX
1820117 Members
2966 Online
109619 Solutions
New Discussion юеВ

EMS not able to change parameter in vt100 terminal.

 
Bill McNAMARA_1
Honored Contributor

EMS not able to change parameter in vt100 terminal.

Hi all,

I'm trying to configure EMS via a dialup connection.

When I add a resource to monitor or try to modify a resource that is monitored I can access I can't access the
Notify: [ When value is... ->] [ Not Equal ->]
drop boxes.

The tab goes direct from
Show Instance Description
to
Polling interval.

I can't find the files to modify directly either... or the syntax to change them to.


Every thing else is accessible.
I have PHSS_28843 installed...


ie:
monitor resource:
/storage/status/disks/default/0_0_1_1.0.0

It works for me (tm)
12 REPLIES 12
Torsten.
Acclaimed Contributor

Re: EMS not able to change parameter in vt100 terminal.

I know this from various vt100 emulations like hyperterm etc.

I don't have such problems since I use putty.

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!   
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

hi torsten,

thanks for the reply. I've used putty, windows communication accessory, hpterm from reflection and msoft telnet.
All are the exact same.

Bill
It works for me (tm)
Torsten.
Acclaimed Contributor

Re: EMS not able to change parameter in vt100 terminal.

I checked this with putty on my 11.11 system and there is no problem.

But why not using

/etc/opt/resmon/lbin/monconfig

you can add your monitoring request there.

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!   
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

You are actually able to change the Notify [ When value is .. ] drop box?
I can't even acccess it.
I've the latest ems software patches too.....
and have used putty 0.60..

Can you show me your putty config/and swlist -l product | grep -i ems ?

I'll try monconfig..
not quite sure how though..

Thanks,
Bill
It works for me (tm)
Torsten.
Acclaimed Contributor

Re: EMS not able to change parameter in vt100 terminal.

We should continue here ... not on two threads ;-)

Regarding monconfig:
(select the letters in brackets)

# /etc/opt/resmon/lbin/monconfig

(m)odify
1) Send events generated by monitors

(1)

3) /storage/events/disks/default

(3)

Criteria Thresholds:
1) INFORMATION 2) MINOR WARNING 3) MAJOR WARNING
4) SERIOUS 5) CRITICAL

and so on ...

(same for add a request).

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!   
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

├в --------------- ems resources output

├в ├в /storage/status/disks/default/0_0_1_1.0.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/0_0_1_1.2.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/0_0_2_0.0.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/0_0_2_0.2.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/0_7_0_0.11.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/0_7_0_0.8.0 UP (0) When value is... ├в
├в ├в /storage/status/disks/default/_7_0_0.11.0 UP (0) When value is... ├в


I don't see any equivalence between EMS via sam and monconfig... all I want to do is modify the values in EMS already..:

--------------- monconfig output
EVENT MONITORING IS CURRENTLY ENABLED.


NOTE: Predictive / Instant Support Enterprise Edition monitor requests are
not managed by this application, and are displayed only by the "C" command.
Refer to Predictive's release notes (/opt/pred/bin/Rel_NOTES.PRED)
for further details on Predictive.


The current monitor configuration is:
1) Send events generated by all monitors
with severity >= MAJOR WARNING to SYSLOG
2) Send events generated by monitors
/StorageAreaNetwork/events/SAN_Monitor
/storage/events/disk_arrays/AutoRAID
/storage/events/disks/default
/adapters/events/FC_adapter
/adapters/events/TL_adapter
/system/events/core_hw
/connectivity/events/hubs/FC_hub
/connectivity/events/multiplexors/FC_SCSI_mux
/connectivity/events/switches/FC_switch
/system/events/memory
/storage/events/enclosures/ses_enclosure
/storage/events/tapes/SCSI_tape
/system/events/ups
/storage/events/disk_arrays/FC60
/storage/events/disk_arrays/FW_SCSI
/system/events/cpu/lpmc
/adapters/events/scsi123_em
/system/events/system_status
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
4) Send events generated by monitors
/storage/events/disk_arrays/High_Availability
with severity > INFORMATION to TEXTLOG /var/opt/resmon/log/event.log
5) Send events generated by monitors
/storage/events/disk_arrays/High_Availability
with severity >= MAJOR WARNING to CONSOLE
It works for me (tm)
Torsten.
Acclaimed Contributor

Re: EMS not able to change parameter in vt100 terminal.

As requested

# swlist -l product | grep -i ems
EMS-Config A.04.20.11 EMS Config
EMS-Core A.04.20.11 EMS Core Product
EMS-KRMonitor A.11.11.05 EMS Kernel Resource Monitor
EMS-MIBMonitor A.04.20.11 EMS MIB Resource Monitor Product
Isee_EmsListener A.11.11.07 ISEE TCP listener for EMS events
Sup-Tool-Mgr B.11.11.19.01 Support Tools Manager for HPUX systems
WBEMServices A.02.05 WBEM Services CORE Product for hp 9000 servers

putty is default.

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!   
Andrew Merritt_2
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

Bill,

Just to clarify, can you give a bit more detail about what you're running to do this? From what you've said, I think you're running SAM, and choosing the Resource Monitoring option, is that correct?

I suspect Torsten is looking at monconfig, which will not let you do what you want (and has a text based interface).

I think this is a problem with SAM, rather than EMS.

Andrew
Torsten.
Acclaimed Contributor

Re: EMS not able to change parameter in vt100 terminal.

It took a while to really understand the problem and I cannot get this working too, sorry.
I checked this with 11.11 and 11.31 and the problem is the same.

IMHO it is related to
/opt/resmon/bin/emsui

but you can try

/opt/resmon/bin/emscli

if this helps you:

# /opt/resmon/bin/emscli -h

Usage:
emscli -l | -v | -r | -m | -a | -d | -g | -h
-l : List Requests
-v : View Request(s)
-r : List Resource Instances
-m : Modify Request
-a : Add Request
-d : Delete Request(s)
-g : Generate Script
-h : Help
For more help on each option, use 'emscli -h '



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!   
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

I don't see how to change the status via the cli.....

It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

Great, I got it, thanks for the help.
I've opened a call with the team responsible for this software..

Bill

meije:root> emscli -l
Req ID Resource Value
295174162 /system/filesystem/availMb/home 18.000000

Want to change the Value and Notify Property

meije:root> emscli -v 295174162
View Monitoring Request Parameters For Request ID : 295174162

Resource: /system/filesystem/availMb/home
Value: 18.000000
Instance Description:
The amount of free space in the file system in megabytes.

Notify: When value is... Not Equal 0.000000
Polling Interval: 300 seconds
Notify Via : SNMP trap
Severity: Minor
Options (Ini Rep Ret): N N N
Comments:


command:
meije:root> emscli -m 295174162 -n 1 -r lt 10 -c test
n 1 means: when a value condition is met
r 1 is the value condition (ie less than in this case)
c is a comment.
Modifying request ID 295174162...
Monitoring request parameters modified. Request ID : 295174170.

Note here that the request ID changed.

meije:root> emscli -v 295174170
View Monitoring Request Parameters For Request ID : 295174170

Resource: /system/filesystem/availMb/home
Value: 18.000000
Instance Description:
The amount of free space in the file system in megabytes.

Notify: When value is... < 10.000000
Polling Interval: 300 seconds
Notify Via : SNMP trap
Severity: Minor
Options (Ini Rep Ret): N N N
Comments: test
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: EMS not able to change parameter in vt100 terminal.

the hp lab responsible are working on a fix.
until then use the cli... it's just as easy!
It works for me (tm)