Sun Microsystems 2.1 Copy smsvod.mib to $SNMHOME/agents, Run $SNMHOME/bin/mib2schema smsvod.mib

Models: 2.1

1 184
Download 184 pages 37.97 Kb
Page 151
Image 151

3.Edit $SNMHOME/struct/elements.schema, to add lines for the Sun

MediaCenter server.

Use the lines for the SPARCcenter 1000 (sc1000) as a basis for the new lines for the Sun MediaCenter server (sms1000). For example:

 

record component.sc1000 (

# SC1000

 

 

string[64]

 

Name

 

 

string[40]

 

IP_Address

 

 

string[40]

 

User

 

 

string[40]

 

Location

 

 

string[80]

 

Description

 

 

string[40]

 

SNMP_RdCommunity

 

 

string[40]

 

SNMP_WrCommunity

 

 

string[64]

 

SNMP_Vendor_Proxy

 

 

int

 

SNMP_Timeout

 

 

)

 

 

 

 

 

Following lines copied from the previous lines

 

 

record component.sms1000 (

# SC1000

 

 

string[64]

 

Name

 

 

string[40]

 

IP_Address

 

 

string[40]

 

User

 

 

string[40]

 

Location

 

 

string[80]

 

Description

 

 

string[40]

 

SNMP_RdCommunity

 

 

string[40]

 

SNMP_WrCommunity

 

 

string[64]

 

SNMP_Vendor_Proxy

 

 

int

 

SNMP_Timeout

 

 

)

 

 

 

 

 

 

 

 

The remaining additions to elements.schema are as follows:

 

 

 

 

 

Under “instance elementCommand”:

 

 

 

(component.sc1000

“Rlogin...”

“$SNMHOME/bin/snm_cmdtool rlogin %Name”)

 

(component.sc1000

“Telnet...”

“$SNMHOME/bin/snm_cmdtool telnet %Name”)

 

(component.sms1000

“Rlogin...”

“$SNMHOME/bin/snm_cmdtool rlogin %Name”)

 

(component.sms1000

“Telnet...”

“$SNMHOME/bin/snm_cmdtool telnet %Name”)

 

Under “Glyphs for Components”:

 

 

 

 

( component.sc1000

sc1000.icon)

 

 

 

( component.sms1000

sms1000.icon)

 

 

 

 

 

 

 

 

 

4.Copy sms_vod.mib to $SNMHOME/agents.

5.Run: $SNMHOME/bin/mib2schema sms_vod.mib

This command creates sms_vod.mib.schema and sms_vod.mib.oid.

Appendix A Setting up the SNMP Agent A-7

Page 151
Image 151
Sun Microsystems 2.1 manual Copy smsvod.mib to $SNMHOME/agents, Run $SNMHOME/bin/mib2schema smsvod.mib