problem_get
Retrieve and filter problems from Zabbix by event IDs, host groups, severity levels, or time range. Returns JSON-formatted data for efficient monitoring and issue tracking.
Instructions
Get problems from Zabbix with optional filtering.
Args:
eventids: List of event IDs to retrieve
groupids: List of host group IDs to filter by
hostids: List of host IDs to filter by
objectids: List of object IDs to filter by
output: Output format
time_from: Start time (Unix timestamp)
time_till: End time (Unix timestamp)
recent: Only recent problems
severities: List of severity levels to filter by
limit: Maximum number of results
Returns:
str: JSON formatted list of problems
Input Schema
Name | Required | Description | Default |
---|---|---|---|
eventids | No | ||
groupids | No | ||
hostids | No | ||
limit | No | ||
objectids | No | ||
output | No | extend | |
recent | No | ||
severities | No | ||
time_from | No | ||
time_till | No |
Input Schema (JSON Schema)
{
"properties": {
"eventids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Eventids"
},
"groupids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Groupids"
},
"hostids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Hostids"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"objectids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Objectids"
},
"output": {
"default": "extend",
"title": "Output",
"type": "string"
},
"recent": {
"default": false,
"title": "Recent",
"type": "boolean"
},
"severities": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Severities"
},
"time_from": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Time From"
},
"time_till": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Time Till"
}
},
"type": "object"
}