Editing the nagios Side bar

Ron Wilson ron at tvnz.co.nz
Thu Feb 18 00:14:51 CET 2010


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=overvi
ew" 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?

________________________________

--

Ron Wilson

Systems Engineer

Television New Zealand

P.O. Box 3819

Auckland, New Zealand

Phone 649-916-7560

'Tis an ill wind that blows no minds.

________________________________

==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100218/b327e3db/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list