{"id":79,"date":"2010-08-13T14:40:23","date_gmt":"2010-08-13T12:40:23","guid":{"rendered":"http:\/\/marwin.e-blog.cz\/?p=79"},"modified":"2015-07-16T11:41:27","modified_gmt":"2015-07-16T09:41:27","slug":"scom-nastaveni-preposilani-snmp-trapu","status":"publish","type":"post","link":"https:\/\/svobodma.cz\/?p=79","title":{"rendered":"SCOM nastaven\u00ed p\u0159epos\u00edl\u00e1n\u00ed SNMP trap\u016f"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Set SCOM 2007 to forward SNMP traps<\/span><\/strong><\/p>\n<p>Trapgen.exe : Used to generate the traps.<\/p>\n<p>download trapgen.exe \u00a0-http:\/\/trapgen.trapreceiver.com\/ or you can find it in my <strong>OneDrive<\/strong> (accessible from this page ), folder <strong>tools<\/strong> (<a href=\"https:\/\/onedrive.live.com\/?cid=A2DAD70E062C0112&amp;id=A2DAD70E062C0112%2112099&amp;authkey=%21ANIbXFTLL1i0y70\">https:\/\/onedrive.live.com\/?cid=A2DAD70E062C0112&amp;id=A2DAD70E062C0112%2112099&amp;authkey=%21ANIbXFTLL1i0y70<\/a>)<\/p>\n<p>SNMPTrap.exe : Used to check out snmp traps.( for\u00a0 this check , adjust destination\u00a0 IP address on local IP of SCOM server )<\/p>\n<p>Settings:<\/p>\n<p>Download or copy both tools on your <strong>SCOM server<\/strong>. I copy them in <strong>C:\\SNMP\\<\/strong> folder.<\/p>\n<p>In the console go to the <strong>Administration pane<\/strong> then select <strong>Settings <\/strong>and open <strong>Notification properties.<\/strong><\/p>\n<p>Go to the <strong>Command tab<\/strong> and click on <strong>Add<\/strong>.<\/p>\n<p>The command line used is : <strong>C:\\SNMP\\trapgen.exe<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>The command line parameters are :<\/p>\n<p>Where IP 192.168.12.130 is destination IP address of next <strong>monitoring server<\/strong> (Tivoli IBM) 192.168.15.201 is the IP address of my <strong>SCOM server<\/strong><\/p>\n<p>The <strong>initial directory<\/strong> is : C:\\SNMP\\<\/p>\n<p>When you are done , create a new <strong>Notification recipient<\/strong> ( can be local user of SCOM server\u00a0or domain user )<\/p>\n<p>Select your <strong>notification command channel<\/strong> like below <strong>(delivery\u00a0 address is useless for us) <\/strong>and continue in N.D Wizard<\/p>\n<p>So you have Recipient and \u00a0last step will be how create <strong>Subsciption<\/strong>.<\/p>\n<p>Make up new name for <strong>subscription<\/strong> and add your exist <strong>notification recipients<\/strong> for SNMP traps<\/p>\n<p>On <strong>User role filter<\/strong> tab press next and here you can choose groups which you want to cover.<\/p>\n<p>On Classes tab press next and here choose all ( press on check all button ) , if you want and finish the wizard.<\/p>\n<p>Now you can check if your monitoring system 3rd side is geting snmp traps from SCOM2007<\/p>\n<p>I have used it on my SCOM server and &#8222;without problems&#8220;<\/p>\n<p>good web page &#8211; <a href=\"http:\/\/blogs.technet.com\/b\/kevinholman\/archive\/2007\/12\/12\/adding-custom-information-to-alert-descriptions-and-notifications.aspx\">http:\/\/blogs.technet.com\/b\/kevinholman\/archive\/2007\/12\/12\/adding-custom-information-to-alert-descriptions-and-notifications.aspx<\/a><\/p>\n<p>$Data\/Context\/DataItem\/AlertId$ The AlertID GUID $Data\/Context\/DataItem\/AlertName$ The Alert Name $Data\/Context\/DataItem\/Category$ The Alert category (PerformanceHealth,PerformanceCollection,Operations,EventCollection,StateCollection,SoftwareAndUpdates,Alert,System,Custom,AvailabilityHealth,ConfigurationHealth,SecurityHealth,Discovery,NotificationCategory,Maintenance $Data\/Context\/DataItem\/CreatedByMonitor$ True\/False $Data\/Context\/DataItem\/Custom1$ CustomField1 $Data\/Context\/DataItem\/Custom2$ CustomField2 $Data\/Context\/DataItem\/Custom3$ CustomField3 $Data\/Context\/DataItem\/Custom4$ CustomField4 $Data\/Context\/DataItem\/Custom5$ CustomField5 $Data\/Context\/DataItem\/Custom6$ CustomField6 $Data\/Context\/DataItem\/Custom7$ CustomField7 $Data\/Context\/DataItem\/Custom8$ CustomField8 $Data\/Context\/DataItem\/Custom9$ CustomField9 $Data\/Context\/DataItem\/Custom10$ CustomField10 $Data\/Context\/DataItem\/DataItemCreateTime$ UTC Date\/Time of Dataitem created $Data\/Context\/DataItem\/DataItemCreateTimeLocal$ LocalTime Date\/Time of Dataitem created $Data\/Context\/DataItem\/LastModified$ UTC Date\/Time DataItem was modified $Data\/Context\/DataItem\/LastModifiedLocal$ Local Date\/Time DataItem was modified $Data\/Context\/DataItem\/ManagedEntity$ ManagedEntity GUID $Data\/Context\/DataItem\/ManagedEntityDisplayName$ ManagedEntity Display name $Data\/Context\/DataItem\/ManagedEntityFullName$ ManagedEntity Full name $Data\/Context\/DataItem\/ManagedEntityPath$ Managed Entity Path $Data\/Context\/DataItem\/Priority$ The Alert Priority Number (High=1,Medium=2,Low=3) $Data\/Context\/DataItem\/Owner$ The Alert Owner $Data\/Context\/DataItem\/RepeatCount$ The Alert Repeat Count $Data\/Context\/DataItem\/ResolutionState$ Resolution state ID (0=New, 255= Closed) $Data\/Context\/DataItem\/ResolutionStateLastModified$ UTC Date\/Time ResolutionState was last modified $Data\/Context\/DataItem\/ResolutionStateLastModifiedLocal$ Local Date\/Time ResolutionState was last modified $Data\/Context\/DataItem\/ResolutionStateName$ The Resolution State Name (New, Closed) $Data\/Context\/DataItem\/ResolvedBy$ Person resolving the alert $Data\/Context\/DataItem\/Severity$ The Alert Severity ID $Data\/Context\/DataItem\/TicketId$ The TicketID $Data\/Context\/DataItem\/TimeAdded$ UTC Time Added $Data\/Context\/DataItem\/TimeAddedLocal$ Local Time Added $Data\/Context\/DataItem\/TimeRaised$ UTC Time Raised $Data\/Context\/DataItem\/TimeRaisedLocal$ Local Time Raised $Data\/Context\/DataItem\/TimeResolved$ UTC Date\/Time the Alert was resolved $Data\/Context\/DataItem\/WorkflowId$ The Workflow ID (GUID) $Target\/Property[Type=\u201dNotification!Microsoft.SystemCenter.AlertNotificationSubscriptionServer\u201d\/WebConsoleUrl$ The Web Console URL Target\/Property[Type=\u201dNotification!Microsoft.SystemCenter.AlertNotificationSubscriptionServer\u201d\/PrincipalName$ The principalname of the management server $Data\/Recipients\/To\/Address\/Address$ The name of the recipient (e.g. the Email alias to which the notification is addressed)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Set SCOM 2007 to forward SNMP traps Trapgen.exe : Used to generate the traps. download trapgen.exe \u00a0-http:\/\/trapgen.trapreceiver.com\/ or you can find it in my OneDrive (accessible from this page ), folder tools (https:\/\/onedrive.live.com\/?cid=A2DAD70E062C0112&amp;id=A2DAD70E062C0112%2112099&amp;authkey=%21ANIbXFTLL1i0y70) SNMPTrap.exe : Used to check out &hellip; <a href=\"https:\/\/svobodma.cz\/?p=79\">Cel\u00fd p\u0159\u00edsp\u011bvek <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-system-center"],"_links":{"self":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":10,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":1178,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/1178"}],"wp:attachment":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}