Can anyone tell me how to run the master agent and the subagent not as
root?
I tried adding the following to snmpd.conf
master agentx
agentXSocket /tmp/agentx/master
agentXperms 0660 0550 nobody snmp
But get this error when I run the master agent:
agentx/master: initializing...
Error:
@lists.sourceforge.net
Subject: Re: Running master agent and subagent not as root
Can anyone tell me how to run the master agent and the subagent not
as root?
I tried adding the following to snmpd.conf master agentx agentXSocket
/tmp/agentx/master agentXperms 0660 0550 nobody snmp
But get this error
2008/7/2 Joan Landry [EMAIL PROTECTED]:
However, I get a new error now when I try to run the master agent:
agentx/master: initializing...
agentx/master: initializing... DONE
Error opening specified endpoint
Server Exiting with code 1
Any ideas on what would cause this?
What command did
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
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
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Joan Landry
Sent: Tuesday, July 01, 2008 4:12 PM
Can anyone tell me how to run the master agent and the subagent not as
root?
I tried adding the following to snmpd.conf
master agentx
agentXSocket /tmp/agentx/master