Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
I needed to change the result from 2.7.1 to 2.7.0 and I added the exit 1; otherwise the state won’t change in nagios. thanks for this script!
if ($result =~/2.7.0 Ok, discarded/) { print “OK – All finen” } else { print “CRITICAL – amavisd-new returned $result”; exit 1; }