Like the guy says above, you need to cut off from the second "|" and out. Look at this thread:
http://forums.zenoss.com/viewtopic.php?t=3731&start=15 Specifically what I wrote in the last post. This is the command you need: check_ping -H ipaddress -w 180,100% -c 300,100% | sed -e 's# - Packet loss#|loss#;s#%,##;s#ms##;s# = #=#g' | cut -d "|" -f 1,2 -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=35000#35000 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
