Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7413

inconsistent incorrect config file handling

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Agent (G)
    • Labels:
      None

      Description

      if there's an incorrect parameter in the config file (like asdf=1), daemons print message in the commandline and stop.

      if the problem is with userparameter or alias (for example, duplicate key), nothing is printed in the commandline, only in the logfile. what's worse, logfile only logs the warning but does not go through the normal shutdown sequence, thus no log entry about daemon being stopped.

      any problems in the config file should be checked for and reported before writing to the logfile.

      if current architecture prevents that from being easily done, we should print "stopping" message in the logfile, as that is not currently done and can be pretty confusing; logfile validation before attempting to start up can be split out in a separate issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: