On Wed, 2 Feb 2005 10:46:27 -0800 (PST) Andres wrote:
AC> char *data = (char *) handler->myvoid;
AC>
AC> case MODE_SET_ACTION:
AC> DEBUGMSGTL(("handle", "in handler --
AC> updated u_char %s -> %s\n", *data,
AC> *(requests->requestvb->val.string)));
AC> *data = *
Hello Robert,
> AC> 6. How can I define that the agent takes an
> action
> AC> when a variable is set to certain value?
>
> Again, it depends on external vs internal. External
> monitoring/actions are
> done via snmpd.conf. Internally, you check for that
> value in your handler and
> perform the
On Mon, 31 Jan 2005 10:54:10 -0800 (PST) Andres wrote:
AC> I generated the code with mib2c in a Windows
AC> enviroment, with the help of the mib2c.scalar.conf
AC> file. It generated the .c and .h files correctly. My
AC> questions are:
AC>
AC> 1. How can I define where the data comes from?
You ge
Hello,
I have degined a simple object in my test mib, like
this:
avDescr OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Test object."
::= { test 1 }
I generated the code with mib2c in a Windows
enviroment, with the