hostinnetgroup

Table of Contents

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:

    classes:

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