<?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: SNMP extensibility in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542387#M79505</link>
    <description>Hi,&lt;BR /&gt;as far as i know.&lt;BR /&gt;You can extend Net Snmp with any Mib Values you want.&lt;BR /&gt;&lt;BR /&gt;you can try this &lt;BR /&gt;from /usr/share/snmp/snmpconf/snmpd.conf/extending&lt;BR /&gt;token   exec&lt;BR /&gt;info    run a simple command using exec()&lt;BR /&gt;info    arguments:  [oid] name /path/to/executable arguments&lt;BR /&gt;question 1 The OID where the results table should be display [default=extTable]&lt;BR /&gt;question 2 The "name" to associate with this command when displaying the results&lt;BR /&gt;question 3 The path to the program to be run.&lt;BR /&gt;question 4 The arguments to pass to $3&lt;BR /&gt;&lt;BR /&gt;exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest&lt;BR /&gt;&lt;BR /&gt;# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.50&lt;BR /&gt;# enterprises.ucdavis.50.1.1 = 1&lt;BR /&gt;# enterprises.ucdavis.50.2.1 = "shelltest"&lt;BR /&gt;# enterprises.ucdavis.50.3.1 = "/bin/sh /tmp/shtest"&lt;BR /&gt;# enterprises.ucdavis.50.100.1 = 35&lt;BR /&gt;# enterprises.ucdavis.50.101.1 = "hello world."&lt;BR /&gt;# enterprises.ucdavis.50.101.2 = "hi there."&lt;BR /&gt;# enterprises.ucdavis.50.102.1 = 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for example you get the values from your raid adapter and put the at any desired point in the mib. &lt;BR /&gt;FOR HP Netserver RAID adapter take a look at the HP Mibs and change the oid Value to this. &lt;BR /&gt;&lt;BR /&gt;exec &lt;OID&gt; &lt;RIAD name=""&gt; shelltest /bin/sh cat /proc/sys/myraidvalues &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at:&lt;BR /&gt;&lt;A href="http://net-snmp.sourceforge.net/tutorial/agent/guide.html" target="_blank"&gt;http://net-snmp.sourceforge.net/tutorial/agent/guide.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards &lt;BR /&gt;Patrick&lt;BR /&gt;&lt;BR /&gt;&lt;/RIAD&gt;&lt;/OID&gt;</description>
    <pubDate>Sat, 24 Nov 2001 11:26:07 GMT</pubDate>
    <dc:creator>Patrick Preuss</dc:creator>
    <dc:date>2001-11-24T11:26:07Z</dc:date>
    <item>
      <title>SNMP extensibility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542385#M79503</link>
      <description>I am working on a LH3000 Netserver.  Currently I've installed net-snmp, and I've gotten all the basic functions to work (snmpget, snmptrap) and the daemons set up on the netserver.&lt;BR /&gt;&lt;BR /&gt;What I'm attempting to do is to implement some of the HP mibs so that I will be able to use SNMP to tell when a powersupply goes out, or a RAID drive is full/goes out, things of that nature.&lt;BR /&gt;&lt;BR /&gt;Any pointers in the right direction would be greatly appreciated, Thanks.</description>
      <pubDate>Tue, 19 Jun 2001 15:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542385#M79503</guid>
      <dc:creator>Joey Groff</dc:creator>
      <dc:date>2001-06-19T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP extensibility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542386#M79504</link>
      <description>Hi,&lt;BR /&gt;as far as i know.&lt;BR /&gt;You can extend Net Snmp with any Mib Values you want.&lt;BR /&gt;&lt;BR /&gt;you can try this &lt;BR /&gt;from /usr/share/snmp/snmpconf/snmpd.conf/extending&lt;BR /&gt;token   exec&lt;BR /&gt;info    run a simple command using exec()&lt;BR /&gt;info    arguments:  [oid] name /path/to/executable arguments&lt;BR /&gt;question 1 The OID where the results table should be display [default=extTable]&lt;BR /&gt;question 2 The "name" to associate with this command when displaying the results&lt;BR /&gt;question 3 The path to the program to be run.&lt;BR /&gt;question 4 The arguments to pass to $3&lt;BR /&gt;# from the conf &lt;BR /&gt;exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest&lt;BR /&gt;&lt;BR /&gt;# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.50&lt;BR /&gt;# enterprises.ucdavis.50.1.1 = 1&lt;BR /&gt;# enterprises.ucdavis.50.2.1 = "shelltest"&lt;BR /&gt;# enterprises.ucdavis.50.3.1 = "/bin/sh /tmp/shtest"&lt;BR /&gt;# enterprises.ucdavis.50.100.1 = 35&lt;BR /&gt;# enterprises.ucdavis.50.101.1 = "hello world."&lt;BR /&gt;# enterprises.ucdavis.50.101.2 = "hi there."&lt;BR /&gt;# enterprises.ucdavis.50.102.1 = 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for example you get the values from your raid adapter and put the at the deired point in the mib &lt;BR /&gt;&lt;BR /&gt;if you have the mibs and a mib browser you can look up the oid value for the raid sub system for an net server. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at:&lt;BR /&gt;&lt;A href="http://net-snmp.sourceforge.net/tutorial/agent/guide.html" target="_blank"&gt;http://net-snmp.sourceforge.net/tutorial/agent/guide.html&lt;/A&gt;</description>
      <pubDate>Sat, 24 Nov 2001 11:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542386#M79504</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-11-24T11:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP extensibility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542387#M79505</link>
      <description>Hi,&lt;BR /&gt;as far as i know.&lt;BR /&gt;You can extend Net Snmp with any Mib Values you want.&lt;BR /&gt;&lt;BR /&gt;you can try this &lt;BR /&gt;from /usr/share/snmp/snmpconf/snmpd.conf/extending&lt;BR /&gt;token   exec&lt;BR /&gt;info    run a simple command using exec()&lt;BR /&gt;info    arguments:  [oid] name /path/to/executable arguments&lt;BR /&gt;question 1 The OID where the results table should be display [default=extTable]&lt;BR /&gt;question 2 The "name" to associate with this command when displaying the results&lt;BR /&gt;question 3 The path to the program to be run.&lt;BR /&gt;question 4 The arguments to pass to $3&lt;BR /&gt;&lt;BR /&gt;exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest&lt;BR /&gt;&lt;BR /&gt;# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.50&lt;BR /&gt;# enterprises.ucdavis.50.1.1 = 1&lt;BR /&gt;# enterprises.ucdavis.50.2.1 = "shelltest"&lt;BR /&gt;# enterprises.ucdavis.50.3.1 = "/bin/sh /tmp/shtest"&lt;BR /&gt;# enterprises.ucdavis.50.100.1 = 35&lt;BR /&gt;# enterprises.ucdavis.50.101.1 = "hello world."&lt;BR /&gt;# enterprises.ucdavis.50.101.2 = "hi there."&lt;BR /&gt;# enterprises.ucdavis.50.102.1 = 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for example you get the values from your raid adapter and put the at any desired point in the mib. &lt;BR /&gt;FOR HP Netserver RAID adapter take a look at the HP Mibs and change the oid Value to this. &lt;BR /&gt;&lt;BR /&gt;exec &lt;OID&gt; &lt;RIAD name=""&gt; shelltest /bin/sh cat /proc/sys/myraidvalues &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at:&lt;BR /&gt;&lt;A href="http://net-snmp.sourceforge.net/tutorial/agent/guide.html" target="_blank"&gt;http://net-snmp.sourceforge.net/tutorial/agent/guide.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards &lt;BR /&gt;Patrick&lt;BR /&gt;&lt;BR /&gt;&lt;/RIAD&gt;&lt;/OID&gt;</description>
      <pubDate>Sat, 24 Nov 2001 11:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542387#M79505</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-11-24T11:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP extensibility</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542388#M79506</link>
      <description>Sorry for the First posting but my Internet link has been broken:-) &lt;BR /&gt;&lt;BR /&gt;regards &lt;BR /&gt; Patrick&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Nov 2001 11:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-extensibility/m-p/2542388#M79506</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-11-24T11:28:04Z</dc:date>
    </item>
  </channel>
</rss>

