Monitor.query

From Yate Documentation
Jump to: navigation, search

monitor.query message is used to query the monitoring module in order to retrieve the value of some monitored data.

Message parameters

name
the name of the query. It specifies which value you wish to retrieve. A query like name=databaseCount will ask for the number of monitored database accounts.
index
the index of the value you wish to retrieve. If the value you are asking for it's in a table you should specify for which entry from the table you want the data. Indexing for tables starts at 1. If "index" is not specified, it is assumed to be 0.

Return

The monitoring module will acknowledge this message if the name of the query is at least specified.

Return parameters

value
the value asked for by the query. It will be empty if the specified name for the query is a name of which the monitor has no knowledge of.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers