Accel-ppp session termination script

I will give an example of a script to end the sessions taken on the official telegram channel Accel-ppp. Using accel-cmd and grep, we select the necessary sessions, for example, by the speed of the shaper, or part of the IP address, for example 10.10.10. and then for example send these sessions terminate if ipoeX soft or hard via accel-cmd.

Continue reading “Accel-ppp session termination script”

File Integrity Check Script

Once on one server it was necessary to monitor the integrity of the file in which the changes were made, and if someone performed a system update, then this file could change and corrections had to be made again.
Usually I use a Zabbix agent and a Zabbix server for such purposes, but this server was single and it makes no sense to install a Zabbix server on it, so I wrote a simple script:

Continue reading “File Integrity Check Script”