Admin Mistake: Dell OMSA Not Running Properly on CentOS
The concept is that you have some Dell R610 server running CentOS 5.8 operating system and you are using Dell OMSA command line utilities to perform the hardware monitoring.
The monitoring checks are failing with “Unknown” status and if you attempt to locally execute the equivalent commands there is no response. For example:
[root@somewhere ~]# omreport chassis Health For further help, type the command followed by -? [root@somewhere ~]#
Which of course is not the correct output.
My initial thought was that it was missing the compatibility C++ standard library but this was not the case.
[root@somewhere ~]# rpm -qa|grep compat-libstdc++ compat-libstdc++-33-3.2.3-61 compat-libstdc++-296-2.96-138 compat-libstdc++-33-3.2.3-61 [root@somewhere ~]#
The problem was that “Systems Management Data Engine init script” was not configured to start on boot. Consequently, the required services were stopped after a reboot.
[root@somewhere ~]# service dataeng status dsm_sa_datamgrd is stopped dsm_sa_eventmgrd is stopped dsm_sa_snmpd is stopped [root@somewhere ~]#
Quite simple… First start the init script.
[root@somewhere ~]# service dataeng start Starting Systems Management Data Engine: Starting dsm_sa_datamgrd: [ OK ] Starting dsm_sa_eventmgrd: [ OK ] Starting dsm_sa_snmpd: [ OK ] [root@somewhere ~]#
And then make it start on boot…
[root@somewhere ~]# chkconfig dataeng on [root@somewhere ~]# chkconfig --list dataeng dataeng 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@somewhere ~]#
Obviously, the utilities are now working properly.
[root@somewhere ~]# omreport chassis Health Main System Chassis SEVERITY : COMPONENT Ok : Fans Ok : Intrusion Ok : Memory Ok : Power Supplies Ok : Power Management Ok : Processors Ok : Temperatures Ok : Voltages Ok : Hardware Log Ok : Batteries For further help, type the command followed by -? [root@somewhere ~]#