Merge branch 'release/0.2.1'
* release/0.2.1: Update changes.md and icingaexchange.yml Fix performance data output
This commit is contained in:
		
						commit
						827b00dff8
					
				
					 3 changed files with 29 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,9 @@
 | 
			
		|||
# change log
 | 
			
		||||
 | 
			
		||||
## version 0.2.1 2016-01-23
 | 
			
		||||
 | 
			
		||||
* fix perfdata output for daysvalid metric
 | 
			
		||||
 | 
			
		||||
## version 0.2 2015-12-29
 | 
			
		||||
 | 
			
		||||
* improve human readable output by returning both response time as well as
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
# -*- coding: utf-8 -*-
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# 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):
 | 
			
		||||
        if resource.checkcerts and metric.value is not None:
 | 
			
		||||
            return nagiosplugin.Performance('daysvalid', metric.value, 'd')
 | 
			
		||||
            return nagiosplugin.Performance('daysvalid', metric.value, '')
 | 
			
		||||
        return None
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,29 @@ target: Messaging
 | 
			
		|||
type: Plugin
 | 
			
		||||
license: gplv3
 | 
			
		||||
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
 | 
			
		||||
    description: "better human readable output"
 | 
			
		||||
    files:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue