[Reconnoiter-users] templates sample?

Theo Schlossnagle jesus at omniti.com
Thu Aug 13 12:04:29 EDT 2009


Sadly, we couldn't squeeze a template editor into the Wangle release.   
I've got a template that we use for switchports:

You can make up a uuid and title in the prism.graph_templates table...  
this is the json we use for switchports:

{"type":"standard","datapoints": 
[{"sid":__SwitchPort[SID]__,"name":"Inbound","metric_name":"inoctets","metric_type":"numeric","axis":"l","derive":"derive","hidden":false,"math2":"8,*","math1":"-1,*,auto,2,round","color":"#229c9c"},{"sid":__SwitchPort[SID]__,"name":"Outbound","metric_name":"outoctets","metric_type":"numeric","axis":"l","hidden":false,"derive":"derive","math2":"8,*","math1":"auto,2,round","color":"#f2ad00"},
{"metric_type":"guide","hidden":false,"math2":"100","math1":"auto, 
2,round","name":"max","color":"#ff0000"}, 
{"metric_type":"guide","hidden":false,"math1":"auto, 
2,round","math2":"95","name":"95th","color":"#ff0000"}, 
{"sid":__SwitchPort[SID]__,"name":"Alias","metric_name":"alias","metric_type":"text","axis":"l","hidden":false,"color":"#056600"},{"sid":__SwitchPort[SID]__,"name":"IfDescr","metric_name":"description","metric_type":"text","axis":"l","color":"#33aa33","hidden":true}],
"saved":true,"title":"__SwitchName[TEXT]__ %{IfDescr} [%{Alias}]"}

Hope that helps.  Certainly not end-user consumable at this point.  We  
really need to get a template creator in place. :-D

On Aug 11, 2009, at 6:49 PM, Nathan Haneysmith wrote:

> Hey,
>
> Anybody got a sample graph template they can share? I've been poking
> around and can't seem to find any examples or hints on how/where to go
> to start building templates.
>
> Thanks!
>
> -- 
> Nathan Haneysmith | www.opscode.com
> nathan at opscode.com | 206.508.4799
>
> OpsCode Inc
> 119 1st Avenue S, Suite 100
> Seattle, WA 98104
> _______________________________________________
> Reconnoiter-users mailing list
> Reconnoiter-users at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/reconnoiter-users

--
Theo Schlossnagle
http://omniti.com/is/theo-schlossnagle
p: +1.443.325.1357 x201   f: +1.410.872.4911







More information about the Reconnoiter-users mailing list