Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

drawvalmap(1p) [debian man page]

DRAWVALMAP(1p)						User Contributed Perl Documentation					    DRAWVALMAP(1p)

NAME
drawvalmap - Generate a graphical output of validation status values encountered by the validator library. SYNOPSIS
drawvalmap <logfile> drawvalmap DESCRIPTION
drawvalmap is a simple utility that can be used to display the validator status values in a graphical format. The input to this script is a set of log messages that can be read either from file or from a socket. The output is an image file containing an image of the various validator authentication chain status values. drawvalmap reads data from STDIN if the logfile and the socket option are both unspecified. If the -f option is given, the output image file is embedded in an HTML file with the given name. The HTML file auto-refreshes according to the refresh time supplied by the -r option, allowing changes to the validator graph to be constantly tracked. The typical usage of this script is in the following way: # drawvalmap <logfile> It would not be uncommon to use this script for troubleshooting purposes, in which case output generated by a driver program would be "piped" to this script in the manner shown below. # dt-validate -o6:stdout secure.example.com. | drawvalmap -f val_log_map.html In each case the script generates the results in a val_log_map.png file. In the second case, an HTML file with the name val_log_map.html is also generated. OPTIONS
-a IP-address This changes the address to which drawvalmap binds itself to the specified value. This option takes effect only if the -s option is also specified. -f file.ext This creates an image of the type determined by the file extension -g xxxx (deprecated) Use -f instead. -h file.html This creates an HTML file with the given name, which contains the image of the validation map. -i ignore_pattern_string This causes drawvalmap to ignore log records that match the given ignore pattern. -l log_event1,log_event2 This causes drawvalmap to enable display of events for the given list of log types. The following log event types are defined with their default enabled status indicated in parenthesis: SUCCESS(1), BOGUS(1), DATA_MISSING(1), ERROR(1), and IGNORED(0). -m match_pattern_string This causes drawvalmap to include only log records that match the given pattern. If a given log record matches a pattern given by the -m option and also matches the pattern given by the -i option the effective result is that of ignoring the record. -p port This changes the port to which drawvalmap binds itself to the specified value. This option takes effect only if the -s option is also specified. -r refresh-period This changes the refresh period in the HTML file to the given value. The default is 5 seconds. -s This changes the mode of operation to read input from a socket. The default address and port to which drawvalmap binds are 127.0.0.1:1053. PRE-REQUISITES GraphViz COPYRIGHT
Copyright 2005-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Suresh Krishnaswamy, hserus@users.sourceforge.net SEE ALSO
libval(3) perl v5.14.2 2012-06-21 DRAWVALMAP(1p)

Check Out this Related Man Page

BB-HOSTSVC.CGI(1)					      General Commands Manual						 BB-HOSTSVC.CGI(1)

NAME
hobbitsvc.cgi - CGI program to view Xymon status logs SYNOPSIS
hobbitsvc.cgi [--hobbitd|--historical] [--history={top|bottom}] DESCRIPTION
hobbitsvc.cgi is a CGI program to present a Xymon status log in HTML form (ie, as a web page). It can be used both for the logs showing the current status, and for historical logs from the "histlogs" directory. It is normally invoked as a CGI program, and therefore receives most of the input parameters via the CGI QUERY_STRING environment variable. Unless the "--historical" option is present, the current status log is used. This assumes a QUERY_STRING environment variable of the form HOSTSVC=hostname.servicename where "hostname" is the name of the host with commas instead of dots, and "servicename" is the name of the service (the column name in Xymon). Such links are automatically generated by the bbgen(1) tool when the environment contains "BBLOGSTATUS=dynamic". With the "--historical" option present, a historical logfile is used. This assumes a QUERY_STRING environment variable of the form HOST=hostname&SERVICE=servicename&TIMEBUF=timestamp where "hostname" is the name of the host with commas instead of dots, "servicename" is the name of the service, and "timestamp" is the time of the log. This is automatically generated by the bb-hist.cgi(1) tool. OPTIONS
--hobbitd Retrieve the current status log from hobbitd(1) rather than from the logfile. This is for use with the Xymon daemon from the Xymon monitor version 4. --historical Use a historical logfile instead of the current logfile. --history={top|bottom|none} When showing the current logfile, provide a "HISTORY" button at the top or the bottom of the webpage, or not at all. The default is to put the HISTORY button at the bottom of the page. --env=FILENAME Load the environment from FILENAME before executing the CGI. --templates=DIRECTORY Where to look for the HTML header- and footer-templates used when generating the webpages. Default: $BBHOME/web/ --no-svcid Do not include the HTML tags to identify the hostname/service on the generated web page. Useful is this already happens in the hostsvc_header template file, for instance. --multigraphs=TEST1[,TEST2] This causes hobbitsvc.cgi to generate links to service graphs that are split up into multiple images, with at most 5 graphs per image. This option only works in Xymon mode. If not specified, only the "disk" status is split up this way. --no-disable By default, the info-column page includes a form allowing users to disable and re-enable tests. If your setup uses the default sepa- ration of administration tools into a separate, password- protected area, then use of the disable- and enable-functions requires access to the administration tools. If you prefer to do this only via the dedicated administration page, this option will remove the disable-function from the info page. --no-jsvalidation The disable-function on the info-column page by default uses JavaScript to validate the form before submitting the input to the Xymon server. However, some browsers cannot handle the Javascript code correctly so the form does not work. This option disables the use of Javascript for form-validation, allowing these browsers to use the disable-function. FILES
$BBHOME/web/hostsvc_header HTML template header $BBHOME/web/hostsvc_footer HTML template footer ENVIRONMENT
NONHISTS=info,trends,graphs A comma-separated list of services that does not have meaningful history, e.g. the "info" and "trends" columns. Services listed here do not get a "History" button. TEST2RRD=test,test A comma-separated list of the tests that have an RRD graph. SEE ALSO
xymon(7), hobbitd(1) Xymon Version 4.2.3: 4 Feb 2009 BB-HOSTSVC.CGI(1)
Man Page