1 /******************************************************************************
3 * Copyright (C) 2012-2016 Icinga Development Team (https://www.icinga.org/) *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License *
7 * as published by the Free Software Foundation; either version 2 *
8 * of the License, or (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software Foundation *
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ******************************************************************************/
20 object CheckCommand "ipmi-sensor" {
21 import "plugin-check-command"
24 command = [ PluginContribDir + "/check_ipmi_sensor" ]
28 value = "$ipmi_address$"
29 description = "Hostname or ip address of the IPMI interface (default: host.address or host.address6)"
32 value = "$ipmi_config_file$"
33 description = "Path to the FreeIPMI configuration file"
36 value = "$ipmi_username$"
37 description = "Username to connect with"
40 value = "$ipmi_password$"
41 description = "Password to use"
44 value = "$ipmi_privilege_level$"
45 description = "Privilege level of the user"
48 set_if = "$ipmi_backward_compatibility_mode$"
49 description = "Enable backward compatibility mode (for FreeIPMI 0.5.*)"
52 value = "$ipmi_sensor_type$"
53 description = "Limit sensors to query based on IPMI sensor type (seperated by comma)"
56 value = "$ipmi_exclude_sensor_id$"
57 description = "Exclude sensor matching ipmi_sensor_id"
60 value = "$ipmi_sensor_id$"
61 description = "Include sensor matching ipmi_sensor_id"
64 value = "$ipmi_protocal_lan_version$"
65 description = "Change the protocol LAN version (default: LAN_2_0)"
68 value = "$ipmi_number_of_active_fans$"
69 description = "Number of fans that should be active"
72 set_if = "$ipmi_show_fru$"
73 description = "Print the product serial number got by ipmi-fru"
76 set_if = "$ipmi_no_sel_checking$"
77 description = "Turn off system event log checking via ipmi-sel"
81 vars.ipmi_address = "$check_address$"
82 vars.ipmi_protocal_lan_version = "LAN_2_0"