I'm working on a way to graph output from nfdump. Unfortunately, no matter how I try to limit my results, I always have more then one, and I'd like to graph them all. What am I missing?
Command: /usr/bin/nfdump -r /nflow/nfcapd.`ago` -o "fmt:CHK-OK|max=%td" -q "dst port 53 and duration >0" -t `ago2`| sed 's/max= /max=/' | sed 's/ //' | sed 's/ //' Command 'ago' returns the time and date one day ago, this is just so yesterday's files are read. Command 'ago2' returns the time and date one day ago, but in a different format. Again, just to try to target results. Example Output: Executing command against dchsend0a1ad.hsendev CHK-OK|max=27.968 CHK-OK|max=28.992 CHK-OK|max=13.056 CHK-OK|max=12.352 CHK-OK|max=1.664 CHK-OK|max=18.368 CHK-OK|max=0.064 CHK-OK|max=0.064 CHK-OK|max=21.440 CHK-OK|max=0.256 CHK-OK|max=1.280 CHK-OK|max=3.776 CHK-OK|max=0.064 CHK-OK|max=0.192 CHK-OK|max=0.064 CHK-OK|max=10.624 CHK-OK|max=0.064 CHK-OK|max=0.064 CHK-OK|max=0.256 CHK-OK|max=0.064 CHK-OK|max=3.904 CHK-OK|max=0.320 CHK-OK|max=239.552 CHK-OK|max=156.480 DONE in 1 seconds -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=30286#30286 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
