Documentation

Documentation.Interface-CoreEvents-1-9 History

Hide minor edits - Show changes to markup

August 05, 2013, at 04:23 PM by 109.99.235.212 -
Changed line 4 from:

Page for other versions: devel 1.9 1.8 old versions: 1.7

to:

(:allVersions Interface-CoreEvents 1.9:)

May 29, 2013, at 11:50 AM by 109.99.235.212 -
Added line 2:

(:title Core Events - ver 1.9 :)

Changed lines 4-12 from:
to:

Page for other versions: devel 1.9 1.8 old versions: 1.7


Core Events v1.9
PrevNext

Added line 41:
Changed lines 43-44 from:
to:
Changed lines 57-59 from:

Note: If the event_shm_threshold is not specified or 0, then this event is disabled.

to:

Note: If the event_shm_threshold is not specified or 0, then this event is disabled.

May 16, 2013, at 08:19 PM by 109.99.235.212 -
Changed line 1 from:
Documentation -> Interface -> Core Events 1.9
to:
Documentation -> Manuals -> Manual 1.9 -> Core Events
Deleted lines 5-6:

This documentation is for OpenSIPS 1.9.x version.

May 16, 2013, at 07:47 PM by 109.99.235.212 -
Changed line 1 from:
to:
Documentation -> Interface -> Core Events 1.9
May 10, 2013, at 03:21 PM by 109.99.235.212 -
Changed lines 1-2 from:

Resources -> Documentation -> CookBooks -> Core Events

to:
April 24, 2013, at 07:24 PM by 109.99.235.212 -
Added lines 1-47:

Resources -> Documentation -> CookBooks -> Core Events

(:toc-float Table of Content:) Events are exported by the OpenSIPS core through the Event Interface.

This documentation is for OpenSIPS 1.9.x version.


Threshold limit exceeded

Event: E_CORE_THRESHOLD

This event is triggered when a particular action takes longer than a specific threshold. It can be raised when a MySQL or DNS query takes too long, or a SIP message processing goes beyond a specific limit. For more information please see this post.

Parameters:

  • source: the source of the event: mysql module, core (for DNS or message processing warnings).
  • time: the number of micro-seconds the limit has been exceeded
  • extra: extra information, depending on the source of the event

Private memory threshold exceeded

Event: E_CORE_PKG_THRESHOLD

This event is triggered when the private memory usage goes above a threshold limit, specified by the event_pkg_threshold the core parameter. It warns external applications about low values of free private memory.

Parameters:

  • usage: the percentage of private memory usage. Can have values between event_pkg_threshold and 100.
  • threshold: the event_pkg_threshold specified in the script.
  • used: the amount of private memory used.
  • size: the total amount of private memory.
  • pid: the pid of the process that raises the event.

Note: If the event_pkg_threshold is not specified or 0, then this event is disabled.

Shared memory threshold exceeded

Event: E_CORE_SHM_THRESHOLD

This event is triggered when the shared memory usage goes above a threshold limit, specified by the event_shm_threshold the core parameter. It warns external applications about low values of free shared memory.

Parameters:

  • usage: the percentage of private memory usage. Can have values between event_shm_threshold and 100.
  • threshold: the event_shm_threshold specified in the script.
  • used: the amount of private memory used.
  • size: the total amount of private memory.

Note: If the event_shm_threshold is not specified or 0, then this event is disabled.


Page last modified on August 05, 2013, at 04:23 PM