Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (22 loc) · 794 Bytes

servicegroups.md

File metadata and controls

39 lines (22 loc) · 794 Bytes

Icinga2 - Servicegroups

add a servicegroup

add_servicegroup( params )

Example

@icinga.add_servicegroup(service_group: 'foo', display_name: 'FOO')

delete a servicegroup

delete_servicegroup( params )

Example

@icinga.delete_servicegroup(service_group: 'foo')

list servicegroups

list a named servicegroup

servicegroups( params )

Example

@icinga.servicegroups(service_group: 'disk')

list all servicegroups

servicegroups

Example

@icinga.servicegroups

checks if the servicegroup exists

exists_servicegroup?( service_group )

Example

@icinga.exists_servicegroup?('disk')