Random Project

decent script

This worked quite well, though I did have one stumbling block. As the previous reviewer pointed out, you need to use the –nagios (or -n) argument to get the script to output a nagios formatted result. However, by default this will also return non-nagios formatted results first. In order to get a clean output that nagios can read, you have to also use the –quiet argument in addition to the –nagios.