
getalarmlogs
The
getalarmlogs
command returns a list and details of alarms present on the VN-Matrix
system.
Command line structure
getalarmlogs
Returned attributes for this command are:
Attribute
Value
Description
severity
critical,
warning,
none
A summary of the severity of the alarm.
alarm_id
nnn
Example:
232
The associated ID number of the alarm.
controller
IP
address:
nnn.nnn.
nnn.nnn
Example:
192.168.0.254
The IP address of the controller on which the
alarm has been flagged.
device_type
Text
string
Example:
VNM
Recorder
The type of device the alarm has been
raised.
raisetime
Text
string,
date
Example:
Wed,
06
Feb
2013
09:56:15
GMT
The time and date when the alarm condition
was raised.
type
Text
string
Example:
22
–
Bad
Device
The type code and description of the raised
alarm.
serial
nnnnn
Example:
50001
The serial number (ID) of the device where
the alarm has been raised.
name
Text
string
Example:
5ch_Device1
The name of the device where the alarm has
been raised.
Example 1 - Return a list of current alarms on the system.
getalarmlogs
]
Returns:
[{"severity":"Critical","alarm_id":232,"controller":"1
92.168.0.254","device_type":"VNM
Recorder","raisetime":"Wed,
06
Feb
2013
09:56:15
GMT","type":"22
–
Bad
Device","serial":50001,"na
me":"5ch_Device1"}]
getcontrollers
The
getcontrollers
command returns a list of controller IP addresses associated with
the VN-Matrix system.
Command line structure
getcontrollers
Example 1 - Return a list of controller IP addresses on the VN-Matrix system.
getcontrollers
]
Returns:
["192.168.0.254"]
VNM EC 200 • Reference Information
204
Summary of Contents for VNM EC 200
Page 6: ......