<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed event_custom_info method in Oneagent Plug-in for Windows in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111857#M538</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/16467/view.html" nodeid="16467"&gt;@Julius L.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks you for this information. I was successful with this syntax.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 17:05:47 GMT</pubDate>
    <dc:creator>maborin</dc:creator>
    <dc:date>2020-05-07T17:05:47Z</dc:date>
    <item>
      <title>Failed event_custom_info method in Oneagent Plug-in for Windows</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111855#M536</link>
      <description>&lt;P&gt;I have a problem with the oneagent Plugin code for Windows. Does not send event info, but on Linux it work.&lt;/P&gt;&lt;P&gt;my code is:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;import logging&lt;BR /&gt;from ruxit.api.base_plugin import BasePlugin&lt;BR /&gt;from ruxit.api.selectors import EntityType&lt;/P&gt;&lt;P&gt;logger = logging.getLogger(__name__)&lt;/P&gt;&lt;P&gt;class Teste(BasePlugin):&lt;/P&gt;&lt;P&gt;def query(self, **kwargs):&lt;/P&gt;&lt;P&gt;entities = self.get_monitored_entities(EntityType.HOST)&lt;BR /&gt;for entity in entities:&lt;BR /&gt;logger.info(entity)&lt;BR /&gt;logger.info('Envio de evento')&lt;BR /&gt;entity.event_custom_info(description="Users Session Details", title= "User Sessions",&lt;BR /&gt;properties={"username":"Teste",&lt;BR /&gt;"sessionname":"console",&lt;BR /&gt;"session_id":"1",&lt;BR /&gt;"state":"on",&lt;BR /&gt;"idle_time":".",&lt;BR /&gt;"logon_time":"12:30"&lt;BR /&gt;}&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 14:54:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111855#M536</guid>
      <dc:creator>maborin</dc:creator>
      <dc:date>2020-04-23T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed event_custom_info method in Oneagent Plug-in for Windows</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111856#M537</link>
      <description>&lt;P&gt;Does the following construct work for you?&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;self.results_builder.report_custom_info_event(description="Users Session Details", title="User Sessions", entity_selector=HostSelector(), properties={"username": "Teste", "sessionname": "console", "session_id": "1", "state": "on", "idle_time": ".", "logon_time": "12:30" })&lt;/P&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 13:06:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111856#M537</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2020-04-29T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Failed event_custom_info method in Oneagent Plug-in for Windows</title>
      <link>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111857#M538</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/16467/view.html" nodeid="16467"&gt;@Julius L.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks you for this information. I was successful with this syntax.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 17:05:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Failed-event-custom-info-method-in-Oneagent-Plug-in-for-Windows/m-p/111857#M538</guid>
      <dc:creator>maborin</dc:creator>
      <dc:date>2020-05-07T17:05:47Z</dc:date>
    </item>
  </channel>
</rss>

