Digi IX14 User Manual page 479

Hide thumbs Also See for IX14:
Table of Contents

Advertisement

Applications
request>
</requests>
</device>
</data_service>
</sci_request>
Help for using Python to respond to Digi Remote Manager SCI requests
Get help for respond to Digi Remote Manager Server Command Interface (SCI) requests by accessing
help for digidevice.device_request:
1. Log into the IX14 command line as a user with shell access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
2. At the shell prompt, use the python command with no parameters to enter an interactive
Python session:
# python
Python 3.6.13 (default, May
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
3. Import the device_request submodule:
>>> from digidevice import device_request
>>>
4. Use the help command with device_request:
>>> help(device_request)
Help on module digidevice.device_request in digidevice:
NAME
digidevice.device_request - APIs for registering device request handlers
...
You can also use the help command with available device_request functions:
Use the help command with device_request.register:
n
>>> help(device_request.register)
Help on function register in module digidevice.device_request:
IX14 User Guide
Temperature
Contact
Disk
----
Load Average
RAM Usage
Disk /etc/config Usage
Disk /opt Usage
Disk /overlay Usage
Disk /tmp Usage
Disk /var Usage
9 2021, 22:49:59)
: 37C
: Omar Ahmad
: 0.10, 0.05, 0.00
: 85.176MB/250.484MB(34%)
: 0.068MB/13.416MB(1%)
: 47.724MB/5309.752MB(1%)
: MB/MB(%)
: 0.004MB/40.96MB(0%)
: 0.820MB/32.768MB(3%)</device_
Digidevice module
479

Advertisement

Table of Contents
loading

Table of Contents