rework and add nagios