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
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