SNMP Tracker

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Command-Line Tools 

SNMP Tracker

The SNMPTracker (SNMPTracker.exe) is a command-line oriented tool for generating inventories by querying a target device using SNMP. This is intended for SNMP enabled network devices like printers, switches, routers, and UPSs. SNMPTracker is highly customizable and supports a wide range of different devices.

 

The command-line arguments are passed to SNMPTracker as name-value pairs.

 

Usage

SNMPTracker.exe [-o <argument-name>=<value>]...

 

Table of Arguments

Name

Type

Description

auth

OPTION

The authentication method. Valid values are MD5 and SHA1. Implies authphrase.

authphrase

TEXT

The authentication passphrase for SNMP v3.

community

TEXT

The community name for SNMP.

Default is: public

config

TEXT

The configuration file. Alternatively, you can pass in one or more filenames after the options.

control

TEXT

The path or name of the control file, which is an XML file of a certain format.

deviceID

INTEGER

Sets the device ID (this is supposed to be used by Raynet's inventory /discovery agents only).

encsys

OPTION

Encryption system for SNMP v3. Valid values are AES and DES.

Default is: DES

host

TEXT

Target host, alternative to scanRule.

job

TEXT

Sets the job tag / ID (this  is supposed to be used by Raynet's inventory /discovery agents only).

maxDelay

INTEGER

Maximum seconds of delay for the upload. The value 0 disables delayed upload.

Default is: 0

mibpath

TEXT

The path to the MIB files to compile.

Default is: mibs

mibpattern

TEXT

The filename pattern for the MIB files to compile. Default is: *.txt

minDelay

INTEGER

Minimum seconds of delay for the upload.

Default is: 0

output

TEXT

Output directory for inventory files.

outfile

TEXT

Output file name if the option host is used.

port

SHORT

Port number for communication with the target device.

Default is: 161

privacy

OPTION

Privacy method for SNMP v3. Implies the argument privphrase.

privphrase

TEXT

Privacy phrase for SNMP v3.

protocol

OPTION

Protocol version.

Default is: 2

scanRule

TEXT

Supply a list of lists where the inner lists list targets hosts. If the current machine is <host> then target <targets>.

 

Example: myMachine1:target1,target2;myMachine2:target2

security

OPTION

The security level for SNMP v3. Valid values are: NOAUTHNOPRIV, AUTHNOPRIV, and AUTHPRIV.

threads

INTEGER

Maximum number of threads.

Default is: 1

timeout

INTEGER

Timeout for SNMP responses.

Default is: 2000

upload

TEXT

URI for inventory upload.

useDns

BOOLEAN

Query the DNS for a hostname for an IP address.

Default is: True

useProcess

BOOLEAN

Creates processes instead of threads for parallel queries.

Default is: False

user

TEXT

The user for SNMP v3 authentication.

 

Ports in Use

80 (443) for upload of the inventory to an inventory data sink via HTTP(S).

445 for upload of the inventory to an inventory data sink via SMB.

161 for communication with the target devices via SNMP.