<?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 Traps to local host on a port different that 162 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735704#M59477</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;It is Solaris 10 &lt;BR /&gt;&lt;BR /&gt;I am not sure which snmp is running , but seems it is the NET-SNMP (i can see the snmpdx is reading the snmp.conf from /etc/snmp/conf &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 09 Jan 2011 11:28:41 GMT</pubDate>
    <dc:creator>KhalidRoamware</dc:creator>
    <dc:date>2011-01-09T11:28:41Z</dc:date>
    <item>
      <title>SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735702#M59475</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;We are having HP Proliant DL580 and 380 Servers with Solaris OS , we need to configure the snmp traps of hardware issues to be sent to a specific host and port (not 162 ) , and i am not sure what is the config file to change to achieve this &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jan 2011 07:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735702#M59475</guid>
      <dc:creator>KhalidRoamware</dc:creator>
      <dc:date>2011-01-09T07:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735703#M59476</link>
      <description>Hey, which SNMPd are you using (snmpd, net-snmp)? Which Solaris Version? &lt;BR /&gt;Have you tried looking in the manual for it?&lt;BR /&gt;&lt;BR /&gt;I am no Solaris expert, but are you sure it's in the snmp config? Maybe there is some other functionality on the solaris where you control daemons and their ports?&lt;BR /&gt;&lt;BR /&gt;Or are the snmp-traps coming from something in the Proliant Support Pack?</description>
      <pubDate>Sun, 09 Jan 2011 11:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735703#M59476</guid>
      <dc:creator>Johan Guldmyr</dc:creator>
      <dc:date>2011-01-09T11:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735704#M59477</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It is Solaris 10 &lt;BR /&gt;&lt;BR /&gt;I am not sure which snmp is running , but seems it is the NET-SNMP (i can see the snmpdx is reading the snmp.conf from /etc/snmp/conf &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jan 2011 11:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735704#M59477</guid>
      <dc:creator>KhalidRoamware</dc:creator>
      <dc:date>2011-01-09T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735705#M59478</link>
      <description>&amp;gt;&amp;gt; Servers with Solaris OS&lt;BR /&gt;&amp;gt;  It is Solaris 10 &lt;BR /&gt;&lt;BR /&gt;yepp. and this is a forum for general linux-related questions. Maybe post your question to an oracle forum. &lt;BR /&gt;&lt;BR /&gt;And to try to answer your question, I think that you should poke with svcs/svcadm to change the default port..&lt;BR /&gt;&lt;BR /&gt;See the FMRI /application/management/snmpdx ...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 15:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735705#M59478</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-01-10T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735706#M59479</link>
      <description>from man snmpdx:&lt;BR /&gt;&lt;BR /&gt;-pport     Specify the port number. The default&lt;BR /&gt;port number is 161.&lt;BR /&gt;&lt;BR /&gt;But dunno where is it configured.</description>
      <pubDate>Mon, 10 Jan 2011 15:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735706#M59479</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-01-10T15:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Traps to local host on a port different that 162</title>
      <link>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735707#M59480</link>
      <description>If I understood correctly, the original post is about the destination port number of _outgoing_ SNMP traps.&lt;BR /&gt;&lt;BR /&gt;If Solaris 10 uses NET-SNMP, the trap destination should be defined in the snmp.conf file using either "trapsink" or "trap2sink" keyword (for SNMP v1 or v2c traps, respectively).&lt;BR /&gt;&lt;BR /&gt;According to NET-SNMP documentation, the trapsink keywords accept "NET-SNMP transport specifications", i.e. if you want to send to a non-default port, just add a colon and the desired port number after the target IP address/hostname.&lt;BR /&gt;&lt;BR /&gt;Here's an example for sending SNMP version 2c traps to trapdestination.example using port 666:&lt;BR /&gt;&lt;BR /&gt;trap2sink trapdestination.example:666&lt;BR /&gt;&lt;BR /&gt;There's also an older (now deprecated) syntax, which requires you to also specify the trap community name on the trapsink/trap2sink line. &lt;BR /&gt;&lt;BR /&gt;Here's an equivalent example using the older syntax and trap community name "SecretTrapCmName":&lt;BR /&gt;&lt;BR /&gt;trap2sink trapdestination.example SecretTrapCmName 666&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In Proliant hardware, the iLO remote management system may also be capable of sending SNMP traps, depending on the iLO version your hardware is equipped with. This feature is completely OS-independent. If your server has an iLO with SNMP functionality, it can be configured through iLO web interface. I'm not sure if iLO can send traps to a non-default port at all; if there is no way to set the port number using the web GUI,  &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 11 Jan 2011 11:20:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/snmp-traps-to-local-host-on-a-port-different-that-162/m-p/4735707#M59480</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-11T11:20:06Z</dc:date>
    </item>
  </channel>
</rss>

