{"id":2151,"date":"2009-08-07T10:28:21","date_gmt":"2009-08-07T15:28:21","guid":{"rendered":"http:\/\/dougmcclure.net\/blog\/?p=2151"},"modified":"2009-08-07T10:58:38","modified_gmt":"2009-08-07T15:58:38","slug":"tivoli-business-service-manager-tbsm-support-tip-of-the-week-14","status":"publish","type":"post","link":"https:\/\/dougmcclure.net\/blog\/2009\/08\/tivoli-business-service-manager-tbsm-support-tip-of-the-week-14\/","title":{"rendered":"Tivoli Business Service Manager (TBSM) Support Tip of the Week #14"},"content":{"rendered":"<p>Ok, second request for <del datetime=\"2009-08-07T15:58:02+00:00\">this<\/del> datafetcher monitoring in the same week.  Ultimately, we need to enhance the BSM Agent for our MOSWOS self-monitoring so we can bring in the state\/status and query time metrics for processing in situations, workspaces and storage in TDW.  <\/p>\n<p>Here&#8217;s what I&#8217;ve dug up for two approaches to this.<\/p>\n<p>* Each datafetcher has it&#8217;s own log.  You could build out a custom monitoring agent, log file adaptor, or similar to monitor those logs.  The output of the logfile monitoring sends in events via nco_sql or maybe generates unique EIF events with postemsg or similar.  You could create a simple table in Postgres as well where you insert the status and fetch time metric and then hit that with another datafetcher.<\/p>\n<p>* A more straight forward approach would be using a Netcool\/Impact, an internal formula rule (with custom policy) or a stand alone script to interact with RADSHELL. The output from this policy of script could be manipulated to insert events, metrics, drive state on a rule, etc. Capture the datafetcher names from the Postgres database to build a simple autopop or ESDA managed model.<\/p>\n<p>The command rad.getDBPollerStatus(&#8220;datafetchername&#8221;);  will provide you the state of the datafetcher.<\/p>\n<p>Here is an example of the output.<\/p>\n<p><strong>Normal &#8220;Green&#8221; State for DF:<\/strong><\/p>\n<p>radshell> rad.getDBPollerStatus(&#8220;DB_metrics&#8221;);<br \/>\n<running><\/p>\n<p><strong>Error &#8220;Yellow&#8221; State for DF:<\/strong><\/p>\n<p>radshell> rad.getDBPollerStatus(&#8220;DB_metrics&#8221;);<br \/>\n<error><\/p>\n<p><strong>Not Running &#8220;Red&#8221; State for DF:<\/strong><\/p>\n<p>radshell> rad.getDBPollerStatus(&#8220;DB_metrics&#8221;);<br \/>\n<not Running><br \/>\n<\/not><\/error><\/running><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, second request for this datafetcher monitoring in the same week. Ultimately, we need to enhance the BSM Agent for our MOSWOS self-monitoring so we can bring in the state\/status and query time metrics for processing in situations, workspaces and storage in TDW. Here&#8217;s what I&#8217;ve dug up for two approaches to this. * Each [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,37,121,95,39],"tags":[933,932,991,632,718,975,415,934],"class_list":{"0":"post-2151","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ibm","7":"category-implementation","8":"category-monitoring","9":"category-tbsm","10":"category-tivoli","11":"tag-ibm","12":"tag-implementation","13":"tag-monitoring","14":"tag-moswos","15":"tag-support","16":"tag-tbsm","17":"tag-tbsmv4","18":"tag-tivoli"},"_links":{"self":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/comments?post=2151"}],"version-history":[{"count":6,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2151\/revisions"}],"predecessor-version":[{"id":2158,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/posts\/2151\/revisions\/2158"}],"wp:attachment":[{"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/media?parent=2151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/categories?post=2151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dougmcclure.net\/blog\/wp-json\/wp\/v2\/tags?post=2151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}