Re: System MIB :: SysName, SysLocation is not overwriting

Venkateswarlu Konamki <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CADWLQuYEC_qni1uhu1_H4ONyUeN1uwdZSMRSKaquzQ8y+DPnBg@mail.gmail.com>
Hi All,
Any update on this issue?

Thanks,
Venkat


On Thu, May 16, 2019 at 10:40 AM Venkateswarlu Konamki <
[email protected]> wrote:

> Hi All ,
>
> I am facing issue with in system_mib with SysName and SysLocation.
>
> Recently i have upgraded net-snmp version from 5.3.01 to 5.7.3. In 5.7.3,
> if i see the code is system_mib  there are changes happened for handling
> the mibs.
>
> First time when i am doing snmp walk i am able to get the correct hostname
> and syslocation.
> Next i have changed the hostname with CLI (not via snmpset).  when i do
> snmpwlak or get, hostname is still showing the old name.
>
> *Before changing the hostname : *
> # snmpget -v2c -c test localhost   .1.3.6.1.2.1.1.5.0
> .1.3.6.1.2.1.1.5.0 = STRING: "Venkat_Desktop"
> #
> administrator@Venkat:~$ hostname
> Venkat_Desktop.
>
> *After changing the hostname from Venkat_Desktop to "Venkat_machine"*
> # snmpget -v2c -c test localhost   .1.3.6.1.2.1.1.5.0
> .1.3.6.1.2.1.1.5.0 = STRING: "Venkat_Desktop"
> #
> administrator@Venkat:~$ hostname
> Venkat_machine.
>
> It is reflecting in hostname, but when i do via snmp it is still showing
> the old hostname.
>
> I am notable to find the root cause for this one.
>
> Is any one faced same issue ? if yes. what is the fix for this ? Please
> help on this
>
>
> Thanks,
>
> Venkat
>

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.