Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

SolusVM/WHMCS IP Auditor

$
0
0

I've noticed that, at times, when WHMCS will terminate a client, either auto-term or when we do it manually, the VPS container won't actually be removed from the node, and Solus still thinks it's an active product. Manually auditing WHMCS/Solus inventory accuracy is hellish, and there's not really any other automatic methods to determine if there are containers in Solus that are 'untracked' by WHMCS.

Obviously, giving out free product is Bad, so I've written this script to:

-retrieve a list of nodes from Solus
-retrieve a list of IPs by node from Solus
-on a per-IP basis, interface with the WHMCS DB to determine if WHMCS knows about the IP address
-generates a list of IPs that are not in WHMCS

Here's a screenshot of the output:
image

You can get it from:
https://github.com/damianharouff/solus-ip-audit

Be sure to read the README for basic setup and usage information.


Viewing all articles
Browse latest Browse all 39981

Trending Articles