Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
check_ibm_san_directors_crcs.py: fixed perfdata data source name.
Browse files Browse the repository at this point in the history
- Add prefix "Port_" in data source name for perfdata.

refs #1202 @ 15m
  • Loading branch information
bigbrozer committed May 2, 2012
1 parent fbec899 commit 6cbf9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion check_ibm_san_directors_crcs.py
Expand Up @@ -244,7 +244,7 @@ def save_data(self, data):
elif stat['crc'] > plugin.options.critical:
errors['critical'].append(port)

nagios_perfdata += "\'{name}\'={crc}c;{opt.warning};{opt.critical};0; ".format(crc=stat['crc'], name=port,
nagios_perfdata += "\'Port_{name}\'={crc}c;{opt.warning};{opt.critical};0; ".format(crc=stat['crc'], name=port,
opt=plugin.options)

# Show short message in Nagios output
Expand Down
2 changes: 1 addition & 1 deletion shared.py
Expand Up @@ -18,4 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#===============================================================================

__version__ = '1.2.61'
__version__ = '1.2.62'

0 comments on commit 6cbf9c2

Please sign in to comment.