System Information
Article content:
Request information about the system
The request for information about the system contains the following fields:
- querytype - type of request: getsystem - read information about the system;
- k - session identifier;
Example of an answer to a request for information about the system:
|
The answer contains the following fields:
- brandname - firmware brand;
- brandext - extension of file name for settings file and firmware file;
- brandpen - SNMP PEN code;
- state - the state of the system;
- version - version number of the system software;
- kernel - building date of system kernel, optional;
- type - the type of the device of the system;
- sms - the ability to send SMS in the system (true or false);
- dubl - availability of a "Duplicator" program in the system (true or false);
- camera - availability of a AV camera in the system (true or false);
- ntpserver - availability of a NTP server in the system (true or false);
- can_count - number of available CAN interfaces;
- sd_count - number of available builtin SD card reader;
- time - current system time in UTS format;
- optime - total system operating time, in seconds;
- uptime - the time of the current session, in seconds;
- cpuusage - CPU utilization, in percent;
- memusage - the amount of memory used, in kilobytes;
- memtotal - the total amount of available memory, in kilobytes.
The state of the system characterizes the state of modules and elements. The state depends only on the elements of the classes "discrete" and "analog", as well as on the state of the modules, as shown in the table.
Priority | Element class | Element status | Module status | System status |
---|---|---|---|---|
lowest | analog, discrete | normal | normal | normal |
high | analog | low warning, high warning | warning | warning |
very high | analog | low alarm, high alarm | alarm | alarm |
discrete | alarm |
Request a full report on the current state of the system
The request contains the following fields:
- querytype - request type: getmodules - full report;
- k - session identifier;
Example of an answer to a query:
|
The answer contains information about the system, general information about the modules, information about the groups (if any), and general information about the elements.
Further content: