You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zabbix/templates/app/mantisbt/template_app_mantisbt_http....

977 lines
38 KiB

1 year ago
zabbix_export:
version: '7.0'
template_groups:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 2c96393f8f2945c1a9f03f86adf5eb57
template: 'Mantis BT by HTTP'
name: 'Mantis BT by HTTP'
description: |
Get Mantis BT issues by HTTP.
Metrics are collected by requests to Mantis BT API.
Please change macros {$MANTIS.URL} and {$MANTIS.TOKEN}.
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback
Generated by official Zabbix template tool "Templator" 2.0.0
vendor:
name: Zabbix
version: 7.0-0
groups:
- name: Templates/Applications
items:
- uuid: bf1b74b98d5b4311afeb721059c01da9
name: 'Mantis BT: Get projects'
type: HTTP_AGENT
key: mantisbt.get.projects
delay: 1h
history: '0'
trends: '0'
value_type: TEXT
description: 'Get projects from Mantis BT.'
timeout: 30s
url: '{$MANTIS.URL}/api/rest/projects/'
http_proxy: '{$MANTIS.HTTP.PROXY}'
headers:
- name: Authorization
value: '{$MANTIS.TOKEN}'
tags:
- tag: component
value: raw
discovery_rules:
- uuid: fc1e8a60cf544b3bbc92e6b6907b5e51
name: 'Projects discovery'
type: DEPENDENT
key: mantisbt.projects.discovery
delay: '0'
filter:
evaltype: AND
conditions:
- macro: '{#NAME}'
value: '{$MANTIS.LLD.FILTER.PROJECTS.MATCHES}'
formulaid: B
- macro: '{#NAME}'
value: '{$MANTIS.LLD.FILTER.PROJECTS.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: C
- macro: '{#ENABLED}'
value: 'true'
formulaid: A
description: 'Discovery rule for a Mantis BT projects.'
item_prototypes:
- uuid: baffdd6d9e51403084fc4a98bb4b9ff7
name: 'Project [{#NAME}]: High priority issues'
type: DEPENDENT
key: 'mantis.project.priority.high_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "high" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''high'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 8e68e80eaa9e45c1b6fdc8289361e016
name: 'Project [{#NAME}]: Immediate priority issues'
type: DEPENDENT
key: 'mantis.project.priority.immediate_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "immediate" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''immediate'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 3e53778307b649f7b22ec82ab4e27894
name: 'Project [{#NAME}]: Low priority issues'
type: DEPENDENT
key: 'mantis.project.priority.low_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "low" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''low'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: f5279ccc0e84466f94f334a36e25316f
name: 'Project [{#NAME}]: None priority issues'
type: DEPENDENT
key: 'mantis.project.priority.none_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "none" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''none'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 5a9ee1a754f24fcda08a1e3b42d711d7
name: 'Project [{#NAME}]: Normal priority issues'
type: DEPENDENT
key: 'mantis.project.priority.normal_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "normal" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''normal'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: c712113bccd34af2bb8018a52b6c581d
name: 'Project [{#NAME}]: Urgent priority issues'
type: DEPENDENT
key: 'mantis.project.priority.urgent_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "urgent" priority issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.priority.name==''urgent'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 752c79c4182a427daf92c9b97f035956
name: 'Project [{#NAME}]: Duplicate issues'
type: DEPENDENT
key: 'mantis.project.resolution.duplicate_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "duplicate" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''duplicate'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: c9dd80708bba4864a86b1bf8e4712b56
name: 'Project [{#NAME}]: Fixed issues'
type: DEPENDENT
key: 'mantis.project.resolution.fixed_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "fixed" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''fixed'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: bdfe85927f6449ac9ed9b5015cbc9e64
name: 'Project [{#NAME}]: Not fixable issues'
type: DEPENDENT
key: 'mantis.project.resolution.not_fixable_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "not fixable" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''not fixable'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 77738b7324ff439fbe57053df2cac93a
name: 'Project [{#NAME}]: No change required issues'
type: DEPENDENT
key: 'mantis.project.resolution.no_change_required_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "no change required" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''no change required'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: be2a9993006e4a7f9949f231f0d9e031
name: 'Project [{#NAME}]: Open issues'
type: DEPENDENT
key: 'mantis.project.resolution.open_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "open" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''open'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: bbfd75e3793a44cbbcaa21dc600d1f26
name: 'Project [{#NAME}]: Reopened issues'
type: DEPENDENT
key: 'mantis.project.resolution.reopened_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "reopened" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''reopened'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: cf279da7ccad4b97bc99075d8a668bb7
name: 'Project [{#NAME}]: Suspended issues'
type: DEPENDENT
key: 'mantis.project.resolution.suspended_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "suspended" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''suspended'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: c015da7c78a941baab2bebeefdbb13a9
name: 'Project [{#NAME}]: Unable to reproduce issues'
type: DEPENDENT
key: 'mantis.project.resolution.unable_to_reproduce_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "unable to reproduce" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''unable to duplicate'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 5957a3ad86c94d909bcc4b4827dd5207
name: 'Project [{#NAME}]: Will not fix issues'
type: DEPENDENT
key: 'mantis.project.resolution.wont_fix_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "wont fix" resolution issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.resolution.name==''wont fix'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: d92c955b5c944602a56c617ea2f14777
name: 'Project [{#NAME}]: Block severity issues'
type: DEPENDENT
key: 'mantis.project.severity.block_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "block" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''block'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 09d0ac69f19043ae84ada034074f8580
name: 'Project [{#NAME}]: Crash severity issues'
type: DEPENDENT
key: 'mantis.project.severity.crash_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "crash" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''crash'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 22f520e836b147d9875cf8cc692b4c23
name: 'Project [{#NAME}]: Feature severity issues'
type: DEPENDENT
key: 'mantis.project.severity.feature_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "feature" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''feature'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: e6f970c08dac44d6a40b01b65b87de5e
name: 'Project [{#NAME}]: Major severity issues'
type: DEPENDENT
key: 'mantis.project.severity.major_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "major" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''major'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 31720b277c4948dc8de07cb8d0c274a5
name: 'Project [{#NAME}]: Minor severity issues'
type: DEPENDENT
key: 'mantis.project.severity.minor_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "minor" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''minor'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 4018e9393c0f4179a4d7abf454b7d2de
name: 'Project [{#NAME}]: Text severity issues'
type: DEPENDENT
key: 'mantis.project.severity.text_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "text" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''text'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 36d9f115d1084b08964abf4152402dbb
name: 'Project [{#NAME}]: Trivial severity issues'
type: DEPENDENT
key: 'mantis.project.severity.trivial_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "trivial" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''trivial'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 6ba8709cfad2441cbe4752ef7dd0fc70
name: 'Project [{#NAME}]: Tweak severity issues'
type: DEPENDENT
key: 'mantis.project.severity.tweak_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of "tweak" severity issues.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.severity.name==''tweak'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 6760e0bab28c48468f4f27de02c701b1
name: 'Project [{#NAME}]: Acknowledged issues'
type: DEPENDENT
key: 'mantis.project.status.acknowledged_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''acknowledged'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''acknowledged'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: c72781a9c6d44fd799139a7b2cdfe67a
name: 'Project [{#NAME}]: Assigned issues'
type: DEPENDENT
key: 'mantis.project.status.assigned_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''assigned'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''assigned'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 474bda77652147959ba3fa853c667a87
name: 'Project [{#NAME}]: Closed issues'
type: DEPENDENT
key: 'mantis.project.status.closed_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''closed'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''closed'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: b9954705d26a40d0ba80300d444a5e8c
name: 'Project [{#NAME}]: Confirmed issues'
type: DEPENDENT
key: 'mantis.project.status.confirmed_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''confirmed'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''confirmed'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 91148a664c3548b98b9ae0ebb99edddc
name: 'Project [{#NAME}]: Feedback issues'
type: DEPENDENT
key: 'mantis.project.status.feedback_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''feedback'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''feedback'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 9db47ff1cfbe43849f85d445d334ee0d
name: 'Project [{#NAME}]: New issues'
type: DEPENDENT
key: 'mantis.project.status.new_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''new'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''new'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 0954f125f47c45ba81b46702d53478fa
name: 'Project [{#NAME}]: Resolved issues'
type: DEPENDENT
key: 'mantis.project.status.resolved_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues with ''resolved'' status.'
preprocessing:
- type: JSONPATH
parameters:
- '$.issues[?(@.status.name==''resolved'')].length()'
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: 56afe0d7c0dd471abc14cc0ed926aef7
name: 'Project [{#NAME}]: Total issues'
type: DEPENDENT
key: 'mantis.project.total_issues[{#NAME}]'
delay: '0'
history: 7d
description: 'Count of issues in project.'
preprocessing:
- type: JSONPATH
parameters:
- $.issues.length()
master_item:
key: 'mantisbt.get.issues[{#NAME}]'
tags:
- tag: component
value: project
- tag: project
value: '{#NAME}'
- uuid: f0064281917741aaa9b8e808509077e1
name: 'Project [{#NAME}]: Get issues'
type: HTTP_AGENT
key: 'mantisbt.get.issues[{#NAME}]'
delay: 20m
history: '0'
trends: '0'
value_type: TEXT
description: 'Getting project issues.'
timeout: 30s
url: '{$MANTIS.URL}/api/rest/issues?project_id={#ID}&page_size=0'
http_proxy: '{$MANTIS.HTTP.PROXY}'
headers:
- name: Authorization
value: '{$MANTIS.TOKEN}'
tags:
- tag: component
value: raw
graph_prototypes:
- uuid: ae0b82f566b9487fa8eeb78565858616
name: 'Mantis BT: [{#NAME}] Issues by priority'
width: '400'
height: '400'
type: PIE
show_3d: 'YES'
graph_items:
- color: 199C0D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.none_issues[{#NAME}]'
- sortorder: '1'
color: F63100
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.low_issues[{#NAME}]'
- sortorder: '2'
color: 00611C
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.normal_issues[{#NAME}]'
- sortorder: '3'
color: F7941D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.high_issues[{#NAME}]'
- sortorder: '4'
color: FC6EA3
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.urgent_issues[{#NAME}]'
- sortorder: '5'
color: 6C59DC
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.priority.immediate_issues[{#NAME}]'
- uuid: 09d08c384bfb4bc28f7620cc8e50ada5
name: 'Mantis BT: [{#NAME}] Issues by resolution'
width: '400'
height: '400'
type: PIE
show_3d: 'YES'
graph_items:
- color: 199C0D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.open_issues[{#NAME}]'
- sortorder: '1'
color: F63100
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.fixed_issues[{#NAME}]'
- sortorder: '2'
color: 00611C
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.reopened_issues[{#NAME}]'
- sortorder: '3'
color: F7941D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.unable_to_reproduce_issues[{#NAME}]'
- sortorder: '4'
color: FC6EA3
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.not_fixable_issues[{#NAME}]'
- sortorder: '5'
color: 6C59DC
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.duplicate_issues[{#NAME}]'
- sortorder: '6'
color: C7A72D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.no_change_required_issues[{#NAME}]'
- sortorder: '7'
color: BA2A5D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.suspended_issues[{#NAME}]'
- sortorder: '8'
color: F230E0
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.resolution.wont_fix_issues[{#NAME}]'
- uuid: 4f53368cdfff4d6ebdd9dde250e620fe
name: 'Mantis BT: [{#NAME}] Issues by severity'
width: '400'
height: '400'
type: PIE
show_3d: 'YES'
graph_items:
- color: 199C0D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.feature_issues[{#NAME}]'
- sortorder: '1'
color: F63100
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.trivial_issues[{#NAME}]'
- sortorder: '2'
color: 00611C
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.text_issues[{#NAME}]'
- sortorder: '3'
color: F7941D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.tweak_issues[{#NAME}]'
- sortorder: '4'
color: FC6EA3
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.minor_issues[{#NAME}]'
- sortorder: '5'
color: 6C59DC
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.major_issues[{#NAME}]'
- sortorder: '6'
color: C7A72D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.crash_issues[{#NAME}]'
- sortorder: '7'
color: BA2A5D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.severity.block_issues[{#NAME}]'
- uuid: ef79603b8e6f4acc99e62f59e651f7c5
name: 'Mantis BT: [{#NAME}] Issues by status'
width: '400'
height: '400'
type: PIE
show_3d: 'YES'
graph_items:
- color: 199C0D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.new_issues[{#NAME}]'
- sortorder: '1'
color: F63100
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.resolved_issues[{#NAME}]'
- sortorder: '2'
color: 00611C
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.closed_issues[{#NAME}]'
- sortorder: '3'
color: F7941D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.assigned_issues[{#NAME}]'
- sortorder: '4'
color: FC6EA3
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.feedback_issues[{#NAME}]'
- sortorder: '5'
color: 6C59DC
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.acknowledged_issues[{#NAME}]'
- sortorder: '6'
color: C7A72D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.status.confirmed_issues[{#NAME}]'
- uuid: 3b03ebc9ff5544ce9011aedbdf51976a
name: 'Mantis BT: [{#NAME}] Issues total'
graph_items:
- color: 199C0D
calc_fnc: LAST
item:
host: 'Mantis BT by HTTP'
key: 'mantis.project.total_issues[{#NAME}]'
master_item:
key: mantisbt.get.projects
lld_macro_paths:
- lld_macro: '{#ENABLED}'
path: $.enabled
- lld_macro: '{#ID}'
path: $.id
- lld_macro: '{#NAME}'
path: $.name
preprocessing:
- type: JSONPATH
parameters:
- $.projects
tags:
- tag: class
value: application
- tag: target
value: mantis-bt
macros:
- macro: '{$MANTIS.HTTP.PROXY}'
description: 'Proxy for http requests.'
- macro: '{$MANTIS.LLD.FILTER.PROJECTS.MATCHES}'
value: '.*'
description: 'Filter of discoverable projects.'
- macro: '{$MANTIS.LLD.FILTER.PROJECTS.NOT_MATCHES}'
value: CHANGE_IF_NEEDED
description: 'Filter to exclude discovered projects.'
- macro: '{$MANTIS.TOKEN}'
type: SECRET_TEXT
description: 'MantisBT Token.'
- macro: '{$MANTIS.URL}'
description: 'MantisBT URL.'
dashboards:
- uuid: 9ab065a6d60c4990b97529c290ff7cb9
name: 'Mantis BT: Issues'
pages:
- name: 'Mantis BT: Issues'
widgets:
- type: graphprototype
name: 'Mantis BT: Issues by priority'
'y': '5'
width: '6'
height: '5'
fields:
- type: INTEGER
name: columns
value: '1'
- type: INTEGER
name: rows
value: '1'
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Mantis BT by HTTP'
name: 'Mantis BT: [{#NAME}] Issues by priority'
- type: graphprototype
name: 'Mantis BT: Issues by resolution'
x: '6'
'y': '5'
width: '6'
height: '5'
fields:
- type: INTEGER
name: columns
value: '1'
- type: INTEGER
name: rows
value: '1'
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Mantis BT by HTTP'
name: 'Mantis BT: [{#NAME}] Issues by resolution'
- type: graphprototype
name: 'Mantis BT: Issues by severity'
x: '12'
'y': '5'
width: '6'
height: '5'
fields:
- type: INTEGER
name: columns
value: '1'
- type: INTEGER
name: rows
value: '1'
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Mantis BT by HTTP'
name: 'Mantis BT: [{#NAME}] Issues by severity'
- type: graphprototype
name: 'Mantis BT: Issues by status'
x: '18'
'y': '5'
width: '6'
height: '5'
fields:
- type: INTEGER
name: columns
value: '1'
- type: INTEGER
name: rows
value: '1'
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Mantis BT by HTTP'
name: 'Mantis BT: [{#NAME}] Issues by status'
- type: graphprototype
name: 'Mantis BT: Issues total'
width: '24'
height: '5'
fields:
- type: INTEGER
name: columns
value: '1'
- type: INTEGER
name: rows
value: '1'
- type: GRAPH_PROTOTYPE
name: graphid
value:
host: 'Mantis BT by HTTP'
name: 'Mantis BT: [{#NAME}] Issues total'