To check the status of the SNMP Plugin from the shell, execute a command like:

$ $gtm_dist/mumps -run IHsnmp --action=status --plugin=PluginId

This command displays a summary of the current status of the SNMP Plugin and whether it is connected to the Master SNMP Agent.

To check the status of an SNMP Plugin from within GT.M, invoke the action entry points in the IHsnmp API and pass "status" as the first parameter:

action^IHsnmp("status","Pluginid")

Example:

$gtm_dist/mumps -run IHsnmp --action=status --plugin=5
GTM>do action^IHsnmp("status","5")

Both examples display the status of the SNMP Plugin.

loading table of contents...