Creating a view with a NOT or AND condicion

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Creating a view with a NOT or AND condicion

Post by vmesquita »

How can I create a view that shows two groups of hosts, or hosts that do not belong to a given group. For instance, for one host, I could use:

http://nagios.selic.bc/nagiosxi/include ... stgroup=[b][name_of_host][/b]

But I can't do something line:

http://nagios.selic.bc/nagiosxi/include ... stgroup=[b]Group1 and Group2[/b]

http://nagios.selic.bc/nagiosxi/include ... hostgroup= NOT Group1

How would I do that?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Creating a view with a NOT or AND condicion

Post by slansing »

This sounds like a job for Dashboads as you can either build or incorporate your own dashlets to show what you require, views are actual pages from within the XI interface. You could use hostgroup dashlets to display the groups you have created. As far as showing hosts who are not in a group, I don't believe this is currently possible unless you create a custom dashlet. You could however, show a dashlet of the Host Detail page.
Locked