SNMP
QlikView provides SNMP agents for all services.
The SNMP setting is off by default, since the implementation is in its initial stages and subject to change. At the time of writing, reading operations from the agents are enabled. The following messages are supported:
- GetRequest
- GetResponse
- GetNextRequest
All services answer the standard SNMP queries (see below).
Identifier | Query | Description |
---|---|---|
1.3.6.1.2.1.1.1 | sysDescr |
Description of service/product. Example: sysDescr.0:Qlikview Publisher Commandcenterservice version 8.50.600 |
1.3.6.1.2.1.1.2 | sysObjectID |
Unit type. Example: sysObjectID.0:iso.org.dod.internet.private.enterprises.qliktech.products.publisher.Distributionservice |
1.3.6.1.2.1.1.3 | sysUpTime |
System uptime. Example: sysUpTime.0:0 hours, 12 minutes, 15 seconds |
1.3.6.1.2.1.1.4 | sysContact |
Can be set in the configuration file. Example: sysContact.0:Unspecified System contact |
1.3.6.1.2.1.1.5 | sysName |
Can be set in the configuration file. Example: sysName.0:Unspecified name |
1.3.6.1.2.1.1.6 | sysLocation |
Can be set in the configuration file. Example: sysLocation.0:Unspecified location |
1.3.6.1.2.1.1.7 | sysService |
Constant, 72 means application server. Example: sysServices.0:72 |
The QlikView Distribution Service can answer additional queries. These are specified in the MIB file.
Each service has a configuration file, which is stored in the subfolder for the service in the installation folder. For example, the configuration file for the QlikView Distribution Service is QlikViewdistributionService.exe.config.
The SNMP settings can be adjusted in the SNMP SETTINGS part of the configuration file. SNMP has to be enabled for all services (the default is off).
Setting | Description |
---|---|
EnableSNMP | Enables the SNMP listener. The default value is false. |
SNMPPort | Sets the port to use for the particular Publisher service. See the default settings for each service below. |
SNMPsysContact | Contact information for the person responsible for the managed node. The default value is Unspecified System contact. |
SNMPsysName | An administratively assigned name for the managed node. By convention, this is the fully qualified domain name of the node. If the name is unknown, the value is a zero-length string. If left empty, it defaults to the current machine name. The default value is Unspecified name. |
SNMPsysLocation | Physical location of the node (for example, “telephone closet, third floor”). The default value is Unspecified location. |
DebugSNMP | Enables the extended debug log for the SNMP listener. The default value is false. |
The default port settings for the services are listed below.
Service | Default Port Setting |
---|---|
QlikView Management Service | 4781 |
Directory Service Connector | 4731 |
QlikView Distribution Service | 4721 (default SNMP port) |
QlikView Server | 161 |
QlikView Web Server | 4751 |
All ports can be configured. If the services are installed on different machines, they can all run on the same port. The ports change as the implementation moves away from the experimental SNMP range and into the range allotted by Qlik.
MIB File
A MIB file is included in the QlikView delivery, so that all SNMP managers can interpret the additional responses from the QlikView Distribution Service. Note, however, that the MIB file is subject to change. The file is installed in \QlikView\Support Tools. The support tools require a customized installation.
The QlikView Distribution Service can answer the queries listed below, in addition to the ones previously mentioned.
Identifier | Query |
---|---|
1.3.6.1.4.1.30764.1.2.2.1 | QDSTaskExecuteStatusTable |
1.3.6.1.4.1.30764.1.2.2.1.1 | QDSTaskExecuteStatusEntry |
1.3.6.1.4.1.30764.1.2.2.1.1.1 | QDSTaskID (task ID number) |
1.3.6.1.4.1.30764.1.2.2.1.1.2 | QDSTaskName (task name) |
1.3.6.1.4.1.30764.1.2.2.1.1.3 |
QDSTaskExecuteStatus (task status):
|
1.3.6.1.4.1.30764.1.2.2.1.1.4 | QDSTaskNextExecutionAt (when the task will be executed next) |
1.3.6.1.4.1.30764.1.2.2.1.1.5 | QDSTaskLastExecutedAt (when the task was executed last) |
1.3.6.1.4.1.30764.1.2.2.1.1.6 | QDSTaskCurrentWork (what the task is currently doing) |
1.3.6.1.4.1.30764.1.2.2.1.1.7 |