Page tree
Skip to end of metadata
Go to start of metadata

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.

Before you begin

This task uses the PSL command, Snmp_h_get( ), which automatically uses the port number defined in the agent configuration variable /snmp/default_port.

To Determine if any SNMP Managers are Listening

  1. Access the SNMPHealth application menu as described in Accessing KM Commands and InfoBoxes.
  2. Select Test PATROL SNMP System > SNMP Query Using snmp_h_get( ). BMC PATROL displays the SNMP Query Using snmp_h_get( ) dialog box.
  3. Click OK.
    BMC PATROL writes the information to a BMC PATROL task object [SNMP Query Using snmp_h_get( )] in the UNIX OS container.
  4. Access the SNMP Query Using snmp_h_get( ) task object as described in Accessing KM Commands and InfoBoxes and view the results. Your results should resemble this example:
host:           <inventory_db_dallas>
oid:            <.>
SNMP Query using snmp_h_get()... UDP port 161:


If an SNMP manager is not listening on port 161, PATROL times out and returns an error (errorno=95).

Related topics

SNMPHealth (SNMPHealth)

Monitoring the health of SNMP

SNMP Configuration

Status of SNMP Agents

Tests SNMP Functionality


  • No labels