Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-800

Allow syslog and eventlog to be set side-by-side on frontpage

Details

    Description

      This patch allows the admin to configure the eventlog and the syslog on the frontpage to be displayed side-by-side. This is useful when you have a wide monitor and/or you also have many devices alerting at once (and want to continue to be able to see some logs without scrolling as on a standalone dashboard).

      Enable this option by setting

      $config['splitlog'] = TRUE;
      

      in config.php.
      If you do not have both syslog and eventlog turned on they will continue to display full width.

      I have attached both the patch and a screenshot of the resulting display.

      Attachments

        Activity

          [OBS-800] Allow syslog and eventlog to be set side-by-side on frontpage
          landy Mike Stupalov made changes -
          Workflow Original: classic default workflow [ 11593 ] New: Observium workflow [ 14097 ]
          adama Adam Armstrong made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Committed in 5478.

          Thanks!

          adama Adam Armstrong added a comment - Committed in 5478. Thanks!
          slm4996 Solomon Seal made changes -

          Here is an alternative version 3 of the patch, this one also uses only the new function in html/pages/front/default.php but instead of hijacking syslog and eventlog it is it's own log type.
          Take a look at both, I think I like this option, much cleaner implementation and better fits the coding styles of observium.

          slm4996 Solomon Seal added a comment - Here is an alternative version 3 of the patch, this one also uses only the new function in html/pages/front/default.php but instead of hijacking syslog and eventlog it is it's own log type. Take a look at both, I think I like this option, much cleaner implementation and better fits the coding styles of observium.
          slm4996 Solomon Seal made changes -
          Attachment New: Screenshot 2014-04-17 07.56.06.png [ 11715 ]

          New screenshot attached.

          slm4996 Solomon Seal added a comment - New screenshot attached.

          FYI, This was, once again, a clean patch based on r5340 and not an incremental patch.

          slm4996 Solomon Seal added a comment - FYI, This was, once again, a clean patch based on r5340 and not an incremental patch.
          slm4996 Solomon Seal made changes -
          Attachment New: split_view_for_logs_on_frontpage.V3.patch [ 11714 ]

          Here it is, patch version 3. This one uses your "short" logging format and only alters the html/pages/front/default.php and includes/default.inc.php files.

          I opted for a very different approach, but I think short of fully implementing a third log type this is the best option.

          slm4996 Solomon Seal added a comment - Here it is, patch version 3. This one uses your "short" logging format and only alters the html/pages/front/default.php and includes/default.inc.php files. I opted for a very different approach, but I think short of fully implementing a third log type this is the best option.

          People

            landy Mike Stupalov
            slm4996 Solomon Seal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: