LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

Global Object Monitor & Setup

The Global Object Monitor dialog box allows you to monitor and setup all the Global Objects of your distributed architecture.

To access the Global Object Monitor, select the Configure-> GLOBAL OBJECTS option of the main menu of LoriotPro.

Loriotpro Global Object dialog box configuration

The Global Object Monitor is a dialog box that provides the following capabilities:

Button description

LoriotPro Global Object configuration

Refresh The list of Global Object will be refresh
Update The list of Global Object will be updated
Search Allows the search inside the Global Object list by its name
Unlock Selection Unlock all the Global Object selected in the list
Delete Selection Delete the selected Object(s) from the list
Edit Selection Edit the selected Object in the List
Bulk Script Execute a script over a list of Selected Global Object
Load Load the Global Object(s) from a LUA file
New Create a new Global Object
Cancel/OK Leave the Global Object Monitor

 

Filtering option

The Display Filter area allows you to select what global object you want to monitor in the Global Object list.

global object filter options

 

String in Name
Timer Fail Display the Global Objects with a failed timer.
Locked Display the Global Objects with the status locked. The Global Object should be manually unlocked to work again
IP Ref Display the Global Objects with the specified IP Ref (allows you filter all the Global Object managed by a specific LoriotPro, local or remote)
Status Display the Global Objects with the selected status (The status is an integervalue set by the Global Object LUA function)
Group Display the Global Objects from a particular group of Global Object
String in the Name Display the Global Objects containing the specified string anywhere in their name
String in the String Display the Global Objects containing the specified string anywhere in their String value

 

Group list

The Group list displays a tree of the Global Object Groups and their attached Global Object.

Group of globat objects This icon define a group.
Global Object This icon define a Global object

 

Global Object list

The global object list of the dialog box provide a list of all the global objects defined (when no filter applied). Beware that some of them can be hidden by a filter rule.

Here under a description of each column:

Scheduled

Provide the current status of this Global Object.

Globat Object blue status not used
Global Object green status The Global Object is managed locally (by this LoriotPro) and is working correctly
Global Object Grey status This locally managed Object has no LUA function to schedule (Static value assigned to the object)
Global Object red status

The Global Object is managed locally (by this LoriotPro) and is not working correctly.

You should check that:

  • the Interval value is not lower than the Audit polling interval value
  • the Global Object script function has no bug
  • the Audit Process is started (Configuration -> Audit process)
Global object remote blue status not used
global object remote green status The Global Object is managed remotly by another LoriotPro (redundancy mode) and is working correctly
Global Object grey status The Global Object is managed remotly by another LoriotPro (redundancy mode) and has no LUA function to schedule (Static value assigned to the object)
global object remote red status The Global Object is managed remotly (by another LoriotPro) and is not working correctly
Global objects remote green status The Global Object is managed remotly in normal mode (redundancy mode) but the Remote LoriotPro is not accessible (status not Green in the Directory). This LoriotPro is now acting as a backup collector and is managing locally this Global Object and this Global Object is working correctly.
global object remote red status The Global Object is managed remotly in normal mode (redundancy mode) but the Remote LoriotPro is not accessible (status not Green in the Directory). This LoriotPro is not acting as a backup collector for this Global Object.
locked The Global Object is locked due to concurrent access by processes to its variables
Name The name of this Global Object
Group Name The group name to which the GObject is attached
String The current String value returned at the execution fo the function attached to this Global Object.
Double The current Double value returned at the execution fo the function attached to this Global Object.
Status The Status returned by the functionattached to this Global Object.
Accessed The number of time that the function of this Global Object has been called for execution sinceby an Audit plugin
Interval The time interval define for the execution of the LUA function attached to this Global Object
Jitter

The deviation of the Time. The expected execution time of the LUA function of the Global Object was not respected if different from 0.
If you have Jitter value different form 0, you should check that the Function Time below is lower than the Interval

Mode The interval type, can be s for seconds, ms for milliseconds, x for custom
Type The unit assigned to the Interval value (seconds, milliseconds, other)
Time The time in clear text of the last function execution
Clock The time in timeticks of the last function execution
Param1 The Param1 value provided
Param2 The Param2 value provided
Function Time The time required for the function execution
Function Name The name of the function
Check Integer specifing conditionnal execution of the LUA function (0 no condition, 1 condition above, other custom condition)
IPCheck Check using the IP specified
UIDCheck Check using the UID specified
RefStatus

Check using the current availablity status of the selected host (IP or UID) in the directory.
0 no polling, 1 Ping Polling OK, 2 SNMP Polling OK, 3 Warning no response to last polling, 4 No response to polling

AutoLoad This Global Object will be load from backup at next LoriotPro startup.
ID Identifier, a unique number that allow the selection of the Global Object in LUA script
Manager The IP address of the LoriotPro that is currently managing this Global Object (used for redundancy, read redundancy of Global Object)

 

Example of Objects in the list

Global Object Monitor list

Global Object list part 2

Bulk Script

Bulk script can be used to change the properties of multiple Global Object in one operation.

Select the Global Objects to change in the list with the CTRL or SHIFT button and call the Bulk Script to execute.

Among the scripts available you can perform:

Change AutoLoad Parameter self explained
Change Group Name self explained
Change Master IP self explained
Change Param 1 self explained
Change Param 2 self explained
Change Polling Interval self explained
Change Schedule Parameter Set the Schedule Parameter to 0 (not scheduled) or 1 (Sheculed)
Change String self explained
List Selection Simply give a list of the selected Objects

 

You can also write your own script for proprietary treatments.

 


www.loriotpro.com