Cricket

http://cricket.sf.net/

Sample Config

For targets or mtargets where you specify multiple interfaces there is a gotcha. If they are using a non-standard target-type you need to make sure that you define your target-type to match or you can end up with empty graphs.

target --default--
   directory-desc        = "Foundry BigIron Chassis"
   display-name          = %interface-name%
   router                = switch01
   #target-type          = standard-interface

target 1
   interface-name        = "switch01 Interface 1/1"
   long-desc             = "<BR><b><font color='#3333FF' size=6> switch01 Interface 1/1</b></font>"
   short-desc            = "Interface 1/1"

<... many more similar targets ...>

# See "targets" at http://cricket.sourceforge.net/support/doc/reference.html
# for mtargets and targets absolute vs. relative syntax.

# Creates a single set page with links and graphs for each interface 1-4
target trunk01-targets
   #target-type          = standard-interface
   short-desc            = "Switch01 Trunk Interface 1/1-1/4 (sum)"
   targets-short-desc    = "('Ethernet 1/1','Ethernet 1/2','Ethernet 1/3','Ethernet 1/4')"
   targets               = "/switch-interfaces/switch01/1;
                            /switch-interfaces/switch01/2;
                            /switch-interfaces/switch01/3;
                            /switch-interfaces/switch01/4"

# Creates a single set of graphs which plot a line for each interface 1-4
target trunk01-mtargets
   #target-type          = standard-interface
   short-desc            = "Switch01 Trunk Interface 1/1-1/4 (sum)"
   targets-short-desc    = "('Ethernet 1/1','Ethernet 1/2','Ethernet 1/3','Ethernet 1/4')"
   mtargets              = "/switch-interfaces/switch01/1;
                            /switch-interfaces/switch01/2;
                            /switch-interfaces/switch01/3;
                            /switch-interfaces/switch01/4"
   mtargets-ops          = "sum()"

# Creates a single set of graphs displaying the sum of interfaces 1-4 (can average with avg())
target trunk01-mtargets-sum
   #target-type          = standard-interface
   short-desc            = "Switch01 Trunk Interface 1/1-1/4 (sum)"
   targets-short-desc    = "('Ethernet 1/1','Ethernet 1/2','Ethernet 1/3','Ethernet 1/4')"
   mtargets              = "/switch-interfaces/switch01/1;
                            /switch-interfaces/switch01/2;
                            /switch-interfaces/switch01/3;
                            /switch-interfaces/switch01/4"
   mtargets-ops          = "sum()"

Nagios


CategorySoftware

NetworkMonitoring (last edited 2004-01-28 02:20:59 by AdamShand)