<p>We are running xymon 4.2.3 on Solaris 10 within a data center of about 1000 servers.</p><p> </p><p>Would like to create a custom non-green screen that has only certain servers on it. So that the all windows servers are on one critical systems page and then all the unix servers will be on another page.</p>
<p> </p><p> I found a previous email about it, but it doesn't explain it fully. Wondering what steps I am missing!</p><p> </p><p>I have add this script to the cgi-bin directory, but not seeing any on the web page.</p>
<p>#!/bin/sh</p><p># Pick only hosts on the "windows" page<br>PAGE="windows"</p><p># Get red ones as priority 1<br>xymon 127.0.0.1 \<br>  "xymondboard color=red fields=hostname,testname page=$PAGE" | \<br>
  awk '{ print $1 "||||1|||" }' > /tmp/crit_$$.cfg<br># Yellow ones get priority 2<br>xymon 127.0.0.1 \<br>  "xymondboard color=yellow fields=hostname,testname page=$PAGE" | \<br>  awk '{ print $1 "||||2|||" }' >> /tmp/crit_$$.cfg</p>
<p># Build the webpage<br>. /usr/lib/xymon/server/etc/cgioptions.cfg<br>$XYMONHOME/bin/criticalview.cgi $CGI_CRITVIEW_OPTS \<br>    --config=/tmp/crit_$$.cfg</p><p>rm -f /tmp/crit_$$.cfg<br>exit 0</p><p><br>Thanks</p><p> </p>
<p>-Scott Hanson</p>