import torrus 1.0.9
[freeside.git] / torrus / xmlconfig / vendor / symmetricom.xml
1 <?xml version="1.0"?>
2 <!--
3    Copyright (C) 2007 Jon Nistor
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19   $Id: symmetricom.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $
20   Jon Nistor <nistor at snickers dot org>
21
22 -->
23 <!-- Symmetricom specific definitions -->
24
25 <configuration>
26
27 <definitions>
28   <!-- SYMM-SMI -->
29   <def name="ntpSysPrecision"    value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.3.0"/>
30   <def name="ntpSysPoll"         value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.8.0"/>
31   <def name="ntpSysPktsReceived" value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.17.0"/>
32
33 </definitions>
34
35
36 <datasources>
37   <template name="ntp-stats">
38     <param name="ntpcommon-datafile"  value="%system-id%_NTP_stats.rrd"/>
39     <subtree name="NTP_Stats">
40       <param name="comment">
41         NTP Statistics
42       </param>
43       <param name="data-file"         value="%ntpcommon-datafile%"/>
44       <param name="rrd-create-dstype" value="GAUGE"/>
45
46       <leaf name="Precision">
47         <param name="comment"
48               value="Clock precision in secs to the nearest power of two"/>
49         <param name="graph-legend"    value="Clock precision"/>
50         <param name="vertical-label"  value="log2(sec)"/>
51         <param name="precedence"      value="999"/>
52         <param name="rrd-ds"          value="ntpSysPrecision"/>
53         <param name="rrd-create-min"  value="U"/>
54         <param name="snmp-object"     value="$ntpSysPrecision"/>
55       </leaf>
56       
57       <leaf name="Poll">
58         <param name="comment"
59               value="Min interval between transmitted messages"/>
60         <param name="graph-legend"    value="Polling Interval"/>
61         <param name="vertical-label"  value="Seconds"/>
62         <param name="precedence"      value="998"/>
63         <param name="rrd-ds"          value="ntpSysPoll"/>
64         <param name="snmp-object"     value="$ntpSysPoll"/>
65       </leaf>
66
67       <leaf name="Packts_Received">
68         <param name="comment"
69               value="Number of NTP packets received by SyncServer"/>
70         <param name="graph-legend"    value="Num of NTP Packets Received"/>
71         <param name="vertical-label"  value="Total"/>
72         <param name="precedence"      value="997"/>
73         <param name="rrd-ds"          value="ntpSysPktsReceived"/>
74         <param name="snmp-object"     value="$ntpSysPktsReceived"/>
75       </leaf>
76     </subtree>
77   </template>
78
79 </datasources>
80
81 </configuration>
82