daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. icinga2 object list --type="CheckCommand" --name="check_common_ups"
  2. Object 'check_common_ups' of type 'CheckCommand':
  3.   % declared in '/usr/share/icinga2/include/plugins-contrib.d/common_ups.conf', lines 9:1-9:38
  4.   * __name = "check_common_ups"
  5.   * arguments
  6.     % = modified in '/usr/share/icinga2/include/plugins-contrib.d/common_ups.conf', lines 14:5-120:5
  7.     * -B
  8.       * description = "Set this to not check battery replace status"
  9.       * required = false
  10.       * set_if = "$ups_noreplaceck$"
  11.     * -C
  12.       * description = "SNMP community string. Default: public"
  13.       * required = false
  14.       * value = "$ups_community$"
  15.     * -H
  16.       * description = "Address of the UPS"
  17.       * required = true
  18.       * value = "$ups_address$"
  19.     * -I
  20.       * description = "Integer value of desired high input voltage WARNING threshold. Default: 133"
  21.       * required = false
  22.       * value = "$ups_inhigh$"
  23.     * -L
  24.       * description = "Integer value of desired load CRITICAL threshold. Default: 80"
  25.       * required = false
  26.       * value = "$ups_critload$"
  27.     * -R
  28.       * description = "Integer value of desired run time CRITICAL threshold. Default: 8 Minimum: 1"
  29.       * required = false
  30.       * value = "$ups_critrun$"
  31.     * -T
  32.       * description = "Integer value of desired temperature CRITICAL threshold. Default: 122f/50c"
  33.       * required = false
  34.       * value = "$ups_crittemp$"
  35.     * -W
  36.       * description = "Integer value number of days since last diagnostic for CRITICAL. Default: 20"
  37.       * required = false
  38.       * value = "$ups_diagcrit$"
  39.     * -X
  40.       * description = "Disables calibration check and calibration data"
  41.       * set_if = "$ups_nocalibck$"
  42.     * -Y
  43.       * description = "Integer value number of days since last calibration for CRITICAL. Default: 400"
  44.       * required = false
  45.       * value = "$ups_calibcrit$"
  46.     * -Z
  47.       * description = "Disables calibration data"
  48.       * set_if = "$ups_nocalibdata$"
  49.     * -b
  50.       * description = "Set this if you wish any on battery status to be shown as critical instead of warning"
  51.       * required = false
  52.       * set_if = "$ups_onbattiscrit$"
  53.     * -d
  54.       * description = "Selects celsius or fahrenheit. One of: C,c,F,f. Default: f"
  55.       * required = false
  56.       * value = "$ups_degrees$"
  57.     * -i
  58.       * description = "Integer value of desired low input voltage WARNING threshold. Default: 106"
  59.       * required = false
  60.       * value = "$ups_inlow$"
  61.     * -l
  62.       * description = "Integer value of desired load WARNING threshold. Default: 70"
  63.       * required = false
  64.       * value = "$ups_warnload$"
  65.     * -r
  66.       * description = "Integer value of desired run time WARNING threshold. Default: 10 Minimum: 2"
  67.       * required = false
  68.       * value = "$ups_warnrun$"
  69.     * -t
  70.       * description = "Integer value of desired temperature WARNING threshold. Default: 113f/45c"
  71.       * required = false
  72.       * value = "$ups_warntemp$"
  73.     * -v
  74.       * description = "Set this if you wish CRITICAL instead of default WARNING for input voltage low or high results."
  75.       * set_if = "$ups_voltcrit$"
  76.     * -w
  77.       * description = "Integer value number of days since last diagnostic for WARNING. Default: 15"
  78.       * required = false
  79.       * value = "$ups_diagwarn$"
  80.     * -x
  81.       * description = "Disables diagnostic check and diagnostic data"
  82.       * set_if = "$ups_nodiagck$"
  83.     * -y
  84.       * description = "Integer value number of days since last calibration for WARNING. Default: 365"
  85.       * required = false
  86.       * value = "$ups_calibwarn$"
  87.     * -z
  88.       * description = "Disables diagnostic data"
  89.       * set_if = "$ups_nodiagdata$"
  90.   * command = [ "/usr/lib/nagios/plugins/check_common_ups" ]
  91.     % = modified in '/usr/share/icinga2/include/plugins-contrib.d/common_ups.conf', lines 12:5-12:56
  92.   * env = null
  93.   * execute
  94.     % = modified in 'methods-itl.conf', lines 38:3-38:33
  95.     % = modified in 'methods-itl.conf', lines 38:3-38:33
  96.     * arguments = [ "checkable", "cr", "resolvedMacros", "useResolvedMacros" ]
  97.     * deprecated = false
  98.     * name = "Internal#PluginCheck"
  99.     * side_effect_free = false
  100.     * type = "Function"
  101.   * name = "check_common_ups"
  102.   * package = "_etc"
  103.   * source_location
  104.     * first_column = 1
  105.     * first_line = 9
  106.     * last_column = 38
  107.     * last_line = 9
  108.     * path = "/usr/share/icinga2/include/plugins-contrib.d/common_ups.conf"
  109.   * templates = [ "check_common_ups", "plugin-check-command", "plugin-check-command" ]
  110.     % = modified in '/usr/share/icinga2/include/plugins-contrib.d/common_ups.conf', lines 9:1-9:38
  111.     % = modified in 'methods-itl.conf', lines 37:2-37:69
  112.     % = modified in 'methods-itl.conf', lines 37:2-37:69
  113.   * timeout = 60
  114.   * type = "CheckCommand"
  115.   * vars = null
  116.   * zone = ""
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top