TSP Lab SS7 Monitoring System Sga-7N

The Signaling Link database

Managing the Signaling Link and Monitor Unit database


Database administration

Administration of the "Signaling Link and Monitor Unit" database of Sga-7N Monitoring system can be done by using SQLite database managing program. To start the program type the followings into a command prompt:

After starting the program the database can be modified by using SQL commands. There are the following managing possibilities in the system:

Every SQL command should be terminated by a semicolon. One command can be splitted into more rows and only the last row must be ended with semicolon. SQL strings should be written between apostrophes and not quotation marks.
Any command that changes the database (basically, any SQL command other than SELECT) will automatically start a transaction if one is not already in effect. Automatically started transactions are committed at the conclusion of the command. (To learn more about transactions in SQLite visit this page of SQLite documentation!)

The * parameter of select is replacable by rownames separated by commas.

Using SQLite database

For a listing of the available commands in the sqlite3 command line utility, you can enter .help. Some commands for example:

For further information about the command line program plese visit the sqlite3: A command-line access program for SQLite databases page.

Listing Monitor Units

Monitor Unit existing in the database can be listed by this command:

Columns in t_monitor_data table:

Back

Inserting a new Monitor Unit

A new Monitor Unit can be inserted into the database by this command:

Be aware that monitor_id must be unique in the whole system. The IP address should be in special format generated by ServMisc utility.

Back

Deleting a Monitor Unit

The following command deletes a Monitor Unit from the database:

MNi should be replaced by the ID of Monitor Unit to be deleted.

Back

Modifying a Monitor Unit

To change the data of a Monitor Unit type the following command:

MNi should be replaced by the ID of the Monitor Unit. After set name of columns to be changed with the new values separated by commas should be enumerated .

Back

Listing Signaling Links

Existing Signaling Links can be listed by this command:

Columns in t_sl_data table:

Back

Making relation between Monitor Units and Signaling Links

The Sga-7N Monitoring System stores which Sugnaling Link belongs to which Monitor Unit in the t_sl_monitor_rel table.

To make a new relation:

To set an association to be deleted:

To list relations:

Columns in t_sl_monitor_rel table:

Back