Showing posts with label Logging. Show all posts
Showing posts with label Logging. Show all posts

Saturday, 21 May 2016

How to Enable Logging for Linux agent in SCOM 2012 r2

How to Enable Logging for Linux agent in SCOM 2012 r2

    • Linux agent is one of the most challenging to monitor in SCOM. As is cross platform monitoring it does not give clear error when there is error.
    • So you should enable Loging on Agent to see whats happening.
    • Once loging is enabled you can see log created in /var/opt/microsoft/scx/log.log
    • To see the current state of loging type scxadmin -log-list
    • To set loging to Troubleshooting type scxadmin -log-set all verbrose

    • This will set the loging to TRACE and will start recording all events.
    • Once your troubleshooting is compeleted you have to reset the log back/
    • To do this use the command scxadmin -log-reset
    • This will reset the logs back to info level from Trace level