> Ok, you are right... I just looked at the oids a little closer, > and what you are missing is the prtAlertEntry.. So I think the > root oid you are registering is missing a .1 at the end (or the > length is off by 1). So the numeric oids would be something like: > > prtAlertTable.1.2.1.1 = 1 > prtAlertTable.1.3.1.1 = 1 > -------------^^^
Things are looking alot better, went from this: ** missing prtAlertIndex here ** prtAlertTable.2.1.1 = 1 prtAlertTable.3.1.1 = 1 prtAlertTable.4.1.1 = 1 prtAlertTable.5.1.1 = 1 prtAlertTable.6.1.1 = -1 prtAlertTable.7.1.1 = 5 prtAlertTable.8.1.1 = 1 ** and missing prtAlertTime here ** to this: ** AlertTime is there now, but AlertIndex is still delinquent ** prtAlertSeverityLevel.1.4 = warningUnaryChangeEvent prtAlertTrainingLevel.1.4 = 1077708291 prtAlertGroup.1.4 = 1077708291 prtAlertGroupIndex.1.4 = 19 prtAlertLocation.1.4 = -1 prtAlertCode.1.4 = 53764 prtAlertDescription.1.4 = "01 00 00 00 " prtAlertTime.1.4 = 92:0:49:35.52 The printfs when I do the netsnmp_table_set_add_default_row(), netsnmp_register_table_data_set(), & netsnmp_create_handler_registration() are: Registering 1.3.6.1.2.1.43.18.1.1 ** this is AlertIndex ** Registering 1.3.6.1.2.1.43.18.1.2 Registering 1.3.6.1.2.1.43.18.1.3 Registering 1.3.6.1.2.1.43.18.1.4 Registering 1.3.6.1.2.1.43.18.1.5 Registering 1.3.6.1.2.1.43.18.1.6 Registering 1.3.6.1.2.1.43.18.1.7 Registering 1.3.6.1.2.1.43.18.1.8 Registering 1.3.6.1.2.1.43.18.1.9 OID register for Alert Table: 1.3.6.1.2.1.43.18.1 The printfs with Registering... are what's going into the netsnmp_table_set_add_default_row() fcn. Registering prtAlertTable (18.1) isntead of just prtAlert (18) seems to have fixed the symbolic name problem. However when I do a get of prtAlertIndex.1.4, for example, I get nosuchname. It doesn't seem to be calling my code on the Gets which leads me to believe that I'm still not registering correctly. How can I determine if the net-snmp agent thinks that prtAlertIndex is a properly registered OID that needs to be forwarded on to me for processing? Thanks, Carlos ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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
