Further Configuration Possibilities; Send Special Timeserver Commands With Snmp - Meinberg LANTIME/GPS Operating Instructions Manual

Etx 1he
Table of Contents

Advertisement

Further configuration possibilities

Because the timeserver uses a standard version of the net-snmp SNMP daemon
(with extended features covering the timeserver-specific functions), all configuration
parameters of the SNMPD can be used. The configuration file of the SNMP daemon
is located at /usr/local/share/snmp after boot time, the filename is snmpd.conf.
During the boot sequence, this file is created dynamically by using a template file and
appending the SNMP parameters stored in the timeserver setup.
If you need to customize the configuration of the timeservers SNMPD (for setting up
detailed access control rights for example), you may edit
/mnt/flash/packages/snmp/etc/snmpd_conf.default (which is the mentioned template
file). Please note that some lines are appended to this file (as described above), before
it is used as /usr/local/share/snmp/snmpd.conf by the snmpd process.

Send special timeserver commands with SNMP

The timeserver is capable of receiving special commands by SNMP in order to
reboot the unit or reload its configuration after you manually changed it. A special
SNMP variable is reserved for this (mbgLtCmdExecute) and has to be set to a special
integer value for each command. The following commands are available:
Reboot(1)
Setting the mbgLtCmdExecute variable to value 1 will reboot the timeserver after a
short waiting period of approximately 3-5 seconds.
FirmwareUpdate(2)
This command installs a previously uploaded (with FTP for example) firmware
version.
ReloadConfig(3)
The parameters of the timeserver configuration (stored in
/mnt/flash/global_configuration) are re-read and afterwards a number of subsystems
(e.g. NTPD, HTTPD/HTTPSD, SMBD) will be restarted in order to use those
eventually changed settings. Please note that the SNMPD will not be restarted by this
command (you have to use reboot instead or restart it manually by killing the process
and starting it again in the shell).
GenerateSSHKey(4)
A new SSH key will be generated.
94

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents