media="all">
"; for ($i = 0; $i < count($nav); $i++){ if ($dirMax >= $pthSize){ if(($nav[$i][2] != 1) && (getfilepath($nav[$i][1]) == $parsedpath)) echo "Help : ".$nav[$i][0]; if (parsefilepath($nav[$i][1]) == $dirs[$pthSize]){ if ((getfilepath($nav[$i][1]) != $pth) || getfilepath($nav[$i][1]) != $pth."index.php") echo "Help : "; if (getfilepath($nav[$i][1]) == $parsedpath) echo $nav[$i][0]; else { echo "".$nav[$i][0]." : "; for ($j = 0; $j < count($nav[$i][3]); $j++){ if(getfilepath($nav[$i][3][$j][1]) == $parsedpath) echo $nav[$i][3][$j][0]; if(parsefilepath($nav[$i][3][$j][1]) == $dirs[$pthSize + 1]) { if ((getfilepath($nav[$i][3][$j][1]) == $parsedpath));// echo $nav[$i][3][$j][0]; else { echo "".$nav[$i][3][$j][0]." : "; for($k = 0; $k < count($nav[$i][3][$j][3]); $k++) { if(getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) echo $nav[$i][3][$j][3][$k][0]; if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+2] && getfilebase($nav[$i][3][$j][3][$k][1]) == $path_parts["basename"]) { if (getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) ; //echo $nav[$i][3][$j][3][$k][0]; else if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+3] && $nav[$i][3][$j][3][$k][2] == 1) { for ($l = 0; $l < count($nav[$i][3][$j][3][$k][3]); $l++){ if (getfilepath($nav[$i][3][$j][3][$k][3][$l][1]) == $parsedpath) echo "".$nav[$i][3][$j][3][$k][0]." : "; echo $nav[$i][3][$j][3][$k][3][$l][0]; } } } } } } } } } } } echo ""; ?>

All the InMon Traffic Servers within an enterprise can be configured with a single configuration file. A typical configuration file is shown below:

[enterprise] 
name = "InMon Corp."
samplingRate = 400
samplingRate.10 = 400
samplingRate.100 = 1000
samplingRate.1000 = 2000
SLA.utilization = 65%/5           ; SLA violation if utilization
                                  ; exceeds 65% for more than 5 minutes per day
threshold.utilization = 65%/2/5   ; trip if utilization exceeds
                                  ; 65% for 2 out of any 5 minutes
community = "public"
samplingEnabled = YES
discoveryEnabled = YES
hubDiscoveryEnabled = NO    
  
[site] 
name = "Corporate Headquarters"
managerName = "P. Phaal"
managerTelephone = "(415) 699-9026"
server = traffic.corp.inmon.com
softwareKey = 38CF43703945EA70FFFFFFFF444C7650F7E6E89D82578570243CDA8B

community = "traffic"
trapDestination = netman.inmon.com
smtpHost = smtp.corp.inmon.com
emailDestination = peter@corp.inmon.com
    
[zone] 
name = "1st Floor"
      
[subnet] 
subnet = 10.54.160.0/255.255.248.0
      
[subnet] 
subnet = 10.16.192.0/255.255.248.0

[zone]
name = "2nd Floor"

[subnet]
subnet = 10.54.168.0/255.255.248.0

[site]
name = "R&D Lab."
managerName = "N. McKee"
managerTelephone = "(415) 564-4553"
server = traffic.labs.inmon.com
softwareKey = AB1233945EA70FFFFFFFF444C7650F7E6E89D82578570243CDA8B
community = "sample"

[zone]
name = "Building 4"

[subnet]
subnet = 10.10.208.0/255.255.248.0

The configuration file has a simple hierarchical structure. Section tags are denoted by square [ ] brackets and can be nested in the following order: enterprise, site, zone, subnet, agent and port. Each tag is followed by a number of attributes and values. A comment can be added by prefixing it with a semicolon (;).

Sections of the configuration file can be included from other files, either locally on the Traffic Server, or remotely using HTTP. The format of the include statement is as follows:

#include <filename | URL>

For example, the statement:

#include http://server.inmon.com/thresholds.txt

would include retrieve and incorporate statements in the http://server.inmon.com/thresholds.txt file.

When a Traffic Server is given a configuration file, it finds the site it is responsible for (by looking for itself in the site's server attribute). The Traffic Server then goes on to discover all the HP Extended RMON agents in the zones and subnets it is required to monitor.  The agents are then activated and the site's traffic continuously monitored.

A complete list of configuration options is provided for reference.