Racktables custom report

By | 18 February 2012

Zwei Custom Reports für Racktables um physikalische und virtuelle Server aufzulisten.

Download hier: Racktables Extension (182.92 kB)

Neue Version verfügbar !! Bitte hier klicken.

Verschiebe den Ordner “extensions” in das “wwwroot” Verzeichnis von racktables und ändere oder erstelle die Datei “local.php” im Verzeichnis “inc” mit folgendem Inhalt:

# Load server report
require_once "extensions/reports/server-report.php";

# Load virtual machine report
require_once "extensions/reports/vm-report.php";

Nun in die Racktables Webseite einloggen und “Reports” aufrufen.

Man findet nun zwei neue Reiter “Server” und “Virtual machines” im Menü.

Screenshots:

Bemerkung: Man kann mehrere Spalten gleichzeitig sortieren durch das gedrückthalten von Shift wärend man auf weitere Spalten in der Kopfzeile klickt!

11 thoughts on “Racktables custom report

  1. Ankush Grover

    Hi,

    I tried your code but I am getting “require_once ‘/var/www/racktables/extensions/reports/server-report.php’; require_once ‘/var/www/racktables/extensions/reports/vm-report.php’ ” on all the pages of racktables

    local.php file

    require_once ‘extensions/reports/server-report.php’;

    require_once ‘extensions/reports/vm-report.php’;

    PHP Version: PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012 02:17:16)

    Regards

    Ankush

    Reply
    1. sebastian Post author

      Hi,

      check your file permissions. Suhosin-Patch needs correct file permissions. (Use the same as the rest of racktables uses.)
      And check if the path “/var/www/racktables/extensions/reports/” is correct.

      Greets

      Sebastian

      Reply
  2. Ankush Grover

    It is now working fine. There was some typo mistake.

    Regards

    Ankush

    Reply
  3. Alaa Taha

    Dear sir ,
    it’s nice work ,but after i follow the above steps i can see the (server & virtual machine )tabs ,but i have a problem that i cannot see any thing in MAC address tab and HW expire date ,so please advice

    Reply
    1. sebastian Post author

      Hello,

      can you tell me the version number of your racktables installation ?

      Greetings

      Sebastian

      Reply
  4. Pingback: Racktables Extension v0.2 | Sebastian Mogilowskis Blog

  5. Ankush Grover

    Hi,

    Does this works with 0.20 version of racktables?

    Regards

    Ankush

    Reply
  6. denisha evans

    Good post. I absolutely love this website.
    Continue the good work!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

eMail-Benachrichtigung bei weiteren Kommentaren.
Auch möglich: Abo ohne Kommentar.