給idrac7新增到zabbix監控
阿新 • • 發佈:2018-11-06
zabbix 3.0
請將以下內容新建一個檔案命名成xxx.xml,然後在zabbix配置模版中匯入剛剛將以下內容貼到你的檔案xxx.xml,匯入完之後把模版連結上,把主機的巨集{$SNMP_USER},{$SNMP_PASS},他們的值就是你登陸idrac的賬號跟密碼。
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>2.0</version> <date>2016-01-26T10:26:07Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>Template_Dell_iDRAC_SNMPv3</template> <name>Template_Dell_iDRAC_SNMPv3</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Disks / Storage</name> </application> <application> <name>Fans</name> </application> <application> <name>Memory</name> </application> <application> <name>Network Cards</name> </application> <application> <name>Power</name> </application> <application> <name>System Info</name> </application> <application> <name>Temperatures</name> </application> <application> <name>Voltages</name> </application> </applications> <items> <item> <name>BIOS Date</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.4.300.50.1.7.1.1</snmp_oid> <key>BiosDate</key> <delay>86400</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>1</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>BIOS Version</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.4.300.50.1.8.1.1</snmp_oid> <key>BiosVersion</key> <delay>86400</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>1</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>CMOS Battery Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.4.600.50.1.5.1.1</snmp_oid> <key>CMOSBatteryStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap> <name>Dell Open Manage System Status</name> </valuemap> <logtimefmt/> </item> <item> <name>DRAC Access URL</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.2.1.1.7.0</snmp_oid> <key>idrac_acessurl</key> <delay>86400</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>1</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>DRAC Firmware version</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.2.1.1.5.0</snmp_oid> <key>idrac_firmwareversion</key> <delay>86400</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>1</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>DRAC version</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.2.1.1.2.0</snmp_oid> <key>idrac_version</key> <delay>86400</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>1</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Overall System LCD Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.2.2.0</snmp_oid> <key>GlobalSystemLCDStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap> <name>Dell Open Manage System Status</name> </valuemap> <logtimefmt/> </item> <item> <name>Overall System Power State</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.2.4.0</snmp_oid> <key>GlobalSystemPowerState</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Power</name> </application> </applications> <valuemap> <name>DellPowerState</name> </valuemap> <logtimefmt/> </item> <item> <name>Overall System Rollup Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.2.1.0</snmp_oid> <key>GlobalSystemRollupStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap> <name>Dell Open Manage System Status</name> </valuemap> <logtimefmt/> </item> <item> <name>Overall System Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.2.2.1.0</snmp_oid> <key>GlobalSystemStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>System Info</name> </application> </applications> <valuemap> <name>Dell Open Manage System Status</name> </valuemap> <logtimefmt/> </item> <item> <name>Overall System Storage Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.2.3.0</snmp_oid> <key>GlobalSystemStorageStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Disks / Storage</name> </application> </applications> <valuemap> <name>Dell Open Manage System Status</name> </valuemap> <logtimefmt/> </item> <item> <name>Power Usage Minimum Idle Power</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.4.600.60.1.15.1.1</snmp_oid> <key>PowerUsageMinIdle</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>W</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</snmpv3_securityname> <snmpv3_securitylevel>2</snmpv3_securitylevel> <snmpv3_authprotocol>1</snmpv3_authprotocol> <snmpv3_authpassphrase>{$SNMP_PASS}</snmpv3_authpassphrase> <snmpv3_privprotocol>1</snmpv3_privprotocol> <snmpv3_privpassphrase>{$SNMP_PASS}</snmpv3_privpassphrase> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Power</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Power Usage Sensor Status</name> <type>6</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.674.10892.5.4.600.60.1.5.1.1</snmp_oid> <key>PowerUsageSensorStatus</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname>{$SNMP_USER}</