-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Critical
-
None
-
Affects Version/s: None
-
Component/s: Server (S)
-
None
-
Environment:zabbix-snmp-gateway 1.9
-
Support backlog
Hi,
It's possible to catch a problem with snmp-gateway, if table with triggers is big, or request takes more than 30s to return triggers,
If this would happen, build of mapping table would fail:
## sensitive data was removed
{
"_index": "XXXX",
"_id": "XXXXXX",
"_version": 1,
"_score": null,
"_source": {
"severity": "ERROR",
"applicationName": "snmp-gateway",
"timestampOriginalString": "1970-01-01T00:00:00.000000005Z",
"type": "techlog",
"tags": [],
"@timestamp": "1970-01-01T00:00:00.000000005Z",
"message": "1970-01-01T00:00:00.000000005Z Mapping table build failed: failed to read response: failed to send request: Post \"https://xxxxxx/zabbix/api_jsonrpc.php\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)",
"syslogFacility": "daemon",
"originalFormat": "XXXX",
"timestamp": "1970-01-01T00:00:00.000000005Z",
"serviceName": "snmp-gateway",
"site": "main",
"timestampReceived": "1970-01-01T00:00:00.000000005Z",
"serviceInstance": "XXXXX",
"@version": "1",
"host": "XXXXX",
"module": "",
"schema": "",
"title": "[snmp-gateway/]",
"port": XXXXX,
"threadID": "",
"correlationID": "",
"messageSize": XXX,
"timestampOriginalMerged": "true",
"processID": "XXXX",
"logger": "",
"sequenceNumber": 0
},
"fields": {
"@timestamp": [
"1970-01-01T00:00:00.000000005Z"
],
"timestamp": [
"1970-01-01T00:00:00.000000005Z"
],
"timestampReceived": [
"1970-01-01T00:00:00.000000005Z"
]
},
"highlight": {
"applicationName": [
"@XXXX-dashboards-highlighted-field@snmp-gateway@/XXXX-dashboards-highlighted-field@"
]
},
"sort": [
XXXX
]
}
version of snmp-gateway: 1.9