Prototype: hostinnetgroup(netgroup)

Return type: boolean

Description: True if the current host is in the named netgroup.

Arguments:

  • netgroup: string - Netgroup name - in the range: .*

Example:

code
classes:

  "ingroup" expression => hostinnetgroup("my_net_group");