Release 0.2.1
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABCgAGBQJWo95QAAoJEA15HcjXN8HZ9j8IANvHb8cKtailuaxrGsU+yZr1 jST51KE3Tw92L5nWt66kk8lOF9FJVJ2vzyqF+Rm8RaBuDYp2osTV/bwJzIbHruFl fMZpNhNBuVFlbCfxQA4aIdvpUQDN62RIANFHU+IOdjtCp85VAlzcjH6qyO7E92ug 1cBYuS5612pmilcAywimWI0gNkx+Bd0SQC+a1YaL2lR8N/42ufIAuzgtzcoZSOjf 0v46D2+l3xiHE0efRfWlXJhchrcpfhw9n9msJjwVEOVO/PiLCzJEZNJxt6uar3Rh Lzt7hny+pv7rubN78rvhAgARhwjsCaQFR4aJWs87z33KuHTFizFtFRwgW+kKbLk= =ty7q -----END PGP SIGNATURE----- Merge tag '0.2.1' into debian Release 0.2.1 * tag '0.2.1': Update changes.md and icingaexchange.yml Fix performance data output
This commit is contained in:
commit
f1a66e4f3d
3 changed files with 29 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
# change log
|
# change log
|
||||||
|
|
||||||
|
## version 0.2.1 2016-01-23
|
||||||
|
|
||||||
|
* fix perfdata output for daysvalid metric
|
||||||
|
|
||||||
## version 0.2 2015-12-29
|
## version 0.2 2015-12-29
|
||||||
|
|
||||||
* improve human readable output by returning both response time as well as
|
* improve human readable output by returning both response time as well as
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Nagios compatible check for XMPP servers.
|
# Nagios compatible check for XMPP servers.
|
||||||
# Copyright (C) 2015 Jan Dittberner
|
# Copyright (C) 2015-2016 Jan Dittberner
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -486,7 +486,7 @@ class DaysValidContext(nagiosplugin.Context):
|
||||||
|
|
||||||
def performance(self, metric, resource):
|
def performance(self, metric, resource):
|
||||||
if resource.checkcerts and metric.value is not None:
|
if resource.checkcerts and metric.value is not None:
|
||||||
return nagiosplugin.Performance('daysvalid', metric.value, 'd')
|
return nagiosplugin.Performance('daysvalid', metric.value, '')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,29 @@ target: Messaging
|
||||||
type: Plugin
|
type: Plugin
|
||||||
license: gplv3
|
license: gplv3
|
||||||
releases:
|
releases:
|
||||||
|
- name: 0.2.1
|
||||||
|
description: "fixed perfdata output"
|
||||||
|
files:
|
||||||
|
-
|
||||||
|
name: check_xmppng
|
||||||
|
url: "file:///check_xmppng"
|
||||||
|
description: "Check command"
|
||||||
|
checksum: 992ee1b3209bba6ddb29b46c939b2978
|
||||||
|
-
|
||||||
|
name: COPYING
|
||||||
|
url: "file:///COPYING"
|
||||||
|
description: "GPL 3.0 license text"
|
||||||
|
checksum: d32239bcb673463ab874e80d47fae504
|
||||||
|
-
|
||||||
|
name: README.md
|
||||||
|
url: "file:///README.md"
|
||||||
|
description: "documentation"
|
||||||
|
checksum: 1e6f6632b12e4ef5fc4f02c3ea65da8a
|
||||||
|
-
|
||||||
|
name: changes.md
|
||||||
|
url: "file:///changes.md"
|
||||||
|
description: "change log"
|
||||||
|
checksum: a7a17e05c732e24f7b0529fb868a172f
|
||||||
- name: 0.2
|
- name: 0.2
|
||||||
description: "better human readable output"
|
description: "better human readable output"
|
||||||
files:
|
files:
|
||||||
|
|
Loading…
Reference in a new issue