标签:omr 运行命令 出现 info rip end 共享 stop 使用数组
登录目标主机,查看dataeng服务
[root@push-5-217 src]# systemctl status dataeng ● dataeng.service - LSB: Systems Management Data Engine Loaded: loaded (/etc/rc.d/init.d/dataeng; bad; vendor preset: disabled) Active: active (running) since 三 2019-08-21 10:44:30 CST; 12min ago Docs: man:systemd-sysv-generator(8) Process: 15114 ExecStop=/etc/rc.d/init.d/dataeng stop (code=exited, status=0/SUCCESS) Process: 15158 ExecStart=/etc/rc.d/init.d/dataeng start (code=exited, status=0/SUCCESS) CGroup: /system.slice/dataeng.service ├─15245 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd ├─15426 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd ├─15442 /opt/dell/srvadmin/sbin/dsm_sa_eventmgrd └─15467 /opt/dell/srvadmin/sbin/dsm_sa_snmpd 8月 21 10:44:23 push-5-217.hlsms systemd[1]: Starting LSB: Systems Management Data Engine... 8月 21 10:44:23 push-5-217.hlsms dataeng[15158]: Starting Systems Management Data Engine: 8月 21 10:44:28 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_datamgrd: [ 确定 ] 8月 21 10:44:29 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_eventmgrd: [ 确定 ] 8月 21 10:44:30 push-5-217.hlsms dataeng[15158]: Starting dsm_sa_snmpd: [ 确定 ] 8月 21 10:44:30 push-5-217.hlsms systemd[1]: Started LSB: Systems Management Data Engine.
服务正常,测试命令
[root@push-5-217 src]# omreport chassis memory Memory Information Error : Memory object not found
重启服务后,再测试,依然返回错误,
[root@push-5-217 src]# ipcs -sl --------- 信号量限制 ----------- 最大数组数量 = 128 每个数组的最大信号量数目 = 250 系统最大信号量数 = 32000 每次信号量调用最大操作数 = 32 信号量最大值 = 32767
最大数组数128个
[root@push-5-217 src]# ipcs -us --------- 信号量状态 ----------- 已使用数组 = 128 已分配信号量数 = 140
可以看出已使用128个数组,已经达到上限了。
[root@push-5-217 src]# ipcs -p --------- 消息队列 PID ----------- msqid 拥有者 lspid lrpid -------- 共享内存 创建者/上次修改者 PID ---------- shmid 拥有者 cpid lpid 65536 zabbix 17461 15977
[root@push-5-217 src]# cat /proc/sys/kernel/sem 250 32000 32 128
当前设置值为128
[root@push-5-217 src]# sysctl -w kernel.sem="250 32000 100 256" kernel.sem = 250 32000 100 256 [root@push-5-217 src]# cat /proc/sys/kernel/sem 250 32000 100 256
修改为256
250 32000 100 256 [root@push-5-217 src]# ipcs -sl --------- 信号量限制 ----------- 最大数组数量 = 256 每个数组的最大信号量数目 = 250 系统最大信号量数 = 32000 每次信号量调用最大操作数 = 100 信号量最大值 = 32767
此时,信号器上限已经扩大为256了,再运行命令
[root@push-5-217 src]# omreport chassis nics Network Interfaces Information Physical NIC Interface(s) Index : 0 Interface Name : em1 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Connected Slot : Embedded Index : 1 Interface Name : em2 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Connected Slot : Embedded Index : 2 Interface Name : em3 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Disconnected Slot : Embedded Index : 3 Interface Name : em4 Vendor : Broadcom Corporation Description : NetXtreme BCM5720 Gigabit Ethernet PCIe Connection Status : Disconnected Slot : Embedded
成功获取到了硬件信息。
Dell服务器硬件监控,使用omreport出现object not found 错误解决
标签:omr 运行命令 出现 info rip end 共享 stop 使用数组
原文地址:https://www.cnblogs.com/sky-cheng/p/11387519.html