Re : Reg : snmpget error "No such instance currently exists at this oid"
"Ambika Ramiya" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Thank you for your response. I have followed one of the following two mechanisms at a time to populate and retrieve table contents. 1. Local to Net-SNMP: Here, arrays are declared for all the tables in .c file. The arrays are initialised at the compile time. When snmpget command is executed, xxxTable_handler can retrieve the data from the corresponding array. 2. Using MySQL database: Here, I have stored the table contents in MySQL Database. I have added code to xxxTable_handler for retrieving the table entry from MySQL database when the snmpget command is executed. Since in either case, it does not reach xxxTable_handler when I run the snmpget command, I am not able to retrieve the data from MySQL database. Please let me know, if there are any other ways to store table contents in Net-SNMP. Our requirement is that we need to have multiple instances of entire MIB variables. Thank you. Ambika. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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