Description:

With the following Add-in script you can configure SYSLOG servers on LANCOM Switches of the GS-2xxx series.

 List of used variables:

VariableDescription




Add-in code:

/**
 * @param {Config} config
 * @param {Context} context
 * Do not edit this comment or parameter types. Required for code suggestions
*/
exports.main = function (config, context) {
    config.setScalarByOid("1.1.5.1.1", "1"); // Enable Syslog Server Mode
    config.setScalarByOid("1.1.5.1.2", "IP-ADDRESS"); // IP-Address 1. Server
    config.setScalarByOid("1.1.5.1.3", "IP-ADDRESS"); // IP-Address 2. Server
    config.setScalarByOid("1.1.5.1.4", "6"); // 0 (Emergency) 1 (Alert) 2 (Critical) 3 (Error), 4 (Warning), 5 (Notice), 6 (Info), 7 (Debug)
};

Add-in as JSON file:

SYSLOG_Server_GS-2XXX.json