| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/ |
Upload File : |
o
;j=
� @ s d Z dd� Zddd�ZdS )a�
Create an Event in VictorOps
============================
.. versionadded:: 2015.8.0
This state is useful for creating events on the
VictorOps service during state runs.
.. code-block:: yaml
webserver-warning-message:
victorops.create_event:
- message_type: 'CRITICAL'
- entity_id: 'webserver/diskspace'
- state_message: 'Webserver diskspace is low.'
c C s dt v rdS dS )zD
Only load if the victorops module is available in __salt__
�victorops.create_eventZ victorops)Fz$victorops module could not be loaded)�__salt__� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/victorops.py�__virtual__ s r �everyonec K s� | i ddd�}t d rd| � �|d<