# 06 ------------------------------------------------------------------------ # # Data to graph: Netscreen memory check # # Service type: check_snmp_mem_netscreen # # Nagios plugin: check_netscreen_mem # # Nagios output: ||OK: host 192.168.85.254, Memory: Allocated:(18.60) \ # # Free:(90.40) Percent Used:(17.07%)|| # # --------------------------------------------------------------------------- # /output:.* Memory: Allocated:\((\d+\.\d+)\) Free:\((\d+\.\d+)\) Percent Used:\((\d+\.\d+)\%\)/ and push @s, [ memory, [ alloc, GAUGE, $1 ], [ free, GAUGE, $2 ], [ used, GAUGE, $3 ] ];