Re: Re: Re: How to renew (update) data stored on a OID for a get request?

2008-02-12 Thread Dave Shield
On 12/02/2008, Simon Huebner <[EMAIL PROTECTED]> wrote: > But now i have a problem with the load routine? > With routine should i use to fill the table? > > netsnmp_create_table_data_row(); > netsnmp_set_row_column() and so one doesn't work, or? No - that's the API for the "create-dataset" framewo

Re: Re: Re: How to renew (update) data stored on a OID for a get request?

2008-02-12 Thread Simon Huebner
Dave Shield wrote: > On 12/02/2008, Simon Huebner <[EMAIL PROTECTED]> wrote: >>> How have you coded your MIB module? >>> What helper(s) are you using? >>>That might affect what your code might look like. > >> I fill the hrSWInstalledTable from HOST-RESOURCES-MIB with the output >> from dpkg. >

Re: Re: How to renew (update) data stored on a OID for a get request?

2008-02-12 Thread Dave Shield
On 12/02/2008, Simon Huebner <[EMAIL PROTECTED]> wrote: > > How have you coded your MIB module? > > What helper(s) are you using? > >That might affect what your code might look like. > I fill the hrSWInstalledTable from HOST-RESOURCES-MIB with the output > from dpkg. One of the MIBs (high) on

Re: Re: How to renew (update) data stored on a OID for a get request?

2008-02-12 Thread Simon Huebner
Dave Shield wrote: > On 12/02/2008, Simon Huebner <[EMAIL PROTECTED]> wrote: >> I want to update data stored on a OID every time a get-request for this >> OID comes in! >> A AgentX stores the data but only on startup. > > Not true. > It depends how you implement the MIB module. > >> Is there a wa