Sun Microsystems 2.1 Server User Manual


 
Appendix A Setting up the SNMP Agent A-7
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:
The remaining additions to elements.schema are as follows:
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.
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
)
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)