The Unix/Linux Authoring Library MP will likely help you a lot here.
See https://social.technet.microsoft.com/wiki/contents/articles/18076.scom-2012-discovering-a-unixlinux-role.aspx and various links in the page.
In your case, I would likely go for a timed property bag discovery. What it basically does is that it runs the shell command on linux, send its StdOut to SCOM management server which passes it through a powershell script in which you can parse the StdOut and generate one or more property bags, which can in turn be used like in any "windows" discovery.
Let me know if that's already too much "high level" infos for you and if you need more details :)