Styling Nagios output for a large display

Theres not really any built in features for styling Nagios, so i devised a simple workaround that utilizes html, css and jquery to do the trick.

We need to run this on the same domain as Nagios itself or disable cors for this to work.

  <title>Nagios Services Monitor</title>
   body {
    padding: 0;
    margin: 0;
   #nagios {
    height: 100%;
    width: 100%;
    overflow: hidden;
    zoom: 175%;
  <div id=nagios></div>
     function(data) {    
      data = data.replace("Updated every 90 seconds",
                          "Updated every second");
      data = data.replaceAll(/<script[\s\S]+<\/script>/g,
                            "<!-- scripts removed -->");

Tested in Chromium.

Dette indlæg blev udgivet i Nagios. Bogmærk permalinket.