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

Unable to execute multiple actions with remote command on Cisco IOS

    Details

    • Type: Incident report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.9
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create a remote command with several lines in the action field to fix a problem.
      2. Wait for the start of the problem.
        To see that instead of executing several commands from a new line, one command is executed with a carriage return.

      Result:

      For example, let’s imagine that our problem can be solved in a privileged way by executing such commands:

      send log I am logged in
      and I expect
      each line execute
      as sepatate command

       

      You can see that IOS perceives each line as a separate command. 

       

      But when the commands are executed by Zabbix, all the commands pass as one with several line breaks.

      It is important to note that the first line with a send log entry is used to show that the line break did not lead to the execution of the command. In real life scenarios, everything happens in a similar way.

      It is also important to note that the problem is not reproduced in RouterOS, for example.

      Expected:
      Each line is accepted as a separate command.

       

        Attachments

          Activity

            People

            • Assignee:
              dmitrijs.lamberts Dmitrijs Lamberts
              Reporter:
              Dimasmir Smirnov Dmitry
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: