Hi,
I've a private mib implemented as dlmod with a SET oid which should restart
the snmpd agent.
I tried the following but didn't work.
case MODE_SET_COMMIT:
if( 0 == strncmp("restart", requests->requestvb->val.string,
requests->requestvb->val_len) ) {
system("/etc/init.d/
the process read its configuration files again, you should have it send itself a SIGHUP signal. That might be the only way to achieve your desired action.
Original Message
Subject: How to restart agent from itself?
From: santosh <ysa...@gmail.com>
Date: Wed, June 05, 201
ead its configuration files
> again, you should have it send itself a SIGHUP signal. That might be the
> only way to achieve your desired action.
>
> Original Message ----
> Subject: How to restart agent from itself?
> From: santosh
> Date: Wed, J