| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>settings_action</class> |
| 4 |
<widget class="QDialog" name="settings_action"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>752</width> |
| 10 |
<height>1017</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="sizePolicy"> |
| 14 |
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
| 15 |
<horstretch>0</horstretch> |
| 16 |
<verstretch>0</verstretch> |
| 17 |
</sizepolicy> |
| 18 |
</property> |
| 19 |
<property name="windowTitle"> |
| 20 |
<string>Dialog</string> |
| 21 |
</property> |
| 22 |
<property name="modal"> |
| 23 |
<bool>true</bool> |
| 24 |
</property> |
| 25 |
<layout class="QGridLayout" name="gridLayout"> |
| 26 |
<item row="22" column="5"> |
| 27 |
<widget class="QCheckBox" name="input_checkbox_re_host_reverse"> |
| 28 |
<property name="text"> |
| 29 |
<string>reverse</string> |
| 30 |
</property> |
| 31 |
</widget> |
| 32 |
</item> |
| 33 |
<item row="28" column="0" colspan="5"> |
| 34 |
<widget class="QLineEdit" name="input_lineedit_re_attempt_pattern"/> |
| 35 |
</item> |
| 36 |
<item row="24" column="0" colspan="5"> |
| 37 |
<widget class="QLineEdit" name="input_lineedit_re_service_pattern"/> |
| 38 |
</item> |
| 39 |
<item row="37" column="0" colspan="6"> |
| 40 |
<widget class="QRadioButton" name="input_radiobutton_close_popwin"> |
| 41 |
<property name="text"> |
| 42 |
<string>Close status popup window after action</string> |
| 43 |
</property> |
| 44 |
</widget> |
| 45 |
</item> |
| 46 |
<item row="25" column="0" colspan="6"> |
| 47 |
<widget class="QCheckBox" name="input_checkbox_re_status_information_enabled"> |
| 48 |
<property name="text"> |
| 49 |
<string>Regular expressions for status informations</string> |
| 50 |
</property> |
| 51 |
</widget> |
| 52 |
</item> |
| 53 |
<item row="26" column="0" colspan="5"> |
| 54 |
<widget class="QLineEdit" name="input_lineedit_re_status_information_pattern"/> |
| 55 |
</item> |
| 56 |
<item row="38" column="0" colspan="6"> |
| 57 |
<widget class="QRadioButton" name="input_radiobutton_leave_popwin_open"> |
| 58 |
<property name="text"> |
| 59 |
<string>Leave status popup window open after action</string> |
| 60 |
</property> |
| 61 |
</widget> |
| 62 |
</item> |
| 63 |
<item row="6" column="1" colspan="5"> |
| 64 |
<widget class="QTextEdit" name="input_textedit_string"> |
| 65 |
<property name="sizePolicy"> |
| 66 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
| 67 |
<horstretch>0</horstretch> |
| 68 |
<verstretch>0</verstretch> |
| 69 |
</sizepolicy> |
| 70 |
</property> |
| 71 |
<property name="toolTip"> |
| 72 |
<string>Available variables for action strings: |
| 73 |
|
| 74 |
$HOST$ - host as in monitor |
| 75 |
$SERVICE$ - service as in monitor |
| 76 |
$MONITOR$ - monitor address |
| 77 |
$MONITOR-CGI$ - monitor CGI address |
| 78 |
$ADDRESS$ - address of host, delivered from connection method |
| 79 |
$USERNAME$ - username on monitor |
| 80 |
$STATUS-INFO$ - status information for host or service |
| 81 |
$PASSWORD$ - username's password on monitor |
| 82 |
$COMMENT-ACK$ - default acknowledge comment |
| 83 |
$COMMENT-DOWN$ - default downtime comment |
| 84 |
$COMMENT-SUBMIT$ - default submit check result comment |
| 85 |
|
| 86 |
$TRANSID$ - only useful for Checkmk as _transid=$TRANSID$</string> |
| 87 |
</property> |
| 88 |
</widget> |
| 89 |
</item> |
| 90 |
<item row="29" column="0" colspan="6"> |
| 91 |
<widget class="QCheckBox" name="input_checkbox_re_duration_enabled"> |
| 92 |
<property name="text"> |
| 93 |
<string>Regular expressions for duration</string> |
| 94 |
</property> |
| 95 |
</widget> |
| 96 |
</item> |
| 97 |
<item row="6" column="0"> |
| 98 |
<widget class="QLabel" name="label_string"> |
| 99 |
<property name="sizePolicy"> |
| 100 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 101 |
<horstretch>0</horstretch> |
| 102 |
<verstretch>0</verstretch> |
| 103 |
</sizepolicy> |
| 104 |
</property> |
| 105 |
<property name="text"> |
| 106 |
<string>String:</string> |
| 107 |
</property> |
| 108 |
<property name="alignment"> |
| 109 |
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop</set> |
| 110 |
</property> |
| 111 |
</widget> |
| 112 |
</item> |
| 113 |
<item row="40" column="0" colspan="6"> |
| 114 |
<widget class="QDialogButtonBox" name="button_box"> |
| 115 |
<property name="orientation"> |
| 116 |
<enum>Qt::Orientation::Horizontal</enum> |
| 117 |
</property> |
| 118 |
<property name="standardButtons"> |
| 119 |
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set> |
| 120 |
</property> |
| 121 |
</widget> |
| 122 |
</item> |
| 123 |
<item row="1" column="0"> |
| 124 |
<widget class="QLabel" name="label_action_type"> |
| 125 |
<property name="sizePolicy"> |
| 126 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 127 |
<horstretch>0</horstretch> |
| 128 |
<verstretch>0</verstretch> |
| 129 |
</sizepolicy> |
| 130 |
</property> |
| 131 |
<property name="text"> |
| 132 |
<string>Action type:</string> |
| 133 |
</property> |
| 134 |
</widget> |
| 135 |
</item> |
| 136 |
<item row="3" column="0"> |
| 137 |
<widget class="QLabel" name="label_monitor_type"> |
| 138 |
<property name="sizePolicy"> |
| 139 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 140 |
<horstretch>0</horstretch> |
| 141 |
<verstretch>0</verstretch> |
| 142 |
</sizepolicy> |
| 143 |
</property> |
| 144 |
<property name="text"> |
| 145 |
<string>Monitor type:</string> |
| 146 |
</property> |
| 147 |
</widget> |
| 148 |
</item> |
| 149 |
<item row="13" column="1"> |
| 150 |
<widget class="QCheckBox" name="input_checkbox_filter_target_host"> |
| 151 |
<property name="text"> |
| 152 |
<string>Host</string> |
| 153 |
</property> |
| 154 |
</widget> |
| 155 |
</item> |
| 156 |
<item row="21" column="0" colspan="6"> |
| 157 |
<widget class="QCheckBox" name="input_checkbox_re_host_enabled"> |
| 158 |
<property name="text"> |
| 159 |
<string>Regular expressions for hosts</string> |
| 160 |
</property> |
| 161 |
</widget> |
| 162 |
</item> |
| 163 |
<item row="22" column="0" colspan="5"> |
| 164 |
<widget class="QLineEdit" name="input_lineedit_re_host_pattern"/> |
| 165 |
</item> |
| 166 |
<item row="34" column="0"> |
| 167 |
<widget class="QLabel" name="label_status_popup"> |
| 168 |
<property name="text"> |
| 169 |
<string>Status popup window:</string> |
| 170 |
</property> |
| 171 |
</widget> |
| 172 |
</item> |
| 173 |
<item row="1" column="1" colspan="2"> |
| 174 |
<widget class="QComboBox" name="input_combobox_type"> |
| 175 |
<property name="toolTip"> |
| 176 |
<string>Available action types: |
| 177 |
|
| 178 |
Browser: |
| 179 |
Use given string as URL, evaluate variables and open it in your default browser, for example a graph page in monitor. |
| 180 |
|
| 181 |
Command: |
| 182 |
Execute command as given in string and evaluate variables, for example to open SSH connection. |
| 183 |
|
| 184 |
URL: |
| 185 |
Request given URL string in the background, for example to acknowledge a service with one click. |
| 186 |
</string> |
| 187 |
</property> |
| 188 |
</widget> |
| 189 |
</item> |
| 190 |
<item row="3" column="1" colspan="2"> |
| 191 |
<widget class="QComboBox" name="input_combobox_monitor_type"/> |
| 192 |
</item> |
| 193 |
<item row="32" column="0" colspan="5"> |
| 194 |
<widget class="QLineEdit" name="input_lineedit_re_groups_pattern"/> |
| 195 |
</item> |
| 196 |
<item row="30" column="5"> |
| 197 |
<widget class="QCheckBox" name="input_checkbox_re_duration_reverse"> |
| 198 |
<property name="text"> |
| 199 |
<string>reverse</string> |
| 200 |
</property> |
| 201 |
</widget> |
| 202 |
</item> |
| 203 |
<item row="14" column="1"> |
| 204 |
<widget class="QCheckBox" name="input_checkbox_filter_target_service"> |
| 205 |
<property name="text"> |
| 206 |
<string>Service</string> |
| 207 |
</property> |
| 208 |
</widget> |
| 209 |
</item> |
| 210 |
<item row="24" column="5"> |
| 211 |
<widget class="QCheckBox" name="input_checkbox_re_service_reverse"> |
| 212 |
<property name="text"> |
| 213 |
<string>reverse</string> |
| 214 |
</property> |
| 215 |
</widget> |
| 216 |
</item> |
| 217 |
<item row="23" column="0" colspan="6"> |
| 218 |
<widget class="QCheckBox" name="input_checkbox_re_service_enabled"> |
| 219 |
<property name="text"> |
| 220 |
<string>Regular expressions for services</string> |
| 221 |
</property> |
| 222 |
</widget> |
| 223 |
</item> |
| 224 |
<item row="30" column="0" colspan="5"> |
| 225 |
<widget class="QLineEdit" name="input_lineedit_re_duration_pattern"/> |
| 226 |
</item> |
| 227 |
<item row="5" column="1" colspan="5"> |
| 228 |
<widget class="QLineEdit" name="input_lineedit_description"/> |
| 229 |
</item> |
| 230 |
<item row="4" column="1" colspan="5"> |
| 231 |
<widget class="QLineEdit" name="input_lineedit_name"/> |
| 232 |
</item> |
| 233 |
<item row="32" column="5"> |
| 234 |
<widget class="QCheckBox" name="input_checkbox_re_groups_reverse"> |
| 235 |
<property name="text"> |
| 236 |
<string>reverse</string> |
| 237 |
</property> |
| 238 |
</widget> |
| 239 |
</item> |
| 240 |
<item row="13" column="0"> |
| 241 |
<widget class="QLabel" name="label_target"> |
| 242 |
<property name="sizePolicy"> |
| 243 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 244 |
<horstretch>0</horstretch> |
| 245 |
<verstretch>0</verstretch> |
| 246 |
</sizepolicy> |
| 247 |
</property> |
| 248 |
<property name="text"> |
| 249 |
<string>Target:</string> |
| 250 |
</property> |
| 251 |
</widget> |
| 252 |
</item> |
| 253 |
<item row="39" column="0" colspan="6"> |
| 254 |
<widget class="QCheckBox" name="input_checkbox_recheck"> |
| 255 |
<property name="text"> |
| 256 |
<string>Recheck after action to force result</string> |
| 257 |
</property> |
| 258 |
</widget> |
| 259 |
</item> |
| 260 |
<item row="31" column="0" colspan="6"> |
| 261 |
<widget class="QCheckBox" name="input_checkbox_re_groups_enabled"> |
| 262 |
<property name="text"> |
| 263 |
<string>Regular expressions for groups</string> |
| 264 |
</property> |
| 265 |
</widget> |
| 266 |
</item> |
| 267 |
<item row="5" column="0"> |
| 268 |
<widget class="QLabel" name="label_description"> |
| 269 |
<property name="sizePolicy"> |
| 270 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 271 |
<horstretch>0</horstretch> |
| 272 |
<verstretch>0</verstretch> |
| 273 |
</sizepolicy> |
| 274 |
</property> |
| 275 |
<property name="text"> |
| 276 |
<string>Description:</string> |
| 277 |
</property> |
| 278 |
</widget> |
| 279 |
</item> |
| 280 |
<item row="4" column="0"> |
| 281 |
<widget class="QLabel" name="label_name"> |
| 282 |
<property name="sizePolicy"> |
| 283 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 284 |
<horstretch>0</horstretch> |
| 285 |
<verstretch>0</verstretch> |
| 286 |
</sizepolicy> |
| 287 |
</property> |
| 288 |
<property name="text"> |
| 289 |
<string>Name:</string> |
| 290 |
</property> |
| 291 |
</widget> |
| 292 |
</item> |
| 293 |
<item row="27" column="0" colspan="5"> |
| 294 |
<widget class="QCheckBox" name="input_checkbox_re_attempt_enabled"> |
| 295 |
<property name="text"> |
| 296 |
<string>Regular expressions for attempt</string> |
| 297 |
</property> |
| 298 |
</widget> |
| 299 |
</item> |
| 300 |
<item row="28" column="5"> |
| 301 |
<widget class="QCheckBox" name="input_checkbox_re_attempt_reverse"> |
| 302 |
<property name="text"> |
| 303 |
<string>reverse</string> |
| 304 |
</property> |
| 305 |
</widget> |
| 306 |
</item> |
| 307 |
<item row="26" column="5"> |
| 308 |
<widget class="QCheckBox" name="input_checkbox_re_status_information_reverse"> |
| 309 |
<property name="text"> |
| 310 |
<string>reverse</string> |
| 311 |
</property> |
| 312 |
</widget> |
| 313 |
</item> |
| 314 |
<item row="0" column="0" colspan="6"> |
| 315 |
<widget class="QCheckBox" name="input_checkbox_enabled"> |
| 316 |
<property name="text"> |
| 317 |
<string>Enabled</string> |
| 318 |
</property> |
| 319 |
</widget> |
| 320 |
</item> |
| 321 |
<item row="33" column="0" colspan="6"> |
| 322 |
<widget class="QLabel" name="label_python_re"> |
| 323 |
<property name="text"> |
| 324 |
<string><a href=http://docs.python.org/howto/regex.html>See Python Regular Expressions HOWTO for filtering details.</a></string> |
| 325 |
</property> |
| 326 |
<property name="openExternalLinks"> |
| 327 |
<bool>true</bool> |
| 328 |
</property> |
| 329 |
<property name="textInteractionFlags"> |
| 330 |
<set>Qt::TextInteractionFlag::TextBrowserInteraction</set> |
| 331 |
</property> |
| 332 |
</widget> |
| 333 |
</item> |
| 334 |
</layout> |
| 335 |
</widget> |
| 336 |
<tabstops> |
| 337 |
<tabstop>input_checkbox_enabled</tabstop> |
| 338 |
<tabstop>input_combobox_type</tabstop> |
| 339 |
<tabstop>input_combobox_monitor_type</tabstop> |
| 340 |
<tabstop>input_lineedit_name</tabstop> |
| 341 |
<tabstop>input_lineedit_description</tabstop> |
| 342 |
<tabstop>input_checkbox_filter_target_host</tabstop> |
| 343 |
<tabstop>input_checkbox_filter_target_service</tabstop> |
| 344 |
<tabstop>input_checkbox_re_host_enabled</tabstop> |
| 345 |
<tabstop>input_lineedit_re_host_pattern</tabstop> |
| 346 |
<tabstop>input_checkbox_re_host_reverse</tabstop> |
| 347 |
<tabstop>input_checkbox_re_service_enabled</tabstop> |
| 348 |
<tabstop>input_lineedit_re_service_pattern</tabstop> |
| 349 |
<tabstop>input_checkbox_re_service_reverse</tabstop> |
| 350 |
<tabstop>input_checkbox_re_status_information_enabled</tabstop> |
| 351 |
<tabstop>input_lineedit_re_status_information_pattern</tabstop> |
| 352 |
<tabstop>input_checkbox_re_status_information_reverse</tabstop> |
| 353 |
<tabstop>input_checkbox_re_duration_enabled</tabstop> |
| 354 |
<tabstop>input_lineedit_re_duration_pattern</tabstop> |
| 355 |
<tabstop>input_checkbox_re_duration_reverse</tabstop> |
| 356 |
<tabstop>input_checkbox_re_groups_enabled</tabstop> |
| 357 |
<tabstop>input_radiobutton_close_popwin</tabstop> |
| 358 |
<tabstop>input_radiobutton_leave_popwin_open</tabstop> |
| 359 |
</tabstops> |
| 360 |
<resources/> |
| 361 |
<connections> |
| 362 |
<connection> |
| 363 |
<sender>button_box</sender> |
| 364 |
<signal>accepted()</signal> |
| 365 |
<receiver>settings_action</receiver> |
| 366 |
<slot>accept()</slot> |
| 367 |
<hints> |
| 368 |
<hint type="sourcelabel"> |
| 369 |
<x>248</x> |
| 370 |
<y>254</y> |
| 371 |
</hint> |
| 372 |
<hint type="destinationlabel"> |
| 373 |
<x>157</x> |
| 374 |
<y>274</y> |
| 375 |
</hint> |
| 376 |
</hints> |
| 377 |
</connection> |
| 378 |
<connection> |
| 379 |
<sender>button_box</sender> |
| 380 |
<signal>rejected()</signal> |
| 381 |
<receiver>settings_action</receiver> |
| 382 |
<slot>reject()</slot> |
| 383 |
<hints> |
| 384 |
<hint type="sourcelabel"> |
| 385 |
<x>316</x> |
| 386 |
<y>260</y> |
| 387 |
</hint> |
| 388 |
<hint type="destinationlabel"> |
| 389 |
<x>286</x> |
| 390 |
<y>274</y> |
| 391 |
</hint> |
| 392 |
</hints> |
| 393 |
</connection> |
| 394 |
</connections> |
| 395 |
</ui> |