Custom Rules and monitor
Any way to find all the non default / custom rules and Monitors that have been created by all admins in SCOM 2007 R2 so that i can export them and save for future reference.
July 11th, 2011 8:47am
Hi Kitaab,
i think its just a matter of export al the non-sealed Management Packs.
if i understand you correctly, you only need to export the rules and monitors you've created by yourself, so you can assume that only the MPs that are created by you and the other admins are containing the information you need.
Are you using an company specific format for your self created MPs? Maybe that's another way to recognize your own work.
Good luck!
Regards,
Jeffrey-Jeffrey
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2011 8:58am
I found this :
http://technet.microsoft.com/en-us/library/ee617133.aspx
An example it shows :
get-monitor -managementPack System.Health.Library.mp | export-csv "C:\monitors.csv"
This works but i need to export the monitors for a custom Unselaed MP (Maybe tyhose have different extensions i guess .xml)
Infact when i tried
get-monitor -managementPack Microsoft.Linux.RHEL.5.mp | export-csv "C:\linux.csv"
It failed with below error
et-Monitor : Cannot bind parameter 'ManagementPack'. Cannot convert value "Microso
t.Linux.RHEL.5.mp" to type "Microsoft.EnterpriseManagement.Configuration.Managemen
Pack". Error: "Cannot find MP File "Microsoft.Linux.RHEL.5.mp" in any of the searc
directories. "
t line:1 char:28
get-monitor -managementPack <<<< Microsoft.Linux.RHEL.5.mp | export-csv "C:\linu
.csv"
+ CategoryInfo : InvalidArgument: (:) [Get-Monitor], ParameterBinding
Exception
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.EnterpriseM
anagement.OperationsManager.ClientShell.GetMonitorCmdlet
July 12th, 2011 3:25am
Hi,
Please check if the following article will help:
SCOM 2007: How to backup your unsealed management packs:
http://scug.be/blogs/dieter/archive/2011/07/06/scom-2007-how-to-backup-your-unsealed-management-packs.aspx
System Center Operations Manager Command Shell:
http://blogs.msdn.com/b/scshell/archive/2006/09/28/getting-started.aspxPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 3:41am
I Guess there would be another way, we have a lot of Managemnet packs that we have created to save New Monitors and Rules that we create , Like if we created a Web Application or TCP Port we save them to specific MP's , Now that mean all
the discoveries,rules,monitors etc are saved . How will i find those .
Simple question can be - Give me all the Monitors , Rules , tasks , Views that are created by User1 as user1 is leaving the Orgnization and we need to have knowledge of everything he has done in SCOM.
Show all the Rules Monitors tasks etc for a Specific MP (An Unsealed one)
July 12th, 2011 4:18am
Hi
Sadly "Simple question can be ... " isn't that simple. The forums are overwhelmed with such requests but sadly there is no straight forward solution.
Options are discussed in the following threads but none meet your specific requirements:
http://social.technet.microsoft.com/Forums/en-US/operationsmanagermgmtpacks/thread/7c114150-e75b-4496-b3a8-d6d89276ec1c
http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/5f927bb2-cb40-42d5-a107-109571fad56e
http://social.technet.microsoft.com/Forums/en-US/operationsmanagermgmtpacks/thread/83598638-99a1-407b-b665-36b6e22f0242
And this from Stefan:
http://blogs.technet.com/b/stefan_stranger/archive/2010/11/30/what-monitors-rules-and-discoveries-are-running-on-an-opsmgr-agent.aspx
With regard to finding out who created \ authored \ deleted items - sadly there is no auditing of who did what within SCOM. Another much requested feature.
Good Luck
Graham
View OpsMgr tips and tricks at
http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 4:44am
Thanks Graham, I though so..
I was looking around for more that a day now but couldnt find teh answer i was looking for . Atleast this was a bit helpful http://technet.microsoft.com/en-us/library/ee617133.aspx
July 12th, 2011 5:36am
Thanks Jeffrey,
Yes we need to export just the Rules and Monitors created by me and other Admins. I agree that those MP's that we created have the info.
We do not use any specific format. just normal way to create MP's.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 5:40am
Here is what i did to find some of the info.
I used Overrides explorer and exported all to XML . Then I opened the XML in Excel and Selected all the Custom Monitors / rules as they appeared scattered across certain columns in Excel like Contect , Name, Discovery etc. The only thing that helped me was
all our custom rules and monitors were named with fixed Convention. I have the data now. It looks worth such effort :)
July 12th, 2011 6:43am
Hi itaab,
I use MP2XMLDumper.exe, its a tool to backup all your unsealed MP.
If you have made your overides into customs MP (not deafault MP) this tool is the easyest way I found to backup all my overides.
http://blogs.technet.com/b/cliveeastwood/archive/2007/05/25/tool-to-dump-all-mp-s-as-xml-unsealed-to-a-folder-of-your-choice.aspx
Regards,
AB
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 1:25pm


