On Feb 17, 2010, at 5:14 PM, Ron Wilson wrote: > I have 6 groups set up holding servers being patched on each day. I would > like an entry in the Nagios sidebar that says patching which would then give > a web page view of the six patching groups on one page. This makes it easier > for admins to disable notifications for a large number of servers with one > click. > Because we have so many groups it would be easier to have the Patching days > on one page. > However while I can create a url for one days Patching in the new page I > cannot get all six. > This is my php code > <li><a href="<?php echo > $cfg["cgi_base_url"];?>/status.cgi?hostgroup=Patch_Day1&style=overview" > target="<?php echo $link_target;?>">Patch Day1</a></li> > > This works fine but how can I get the other 5 Patch Groups in that line. I > need something like Patch_Day* but such a command does not work with php. > Anyone got some ideas?
It's not a PHP thing... Nagios does not have functionality to limit (or expand, depending on how you look at it), the display of multiple hostgroups that are a subset of all hostgroups. The only exception to this is limitation through authentication, which wouldn't appear to fit your goals. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
