This task describes how to determine if any SNMP Managers are configured in either the agent configuration variable /snmp/piV1m_list or in the SNMP configuration file, snmpmagt.cfg, or both and are listening on the default port. It demonstrates that BMC PATROL can make SNMP queries to the industry standard SNMP query port, 161.
This task uses the PSL command, Snmp_h_get(
), which automatically uses the port number defined in the agent configuration variable /snmp/default_port.
snmp_h_get(
). BMC PATROL displays the SNMP Query Using snmp_h_get( ) dialog box.host: <inventory_db_dallas> oid: <.1.3.6.1.2.1.1.1.0> SNMP Query using snmp_h_get()... UDP port 161:
Note
If an SNMP manager is not listening on port 161, PATROL times out and returns an error (errorno=95).