You are on page 1of 20

Appendix C SNMP Proxy

Agent

The iDirect NMS includes an SNMP proxy agent that provides real-time status, statistical
information, and basic configuration information to any interested SNMP client.

C.1 How the Proxy Agent Works


The SNMP Proxy Agent is a client of the NMS Configuration Server, NMS Event Server, NRD
Server and Latency Server. The Proxy Agent receives the following information from each of
these NMS processes:
• The list of network elements from the Configuration Server
• The real-time status of each element from the Event Server
• Statistical information for all remotes and line cards from the NRD Server
• Latency information from the Latency Server
The SNMP Proxy Agent Management Information Base (MIB) supports both SNMP Get requests
for polling and SNMP traps for asynchronous notification of status changes. The MIB is
automatically updated to reflect changes in element status and/or configuration, including
the addition and deletion of network elements. It also collects statistical information
regarding network elements.
The SNMP Proxy Agent is automatically installed on the NMS server as part of the iDirect
software release and is included in the normal NMS server startup and shutdown procedure.

iMonitor User Guide 223


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Figure C-1 illustrates how the SNMP Proxy Agent fits into the overall NMS architecture

Figure C-1. SNMP Proxy Architecture

C.2 The iDirect Management Information Base (MIB)


The SNMP MIB supplies the information in Table C-1 for iDirect network elements.

Table C-1. iDirect MIB Contents

Element Type Available Information


Protocol Processor • ID
• Name
• Teleport ID
• Current State
• List of Warnings
• List of Alarms
• Condition Raised (trap)
• Condition Cleared (trap)

224 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-1. iDirect MIB Contents (continued)

Element Type Available Information


Chassis • ID
• Name
• Current State
• List of Warnings
• List of Alarms
• Condition Raised (trap)
• Condition Cleared (trap)
Remote Modem • DID
• Protocol Processor ID
• Network ID
• Teleport ID
• Remote ID
• Inroute Group ID
• Name
• IP Address
• Slot Number
• Chassis ID
• Type ID
• Current State
• List of Warnings
• List of Alarms
• Current Status
• Geographic Location
Coordinates
• Condition Raised (trap)
• Condition Cleared (trap)

iMonitor User Guide 225


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Beginning with iDirect Release 7.0, the SNMP MIB supplies the statistical information in
Table C-2 for iDirect network elements.

Table C-2. iDirect MIB Statistical Information

Statistics Type Available Information Data Class


IP Statistics Remote DID Not Applicable
Rx tcp packets in bytes Running Total
Rx udp packets in bytes Running Total
Rx icmp packets in bytes Running Total
Rx igmp packets in bytes Running Total
Rx http packets in bytes Running Total
Rx other packets in bytes Running Total
Tx tcp packets in bytes Running Total
Tx udp packets in bytes Running Total
Tx icmp packets in bytes Running Total
Tx igmp packets in bytes Running Total
Tx http packets in bytes Running Total
Tx other packets in bytes Running Total
Ip statistics last updated timestamp
OTA Statistics Remote DID Not Applicable
OTA Mode: always “DVBS2” Overwrite
Downstream reliable in bytes Running Total
Downstream unreliable in bytes Running Total
Downstream overhead in bytes Running Total
Downstream multicast in bytes Running Total
Downstream broadcast in bytes Running Total
Downstream total in kilobytes Running Total
Upstream reliable in bytes Running Total
Upstream unreliable in bytes Running Total
Upstream overhead in bytes Running Total
Upstream total in kilobytes Running Total
OTA statistics last updated Timestamp

226 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Remote UCP Remote DID Not Applicable
Upstream C/N0 in dB Overwrite
Power Adjustment in dBm Overwrite
Symbol Offset Overwrite
Frequency Offset in Hz Overwrite
Downstream SNR Overwrite
Remote UCP statistics last updated Timestamp
Latency Remote DID Not Applicable
Remote Name Not Applicable
Remote SN Not Applicable
IP address Overwrite
Latency in seconds Overwrite
Network Name Not Applicable
Latency statistics last updated Timestamp

iMonitor User Guide 227


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Hub Statistics Line Card DID Not Applicable
Type SN Not Applicable
Tx attempts Running Total
Tx bytes Running Total
Tx errors Running Total
Acq CRC errors Running Total
Traffic CRC errors Running Total
Bursts Running Total
Rx bytes Running Total
Rx power Overwrite
dma reset Running Total
tunnel rx errors Running Total
tunnel tx errors Running Total
Tx Power Overwrite
Temperature Overwrite
Time Ticks Running Total
AGC Gain Overwrite
MC AGC Gain Overwrite
Gigabit Ethernet Status Overwrite
Buffer Overflow Overwrite
Front End Rx Power Overwrite
GIGE transmit errors Running Total
GIGE receive errors Running Total
SCPC return Rx gain Overwrite
SCPC return carrier offset Overwrite
SCPC return lock status Overwrite
SCPC return lost lock count Running Total
TDMA AGC errors Running Total
TDMA traffic errors Running Total
TDMA bursts Running Total
TDMA Rx bytes Running Total
TDMA Rx gain Overwrite
Hub statistics last updated Timestamp

228 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Remote Status Remote DID Not Applicable
Down SNR in dB Overwrite
Tx power in dBm Overwrite
Rx power in dBm Overwrite
Digital rx gain in dB Overwrite
Fll dac (also referred to as Clock DAC) Overwrite
Rx Carrier Frequency Offset Overwrite
Temperature Overwrite
TDM lost Running Total
SCPC downsteam errors (N/A in iDX 3.3) Running Total
Time ticks Overwrite
LAN Port Overwrite
Ethernet mode Overwrite
Ethernet speed Overwrite
Ethernet auto-negotiate Overwrite
Terminal session Overwrite
iSite session Overwrite
In Mesh Overwrite
Fast Fade Corrections Running Total
CRC 8 Errors Running Total
CRC 32 Errors Running Total
NCR Lost Running Total
Physical Layer Sync Lost Running Total
Clock Delta Count Running Total
Digital AGC Gain Overwrite
Tuner AGC Gain Overwrite
Tuner AGC Gain (second demodulator)
Frequency Oscillator Offset Overwrite
TDMA CRC Errors Running Total
TDMA Calibrated SNR Running Total
TDMA Symbol Offset Running Total
TDMA Frequency Offset Running Total
Reliable Bytes Received Running Total

iMonitor User Guide 229


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Unreliable Bytes Received Running Total
Out of Band Bytes Received Running Total
Reliable Bytes Transmitted Running Total
Unreliable Bytes Transmitted Running Total
Out of Band Bytes Transmitted Running Total
Down SNR in dB (second demodulator) Overwrite
Rx power in dBm (second demodulator) Overwrite
Rx Carrier Frequency Offset (second demodulator) Overwrite
Fast Fade Corrections (second demodulator) Running Total
CRC 8 Errors (second demodulator) Running Total
CRC 32 Errors (second demodulator) Running Total
Physical Layer Sync Lost (second demodulator) Running Total
Digital AGC Gain (second demodulator) Overwrite
Tuner AGC Gain (second demodulator) Overwrite
Remote Status last updated Timestamp
Server Start Time This Timestamp specifies the start time of the
statistical Data

230 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Remote DVB-S2 Remote DID Overwrite
Statistics
Clear Sky MODCOD Overwrite
Minimum MODCOD Overwrite
Maximum MODCOD Overwrite
Curremt MODCOD Overwrite
Available MODCODs Overwrite
Current SNR Overwrite
Bytes on MODCOD 01 Running Total
Bytes on MODCOD 02 Running Total
Bytes on MODCOD 03 Running Total
Bytes on MODCOD 04 Running Total
Bytes on MODCOD 05 Running Total
Bytes on MODCOD 06 Running Total
Bytes on MODCOD 07 Running Total
Bytes on MODCOD 08 Running Total
Bytes on MODCOD 09 Running Total
Bytes on MODCOD 10 Running Total
Bytes on MODCOD 11 Running Total
Bytes on MODCOD 12 Running Total
Bytes on MODCOD 13 Running Total
Bytes on MODCOD 14 Running Total
Bytes on MODCOD 15 Running Total
Bytes on MODCOD 16 Running Total
Bytes on MODCOD 17 Running Total
Bytes on MODCOD 18 Running Total
Bytes on MODCOD 19 Running Total

iMonitor User Guide 231


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Bytes on MODCOD 20 Running Total
Bytes on MODCOD 21 Running Total
Bytes on MODCOD 22 Running Total
Bytes on MODCOD 23 Running Total
Bytes on MODCOD 24 Running Total
Bytes on MODCOD 25 Running Total
Bytes on MODCOD 26 Running Total
Bytes on MODCOD 27 Running Total
Bytes on MODCOD 28 Running Total
DVB-S2 Statistics Time Running Total
Total Bytes on all MODCODs Running Total
Hub DVB-S2 DID Overwrite
Statistics
High Priority Bytes Transmitted Running Total
Low Priority Bytes Transmitted Running Total
Dummy Frames Transmitted Running Total
Gigibit Ethernet Status Overwrite
Bytes on MODCOD 01 Running Total
Bytes on MODCOD 02 Running Total
Bytes on MODCOD 03 Running Total
Bytes on MODCOD 04 Running Total
Bytes on MODCOD 05 Running Total
Bytes on MODCOD 06 Running Total
Bytes on MODCOD 07 Running Total
Bytes on MODCOD 08 Running Total
Bytes on MODCOD 09 Running Total
Bytes on MODCOD 10 Running Total
Bytes on MODCOD 11 Running Total
Bytes on MODCOD 12 Running Total
Bytes on MODCOD 13 Running Total
Bytes on MODCOD 14 Running Total
Bytes on MODCOD 15 Running Total
Bytes on MODCOD 16 Running Total

232 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-2. iDirect MIB Statistical Information (continued)

Statistics Type Available Information Data Class


Bytes on MODCOD 17 Running Total
Bytes on MODCOD 18 Running Total
Bytes on MODCOD 19 Running Total
Bytes on MODCOD 20 Running Total
Bytes on MODCOD 21 Running Total
Bytes on MODCOD 22 Running Total
Bytes on MODCOD 23 Running Total
Bytes on MODCOD 24 Running Total
Bytes on MODCOD 25 Running Total
Bytes on MODCOD 26 Running Total
Bytes on MODCOD 27 Running Total
Bytes on MODCOD 28 Running Total
Total Bytes on all MODCODs Running Total
DVB-S2 Statistics Time
Remote Upstream Remote DID Overwrite
Statistics
Rx statistics type Overwrite
TDMA acquisition bursts Running Total
TDMA acquisition CRC errors Running Total
TDMA missing acquisition bursts Running Total
TDMA mismatch ac qui st ion bursts Running Total
TDMA traffic bursts Running Total
TDMA traffic CRC errors Running Total
TDMA missing traffic bursts Running Total
TDMA mismatch traffic bursts Running Total
TDMA keepalive bursts Running Total
SCPC return packets Running Total
SCPC return octet and CRC errors Running Total
SCPC return mismatch packets Running Total
SCPC return keepalive packets Running Total
Remote upstream statistics time Running Total

iMonitor User Guide 233


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

C.2.1 Resetting Statistical Data


There are two classes of statistics contained in the MIB: cumulative statistics, such as IP
statistics and CRC errors; and discrete snapshot measurements, such as temperature and
frequency offset.
Each time statistics arrive from the network and the MIB is updated, new values for
cumulative statistics are added to current values, creating running totals. In contrast, new
values for discrete statistics overwrite the old values. These two types of statistics are
distinguished in Table C-2 by the “Data Class” column.
Cumulative statistics are useful in determining a total value since a previous time. In order to
reset the start time for cumulative statistics (that is, to reset the counts to zero), a special
object type is included in the MIB. When referenced, this object will reset all the statistics
counters to zero.
The object is defined in the MIB as follows:
resetAllStatTables OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION " This field will reset all the statistical
tables under the idirectstats OID"
::= {idirectstats 7}
To reset the statistical data:
1. Log in to the NMS server machine as root.
2. Using the vi editor, edit the Net-SNMP daemon configuration file snmpd.conf:
cd /etc/snmp
vi snmpd.conf
3. Add the following line to the file:
rwcommunity private

NOTE: Add the above line only if snmpd.conf does not already contain it.

4. Restart the snmpd service:


Example: /etc/init.d/snmpd restart
5. Use the SNMP SET command to set the MIB Object resetAllStatTables to 1.
Usage: snmpset -v 2c -c private <NMS server Ipaddress>
resetAllStatTables.0 u 1
Data types and table entry names are available from the MIB. The MIB is defined in the
following file on the NMS server machine:
/usr/share/snmp/mibs/IDIRECT-REMOTE-MIB.txt

234 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

C.2.2 iDirect MIB SNMP Traps


The iDirect SNMP Proxy Agent sends traps to any configured trap recipient based on network
element state changes and raised or cleared element conditions. See the next section of this
document for information on configuring trap recipients.
The complete list of traps is shown in Table C-3. You will receive each trap when the specified
anomaly arises, and again when the condition clears. The trap-level field in the MIB specifies
the severity.

Table C-3. iDirect MIB Traps

Network
Trap Name Generate When... Severity
Elements
snmpProxyStart SNMP Proxy Agent starts up N/A SNMP Proxy Agent
snmpProxyStop SNMP Proxy Agent shuts down N/A SNMP Proxy Agent
upstreamSNR Upstream C/N0 goes outside specified limits Warning Remotes
downstreamSNR Downstream SNR goes outside specified limits Warning Remotes
tempLimit Onboard temperature goes outside specified Warning Remotes
limits
latency Latency measurement exceeds high limit Warning Remotes
symbolOffset Symbol offset goes outside specified limits Warning Remotes
ethernetUnplugged The local LAN port is non-functional Warning Remotes
ucpLostContact The protocol processor loses contact with a Warning Remotes
remote
lldown The protocol processor’s link layer interface Alarm Remotes
for a remote goes down
ucpOutOfNetwork The protocol processor declares a remote out Alarm Remotes
of network
latTimeout Latency measurements are failing Alarm Remotes
remoteOffline The remote has been commanded offline Offline Remotes
lackHubStats The NMS is no longer receiving hub statistics Alarm Hub Modems
acqHubModemCRC Acquisition CRC count exceeds high limit Warning Hub Modems
trafficHubModemCRC Traffic CRC count exceeds high limit Warning Hub Modems
ppStateTrap The NMS has stopped hearing from the Alarm Protocol Processor
protocol processor
powerAlarm1, 2, 3 The specified power supply has failed Warning Chassis
fanAlarm One of the fans has failed Warning Chassis
chassisDown The NMS cannot contact the chassis Alarm Chassis
scpcRxErrors A remote has received errors on the Warning Remotes
downstream
fllDacErrors A remote’s digital-to-analog converter (DAC) is Warning Remotes
operating outside the defined limits

iMonitor User Guide 235


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-3. iDirect MIB Traps (continued)

Network
Trap Name Generate When... Severity
Elements
rxOverflowFramesHubModem Receive Overflow Frames, data lost Warning Hub Line Card
downstreamPpsOverdrive Packets-per-second overdrive between PP and Warning Hub Line Card
line card
backplaneLost10Mhz The line card lost the backplane 10 MHz clock Warning Hub Line Card
signal
calibratedTxPower Transmit power is above or below the Warning Remotes
calibrated limit
txFrequency Transmit frequency is above or below the Warning Remotes
calibrated limit
mobileLostGps Mobile remote lost the GPS signal Warning Remotes
lcFailure Line card has failed Alarm Hub Line Card
meshError Mesh mode has changed: Remote is not in Alarm Remotes
mesh mode
meshTdmLockLost TDM lock lost Alarm Hub Line Card
meshHubRxScpcSnr The Hub downstream Rx loopback C/N Warning Hub Line Card
exceeds the calibrated hub clear sky C/N
meshHubRxTdmaSnr The Hub TDMA C/N exceeds the calibrated hub Warning Hub Line Card
clear sky C/N
lineCardAGCOutOFRange AGC gain out of range Warning Hub Line Card
meshRmtRxScpcSnr The remote downstream Rx C/N exceeds the Warning Remotes
calibrated remote clear sky C/N
meshRmtRxTDMASnr The remote Rx TDMA loopback C/N exceeds Warning Remotes
the calibrated remote clear sky C/N
remoteAgcOutOfRange AGC gain out of range Warning Remotes
rcmAAlarm The Reference Clock Module control timer A is Warning Chassis
in error
rcmBAlarm The Reference Clock Module control timer B is Warning Chassis
in error
lostChassisConnection Lost connection to Chassis Manager Server Warning Chassis
microChassisOverTemp Chassis over temperature alarm Warning Four-Slot Chassis
microRCMANotPresent RCM A has not been installed in the Chassis Warning Four-Slot Chassis
microRCMAFault RCM A of the chassis has failed Warning Four-Slot Chassis
microRCMBNotPresent RCM B has not been installed in the chassis Warning Four-Slot Chassis
microRCMBFault RCM B of the chassis has failed Warning Four-Slot Chassis
microPwrAlarmABad Chassis power supply A has failed Warning Four-Slot Chassis
microPwrAlarmAOverTem Chassis power supply A exceeds temperature Warning Four-Slot Chassis
limit

236 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-3. iDirect MIB Traps (continued)

Network
Trap Name Generate When... Severity
Elements
microPwrAlarmBBad Chassis power supply B has failed Warning Four-Slot Chassis
microPwrAlarmBOverTemp Chassis power supply B exceeds temperature Warning Four-Slot Chassis
limit
microFSMNotPresent FSM has not been installed on the chassis Warning Four-Slot Chassis
microFSMFault FSM has failed on the chassis Warning Four-Slot Chassis
microFSMFanFault FSM fan has failed on the chassis Warning Four-Slot Chassis
microIFMNotPresent IFM has not been installed on the chassis Warning Four-Slot Chassis
microIFMFault IFM has failed on the chassis Warning Four-Slot Chassis
microAlarmDisabled Audible alarms are disabled for the chassis Warning Four-Slot Chassis
microOPMAFaul OPM B has failed on the chassis Warning Four-Slot Chassis
microOPMBFault OOPM B fault alarm Warning Four-Slot Chassis
reset Reset has occurred Warning Remote/Line Card
unready Not ready for failover Warning Line Card
flash Flash Warning Warning Remote/Line Card
activationStatus Activation Status Alarm Remote
elsewhereError Remote is Elsewhere Elsewher Remote
e
backplaneLostSOF Backplane lost Start Of Frame Warning Chassis
rmtMAXTxPwr Remote exceeds Max Tx Power Warning Remote
bladeCPUHigh High CPU usage on Blade Warning PP Blade
rmtSleep Remote Sleep Alarm Alarm Remote
hubTenMHzAlarm Hub 10MHz Alarm Alarm Line Card
gigeFailed GIGE Port Failed Alarm Line Card
gigeHealth GIGE Port Health Warning Warning Line Card
rxOnly Remote in Rx Only mode Rx only Remote
crc8Errors CRC 8 errors high Warning Remote
crc32Errors CRC 32 errors high Warning Remote
ravenFailed Raven failed Alarm Remote/Line Card
bladeNoEncLic Blade has no encryption license Warning PP Blade
rmtAcqBurst Remote acquisition Burst Warning Warning Remote
rmtCAWillExpire Remote’s X.509 certificate will expire Warning Remote
rmtCAExpired Remote’ X.509 certificate has expired Warning Remote
rmtCAInvalid Remote’s X.509 certificate is invalid Warning Remote

iMonitor User Guide 237


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

Table C-3. iDirect MIB Traps (continued)

Network
Trap Name Generate When... Severity
Elements
rmttxTDMAAcqCrc Remote’s TDMA acquisition CRC errors high Warning Remote
rmttxTDMADataCrc Remote’s TDMA traffic CRC errors high Warning Remote
rmttxTDMAAcqMismatch Remote’s TDMA Acquisition mismatch high Warning Remote
rmttxTDMADataMismatch Remote’s TDMA traffic mismatch high Warning Remote
rmttxTDMADataMissing Remote’s TDMA data missing high Warning Remote
rmttxSCPCLostLock SCPC return lost lock Alarm Remote
rmttxSCPCHdlcError SCPC return octet and CRC errors high Warning Remote
rmttxSCPCDataMismatch SCPC return data mismatch high Warning Remote
rmtStatusChange Remote real-time status changed Warning Remote
tristateIdle Remote has entered the Idle state Warning Remote
tristateDormant Remote has entered the Dormant state Warning Remote
powerAlarm1 Power supply 1 has failed Warning Chassis
powerAlarm2 Power supply 2 has failed Warning Chassis
powerAlarm3 Power supply 3 has failed (not used) Warning Chassis

C.2.3 Setting up SNMP Traps


To enable the SNMP Proxy Agent to send traps for network element state changes, it is
necessary to designate one or more machines to receive them. The machine name is a
parameter in one of Net-SNMP’s configuration files.
To designate a machine to receive traps, use the following procedure:
1. Log on to the NMS server machine as root.
2. Use the vi editor to edit the Net-SNMP daemon configuration file:
cd /etc/snmp/
vi snmpd.conf

NOTE: In a few instances, the SNMP trap configuration has been moved into
/home/nms/snmpsvr/para_cfg.opt. If the instructions above are not accurate,
execute these commands instead:
cd /home/nms/snmpsvr/
vi para_cfg.opt

3. Add a line for each machine to receive SNMP Version 1 (v1) traps:
trapsink host[:port] community
where host is the name of the machine to which to send the traps. The community and
port strings are optional.
4. Add a line for each machine to receive SNMP Version 2 (v2) traps:

238 iMonitor User Guide


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

trap2sink host[:port] community


where host is the name of the machine to which to send the traps. The community and
port strings are optional.

CAUTION: Do not change or remove any other lines in this file.

C.2.4 Adding Multiple TRAP Receivers


Use the following procedure to add multiple SNMP trap receivers.
1. Use SSH to log on to the NMS where snmpsvr is running.
2. Then enter su - from the command line to log on as root.
3. Log on to the NMS server machine as root.
4. Change the directory.
# cd /home/nms/snmpsvr
5. Ensure the contents are similar to what is shown below:
#This sets up a read only community using the 'public' community
string
rocommunity public
#This sets up some basic SNMP data types...
syslocation iDirect
sysname NMS1 development server
#This allows for remote monitoring of NMS processes...
proc nrdsvr 2 0
proc evtsvr
proc nmssvr
proc latsvr
#Trap security setup
trapcommunity public
#Set up default trap targets for snmp v1 and v2 traps...
trapsink localhost public
trap2sink localhost public
#This line must be included to allow subagent connections...
master agentx
6. Save and quit.
7. At the Linux prompt, use the vi editor to enter:
# vi para_cfg.opt
8. Ensure the contents are similar to what is shown below:

iMonitor User Guide 239


iDX Release 3.5.x
The iDirect Management Information Base (MIB)

1. Sample Network Realtime Pre-Summary Parameter Option File=


#=
[DB_PARM]
db_user_name=nms
drvmgr_max=20
db_password=P@55w0rd!
db_database_name=nrd_archive
db_host_name=127.0.0.1
[TRAP_PARM]
community=public
db_user_name=nms
db_password=iDirect
trapsink=localhost
trap2sink=localhost
9. Save and quit.
10. Stop the snmpsvr and nms_monitor.
service idirect_nms stop snmpsvr nms_monitor
11. Restart the snmpd service.
service snmpd restart
12. Start the snmpsvr and nms_monitor.
service idirect_nms start snmpsvr nms_monitor
13. Change the directory.
# cd /etc/snmp
14. Use the vi editor to edit the SNMP Notification Receiver (snmptrapd) daemon file.
# vi snmptrapd.conf
15. Add the following:
authCommunity net [community]
forward default host1[:port]
forward default host2[:port]
.
.
.
The dots above represent more lines if more trap receivers are needed; [community] is
the expected community transmitted with the trap message; host1 and host2 are the
trap receiver's IP addresses (as an option, it is possible to change the default port with
:port, but this is not required). The resulting file may look like the following:
authCommunity net public

240 iMonitor User Guide


iDX Release 3.5.x
Working with HP OpenView

forward default 192.168.85.28


forward default 192.168.85.27
Where the community is public with two receivers (plus the one added in Steps 6 and 9,
resulting in three trap receivers.
16. Start the snmptrapd deamon:
# service snmptrapd start
17. Check if it is running
# service snmptrapd status
snmptrapd (pid 32064) is running...
If it is not running and there is a message similar to the one below, go to the Step 21.
Otherwise, see the resulting traps shown after Step 22.
snmptrapd dead but subsys locked
18. Enter the following at the Linux prompt:
# cd /var/lock/subsys
# rm -f snmptrapd
19. Restart the snmptrapd deamon.
# service snmptrapd start
To start the snmptrapd deamon after the server's reboot, use the following command at
the Linux prompt.
# chkconfig snmptrapd on

C.3 Working with HP OpenView


The SNMP product installed on the NMS server machine is an open-source package called Net-
SNMP. The MIB syntax processing is slightly different between this package and HP OpenView.
When using HP OpenView as your SNMP client software, you must load the special HP
OpenView-specific MIB instead of the MIB that comes standard with our agent.
The HP OpenView MIB can found on the NMS server machine in the following location:
/home/nms/snmpsvr/IDIRECT-REMOTE-MIB.hpov.txt

iMonitor User Guide 241


iDX Release 3.5.x
Working with HP OpenView

C.3.1 Linux SNMP Tools


The Net-SNMP package supplies a number of command-line utilities that perform various
SNMP-related functions. These commands are listed in Table C-4, along with a one-line
description of what each one does.

Table C-4. SNMP Command Line Utilities

Command Name Severity


snmpbulkget Communicates with a network entity using SNMP GETBULK Requests
snmpbulkwalk Communicates with a network entity using SNMP BULK Requests
snmpcmd Not a command, but a manual page that describes the common options for the
SNMP commands
snmpconf Creates and modifies SNMP configuration files
snmpdelta Monitor deltas of integer valued SNMP variables
snmpdf Gets a listing of disk space usage on a remote machine via SNMP
snmpget Communicates with a network entity using SNMP GET Requests
snmpgetnext Communicates with a network entity using SNMP GET NEXT Requests
snmpnetstat Show network status using SNMP
snmpset Communicates with a network entity using SNMP SET Requests
snmpstatus Retrieves important information from a network entity
snmptable Obtain and print an SNMP table
snmptest Communicates with a network entity using SNMP Requests
snmptranslate Translate SNMP object Id (OID) values into more useful information
snmptrap Sends an SNMP trap to a manager
snmpusm Creates and maintains SNMPv3 users on a remote entity
snmpwalk Communicates with a network entity using SNMP GETNEXT Requests

For more information on any of the commands in this list, log in to the NMS server machine
and type the following command:
# man <command name>
This displays the Linux manual entry or “man” page for the specified command that provides
usage details, output descriptions, etc. Note that some of these commands do not display
anything about iDirect networks, but instead display Linux system characteristics, such as disk
space and network status.

242 iMonitor User Guide


iDX Release 3.5.x

You might also like