Release 0.3.0

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJXZZ/pAAoJEA15HcjXN8HZb78IALVycFS0xR6zzUNmn23FHMoq
 SdhNeCgchKmm3Gpnp5Vgrbpqmkj2YXR90U8S3kQU2NO/K5UzeE3dWnVD3GTvzkCi
 T0K5TOuooIhD9c6qYYPd8h4gzYDvA27iK1l0nv0U6teVIIxmXeRAIKa8goipJJlN
 NcdwrppCRJlXguqB8AcISAq048d2Q/Ut/E0mB/T1qAuZc1bHLsYFpamiAA9fS9yR
 SYPOEqChFZheG1Zbv3bMYy4RM00JwhxU/l7h+lN60FCTBuNFOXJsMr7s4iE5PkPA
 9HnOC+hyl/bc0/9jsY5q3JzuBpMBKcZpjGWe55la3nzcwbMAFZhnNluGnB3QvvU=
 =ME53
 -----END PGP SIGNATURE-----

Merge tag '0.3.0' into debian

Release 0.3.0

* tag '0.3.0':
  Add changelog entry and metadata for 0.3.0
  Add --hostname option
This commit is contained in:
Jan Dittberner 2016-06-18 22:18:29 +02:00
commit ca039375a0
3 changed files with 32 additions and 2 deletions

View file

@ -1,5 +1,10 @@
# change log # change log
## version 0.3.0 2016-06-18
* add alternative --hostname parameter to make check_xmpp compatible with
check_v46 (thanks to Andreas Krause for the idea)
## version 0.2.1 2016-01-23 ## version 0.2.1 2016-01-23
* fix perfdata output for daysvalid metric * fix perfdata output for daysvalid metric

View file

@ -508,8 +508,11 @@ def main():
""" """
import argparse import argparse
parser = argparse.ArgumentParser(description="Check XMPP services") parser = argparse.ArgumentParser(description="Check XMPP services")
parser.add_argument( host_address = parser.add_mutually_exclusive_group(required=True)
"-H", "--host-address", help="host address", required=True) host_address.add_argument("-H", "--host-address", help="host address")
host_address.add_argument(
"--hostname", help="host name, alternative for host-address",
dest="host_address")
parser.add_argument( parser.add_argument(
"-p", "--port", help="port", type=int) "-p", "--port", help="port", type=int)
is_server = parser.add_mutually_exclusive_group() is_server = parser.add_mutually_exclusive_group()

View file

@ -7,6 +7,28 @@ target: Messaging
type: Plugin type: Plugin
license: gplv3 license: gplv3
releases: releases:
- name: 0.3.0
description: "add --hostname option"
files:
- name: check_xmppng
url: "file:///check_xmppng"
description: "Check command"
checksum: 9774a26db6c54af4a51902b90ffe13bc
-
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: f2c1f311817cbb51eac4c62b9c097579
- name: 0.2.1 - name: 0.2.1
description: "fixed perfdata output" description: "fixed perfdata output"
files: files: