########################################## # # Discovery config file template # # !!! Space is invalid in the beginning of each line !!! # #[group1] ; The group name need set in [], can't same with other group #ip: 198.168.197.100-198.168.197.170,198.168.198.0/24,198.168.193.148 ; ip range, three format is support, separated by comma #alias: Lenovo XCC server ; Long name of this group #user: SNMPUSER ; User name of XCC #authlevel: authPriv ; Set security level (noAuthNoPriv|authNoPriv|authPriv), noAuthNoPriv is set without this item #snmpaprotocol: SHA ; Set authentication protocol (MD5|SHA), SHA is set without this item #apassword: SNMPPASSW0RD ; Set authentication protocol password #snmppprotocol: DES ; Set privacy protocol (DES|AES), DES is set without this item #ppassword: SNMPPASSW0RD ; Set privacy protocol password #services: fans,cpu ; Set the monitoring services,include system-health, power,cpu,storage,temperature,fans,voltage,memory; All of this is set without this item ########################################## [discovery_cfg] # The path to store the configuration files output_path: /usr/local/nagios/etc/objects/ # the Nagios configuration file contains the servers found by the discovery tool cfg_file_name: Lenovo_XCC.cfg [group1] ip: 198.168.197.160-198.168.197.170, 198.168.198.192/29, 198.168.193.148 alias: Lenovo_XCC_SNMP user: SNMPUSER authlevel: authPriv snmpaprotocol: SHA apassword: SNMPPASSW0RD snmppprotocol: DES ppassword: SNMPPASSW0RD # Note for group2: snmpaprotocol, apassword, snmppprotocol and ppassword # is unnecessary when the authlevel is noAuthNoPriv [group2] ip: 198.168.194.230 alias: Lenovo_XCC_SNMP user: SNMPUSER authlevel: noAuthNoPriv [group3] ip: 198.168.193.149 alias: test user: SNMPUSER authlevel: authPriv snmpaprotocol: SHA apassword: SNMPPASSW0RD snmppprotocol: DES ppassword: SNMPPASSW0RD services: fans, cpu