Operating System - HP-UX
1755744 Members
2760 Online
108837 Solutions
New Discussion

How I can to extend resources dictionary?

 
Vasiliy Ilyushin
New Member

How I can to extend resources dictionary?

I haven't items under
/net/interface/lan/status, but realy I have 5 lan interfaces. I'd like to monitor them. So, Ihow I can add those resources to the dictionary?
1 REPLY 1
Stephen Doud
Honored Contributor

Re: How I can to extend resources dictionary?

lanmond comes with the standard EMS 3.20 product:

# swlist -l file B7609BA.EMS-MIBMonitor | grep lanmond
/etc/opt/resmon/lbin/lanmond
/opt/resmon/share/man/man1/lanmond.1

So you should have the capability to create a LAN monitor.

Verify that EMS is ready to register an EMS monitor request for the LAN cards:

Example:
# resls /net/interfaces/lan/status
Contacting Registrar on eon

NAME: /net/interfaces/lan/status
DESCRIPTION: LAN Interface Status

The current operational state of the interface. Possible values are:

UP The LAN interface is sending and receiving packets.
DOWN The LAN interface is not passing operational packets.

TYPE: /net/interfaces/lan/status is a Resource Class.

There are 2 resources configured below /net/interfaces/lan/status:
Resource Class
/net/interfaces/lan/status/lan0
/net/interfaces/lan/status/lan1

If you see LANs, then the SAM GUI for EMS HA Monitors should be functional.

If you don't see any LANs listed, then something is not configured or running.

Insure the following parameters are set in their respective /etc/rc.config.d files:
AUTOSTART_EMSAGT=1
SNMP_HPUNIX_START=1
SNMP_MASTER_START=1
SNMP_MIB2_START=1
SNMP_TRAPDEST_START=1

Insure /etc/inittab has the "ems" lines
Insure /etc/services lists the "registrar"
Insure the following processes are running:
/usr/sbin/hp_unixagt
/usr/sbin/trapdestagt
/usr/sbin/mib2agt
/usr/sbin/snmpdm
/usr/lbin/cmsnmpd
/etc/opt/resmon/lbin/p_client
/etc/opt/resmon/lbin/lanmond

If not, correct and reboot to see if a LAN monitor can now be created.

Finally - you may need to get these two patches:

OV EMANATE14.2 Agent Consolidated Patch (PHSS_21046)
OV EMANATE14.2 Intermediate Patch (PHSS_21383)
... or a more recent version.