Properties and command line options
You use properties to specify how the probe interacts with the device. You can override the default values by using the properties file or the command line options.
The following table describes the properties and command line options specific to this probe. For information about default properties and command line options, see the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide, (SC14-7530).
Property name |
Command line option |
Description |
---|---|---|
ConfPath string |
-confpath string |
Use this property to specify the path of directories that contain configuration information for the SNMP probe engine. The default is $OMNIHOME/probes/arch:$OMNIHOME/var. Note: The directories specified using this property must be separated by a colon (:) on UNIX or a semicolon (;) on Windows. The configuration files are named either siemens_tnms_snmp.conf or snmp.conf. |
Forwarding string |
-forwarding string |
The probe ignores this property. |
MIBDirs string |
-mibdirs string |
Use this property to specify where the probe searches for MIB modules. This is in the form of a colon-separated list of directories. The default is $OMNIHOME/common/mibs. |
MIBFile string |
-mibfile string |
Use this property to specify the name of the MIB file. The default is $OMNIHOME/probes/mib.txt. Note: If you
are using a rules file generated by the trapd converter, you must set this
property to point to an empty file; for example, /dev/null.
|
MIBs string |
-mibs string |
Use this property to specify which MIB modules the probe loads. This is in the form of a colon-separated list of modules. The default is ALL (this is a special value that instructs the probe to load all modules available in the list of directories specified by the MIBDirs property). |
NoNameResolution integer |
-nonameresolution (equivalent to NoNameResolution with a value of 1) |
Use this property to specify whether the probe performs name resolution on IP addresses: 0: The probe performs name resolution. 1: The probe does not perform name resolution. The default is 0. |
Optimize integer |
-optimize integer |
The probe ignores this property. |
PersistentDir string |
-persistentdir string |
Use this property to specify where the persistent configuration information is stored. The default is $OMNIHOME/var. |
Port integer |
-port integer |
Use this property to specify the port on which the probe listens for SNMP traffic. The default is 162. |
Protocol string |
-protocol -udp (equivalent to Protocol with a value of UDP or -protocol UDP) -tcp (equivalent to Protocol with a value of TCP or -protocol TCP) -all (equivalent to Protocol with a value of ALL or -protocol ALL) -any (equivalent to Protocol with a value of ANY or -protocol ANY) |
Use this property to specify the network protocol that the probe uses:
The default is UDP. Note: The values ANY and ALL are
interchangeable.
|
QuietOutput integer |
-quietoutput (equivalent to QuietOutput with a value of 1) -noquietoutput (equivalent to QuietOutput with a value of 0) |
Use this property to specify whether the probe outputs tokens that correspond to an OID with symbolic OID expansion: 0: Probe outputs tokens with symbolic OID expansion 1: Probe outputs tokens without symbolic OID expansion The default is 1. |
ReadBuffer integer |
-readbuffer integer |
The probe ignores this property. |
Realfast integer |
-realfast integer |
The probe ignores this property. |
SleepTime integer |
-sleeptime integer |
Use this property to specify the poll time (in seconds) of the trap list. If there are no traps to be processed, the probe sleeps for this amount of time before polling the trap queue again. The default is 1. |
SocketSize integer |
-socketsize integer |
Use this property to specify the size (in bytes) of the kernel buffer on the socket being used. This is set on a per-socket basis. A higher value increases the number of traps that the probe can handle. For UDP traps, this improves performance. The default is 8192. Note: The
minimum value for the SocketSize property is 128 bytes.
In the majority of cases, the default size is recommended.
|
ThreadQueueSize integer |
-threadqueuesize integer |
The probe ignores this property. |
TrapQueueMax integer |
-trapqueuemax integer |
Use this property to specify the maximum number of traps that can be queued for processing at any one time. The probe discards any traps received while the buffer is full. The default is 0 (no limit to the number of traps). |