ABillS. Problem with payments between 00:00 and 01:00

In 2018, I ran into a problem when the user ran out of money on the account, at midnight he turned off the billing, the user immediately made a payment, the money was debited and the service turned on, and at 1 am it was turned off again, because the billing system tried to withdraw the monthly fee again. I’ll just post a simple script here that allows you to receive email notifications with a list of users who made a payment at night between 00:00 and 01:01, so that later you can manually correct it.

Continue reading “ABillS. Problem with payments between 00:00 and 01:00”

ABillS. SNMP Port Shift

I noticed once that on Huawei switches SNMP port indices can be shifted, for example, on Huawei s2326 VLANs are considered first, for example ifIndex.1 is vlan1, ifIndex.2, ifIndex.3, ifIndex.4 are user VLANs, and then ifIndex5 is the port Ethernet1. Because of this, when binding client services to switch ports in ABillS, the ports will not be displayed correctly.

Continue reading “ABillS. SNMP Port Shift”