Control Compliance Suite

 View Only
  • 1.  Gathering Status for Service

    Posted Mar 18, 2016 04:51 AM

    Hello everyone,

    I have a question regarding gathering the status for linux services as I could not find a way to get the status of the service.

    For example in the terminal of the RHEL 6.x server, I type service auditd status to check for status of said service.

    I would like to know if there is a way to check the status for services via the standard checking

     

    Thank you



  • 2.  RE: Gathering Status for Service
    Best Answer

    Posted May 17, 2016 10:44 AM

    Hi Tay,

    it was problematic doing this in erlier version of CCS. We had a startup script executing /sbin/service --status-all - servicestatus.out and then using the File contents Doesn't Contain Match /^ftp.*running/.

    However with release of 11.5 you can leverage new scripting feature that esentially performs the same as we did above but in more elegant fasion.

    Hope this helps.