169
Copyright © 2011-2019 by Highly Reliable Systems, Inc. All rights reserved.
8 Remote Monitoring and Management (RMM) Support
The NetSwap/RAIDFrame Plus provides both network (TCP/HTTP) and file based methods to allow
remote monitoring of the device status including hard drive removal/insertion, mirror status (e.g.
degraded, rebuilding, etc.), sharing status etc.
8.1 Network (TCP/HTTP) Based Monitoring
The network based monitoring is accessed through the HTTP protocol over TCP/IP on port 80 using
the standard GET HTTP method and is part of the web-based control interface used to configure the
NetSwap/RAIDFrame Plus. Three types of status information are supported: log files, drive and
mirror status files, and drive and mirror flag files.
8.1.1 Log Files
Four log files are supported:
•
NetSwap/RAIDFrame Plus Log
– Log generated by the NetSwap/RAIDFrame Plus
software. Log number: 1
•
System Log
– Standard Linux syslog. Log number: 2
•
Kernel Log
– Standard Linux kernel log. Log number: 3
•
Boot Log
– Linux boot log. Records kernel boot messages. Log number: 4
The log files may be downloaded directly using a URL of the form:
http://<NetSwap/RAIDFrame Plus ip>/status/download_log.php&log=X
Where X is the log number as indicated above. So to download the System Log from a
NetSwap/RAIDFrame Plus on ip 192.168.1.50 one would use the following URL:
http://192.168.1.50/status/download_log.php&log=2
This will return a text document (Content-type: text/plain) containing the entire system log file.
8.1.2 Disk Status Files
The status files are simple text files that contain current status of each disk or RAID active or installed
in the NetSwap/RAIDFrame Plus.
Disk status files are named <disk name>.diskstatus where <disk name> is the name defined in the web
interface. For example the disk status file for the disk named DISK-3350 would be DISK-
3350.diskstatus.
Raid/mirror status files are named <disk name>.raidstatus. For example the raid status file for the
mirror disk named MIRROR-DISK-0 would be MIRROR-DISK-0.raidstatus.
The status files can be accessed through the HTTP protocol using the GET method using a URL of the
form:
http://<NetSwap/RAIDFrame Plus ip>/status/disks/<file name>
So to get the raid status file for MIRROR-DISK-0 on a NetSwap/RAIDFrame Plus on ip 192.168.1.50
one would use the following URL: