nagios安装snmp插件

nagios安装snmp插件

如果你是自己编译的nagios,check_snmp已经自带了,但是没有丰富的插件,需要安装:

首先安装perl的net-snmp模块

#perl -MCPAN -e shell
#cpan> install Net::SNMP

然后再去http://nagios.manubulon.com/下载插件

wget http://nagios.manubulon.com/nagios-snmp-plugins.1.1.1.tgz

tar zxvf nagios-snmp-plugins.1.1.1.tgz

cd nagios-snmp-plugins.1.1.1

./install

样例:

define command{
command_name check_disk
command_line /usr/bin/perl $USER1$/check_snmp_storage.pl -C $ARG1$ [........]
}

Are th


猜你喜欢

转载自blog.csdn.net/u011648187/article/details/12853451
今日推荐