Do not evaluate UserParameter values with 'zabbix_agentd -p'

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 2.2.19
    • Component/s: Agent (G)
    • 3

      When 'zabbix_agentd' is started with '-p' option it shows all known items.
      Problem arises when a user puts under UserParameter a script with side-effects (e.g. rsync). User can reasonably assume that '-p' is harmless to use, kind of 'preview' but instead an incident may be caused.
      Proposal:

      • With '-p' option just show the names of UserParameter-s but do not evaluate them.
      • With '-t' option evaluate the UserParameter.

            Assignee:
            Unassigned
            Reporter:
            Andris Mednis
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: