worked a little more on nagios plugin