Host Group Hierarchy In Web CGI?

Esteban Monge esteban at nuevaeralatam.com
Sat Nov 3 05:35:26 CET 2012


> Hi List,
>
>
>
> I have searched to no avail. With Nagios Core, I understand how nagios
> object inheritance works, for this topic, host groups. But, is there a
> way to display in the web cgi, groups within groups? Like file system
> folder structure? For a simple example,
>
>
>
> City Group => Device1 Group => Hosts
>
> City Group => Device2 Group => Hosts
>
>
>
> So when displaying in the web cgi, you only see "City Group". You can
> then click on "City Group" and see "Device1 Group" and "Device2 Group".
>
>
>
> For a more slightly more complex example,
>
>
>
> City Group => CPE Group => Device1 Group => Hosts
>
> City Group => CPE Group => Device2 Group => Hosts
>
> City Group => Core Group => Hosts
>
>
>
> In this example, on the host group overview web cgi page, you only see
> "City Group". When clicking on "City Group" then you see "CPE Group" and
> "Core Group". If you click on "Core Group" you see core devices, but if
> you would have clicked on "CPE group", you see "Device1 Group" and
> "Device2 Group".
>
>
>
> I think this gives the idea of the question.
>
>
>
> Without this file/folder type structure I would have to create groups as
> below and they would all show up on the web cgi.
>
>
>
> City CPE Device1 Group => Hosts
>
> City CPE Device2 Group => Hosts
>
> City Core Group => Hosts
>
>
>
> Is this the only way? I'll do it this way if there's no other way with
> Nagios Core. I am not interested in using XI, or any paid frontends at
> this time. Thanks in advance.
>
>
>
> Best Regards,
>
> -Will
>

Do you want make a map with parents?

In my case I created a forever pending host for parents and a group with
the same name:
City Host parent of Device1 Group parent of Hosts
          parent of Device2 Group parent of Hosts

And make groups with the same name. The first is for draw a better map,
and the second is for Nagios logic

I dont know any way to make that.

Sorry for my bad english.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
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