skip to main content
The GUI : Filters
   
Filters
Filters can be used to filter out content in op5 Monitor. They can be based on names, states, comments or other information.
Filters can be applied on listviews. All listview content is based on filters, so for example when viewing a host and its services the view is based on a filter that can be manipulated.
Edit filter
To edit a filter, click on the filter icon in the listview
You can either edit the filter manually or graphically. When editing a filter graphically the manual string is automatically shown. We will focus on the graphical design of filters.
Categories
There are nine categories to choose from that will affect the layout of the listview.
Host
Service
Host Group
Service Group
Comments
Downtimes
Contacts
Notifications
Saved Filters
Filter Groups
A filter group is a logical “AND” or “OR” operator. There is also a negate group.
In each filter group there can be several rules and sub-groups.
Rule
A rule contains an actual search field. Different types of categories have different types of rules. A rule can, for example, be host.name or service.group.
Examples
Example 1
Here we will list all services that are notifying to contact-group “support-group” and is a member of the hostgroup “network”.
Manual Input: [services] contact_groups >= "support-group" and groups >= "network"
Example 2
In this example we will list all services that uses the check command “check_tcp”
Manual Input: [services] check_command ~~ "check_tcp"
Example 3
Here we would like to list all services that contains the description “www” and is not located on the vmware host “vmware1-sth”. (For this to work parent/child relationships must have been set)
Manual input: [services] description ~~ "www" and not (host.parents >= "vmware1-sth")
Note: Note that we use the negate (not) option on the host.parents rule.
Save filters
To save a filter, you need to enter a name and click on save filter in the filter dialog.
To make the filter global, accessible for everyone, select Make global before you save the filter.
Save filters are accessible from the filter menu.
Remove filters
Remove a saved filter by selecting Manage and view filters from the filters menu.
Use the delete icon behind the filter that you would like to remove.