Coder Social home page Coder Social logo

Comments (2)

lazzurs avatar lazzurs commented on July 24, 2024 1

With the current Terraform datatypes this would be possible but requires some work on the lib as well as this provider.

Will look to impliment this shortly.

from terraform-provider-icinga2.

claudekenni avatar claudekenni commented on July 24, 2024

For Services something like this in Terraform:

resource "icinga2_service" "my-service" {
  name          = "dfdsafdsafds"
  hostname      = "${icinga2_host.host.hostname}"
  check_command = "nrpe"

  vars {
    nrpe_port = "6666"
    nrpe_timeout = 35
    dummy_state = 1
    dummy_text = "UNKNOWN SERVICE STATUS"
    nrpe_command = "check_disk_auto"
    nrpe_arguments = [ "90%", "95%", "/" ]
  }

}

from terraform-provider-icinga2.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.