Answered by:
Monitoring a service on only one server

Question
-
Dear Experts,
My requirement is to monitor a service on only one server, but I don't want to send all other management packs from the management group.
Do I need to disable all the monitors and rules manually? or
Any other short cut method is there?
Please let me know.
Thanks
Kumaresan
Saturday, June 23, 2012 4:50 AM
Answers
-
Hi
Your doubt is well founded. I didn't realise it was really just this one service and absolutely nothing else on this server.
There is no easy way to do this with SCOM - it is an application based around auto-discovery of the applications installed on a server and then automatically deploying the management packs (rules \ monitors and discoveries) to those servers. You wouldn't have to override \ disable every rule and monitor but you would need to do override the discoveries and then purge the discovered objects from the SCOM database using remove-discoveredmonitoringobject powershell cmdlet.
http://technet.microsoft.com/en-us/library/gg132269.aspx
http://blogs.technet.com/b/jonathanalmquist/archive/2008/09/14/remove-disabledmonitoringobject.aspx
It would be a very big job to achieve a very small amount of monitoring. Is there a reason why you do not want any other monitoring of this server?
A quicker alternative would be to script something that another server does a remote check on this service and generates an alert if it detects that the service is down. You can use win32_service to pull back information about the service.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa394418(v=vs.85).aspx
Cheers
Graham
Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/- Marked as answer by Kumaresan Lakshmanan Tuesday, June 26, 2012 2:17 AM
Monday, June 25, 2012 2:51 PM
All replies
-
Hi
You can do this using the Authoring Templates:
1) Create a group with that server in it
2) Run the authoring template and specify that group and the correct service.
http://systemcentersolutions.files.wordpress.com/2009/11/servicemonitoring.pdf
Cheers
Graham
Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/Saturday, June 23, 2012 5:23 AM -
Hi Graham,
Thanks for your reply.
I have doubt over here...
By the above mentioned method, it will monitor the service mentioned for the servers in the group created. But, I don't want any other monitoring on those servers.
For this do I need to disable all the monitors and rules manually?
Please help me.
My user requirement is to monitor only one service monitoring on the servers.
Thanks
Kumaresan
Monday, June 25, 2012 2:43 PM -
Hi
Your doubt is well founded. I didn't realise it was really just this one service and absolutely nothing else on this server.
There is no easy way to do this with SCOM - it is an application based around auto-discovery of the applications installed on a server and then automatically deploying the management packs (rules \ monitors and discoveries) to those servers. You wouldn't have to override \ disable every rule and monitor but you would need to do override the discoveries and then purge the discovered objects from the SCOM database using remove-discoveredmonitoringobject powershell cmdlet.
http://technet.microsoft.com/en-us/library/gg132269.aspx
http://blogs.technet.com/b/jonathanalmquist/archive/2008/09/14/remove-disabledmonitoringobject.aspx
It would be a very big job to achieve a very small amount of monitoring. Is there a reason why you do not want any other monitoring of this server?
A quicker alternative would be to script something that another server does a remote check on this service and generates an alert if it detects that the service is down. You can use win32_service to pull back information about the service.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa394418(v=vs.85).aspx
Cheers
Graham
Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/- Marked as answer by Kumaresan Lakshmanan Tuesday, June 26, 2012 2:17 AM
Monday, June 25, 2012 2:51 PM