On Wed, Jun 04, 2008 at 08:28:19AM -0700, Peter Baumgartner wrote: > I have some Linux experience, but I'm mostly a noob on OpenSolaris. I setup a > server on snv_72 a while back as a NAS using ZFS. I'd like to monitor it > using SNMP, but I can't seem to get the snmp agent configured properly on it. > > I ran: > > /usr/sfw/bin/snmpconf -g basic_setup > svcadm enable snmpdx > snmpwalk -c mycommunity -v 2c localhost > > Timeout: No Response from localhost > > I'm pretty sure I went through the snmpconf settings correctly, anything else > I might be missing? snmpdx is definitely running. I'm not even sure what log > files to start looking at.
You're close. "sma" is the service you want, not snmpdx". I agree, it's confusing. snmpdx is for the previous, now-historic Solaris SNMP agent product. # svcadm enable sma # svcs sma STATE STIME FMRI online 15:15:59 svc:/application/management/sma:default # snmpwalk -c public -v 2c ferpo SNMPv2-MIB::sysDescr.0 = STRING: SunOS ferpo 5.11 snv_88 i86pc SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.3 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (337) 0:00:03.37 SNMPv2-MIB::sysContact.0 = STRING: "Your friendly sysadmin" SNMPv2-MIB::sysName.0 = STRING: ferpo SNMPv2-MIB::sysLocation.0 = STRING: "In the Lab, On the Slab" SNMPv2-MIB::sysServices.0 = INTEGER: 72 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup . . . _______________________________________________ opensolaris-help mailing list [email protected]
