The runsnmp.ksh script on UNIX ensures that both the SNMP master agent and the onsrvapd server-discovery daemon are running on a host. The runsnmp.ksh file is in the $INFORMIXDIR/snmp directory. You must correctly set the INFORMIXDIR environment variable to the latest installed version of the product and run the script as root.
>>-runsnmp.ksh--+------------------------+--+------+------------> +- -m--master_agent_args-+ '-stop-' '- -s--server_disc_args--' >--+-------+--------------------------------------------------->< '-start-'
Issue the runsnmp.ksh commands that the following diagram shows.
The master_agent_args and the server_disc_args are not checked for correctness.
The following examples illustrate how to use runsnmp.ksh:
runsnmp.ksh
runsnmp.ksh -s stop
runsnmp.ksh -s stop start
runsnmp.ksh stop
runsnmp.ksh stop start
runsnmp.ksh -s "-rnone"