Nagios script by CapSiDE SL - has been updated to generate graphs for pnp4nagios