• Zur Hauptnavigation springen
  • Skip to main content
  • Zur Fußzeile springen

Sebastian Mogilowski's Blog

Just another blog about administration, linux and other stuff

  • Home
  • Contact
  • Imprint
  • Projects & HOWTOs
  • Publications

Racktables custom report

18. Februar 2012 by sebastian 11 Kommentare

Two custom reports for Racktables to list physical servers and virtual machines.Zwei Custom Reports für Racktables um physikalische und virtuelle Server aufzulisten.

Just download it here:Download hier: [download#15#size#nohits]

New version available !! Klick here.Neue Version verfügbar !! Bitte hier klicken.

Move folder „extensions“ into the racktables „wwwroot“ folder and create or modify „local.php“ in the „inc“ folder with the following content: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";

Login into racktables and go to „Reports“.Nun in die Racktables Webseite einloggen und „Reports“ aufrufen.

Now you find „Server“ and „Virtual machines“ in the report menu.Man findet nun zwei neue Reiter „Server“ und „Virtual machines“ im Menü.

Screenshots:

Note: Sort multiple columns simultaneously by holding down the shift key and clicking a second, third or even fourth column header!Bemerkung: Man kann mehrere Spalten gleichzeitig sortieren durch das gedrückthalten von Shift wärend man auf weitere Spalten in der Kopfzeile klickt!

Kategorie: Systemadministration

Leser-Interaktionen

Kommentare

  1. Ankush Grover meint

    19. März 2012 um 11:37

    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

    Antworten
    • sebastian meint

      19. März 2012 um 11:44

      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

      Antworten
  2. Ankush Grover meint

    19. März 2012 um 12:01

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

    Regards

    Ankush

    Antworten
  3. Rick meint

    30. März 2012 um 14:33

    Nice work

    Antworten
  4. Erik meint

    5. April 2012 um 18:08

    Very nice work, thanks much!

    Antworten
  5. Alaa Taha meint

    26. August 2012 um 15:57

    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

    Antworten
    • sebastian meint

      27. August 2012 um 05:57

      Hello,

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

      Greetings

      Sebastian

      Antworten
  6. Ankush Grover meint

    21. September 2012 um 07:00

    Hi,

    Does this works with 0.20 version of racktables?

    Regards

    Ankush

    Antworten
    • sebastian meint

      21. September 2012 um 07:05

      Use the new version:
      http://www.mogilowski.net/2012/07/16/racktables-extension-v0-2

      Greetings

      Sebastian

      Antworten
  7. denisha evans meint

    14. November 2012 um 16:45

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

    Antworten

Trackbacks

  1. Racktables Extension v0.2 | Sebastian Mogilowskis Blog sagt:
    19. September 2012 um 14:47 Uhr

    […] Hier findet man den Artikel über Version 0.1. […]

    Antworten

Schreibe einen Kommentar Antwort abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

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

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden.

Footer

Kategorien

  • Allgemein
  • Coldfusion
  • Development
  • Fun
  • General
  • Home automation
  • Homematic
  • Linux
  • Mobile
  • PHP
  • Privat
  • Systemadministration
  • Virtualization
  • Windows
  • Zaurus

© 2026 · Sebastian Mogilowski's Blog · Powered by Imagely