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

Export to CSV does not work as expected

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 6.4.1
    • None
    • None

      Steps to reproduce:

      1. In Zabbix Web UI go to Monitoring -> Problems.
      2. Clicke on 'Export to CSV' and save file.

      Result:
      Saved file has all expected lines and some garbage JS code

      "Severity","Time","Recovery time","Status","Host","Problem","Duration","Ack","Actions","Tags"
      "Average","2023-04-09 07:03:26","","PROBLEM","Zabbix server","Zabbix agent is not available (for 3m)","1d 3h 57m","No","","class: os, component: system, scope: availability, target: linux"
      <script type="text/javascript">window.addEventListener('load', e => {
          // Prevent auto-collapsing
          ZABBIX.MenuMain.collapseExpanded = function(from_level) {
              return(false);
          }
      ...

      Expected:

      "Severity","Time","Recovery time","Status","Host","Problem","Duration","Ack","Actions","Tags"
      "Average","2023-04-09 07:03:26","","PROBLEM","Zabbix server","Zabbix agent is not available (for 3m)","1d 3h 57m","No","","class: os, component: system, scope: availability, target: linux" 

            zabbix.support Zabbix Support Team
            BGmot Evgeny Yurchenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: