Monitoring services in zones with Solaris container Manager

I need to know how to Manage Solaris services (SMF) in sparse zone with Solaris container manager.
I have navigated all the documentation and I have not found any clue.
I installed the Sun management center (SMC) server on a server box and the agents on others. I can manage the SMF of the global zone by drilling down via the console GUI. But having access to the container manager, I have to go via https connection. And drilling down on the zone did not reveal that SMF can be monitored.
Please if you have any idea, share it with me.

Sometimes the easy way is just ssh into the zone or do a zlogin from the global and run the svc commands.

svcs shows what is currently online
svcs -a shows all of your services
svcs -x what is in maint mode
svcs -xv does the above verbosely.

You can created a quick and dirty shell script as well.

svcs -a | grep -i {service name}

svcadm enable/disable/restart {service} to manage the services

Dump the GUI.. CLI my friend is the way to go.

That one can be simplified (although case dependant) to:

svcs "*{service name}*"
eg:
svcs "*ftp*"

Hi All,
I am talking of continuos monitoring here. as i have to monitor sendmail service on local zones as well as the global zone. I was thinking of writing a script to check this service hourly but suppose the sendmail stops, I will not get a mail to alert me of about the problem that is why i am using SMC to do the monitoring and send me a mail for any service error.
I hope you understand my point?

Ya.. if you want hourly monitoring, thats the way to go..
What do you mean by continuous monitoring and check service hourly?
cannot tally... :cool:

yes, its periodic monitoring like hourly