Small enhancement to Hobbit JavaScript menu

Frédéric Mangeant frederic.mangeant at steria.com
Fri Nov 18 16:06:58 CET 2005


Hi Henrik

I didn't find bb-datepage.sh the first time I set up Hobbit, maybe this 
small modification to ~/server/www/menu/menu_items.js would be helpful :


--- menu_items.js.orig  2005-11-18 15:46:58.000000000 +0100
+++ menu_items.js       2005-11-18 15:53:50.000000000 +0100
@@ -6,7 +6,12 @@
        ],
        ['Reports', null, null,
                ['Event log Report', '/hobbit-cgi/bb-eventlog.sh'],
-               ['Availability Report', '/hobbit-cgi/bb-rep.sh'],
+               ['Availability Reports', null, null,
+                       ['Daily Report', 
'/hobbit-cgi/bb-datepage.sh?type=day'],
+                       ['Weekly Report', 
'/hobbit-cgi/bb-datepage.sh?type=week'],
+                       ['Monthly Report', 
'/hobbit-cgi/bb-datepage.sh?type=month'],
+                       ['Custom Report', '/hobbit-cgi/bb-rep.sh'],
+               ],
                ['Snapshot Report', '/hobbit-cgi/bb-snapshot.sh'],
                ['Config Report', '/hobbit-cgi/hobbit-confreport.sh'],
        ],


Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis






More information about the Xymon mailing list