Monitoring IPSET-NG daemons from shell

All the daemons from IPSET-NG package supports the monitoring of the current activity. Package daemons has several modes of display:

  • monitor mode #1: startup mode command line key -m or configuration file section [server] -> daemon = no, all information displayed on the stdout console, control is performed by hot keys. In this mode, launched daemon does not release the console. This mode is useful for debugging and testing.
  • monitor mode #2: start with the key -d or configuration file section [server] -> daemon = yes, loads the program in daemon mode, and if the configuration file is not prohibited by the launch of the monitor, you can connect to the daemon for monitoring and control. Perhaps in the online mode to change certain system parameters. To run daemons as active monitor, needed edit configuration file parameters: section [server] -> monitor = /writable/dir/to/fifo.file, default is /tmp.

Method number #2 involves the use of special software package IPSET-NG. MONITOR-NG - draft program designed for visual inspection and process control daemon is a simple text protocol and is compatible with all the daemons of the package IPSET-NG. More information about MONITOR-NG can be found here.

Built-in monitor mode #1 hot keys
0 set log level to disabled
1 set log level to critical
2 set log level to medium
3 set log level to full
4 set log level to debug
5 set log level to debugssl
e enable/disable console output
s show configuration
c clear cache (only ipsetd-ng or milterd-ng)
r reload table (only ipsetd-ng use ipset driver)
l show session statistic (SSL only)
p show user certificates (SSL only)
i show connect information (SSL only)
a for ipsetd-ng: accepted crypt/no-crypt packet
for milterd-ng, sensord-ng: send crypt/no-crypt packet
q,ESC stop daemon and exit
?,h help screen
More information about method number #2 and MONITOR-NG.

  Meta Tags: Monitoring IPSET-NG daemons