icinga2使用check_snmp_idrac.py監控DELL硬件狀態
阿新 • • 發佈:2019-01-18
發現 uil snmp monit public 下載 monitor one clas icinga2使用check_snmp_idrac.py監控DELL硬件狀態:
git clone https://github.com/pynag/pynag.git
cd pynag
python setup.py build
python setup.py install
yum install net-snmp-devel net-snmp-python
https://github.com/rsmuc/health_monitoring_plugins 下載health_monitoring_plugins-master.zip
unzip health_monitoring_plugins-master.zip
cp -rv health_monitoring_plugins-master/health_monitoring_plugins/snmpSessionBaseClass.py /usr/lib64/python2.6/
cp -rv health_monitoring_plugins-master/health_monitoring_plugins/check_snmp_idrac/check_snmp_idrac.py /usr/lib64/nagios/plugins/
/usr/lib64/nagios/plugins/check_snmp_idrac.py -H 10.0.0.3 -C "public" -V 2
註:
目前發現只能設置為public才生效,設為其它不生效
templat.conf和services.conf配置略
icinga2使用check_snmp_idrac.py監控DELL硬件狀態