Categorygithub.com/NETWAYS/go-icingadsl
modulepackage
0.1.2
Repository: https://github.com/netways/go-icingadsl.git
Documentation: pkg.go.dev

# README

go-icingadsl

go-icingadsl is a Golang implementation of the Icinga2 DSL.

The intent for this package is to bundle functionality regarding the Icinga2 DSL.

At the moment this only provides the ability to generate CheckCommand objects. Nonetheless this is quite useful to autogenerate icinga2 configuration for monitoring plugins.

License

Copyright (c) 2023 NETWAYS GmbH

This library is distributed under the GPL-2.0 or newer license found in the LICENSE file.

# Functions

* Transforms a notification type into a string */.
* Parse a notification type string (typically received when Icinga 2 is executing a notification plugin) * into a fitting enum to simplify the following logic.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

https://icinga.com/docs/icinga-2/latest/doc/09-object-types/#checkcommand.
https://icinga.com/docs/icinga-2/latest/doc/09-object-types/#checkcommand-arguments.
https://icinga.com/docs/icinga-2/latest/doc/17-language-reference/#duration-literals.
No description provided by the author

# Interfaces

https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#object-type.

# Type aliases

https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#object-type.
https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#boolean-type.
https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#dictionary-type.
No description provided by the author
No description provided by the author
https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#number-type Only Integers for now.
No description provided by the author
No description provided by the author
https://icinga.com/docs/icinga-2/latest/doc/18-library-reference/#string-type.