#!/bin/bash

_install() {
    yum install -y omega_sentinel >/dev/null 2>&1

    # start
    chkconfig --add  omega_sentinel  >/dev/null 2>&1
    chkconfig omega_sentinel on >/dev/null 2>&1
    service omega_sentinel restart >/dev/null 2>&1
}

_check() {
    _check="PASS"

#    # Check If umontor3agent Is Running
#    if [[ $(chkconfig 2>/dev/null |grep omega_sentinel | grep -c :on) -eq 0 ]]; then
#        _check="FAIL"
#        PRINT_ERR "[ERROR] omega_sentinel Not Enabled In Chkconfig List"
#    fi

}
