Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
XYMONDIGEST(1)		     General Commands Manual		  XYMONDIGEST(1)

NAME
     xymondigest - calculate message digests

SYNOPSIS
     xymondigest md5|sha1|sha256|sha512|sha224|sha384|rmd160 [filename]

DESCRIPTION
     xymondigest(1) is a utility to calculate message digests for a file or doc-
     ument.  It  is  used when defining HTTP- or FTP-based content checks, where
     xymonnet(1) checks that a URL returns a specific document; instead of  hav-
     ing  to  compare the entire document, the comparison is done against a pre-
     computed message digest value using the MD5, RIPEMD160, SHA1 or any of  the
     SHA2 (SHA-512, SHA-256, SHA-384, SHA-224) message digest algorithms.

     The  optional  filename  parameter  is  the input file whose message digest
     should be calculated; if no filename is given, the data is read from  stan-
     dard input.

     xymondigest  outputs  a string containing the digest algorithm and the com-
     puted message digest.  This  is  in  a  format  suitable  for  use  in  the
     hosts.cfg(5) definition of a content check.

EXAMPLE
	$ xymondigest md5 index.html
	md5:88b81b110a85c83db56a939caa2e2cf6

	$ curl -s http://www.foo.com/ | xymondigest sha1
	sha1:e5c69784cb971680e2c7380138e04021a20a45a2

SEE ALSO
     xymonnet(1), hosts.cfg(5)

Xymon			   Version 4.3.30:  4 Sep 2019		  XYMONDIGEST(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xymondigest&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help