<?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: Get values from OID add create own alarm in EMC in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50672#M7421</link>
    <description>Thanks for sharing this!&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
    <dc:creator>M_Nees</dc:creator>
    <dc:date>2018-01-23T04:24:00Z</dc:date>
    <item>
      <title>Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50667#M7416</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
is there a way to do an snmp get for arbitrary OIDs (for other vendors,too) and create an alarm if needed via a script (python, TCL, ...). &lt;BR /&gt;
&lt;BR /&gt;
As I can see netsnmp for python is not installed. Can I install netsnmp and use it with the GUI scripting section on EMC (not the legacy tool)?&lt;BR /&gt;
&lt;BR /&gt;
I will check some MIB values with a program logic and create an alarm or an syslog entry (with these syslog entry I can use the alarm manager in a second step).&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50667#M7416</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-01-16T20:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50668#M7417</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
with the help of the GTAC if  found a solution for my problem. There are two tools in /usr/bin.&lt;BR /&gt;
&lt;BR /&gt;
First "snmpget" and second "logger" both are well documented linux tools. I can call both tools via a python script and get with snmpget the needed OID and after some program lines I can wrote an Syslog entry with logger.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much to GTAC!&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50668#M7417</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50669#M7418</link>
      <description>Thanks for coming back to share the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50669#M7418</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50670#M7419</link>
      <description>do you want to share the final script with us? would be great</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50670#M7419</guid>
      <dc:creator>Kurt_Semba</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50671#M7420</link>
      <description>Hello Kurt,&lt;BR /&gt;
&lt;BR /&gt;
here is my short python testscript. Runs in the bash and in the EMC gui out of the box.&lt;BR /&gt;
&lt;BR /&gt;
------&lt;BR /&gt;
&lt;I&gt;import commands&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;#snmpget command line for system contact&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;command = "/usr/bin/snmpget -v3 -l authPriv -u admin -a MD5 -A passwd -x DES -X passwd 192.168.1.1 1.3.6.1.2.1.1.4.0"&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;#snmpget&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;systemcontact = commands.getoutput(command)&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;#cut unnecessary parts in snmpget answer&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;start  = systemcontact.find(":")&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;start  = start+2&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;systemcontact = systemcontact[start:]&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;#create syslog entry&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;alarm = commands.getoutput("logger" + " " + systemcontact)&lt;BR /&gt;
&lt;/I&gt;&lt;BR /&gt;
---&lt;BR /&gt;
&lt;BR /&gt;
Now you will see a new syslog entry.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50671#M7420</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50672#M7421</link>
      <description>Thanks for sharing this!&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50672#M7421</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get values from OID add create own alarm in EMC</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50673#M7422</link>
      <description>yes, thanks for sharing!</description>
      <pubDate>Tue, 23 Jan 2018 04:24:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/get-values-from-oid-add-create-own-alarm-in-emc/m-p/50673#M7422</guid>
      <dc:creator>Kurt_Semba</dc:creator>
      <dc:date>2018-01-23T04:24:00Z</dc:date>
    </item>
  </channel>
</rss>

