require('../../gen_head1.inc'); $gen_title = 'CoffeeSaint as a webbrowser applet'; $gen_refresh = ''; $gen_javacollect = 1; $gen_heading = 1; $gen_echelon = 1; require('../../gen_head2.inc'); ?>
Running CoffeeSaint as an AppletWhat to do1. adjust the html below to reflect your local configuration2. put in the same directory of CoffeeSaint.jar 3. with your webbrowser, surf to the location of this HTML/CoffeeSaint.jar Problems
DemoCheck the demo here (might be off-line if my ADSL line is down).Example HTML code<HTML><BODY> <TABLE BORDER=1><TR><TD> <applet archive=CoffeeSaint.jar code=Applet width="1024" height="768"> <PARAM NAME="image" VALUE="MJPEG http://keetweej.vanheusden.com:8001/cgi-bin/stream.cgi"> <PARAM NAME="source" VALUE="ztcp 3 keetweej.vanheusden.com 33336"> <PARAM NAME="allow-all-ssl" VALUE="true"> <PARAM NAME="adapt-img" VALUE="false"> <PARAM NAME="random-img" VALUE="true"> <PARAM NAME="counter" VALUE="true"> <PARAM NAME="listen-port" VALUE="12340"> <PARAM NAME="listen-adapter" VALUE="0.0.0.0"> <PARAM NAME="bgcolor" VALUE="white"> <PARAM NAME="bgcolor-fade-to" VALUE="CoffeeSaint"> <PARAM NAME="problem-row-gradient" VALUE="white"> <PARAM NAME="textcolor" VALUE="CoffeeSaint"> <PARAM NAME="warning-textcolor" VALUE="red"> <PARAM NAME="critical-textcolor" VALUE="yellow"> <PARAM NAME="bgcolorok" VALUE="green"> <PARAM NAME="nrows" VALUE="15"> <PARAM NAME="flexible-n-columns" VALUE="false"> <PARAM NAME="interval" VALUE="30"> <PARAM NAME="prefer" VALUE="functioneel"> <PARAM NAME="always-notify" VALUE="false"> <PARAM NAME="also-acknowledged" VALUE="false"> <PARAM NAME="font" VALUE="Arial"> <PARAM NAME="critical-font" VALUE="Arial"> <PARAM NAME="warning-font" VALUE="Arial"> <PARAM NAME="verbose" VALUE="true"> <PARAM NAME="anti-alias" VALUE="true"> <PARAM NAME="max-quality-graphics" VALUE="false"> <PARAM NAME="row-border" VALUE="true"> <PARAM NAME="draw-problems-service-split-line" VALUE="true"> <PARAM NAME="row-border-color" VALUE="CoffeeSaint"> <PARAM NAME="upper-row-border-height" VALUE="13"> <PARAM NAME="graph-color" VALUE="CoffeeSaint"> <PARAM NAME="no-gui" VALUE="false"> <PARAM NAME="fullscreen" VALUE="undecorated"> <PARAM NAME="reduce-textwidth" VALUE="false"> <PARAM NAME="header" VALUE="%STATE, %H:%M"> <PARAM NAME="show-header" VALUE="true"> <PARAM NAME="scrolling-header" VALUE="false"> <PARAM NAME="scroll-pixels-per-sec" VALUE="100"> <PARAM NAME="host-issue" VALUE="%HOSTNAME: %OUTPUT"> <PARAM NAME="service-issue" VALUE="%HOSTNAME: %SERVICENAME %OUTPUT"> <PARAM NAME="transparency" VALUE="1.0"> <PARAM NAME="hosts-filter-exclude" VALUE=""> <PARAM NAME="hosts-filter-include" VALUE=""> <PARAM NAME="services-filter-exclude" VALUE=""> <PARAM NAME="services-filter-include" VALUE=""> <PARAM NAME="scroll-if-not-fitting" VALUE="false"> <PARAM NAME="splitter" VALUE=":"> <PARAM NAME="counter-position" VALUE="lower-right"> <PARAM NAME="sparkline-width" VALUE="150"> <PARAM NAME="header-always-bgcolor" VALUE="true"> <PARAM NAME="split-text-put-at-offset" VALUE="150"> <PARAM NAME="logo" VALUE="http://vanheusden.com/java/CoffeeSaint/nagios-logo.jpg"> <PARAM NAME="logo-position" VALUE="right"> <PARAM NAME="web-expire-time" VALUE="1800"> <PARAM NAME="latency-file" VALUE="latency.dat"> <PARAM NAME="no-problems-text" VALUE="No problems"> <PARAM NAME="state-problems-text" VALUE="Problem count: %TOTALISSUES"> <PARAM NAME="no-problems-text-position" VALUE="nowhere"> <PARAM NAME="sparkline-graph-mode" VALUE="avg-sd"> <PARAM NAME="sort-order" VALUE="numeric last_state_change"> <PARAM NAME="also-scheduled-downtime" VALUE="false"> <PARAM NAME="also-soft-state" VALUE="false"> <PARAM NAME="also-disabled-active-checks" VALUE="false"> <PARAM NAME="show-services-for-host-with-problems" VALUE="false"> <PARAM NAME="show-flapping" VALUE="true"> <PARAM NAME="problem-columns" VALUE="1"> <PARAM NAME="cam-rows" VALUE="1"> <PARAM NAME="cam-cols" VALUE="1"> <PARAM NAME="ignore-aspect-ratio" VALUE="false"> <PARAM NAME="warning-bg-color" VALUE="yellow"> <PARAM NAME="critical-bg-color" VALUE="red"> <PARAM NAME="nagios-unknown-bg-color" VALUE="magenta"> <PARAM NAME="disable-http-compression" VALUE="false"> <PARAM NAME="color-bg-to-state" VALUE="false"> </applet> </TD></TR></TABLE> </BODY> </HTML> | vertical_commercial('5992073590'); ?> |