Author Topic: Tools > Find Object > query  (Read 453 times)

Hospital

  • Newbie
  • *
  • Posts: 11
    • View Profile
Tools > Find Object > query
« on: December 06, 2019, 02:24:55 pm »
Hi all,

What kind of language / syntax required for querying objects, from Management Console? By clicking Tools > Find object > query

Tatjana Dubrovica

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: Tools > Find Object > query
« Reply #1 on: December 06, 2019, 04:03:06 pm »
It’s similar to object query dashboard element: NXSL script is executed for every node in the system and if script return true - iti will be included in the list.

Some examples:
1:
 haveAlarms = { return $node->alarms->size > 0; }
type == NODE and haveAlarms

2:
type == NODE and name match "^EPE.*"

3:
true

Last will return all objects