To start the SNMP Plugin from the shell, execute a command like:
$ $gtm_dist/mumps -run IHsnmp --action=start --plugin=PluginId
The "start" action also suffices to start the SNMP Plugin after a "dirty" shutdown, for example, after a system crash, or after an inadvertent MUPIP STOP of the SNMP Plugin process.
To start the SNMP Plugin from within GT.M, invoke the action entry point in the IHsnmp API and pass "start" as the first parameter.
action^IHsnmp("start","Pluginid")
Example:
$gtm_dist/mumps -run IHsnmp --action=start --plugin=5
GTM> do action^IHsnmp("start","5")
Both examples start the SNMP Plugin.