Re: [Nagios-db-devel] templates still incomplete?
Status: Beta
Brought to you by:
bench23
From: Matthew K. <mk...@ma...> - 2005-02-17 22:45:29
|
Very incomplete! I've been doing a lot of work on getting the interface right and expect to send up a big whack of changes soon. http://magoazul.com/tmp/nagdb1.jpg http://magoazul.com/tmp/nagdb2.jpg Gimp blurred the crap out of them, but you get the idea. What I've done is add another grouping level above hostgroups, one purely for organizing the display, keeping the size of the generated html down and generating reports/overviews for a group of hostgroups. The end result hopefully being something like a typical file manager display whereas you click on a hostgroup/group of hostgroups in the left nav and are presented with a list of hosts or hostgroups on the right side of the screen. From there you could either zoom in for a closer look at a particular server/group, or click one of the other links to 'generate availability report', 'tac overview for these hostgroups' etc. I'm sure it'll take some tweaking to come up with something decent. So after I get a bit more done on the navigation I'll look at incorporating some of the work you've done into the interface to make it actually do something :) After that it might be worth putting together a small website in the sourceforge space with some screen shots to see if we can drum up some support from php developers interested in making this a more polished project (not to mention correcting any brutal errors I've made in writing php). - Matt On Thu, 2005-17-02 at 13:12 -0800, Ben wrote: > [client 10.146.3.60] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/ui/templates/default.tpl on line 82 > [client 10.146.3.60] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/ui/templates/default.tpl on line 105 > [client 10.146.3.60] PHP Notice: Undefined variable: h_pending in /var/www/html/ui/templates/default.tpl on line 152 > [client 10.146.3.60] PHP Notice: Undefined variable: s_pending in /var/www/html/ui/templates/default.tpl on line 182 > [client 10.146.3.60] PHP Notice: Undefined variable: timestamp in /var/www/html/ui/templates/default.tpl on line 187 > > > Line 82 of default.tpl tries to loop through $navbar_hosts, so.... > > > [root@redhat ui]# grep navbar_hosts * > [root@redhat ui]# grep navbar_hosts */* > templates/default.tpl: foreach ($navbar_hosts as $out) { > [root@redhat ui]# > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel |