> The problem I am having was occurring in the inverse previously...
>
> I am checking to see if the RRD roundtrip graphs and RRD CheckResult
> graphs are available. If so, I am printing HTML with links to the
> graphs.
>
> Before, I was using a "SAIF" to check on each. The check results graphs
> are not available for most of my graphs, things like Ping... But the
> SAIF was always returning true and printing a line of links to images
> that didn't exist.
>
> So, I changed the saif for the checkresult to a sa_select_case. So the
> checkresults started working right. I decided I'd lie to do the same
> for the roundtrip graphs which always worked with the saif but not it's
> not working with the sa_select_case.
>
> Below is the code I am using.
>
> If you want the full template, you can get it from:
> http://dnaonline.us/template.txt
>
> Can anyone help me understand why the first doesn't work but the second
> does?
>
> Thanks!!!
> Rob
>
> ________________________________________________________________
>
> <TD width="150" valign="center" align="left">
>
> <sa_select_case sa_rrd_roundtrip_graph_available > <sa_case TRUE> <font
> size="-2"><b>Roundtrip Graphs</b><br /></font> <a
> href="<sa_rrd_roundtrip_hour_web_graphname>">hourly</a> <a
> href="<sa_rrd_roundtrip_day_web_graphname>">daily</a> <a
> href="<sa_rrd_roundtrip_week_web_graphname>">weekly</a> <a
> href="<sa_rrd_roundtrip_month_web_graphname>">monthly</a> <a
> href="<sa_rrd_roundtrip_year_web_graphname>">yearly</a>
> <br>
> <sa_case FALSE>
> <font size="-2"><b>Roundtrip Graphs Unavailable</b></font> <br />
> </sa_select_case>
>
> <sa_select_case SA_RRD_CHECKRESULT_GRAPH_AVAILABLE >
>               <sa_case TRUE>
> <font size="-2"><b>Check Results Graphs</b><br /></font> <a
> href="<sa_rrd_checkresult_hour_web_graphname>">hourly</a> <a
> href="<sa_rrd_checkresult_day_web_graphname>">daily</a> <a
> href="<sa_rrd_checkresult_week_web_graphname>">weekly</a> <a
> href="<sa_rrd_checkresult_month_web_graphname>">monthly</a> <a
> href="<sa_rrd_checkresult_year_web_graphname>">yearly</a>
> <br />
> <sa_case FALSE>
> <font size="-2"><b>Checkresult Graphs Unavailable</b></font> <br />
> </sa_select_case>
>
> </TD>
>

To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure 
that they are not send to the list nor to the individual members of the list 
that send a message.  Doing this will get you removed from the list.

Reply via email to