<?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 Send SNMP Traps in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Send-SNMP-Traps/m-p/540064#M18550</link>
    <description>&lt;P&gt;We need to send SNMP traps from Splunk to other system.&lt;/P&gt;&lt;P&gt;As per my understanding, these are the steps required:&lt;/P&gt;&lt;P&gt;1. Create custom alert action app&lt;/P&gt;&lt;P&gt;2. Configure alerts from search and add the custom alert action in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything else required to be done?&lt;/P&gt;&lt;P&gt;Is there any sample script to send the snmp traps?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 09:35:41 GMT</pubDate>
    <dc:creator>KPSL</dc:creator>
    <dc:date>2021-02-16T09:35:41Z</dc:date>
    <item>
      <title>Send SNMP Traps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Send-SNMP-Traps/m-p/540064#M18550</link>
      <description>&lt;P&gt;We need to send SNMP traps from Splunk to other system.&lt;/P&gt;&lt;P&gt;As per my understanding, these are the steps required:&lt;/P&gt;&lt;P&gt;1. Create custom alert action app&lt;/P&gt;&lt;P&gt;2. Configure alerts from search and add the custom alert action in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything else required to be done?&lt;/P&gt;&lt;P&gt;Is there any sample script to send the snmp traps?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 09:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Send-SNMP-Traps/m-p/540064#M18550</guid>
      <dc:creator>KPSL</dc:creator>
      <dc:date>2021-02-16T09:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Send SNMP Traps</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Send-SNMP-Traps/m-p/540070#M18551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226884"&gt;@KPSL&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;there's only a problem: in the fifth field of the Splunk record in alerts, there's the fullpath (on the Splunk server) of the tgz file containing the results of the alert, but the external system receiving the SNMP trap cannot access this file.&lt;/P&gt;&lt;P&gt;So we created a script in perl (we used this language because there's an example in Community) that makes the following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;it takes the Alert record,&lt;/LI&gt;&lt;LI&gt;it opens the tgz file,&lt;/LI&gt;&lt;LI&gt;it puts the content of the tgz file in the fifth field, sends it in SNMP format to the destination.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In this way the destination server receives also the alert contents.&lt;/P&gt;&lt;P&gt;You can find an example of the script at&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Generate-SNMP-trap-from-Splunk/m-p/55732" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/Generate-SNMP-trap-from-Splunk/m-p/55732&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 10:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Send-SNMP-Traps/m-p/540070#M18551</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-02-16T10:33:31Z</dc:date>
    </item>
  </channel>
</rss>

