Nagios:Publishing different hostgroups
Marc Powell
marc at ena.com
Wed Dec 17 21:32:23 CET 2008
On Dec 17, 2008, at 1:54 PM, gubbu gubbu wrote:
> I have 3 appservers,2webservers,1 database server in QE and similar
> in PROD . They have a hostgroup like qe-app,qe-web,qe-db,prod-
> app,prod-web,prod-db
>
> I now go to http://<hostname>/nagios and I click on Service Detail
> or other links and I see all the QE and PROD machines together ?
>
> Can I seperate them so it can be viewed seperately like maybe
>
> http://,hostname/nagios/QE or PROD or even service detail like
>
> http://hostname/nagios/cgi-bin/status.cgi?
> hostgroup=QE&style=hostdetail
Yes, this is the link exactly, assuming that you really do have a
hostgroup named 'QE' defined with the members you want shown. Based on
what you've said above, you don't but do have 'qe-app', 'qe-web' and
others instead. Hosts can be members of multiple hostgroups so you can
easily create the QE hostgroup and add those servers as members.
> Also is there anyways to display this page without authentication ?
Yes, disable authentication. Undo the changes you did to enable it
(i.e. remove the htaccess stuff and change the setting in cgi.cfg).
Everyone will be able to see every host/service.
http://nagios.sourceforge.net/docs/3_0/cgiauth.html
--
Marc
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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