Class Icinga2CheckResult

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.model.Icinga2CheckResult

public class Icinga2CheckResult
extends Object
A result to report to Icinga.
  • Constructor Details

    • Icinga2CheckResult

      public Icinga2CheckResult​(int exitStatus, String pluginOutput, String performanceData, Integer ttl, String host, String service)
      Create a new result to report.
      Parameters:
      exitStatus - The status to report.
      pluginOutput - An output string to add to the report.
      performanceData - Any performance data to report as a string.
      ttl - The time at which the next report is expected in seconds.
      host - The host to report on.
      service - The service to report on.