Xymon Mailing List Archive search

Xymongrep suggestion: pick up additional test parameters

list Shawn Heisey
Tue, 24 Nov 2015 17:02:33 -0700
Message-Id: <user-a0173e3be297@xymon.invalid>

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