What Are Monitors
As the name implies, monitors are a special kind of modules used to observe the devices in specified time intervals and then to inform you about any problems that occurred (or may occur) inside the device or with some services within the selected device.
For example, a basic monitor may just execute the ping command with the device hostname (or IP) used as an argument. In case the device is not responding, it can let the user know about it either via a system notification, an email or in some other ways depending on the configuration.
Each monitor is run automatically every 5 minutes. Of course, you can start the monitor manually using a proper action in the table.
Ping Monitor is responsible for regular checking if a specified device is available. The configuration of the monitor bases on determining the value of the alert threshold which is given in milliseconds. The default value is 300ms.
Ping Monitor uses the system command ‘fping’ to determine whether the device is available. Hostname is used as a parameter to an ‘fping’ command or, if hostname is empty, the system downloads device’s IP address. Basing on it, it checks if the device is achievable. If a warning threshold is exceeded, the monitor status is set to ‘problem’ and the system returns a specific error. If the device is available in a timely manner then the monitor status is set to ‘up’, otherwise the monitor status is set to ‘down’.
Port monitor regularly checks if the port does not exceed the set in the configuration limits. The confioguration of this monitor is as follows:
- Monitored Port - the list of available ports for the device
- Units - units in which we want to set limit
- Limit Inbound Traffic - limit value for inbound traffic, 0 if we don’t want to use this limit
- Limit Outgoing Traffic - limit value for outgoing traffic, 0 if we don’t want to use this limit
- Limit Overall Traffic - limit value for inbound and outgoing traffic, 0 if we don’t want to use this limit
- Turn off interface once limit has been exceeded - determines whether the system should try to disable the port if the limit is exceeded
- Send an email once limit has been exceeded - determines if the system has to try to send an email to the administrator if the limit is exceeded
- Warning Threshold Inbound Traffic - the value of the alert threshold for incoming traffic, 0 if you do not want to use the limit
- Warning Threshold Outgoing Traffic - the value of the alert threshold for outgoing traffic, 0 if you do not want to use the limit
- Warning Threshold Overall Traffic - similar as above but for incoming and outgoing traffic
- Turn off interface once level has been exceeded - determines if the system should try to disable the port if the warning threshold is exceeded
- Add notification once level has been exceeded - determines if the system should try to add the system notification if the warning threshold is exceeded