SK> can i assume that the snmpd will grab the hostname of
SK> the device during the daemon started, and remains
SK> returning that value to incoming request?


Wes> the sysName object should return the current hostname right then (IE,
Wes> if you change it then the agent should report the changed value).

Are you sure, Wes?

The code looks suspiciously as if SK is right.
The value for the MIB object 'systemName' is taken from the internal
buffer "sysName".  This is set initially to be the value of hostname
when the agent starts, but can then be changed (e.g. via the "sysname"
directive, or SET requests).

It certainly doesn't look as if it tracks changing values of the
underlying hostname.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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

Reply via email to