Hello! > > I'm starting snmpd daemon, then creating a new row in the dlmod table: > > > > # /usr/bin/snmpset .... UCD-DLMOD-MIB::dlmodStatus.1 i create > > UCD-DLMOD-MIB::dlmodStatus.1 = INTEGER: create(6) > > > > But, record in table is not created:
> The most reliable approach I've discovered is as follows: > > a) snmpget .... dlmodNextIndex.0 > b) snmpset .... dlmodStatus.N i create > c) snmpset .... dlmodName.N s controlSystem > snmpset .... dlmodPath.N s /path/to/controlSystem.so > (or you can safely combine these into a single 'snmpset' call) > d) snmpset .... dlmodStatus.N i load Of course, I make all this steps. But after every steps I see: #snmptable ... UCD-DLMOD-MIB::dlmodTable UCD-DLMOD-MIB::dlmodTable: No entries And finally: #snmpwalk ... ucdDlmodMIB UCD-DLMOD-MIB::dlmodNextIndex.0 = INTEGER: 1 #snmpwalk ... UCD-DLMOD-MIB::dlmodTable UCD-DLMOD-MIB::dlmodTable = No Such Object available on this agent at this OID Now then I'm asking my mib's values I see this: #snmpwalk ... 1.3.6.1.4.1.7000 CONTROLSYSTEM-MIB::controlSystem = No Such Object available on this agent at this OID Though, #snmptranslate -Tp 1.3.6.1.4.1.7000 +--controlSystem(7000) | +--commonServer(1) | +--serviceTable(2) | +--serviceEntry(1) | Index: serviceIndex | +-- -R-- Integer32 serviceIndex(1) | Range: 0..65535 | +--serviceNames(2) | +-- -R-- Integer32 serviceStatus(3) But then I start snmpd daemon with string in snmpd.conf "dlmod controlSystem /path/to/controlSystem.so" all working well. PS: How about my second question? Thanks. Ruslan Bulatov ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users