File: Defaults

package info (click to toggle)
cricket 1.0.5-23
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,940 kB
  • sloc: perl: 8,276; ansic: 329; sh: 162; makefile: 60; sql: 16
file content (40 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# a subtree for monitoring USR modem chassis, contributed
# by Jeremy Fischer <jeremy@kiva.net>, based on a modem
# monitoring script by Jeff Jensen <jpj@corp.webtv.net>

target --default--
    modem       =   %auto-target-name%
    short-desc  =   ""
    # You'll need to set your domain
    domain      =   yournetwork.net
    # you'll probably want to change this... unless you
    # have Cricket in ~/cricket and your config tree in ~/config
    util-dir    =   /usr/share/cricket/util
    #snmp-community =   private
    snmp-host   =   "%modem%.%domain%"
    usrGetUsage =   "%auto-base%/../cricket/util/usrModemUsage"
    usrGet      =   "%usrGetUsage% %modem% %snmp-community%"
    target-type =   USRModem

datasource      --default--
    rrd-ds-type       =       GAUGE
    rrd-heartbeat     =       1800
    rrd-min           =       undef
    rrd-max           =       undef

datasource    linesup   ds-source       =       EXEC:0:%usrGet%

targetType  USRModem
    ds  =   "linesup"
    view    =   "LinesUP: linesup"

html short-desc       USRModems

graph   --default--
    precision   =       integer

graph   linesup
    color   =   dark-green
    draw-as =   AREA
    y-axis  =   "Lines Used"
    legend  =   "Lines Used"