Monitor SolusVM Bandwith usage with Nagios


I run a mumble server with Exigent (now owned by Fluccs). Exigent use SolusVM for their VM Management interface which is a great easy to use product with a relatively nice interface.

It also has an API that clients can use to get information about their server, such as bandwidth, remote reboots and more. I wanted to make a script that monitors my VM’s bandwidth and alerts me when its nearing its max, so I did.

The Script

The script in question is below. Its just a quick PHP on I put together. I’ll hopefully port it over to bash one day, but today is not that day. Currently it takes very little configuration, you just need to set your key/hash and the URL of the SolusVM interface.

Check out the script, or download it below.

View on View on GitHub/Download

Tagged: Monitoring, Nagios, Scripts

Share this post