Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
ashish.chandra
byashish.chandra, June 14, 2013
In formation of command a hyphen is missing ; that causes the cmd to always return zero . in mmin we need to provide (-) to ruun the command properly.
Expected :$CMD = "/bin/find " . $pattern . " -type f -mmin " . -$mmin . " 2>/dev/null| /usr/bin/wc -l";
Otherwise the plugin is excellent and runs great.
Expected :$CMD = "/bin/find " . $pattern . " -type f -mmin " . -$mmin . " 2>/dev/null| /usr/bin/wc -l";
Otherwise the plugin is excellent and runs great.