This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] how do I set the listening IP on snmpd?

To: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Subject: Re: [Xen-users] how do I set the listening IP on snmpd?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Sun, 22 Feb 2009 05:50:31 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 21 Feb 2009 14:51:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0902201105y334f080dgaf10fbc7ea055491@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0902201105y334f080dgaf10fbc7ea055491@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Feb 21, 2009 at 2:05 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
> Does anyone know if it's possible to set a listening IP on snmpd?

>From "man snmpd.conf"
       agentaddress [<transport-specifier>:]<transport-address>[,...]
              defines  a list of listening addresses, on which to
receive incoming SNMP requests.  See the section LISTENING ADDRESSES
in the snmpd(8)
              manual page for more information about the format of
listening addresses.

              The default behaviour is to listen on UDP port 161 on
all IPv4 interfaces.

However startup command line can also influence snmpd's behavior. On
ubuntu /etc/default/snmpd has this line

# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'

Removing will make it listen on all interfaces.



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>