25 Nov
2015
25 Nov
'15
12:02 a.m.
On 11/24/2015 4:52 PM, J.C. Cleaver wrote:
It needs to be documented better, but xymongrep does actually support wildcards for matching (I believe of the posix variety). Thus ports, ':', and '=' test variations should be retrievable. I.e.,:
[root at localhost ~]# xymoncmd xymongrep dns* | grep '=' 216.239.32.10 ns1.google.com # dns=a:google.com
You can have xymongrep itself handle a delimiter character and avoid the additional grep.
[root at mcp ~]# xymoncmd xymongrep xxx:* 10.2.1.39 mcp.REDACTED.com # xxx:yyy
[root at mcp ~]# xymoncmd xymongrep mgmt=* 10.100.2.29 fiesta # mgmt=10.2.6.29[http,https,ssh] testip
Thanks, Shawn