SURVIVOR: XML Maker
About xmlmaker
usage
    alertxml [-f fixreturncode] [-F fixsummary] -h hosts
             [-H helpfile] -i instances -I instance
              -r returncode -R module:calllists:recipients
              -s summary -S service -t unixtime -T token

    authreq -s sourceip -u uri [-o name=value[,name=value[...]]]

    checkreq -h host[,host,...] [-t timeout]
            [-o name=value[,name=value[...]]]

    fixreq [-t timeout] [-o name=value[,name=value[...]]]

    reportreq [-H] -h histdir -t tmpdir -u uriprefix
              where histdir contains the history files to be read
              (eg: INSTDIR/instance/history/host/foo/bar)

    transportreq
 
where the arguments for each usage map more or less directly into the fields defined in survivor.dtd

The various modules used by SURVIVOR accept XML documents on stdin for their configuration information. This can make it difficult or annoying to test these modules by hand.

The XML Maker utility will generate XML documents suitable for passing to the SURVIVOR modules, as indicated in the following table:

alertxml Format Modules
authreq Web Authentication Modules
checkreq Check Modules
fixreq Fix Modules
reportreq Report Modules
transportreq Transport Modules

Dependencies

  • xmlmaker must be run from a location from which it can find the mod directory. This includes src/util and $INSTDIR/bin.
Installation

The xmlmaker utility is available in the SURVIVOR source distribution, in the util directory. It is not installed by default.


$Date: 2006/11/20 00:03:30 $
$Revision: 0.3 $
keywords