Categories: Linux

Centos 6.X服务器安装Dell OMSA监控

安装OMSA

我们使用下面的命令自动安装OMSA,会自动下载需要的关联包

wget -q -O – http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash

yum remove Lib_Utils -y

yum install -y srvadmin-all;

安装完成

安装SNMP服务

由于Dell OMSA需要使用snmp进行监控,所以我们需要在安装下snmp服务。

yum install -y net-snmp
yum install -y net-snmp-devel
yum install -y net-snmp-libs
yum install -y net-snmp-perl
yum install -y net-snmp-utils

修改SNMP配置文件


备份默认SNMP配置文件

# cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak

删除默认配置文件

# rm /etc/snmp/snmpd.conf

rm: remove regular file `/etc/snmp/snmpd.conf’? y

重新新建配置文件

# vi /etc/snmp/snmpd.conf

请见以下内容黏贴进入

com2sec notConfigUser default public

 

####

# Second, map the security name into a group name:

 

# groupName securityModel securityName

group notConfigGroup v1 notConfigUser

group notConfigGroup v2c notConfigUser

 

####

# Third, create a view for us to let the group have rights to:

 

# Make at least snmpwalk -v 1 localhost -c public system fast again.

# name incl/excl subtree mask(optional)

view systemview included .1.3.6.1.2.1.1

view systemview included .1.3.6.1.2.1.25.1.1

view all     included .1

####

# Finally, grant the group read-only access to the systemview view.

 

# group context sec.model sec.level prefix read write notif

access notConfigGroup “” any noauth exact all none none

 

# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

 

 

 

syslocation Unknown (edit /etc/snmp/snmpd.conf)

syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

 

smuxpeer .1.3.6.1.4.1.674.10892.1

 

Trapsink 172.21.30.10(根据你的需要修改为你需要的ip public

 

rocommunity public 172.21.30.10(根据你的需要修改为你需要的ip

重启SNMP服务

service snmpd start

将SNMP服务设置为开机启动

chkconfig snmpd on

启动OMSA服务

sh /opt/dell/srvadmin/sbin/srvadmin-services.sh start ;sh /opt/dell/srvadmin/sbin/srvadmin-services.sh enable

安装完成后重启服务器,然后访问服务器Https://ip:1311端口能打开网页代表安装完成

王哥哥

Share
Published by
王哥哥

Recent Posts

VC 6.0 挂服务 提示503

我们有一台VC 6.0的服务挂…

3 周 ago

零成本grass挖矿教程

最近发现个新币,还没上交易所,…

4 周 ago

Windows Server 2025 的AD架构版本

   Windows 2025…

4 周 ago

【项目】跨数据中心(跨站点)Exchange Server 2013恢复/高可用

今年换到一家乙方公司了,主要工…

1 月 ago

主域挂了怎么办?

假设在极端情况下,没有备份的前…

1 月 ago

为什么在AD管理中只能看到3个操作主机?

我们在日常的Windows域管…

1 月 ago