Remote access and export

From Allegro Network Multimeter Manual
Jump to navigation Jump to search

Statistics Export

See Statistics Export via POST for details about exporting the measurement data via HTTP POST requests.

Influx Export

See Statistics Export via InfluxDB for details about exporting the measurement data via InfluxDB.

SSH port forwarding

This option allows to use an external SSH server as an proxy to access the device. Via port forwarding the client PC accesses the SSH proxy which forwards the traffic to the actual Allegro Network Multimeter. See Self-hosted_SSH_Proxy for detailed information how to set up such a server.

Allegro Remote Service

The Allegro Remote Service is similar to the SSH Port Forwarding feature, but the SSH server is provided by Allegro Packets as a public service. Traffic through is proxy is still end-to-end encrypted via your SSL certificate so the data is only accessible to you.

See Using the Allegro Remote Service for detailed information.

SNMP

See SNMP for details about SNMP support.

Pcap export via SFTP

The Allegro Network Multimeter allows the export of captured pcaps via SFTP. pcap files can be stored in an upload queue and be automatically uploaded to a remote host once a day.

This feature only works if a disk is attached to the device.

When PCAP Export via SFTP is enabled, a new checkbox Save to SFTP export directory is added to the capture dialogue. If checked, the pcap will be stored to a special upload directory.

In the configuration view, it is possible to see the files in the upload queue anddelete them or trigger an immediate upload.

SFTP export allows SFTP authentication via public key or via password. The public key is printed at the top of the configuration view. For public key authentication, the password field in the SFTP connection parameters can be left empty.

A "Test upload" button uploads a file allegro-upload-test.txt into the configured target directory on the remote host.

Uploaded files are deleted from the storage device after successful upload.

The upload can also be triggered manually via the web frontend or an REST API call:

Method: POST
URL: /API/system/sftp-export
Payload: { uploadNow: true }

Uploads are executed sequentially so it is safe to call the API with already running uploads.

Limitation: There should be no running capture to the SFTP export as it would be uploaded incompletely.

Public statistics

The option allows to enable a public access to some basic statistics, useful for basic system monitoring.

If enabled, the system can be accessed with the URL "/public".

The 'Notes' text-box can be used to set some text which is displayed at the top of each public statistics page.

Read Public limited statistics for details about the kind of information that are available under the public URL.

Zabbix agent

This module allows to run a Zabbix agent on the Allegro Network Multimeter so that it can be easily monitored from a Zabbix server.

When enabled, the Zabbix agent will listen for connections on the default TCP port 10050.

By default any address can connect to the Zabbix agent but in the 'Allowed servers' field a commas-separated list of servers can be provided. This limits access to the Zabbix agent by only allowing connections from listed Zabbix servers.

A Zabbix template can be downloaded using the 'Allegro Zabbix template' link. When this template is imported on a Zabbix server it then can be used to quickly set up useful items and triggers for monitoring an Allegro Network Multimeter. This also includes several Allegro-specific items like the processing load and memory usage, the IP count, MAC count and connection count as well as the data storage duration.

SFTP

The storage can be accessed via SFTP.

The server is off by default and has to be turned on in 'Settings' > 'Remote access and Statistics Export' > 'SFTP Server'.

Authentication is possible via a SSH key or the same credentials as of the web interface.

Only the user with the role 'admin' or users with storage permissions are allowed to access the storage via SFTP.

The SSH key is configurable on a user basis in the user settings.