3rd party MIBs in Sun Management Center
Hello:
I have just installed a Sun Mangement Center 3.5 environment.
Also configured some SNMP object, some as proxy monytoring and other just as SNMP ping.
Now I have to configure some SNMP objects for which I have SNMPv2 MIBS and I dont know how to do it.
The Installation manual talks about configuring a legacy agent as a subagent.......is that the way to go?
I,ve read the instructions but there are some things I can磘 understand.
The SNMP object is configured to transmit to the SMC server and to 1162 port.
The MIB file is on the SMC server machine is called sylantro.my and just placed it in /opt/SUNWsymon/sylantro/ directory, should this file reside in another directory?
How should I fill the info in subagent-registry-d.x?
sa2 = {
type= legacy
persist= false
snmpPort = "1162"
errorAction = restart
startCommand= "/usr/lib/snmp/mibiisa -p %port"
stopCommand= "kill -9 %pid"
pollInterval = 60
pollHoldoff = 60
oidTrees = 1.3.6.1.4.1
snmpVersion = SNMPv2
securityLevel = noauth
securityName =public
}
Questions:
is the name sa2 in the example arbitrary? or is related to the MIB file?
startCommand which command should I use to start? I only have a MIB file, or should I use mibiisa command? if so, where is the MIB file related to the subagent-registry-d.x file?
oidTreesis this data in the MIB file? I found some documents that expresed 1.3.6.1.4.1.3945I found that 3945 in the MIB, but the previous numbers do not.
snmpVersionis SNMPv2 ok?
securityLevelis ok to place noauth here? when setup for SMC was done I typed something for seed and also the default public string
How sould this SNMP object be configured in SMC to be able to monitor that object?
Ok this is all, thanks for any help.
here is an extrac from the sylantro.my MIB file
-- FILENAME:: sylsnmpsrv.my
--
-- VERSION:: $Id$
--
-- MODULE:: N/A
--
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DESCRIPTION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- Defines the server MIB.
--
--
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
-- CompletedEngineerDESCRIPTION
-- =====================================
-- Oct/08/99jml Created
--
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SYLANTRO-SERVER-MIB1 DEFINITIONS ::= BEGIN
--IMPORTS
--MODULE-IDENTITY, OBJECT-TYPE, Integer32
--FROM SNMPv2-SMI
--DisplayString
--FROM SNMPv2-TC;
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Integer32, Counter32
FROM SNMPv2-SMI
enterprises
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC;
sylantroSystemsOBJECT IDENTIFIER ::= { enterprises 3945 }
sylSnmpMib OBJECT IDENTIFIER ::= { sylantroSystems 1 }
sylSnmpMibServersOBJECT IDENTIFIER ::= { sylSnmpMib 2 }
sylantroServerV1 MODULE-IDENTITY
LAST-UPDATED "9908170000Z"
ORGANIZATION "Sylantro Systems"

