#!/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.

# .1.3.6.1.4.1.25597.11.1.1.1.0 Good --> FE-FIREEYE-MIB::feSystemStatus.0
# .1.3.6.1.4.1.25597.11.1.1.2.0 FireEye3400 --> FE-FIREEYE-MIB::feHardwareModel.0
# .1.3.6.1.4.1.25597.11.1.1.3.0 FZ1548EA19G --> FE-FIREEYE-MIB::feSerialNumber.0


def inv_fireeye_sys_status(info):
    _status, model, serial = info[0]
    node = inv_tree("hardware.system.")
    node["serial"] = serial
    node["model"] = model


inv_info["fireeye_sys_status"] = {
    "inv_function": inv_fireeye_sys_status,
}
