# 22 ------------------------------------------------------------------------ # # Data to graph: Check SMTP Mail service # # Service type: check-mail-gw # # Nagios plugin: check_smtp # # Nagios output: ||SMTP OK - 5.279 sec. response time # # Use perfdata: ||time=5.278750s;;;0.000000 # # --------------------------------------------------------------------------- # /output:SMTP.*?(\d+\.\d+) sec/ and push @s, [ smtp, [ response, GAUGE, $1 ] ];