[AGENT++] help
Frank Fock
fock at agentpp.com
Sun Nov 26 10:26:30 CET 2006
Hi,
venugopal reddy wrote:
> After generating code using agentpro, I ran agent on port number 4002.
> it isresponding to linux commands snmpget, set, getnext. but when
> quaried using MGsoft mib browser it is not responding.
>
Have you configured the port 4002 in the MIB browser?
> I defined "Uptime" in mib as timeticks, readonly. It always giving me
> 00's when I quaried.
You need to write some instrumentation code to
update the value, when queried.
> uptime OBJECT-TYPE
> SYNTAX TimeTicks
> MAX-ACCESS read-only
> STATUS current
> DESCRIPTION
> "time since devise woke up "
> ::= { info 2 }
>
> I defined rowstatus as fallows. when i tried to create a row it
> responds as table does not support row creation.
First, defining a DEFVAL for a RowStatus column does not make
sense. A noCreation error can also indicate that you have
used the wrong (no) index.
> row_Status OBJECT-TYPE
> SYNTAX RowStatus
> MAX-ACCESS read-create
> STATUS current
> DESCRIPTION "status of the row obbject"
>
> DEFVAL { active }
> ::= { routeEntry 4 }
Best regards,
Frank
More information about the AGENTPP
mailing list