How to Create a List View and Notification Filter for data items 'Assigned to me'
Note
For this to work, the Gateway and the Active Console need to be on GA5.X or later.
Solution Copied
It is possible to configure both a List View and a Notifier filter that show you when data items are assigned to you. To do this, you need to use the following XPath (if you are interested in table cells being assigned).
/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell[(state("userAssigned")="1")][(rparam("AssignedUser")=me(0))]
This XPath can be added to a List View or a Notification filter. Examples of both are shown below:
- List View - assignedtome_listview.ltv
- Notifier filter - assignedtome_notifierfilter.nfp
To use these examples, save the files and click File > Import in the Active Console.
For the Notifier, you will need to make sure Notifications are enabled.
This works by comparing the username that you (or the Active Console, more specifically) used to log in to the Gateway with the name of the user assignment. An example is shown below.
Other XPaths Copied
- If the username in the Gateway’s Authentication section does not have a domain, use the following:
/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell[(state("userAssigned")="1")][(rparam("AssignedUser")=me(1))]
- If the Gateway’s Case Insensitive Usernames setting is enabled, use the following:
/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell[(state("userAssigned")="1")][wild-no-case(rparam("AssignedUser"),me(0))]
- If the Gateway’s Case Insensitive Usernames setting is enabled and the username does not have a domain, use the following:
/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell[(state("userAssigned")="1")][wild-no-case(rparam("AssignedUser"),me(1))]
Whether an assigned item will appear in the List View or Notifier is based on your login to the Gateway. You can find the username by building the following path in the Path Editor (Tools > Path Editor), as seen in the screenshot below:
This should also highlight whether the domain for the username is included or not, domain/username versus just a username. If the domain is included, you should try the following path instead.
/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell[(state("userAssigned")="1")][(rparam("AssignedUser")=me(1))]