Hi all,
I am new to SNMP and this is my first message on this mailinglist.
I need to develop an SNMP subagent which caters for some counters whenever a request comes to Master agent.
The way I have done it is as follows --
1. Call netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_ROLE, 1);
2. Call init_agent
3. Call code that registers the OIDs
4. In a loop call agent_check_and_process
My question comes at step 3. So far I have had integer counters and I called netsnmp_register_int_instance for all the integral counters. Now I have counters that have type timeticks. How do I register them ?
I read about using mib2c but I am not sure which config file to use and what exactly are the semantics of various config files. Also the config file for dummies is not supported on my version --
Can't find a configuration file called mib2c.mfd.conf
Am I on the right track ? Please correct or guide me wherever I am going wrong.
Best regards,
Kelvin
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
