RE: Running master agent and subagent not as root

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E4170A1C77D@dexbe012-6.exch012.intermedia.net>
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: [email protected]
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.