Hi McDarren++,
we use Nagios. Uses loads of plugin scripts for the different test. The plugins are small standalone scripts or programs. I use perl massively to write plugins for Nagios. Furthermore, we use some perl scripts to generate the Nagios config files from a machine database that we maintain.
Regards,
svenXY