agent does not get called when registered at '.1'
Fulko Hew <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I've managed to get a lot farther in my universal agent/network simulator,
but todays problem is:
"An agent registered at '.1' does not receive any requests,
but agents registered at '.1.x' (and elsewhere) do receive requests"
For example: Lets say I query the agent with getNext ('1.3.6.1.2.1.1.1')
And given the agent code:
my $regoid = new NetSNMP::OID('.1.3');
$agent->register($0, $regoid, \&my_snmp_handler);
my agent receives the query, but...
if I register my agent with the OID '.1' instead (right at the
top of the tree so I get _every_ request) my handler doesn't get
called, but something inside the daemon does cause it to respond
with 'noSuchName'.
Any clues?
Is there something that says registering at the top of
the OID tree is wrong, illegal, or a bug/feature?
TIA
Fulko
------------------------------------------------------------------------------
_______________________________________________
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