Regarding System Mib get/set on SysLocation, and SysContact
Suresh kumar <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello All, I using net-snmp 7.1,we have get/set operation on system mib like sysName, sysContact and sysLocation.i know that get/set working fine for sysName. and Set operation only work for sysContact and sysLocation if is not configure in snmpd.conf. My Requirement is that .1. What we set sysContact/SysLocation using snmpset its should also reflect our GUI and some other component.Because of above Requirement we have to call some external API for getting SysContact/SysLocation and have to pass it net-snmp for snmpget.and also when we do snmpset operation to call some external API to refelect the change in GUI and some other component . I was trying to debug this in net-snmp and found that system_parse_config_sysloc(const char *token, char *cptr) and system_parse_config_syscon(const char *token, char *cptr) is fill up value in global variable sysLocation, sysContact in system_Mib.c files at the time net-snmp launching not at time of snmpget/snmpset. But unable find that how its pass for snmpget and how this value are set when we do snmpset operationthis is important for overwrite this functionality using some our external API for getting/setting sysContact/sysLoaction for some other component. Can any help me.. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders