#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# |             ____ _               _        __  __ _  __           |
# |            / ___| |__   ___  ___| | __   |  \/  | |/ /           |
# |           | |   | '_ \ / _ \/ __| |/ /   | |\/| | ' /            |
# |           | |___| | | |  __/ (__|   <    | |  | | . \            |
# |            \____|_| |_|\___|\___|_|\_\___|_|  |_|_|\_\           |
# |                                                                  |
# | Copyright Mathias Kettner 2014             mk@mathias-kettner.de |
# +------------------------------------------------------------------+
#
# This file is part of Check_MK.
# The official homepage is at http://mathias-kettner.de/check_mk.
#
# check_mk is free software;  you can redistribute it and/or modify it
# under the  terms of the  GNU General Public License  as published by
# the Free Software Foundation in version 2.  check_mk is  distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY;  with-
# out even the implied warranty of  MERCHANTABILITY  or  FITNESS FOR A
# PARTICULAR PURPOSE. See the  GNU General Public License for more de-
# tails. You should have  received  a copy of the  GNU  General Public
# License along with GNU Make; see the file  COPYING.  If  not,  write
# to the Free Software Foundation, Inc., 51 Franklin St,  Fifth Floor,
# Boston, MA 02110-1301 USA.

# Note: this check is obsolete, please use cmciii.temp_in_out instead

check_info['cmciii_lcp_airout'] = {
    "check_function"      : check_cmciii_lcp_fanunit,
    "inventory_function"  : lambda info: inventory_cmciii_lcp_fanunit("Air", "Out", info),
    "has_perfdata"        : True,
    "service_description" : "Temperature %s",
    "group"               : "temperature",
    "includes"            : [ "temperature.include", "cmciii.include" ],
    "snmp_scan_function"  : snmp_scan_cmciii_lcp_fanunit,
    "snmp_info"           : ( '.1.3.6.1.4.1.2606.7.4.2.2.1.10',
       [ '2.6', '2.13', '2.25', '2.32', '2.30', '2.29', '2.28', '2.27', '2.26', '2.10', '2.11', '2.12' ]
    ),
    "includes"            : [ 'cmciii.include' ],
}
