I would like to overwrite the writable systemGroup OID's in order to set default names and reset the values. sysName should be the same like the hostname from a linux system. If i set these OID's within the snmpd.conf the OID'S only can read. I thought i can overwrite the OID's within my own mib but it is not possibe because i've got the message 'duplicate registration: MIB modules mibII/sysName and sysName (oid .1.3.6.1.2.1.1.5).'
I use the default snmpd an wrote an shared object with specific mib modules as well as with writable systemGroup OID's.
How it is possible to overwrite the systemGroup OID's sysContact, sysName sysLocation in usual way.
Norman
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> How it is possible to overwrite the systemGroup OID's sysContact, sysName sysLocation in usual way.
The simplest way is to not specify anything in the snmpd.conf file,
and use "snmpset" commands to set the initial values. You can then
overwrite these later.
You only need to set the initial value once - the agent will remember it
and use this value until you explicitly change it.
Dave
Yes
Can i overwrite the OID sysName from default snmpd in order to change the hostname if the sysName changed.
Norman
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de