[Xymon] Xymongrep suggestion: pick up additional test parameters

Shawn Heisey hobbit at elyograg.org
Wed Nov 25 01:02:33 CET 2015


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




More information about the Xymon mailing list