The operation of IP-Proxy can be monitored via external applications. Such a monitoring can especially useful if IP-Proxy is running in a 24/7 environment. By sending of special pre-defined commands via UDP, see below, IP-Proxy will provide information about the current receivers and senders status. An external application, e.g. decontev's IP-Toolbox, can use this status information as trigger for special actions. Such an action could be the re-start of IP-Proxy in case of interface errors.
The configuration of the monitoring UDP-server can be done in the 'General' tab of the settings dialog.
Figure 2: configuration of monitoring server
For each receiver and sender the monitoring can be activated and a message receiving/sending timeout can be set.
Figure 3: receiver/sender monitoring configuration
Following monitoring commands are defined:
STATUS_IN
· if IP-Proxy receives this command then all receivers are checked for a timeout
·
return value
-1 = not applicable (e.g. if there is
no receiver with active monitoring)
0 = no timeout
1 = at least one receiver
signals timeout
Figure 4: monitoring command STATUS_IN
STATUS_OUT
· if IP-Proxy receives this command then all senders are checked for a timeout
·
return value
-1 = not applicable (e.g. if there is
no sender with active monitoring)
0 = no timeout
1 = at least one sender
signals timeout
Figure 5: monitoring command STATUS_OUT
STATUS
· if IP-Proxy receives this command then all receivers and senders are checked for a timeout
·
return value
-1 = not applicable (e.g. if there
are no receivers and no senders with active monitoring)
0 = no timeout
1 = at least one receiver
or one sender signals timeout
STATISTICS
· if IP-Proxy receives this command then a short statistical report will be returned
Figure 6: monitoring command STATISTICS