Random Project

working from terminal NOT from Nagios

from the commnd line runs without error ONLY if I change the line in the sub query_check like
“if (defined ($match)) {”
But Nagios always report the error “(Service check did not exit properly) ”
Any suggestion?