How do I change the port for _SNMP_ requests?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Wednesday, July 02, 2008 9:20 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Running master agent and subagent not as root

2008/7/2 Joan Landry <[EMAIL PROTECTED]>:
>>What command did you use to start the agent?
>
> ./snmpd -f -Le

That will be listening on port 161, which will fail

>>> If you specify a different (high-numbered) port when you start the 
>>> agent, then it should be OK.
>
> I do not know how to do this:

./snmpd -f -Le 22222


> I tried:
> ./snmpd -f -Le -x 22222

No - that specifies the _AgentX_ port
(which you're already setting in the config file).

The issue here is with the port for _SNMP_ requests.


Dave

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to