Tuesday, October 22, 2013

CMM pre_cmm_startup file configuration

#!/bin/sh
#do not remove this line
/etc/cmm/scripts/oosled &> /dev/NULL &
sh /usr/local/data/printtime.sh >> /root/timeoutput_$(date +"%F_%HH%MM%SS").log &

echo -n "Setting default log levels... "
/usr/cmm/bin/cmm_log_control -s NOTICE IPMI
/usr/cmm/bin/cmm_log_control -s DEBUG -n SHM ALL
/usr/cmm/bin/cmm_log_control -s INFO -n cmmget ALL
/usr/cmm/bin/cmm_log_control -s INFO -n cmmset ALL
/usr/cmm/bin/cmm_log_control -s INFO -n NTPD ALL
/usr/cmm/bin/cmm_log_control -s INFO -n UPGRADE ALL
/usr/cmm/bin/cmm_log_control -s INFO -n PM ALL
/usr/cmm/bin/cmm_log_control -s INFO -n SNMPD ALL
echo done

No comments: