LMS2Nagios php version by Sebastian Wielgosz