Re: agentaddress in snmpd.conf

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19/06/07, pavithra s <[email protected]> wrote:
> I m using net-snmp-5.3.1  and i want the  ipaddress where the agent listens
> to be configured in the snmpd.conf and  not thro' the command line option.
>
> I tried adding the line:
>
>  agentaddress 127.0.0.1
>
> in snmpd.conf

That tells the *agent* what port to listen on.
It does not tell the client which agent to connect *to*


> But when i tried running the snmpget command it demands me to explicitly
> specify the hostname or IPAddress again.What should i do ???

The "snmpget" command requires a destination address on the command
line.  This is not optional - you *must* specify this explicitly.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.