#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.


def inventory_vnx_version(info):
    return [(None, None)]


def check_vnx_version(item, params, info):
    for line in info:
        yield 0, "%s: %s" % (line[0], line[1])


check_info['vnx_version'] = {
    'inventory_function': inventory_vnx_version,
    'check_function': check_vnx_version,
    'service_description': 'VNX Version',
}
