Michael Wu <michaeld...@gmail.com> writes: > I have a situation where the pass persist scripts take some time to run due > to the size of the custom mibs it needs > to generate. When pass persist script gets started by snmpd, the external > query (snmpwalk for example) would time > out. To get around this issue I was thinking to let snmpd start the > pass_persist scripts during snmpd > initialization. To do this, snmpd would query the custom mibs served by the > pass persist script internally just to > get the pass persist script started. > I am new the net-snmp and not familiar with the net-snmp code base and not > sure if the proposed solution is > feasible. Any help would be appreciated.
In theory you could definitely do that. You might see the DISMAN Event MIB section of the snmpd.conf manual page for how to set up "self-monitoring" that can actually start a query at particular times after the agent starts. You can simply set the frequency (-r) to something really really high so it won't run the request very frequently. Kinda hacky but it should work. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders