• No results found

Preconfigured SNMP Initialization File

The SNMP initialization file (INIT/SAMPLE/SNMPAGENT/INITFILE) provides the

preconfigured SNMP configuration commands for identifying required information for an SNMP Management station.

Notes:

The ADAPTERNAME attribute cannot be used to map MCP Network adapters to the MCP; mapping is provided by the LINEID attribute. The ADAPTERNAME attribute is still accepted but will be ignored. ADAPTERNAME will be de-implemented in a future release.

There is no need to specify SPEED attribute values for LAN MCP Network adapters. Connection Services forces SPEED=*DEF which causes the MCP Network adapter hardware to return an actual speed value when the connection group is opened.

SNMP Initialization File

This SNMP initialization file (INIT/SAMPLE/SNMPAGENT/INITFILE) provides the

preconfigured SNMP configuration commands for identifying required information for an SNMP Management station.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%% MCP SNMP Sample Init File %%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%% %%%%%

%%%%% This file is not a configured SNMP initfile. It is meant to %%%%% %%%%% be used as a guide for building a configured SNMP initfile. %%%%% %%%%% The xxx.xxx.xxx.xxx IP addresses must be changed to valid %%%%% %%%%% IP addresses; if those commands are used, they must be %%%%% %%%%% uncommented. The community values listed as "community" %%%%% %%%%% must be changed to values that cannot be easily guessed; %%%%% %%%%% this must be done to provide increased security from %%%%% %%%%% malicious attacks. (Do not remove the quotes; they are %%%%% %%%%% required for processing the command.) The ReadOnly community %%%%% %%%%% string CPMCP1 must also be changed. %%%%% %%%%% The first section contains the read-only COMMUNITY SET and %%%%% %%%%% examples of read-write COMMUNITY and TRAPCOMMUNITY commands %%%%% %%%%% usable on all MCP platforms; the second section contains %%%%% %%%%% examples of the COMMUNITY/TRAPCOMMUNITY SET commands with %%%%% %%%%% Server Sentinel explicit comments for Server Sentinel %%%%% %%%%% knowledgable users. The third section contains the SETs %%%%% %%%%% for System variables and the object managers. Commands %%%%% %%%%% which are not commented out should be included in the %%%%% %%%%% SNMP initfile (the only exception being the read-only SET %%%%% %%%%% in environments that want to tightly control read-only %%%%%

%%%%% access.) %%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The first command allows read-only access from all IP addresses.

% The next command sets read-write access from a particular IP address % Update the community value and the IP address; copy the command

% to give read-write access to multiple IP addresses/community strings. %NW SNMP COMMUNITY ADD %

% "community" xxx.xxx.xxx.xxx ReadWrite;% %

% The next command identifies a destination for traps from this system. % Update the IP address to a valid IP address destination; copy the % command to add more destinations.

%NW SNMP TRAPCOMMUNITY ADD % % "public" xxx.xxx.xxx.xxx;% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Server Sentinel

% The next command adds SP0. %NW SNMP COMMUNITY ADD %

% "community" xxx.xxx.xxx.xxx ReadWrite;% %

% The next command adds SP1. %NW SNMP COMMUNITY ADD %

% "community" xxx.xxx.xxx.xxx ReadWrite;% %

% Add the external Management Server if it exists. %NW SNMP COMMUNITY ADD %

% "community" xxx.xxx.xxx.xxx ReadWrite;% %

% Define a SNMP TRAPCOMMUNITY for each Service processor and the

% external management server if it exists. As sites may/may not use the % default IP addresses for SP0 and SP1, the IP address must be updated; % the command must be uncommented to use. The community value does not % need to be updated unless the "public" community value has not been % defined on the system.

% % Add SP0 Trapcommunity %NW SNMP TRAPCOMMUNITY ADD % % "public" xxx.xxx.xxx.xxx;% % % Add SP1 Trapcommunity %NW SNMP TRAPCOMMUNITY ADD % % "public" xxx.xxx.xxx.xxx;% %

% Add the external Management Server trapcommunity if it exists. %NW SNMP TRAPCOMMUNITY ADD % % "public" xxx.xxx.xxx.xxx;% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The next command sets the SysContact, SysName, and SysLocation

% objects. Change the values in parentheses to meaningful values. % (Do not remove the parentheses; they are needed for processing the % command.)

,SysName = "ClearPath System" % ,SysLocation = "ClearPath Location" % ;

%

% The next command identifies the Host Resources Object Manager to % the SNMP Agent.

NW SNMP SET %

agentAPIPRowStatus "Host Resources MIB Object Manager" = 4% ,agentAPIPCodefile "Host Resources MIB Object Manager" =

"RUN *SYSTEM/SNMPOBJMGR/HOSTMIB"%

,agentAPIPAdminStatus "Host Resources MIB Object Manager" = 1% ,agentAPIPRspTimer "Host Resources MIB Object Manager" = 5% ;%

%

% The next command identifies the MCP Resource Object Manager to the % SNMP Agent.

NW SNMP SET %

agentAPIPRowStatus "MCP Resource Object Manager" = 4% ,agentAPIPCodefile "MCP Resource Object Manager" =

"RUN *SYSTEM/SNMPOBJMGR/MCP"% ,agentAPIPAdminStatus "MCP Resource Object Manager" = 1% ,agentAPIPRspTimer "MCP Resource Object Manager" = 5% ;%

%

% The next two commands set the agent response timer to a value higher % than the default of 3 seconds. (The response timers for the object % managers above are also set higher than the default. Setting the % response timer to a higher value is recommended for MCP platforms % with high processor demand.) Note that the CNS Object Manager and % the System/Assistant Object Manager can only have the response timer % timer set; these are libraries and the other objects normally set in % the initfile for object managers cannot be set for libraries.

NW SNMP SET %

agentAPIPRspTimer "CNS Object Manager" = 10% ;%

NW SNMP SET %

agentAPIPRspTimer "System/Assistant Object Manager" = 10% ;%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Related documents