Cache helper wasn't call when the table is empty

2008-03-14 Thread Stéphane Champeau
Hello, I use the table_data helper with cache (snmp 5.4.1): mib2c -c mib2c.table_data.conf -S cache=1 mydataTable All works fine and the cache load function is called correctly. I can make snmpgettable and my table is updated. The problem is when the table is empty, the cache_load _function is

Re: How to override the result of an GET request?

2008-03-14 Thread Dominique bastien
The override command can be added in the conf file by your perl script. --- Nguyen Dinh Nam <[EMAIL PROTECTED]> wrote: > I want to write an embedded Perl extension to > replace the built in value of > .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.* > == > .1.3.6.1.2.1.2.2.1

How to override the result of an GET request?

2008-03-14 Thread Nguyen Dinh Nam
I want to write an embedded Perl extension to replace the built in value of .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.* == .1.3.6.1.2.1.2.2.1.2 with my own values, such as the long description of the interface instead of interface name. I tried to register my own handler