Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > dd1eded079f2b42f96e276fd4e59a3e6 > files > 3

nisca-2.3.2-1mdk.noarch.rpm

<? // ( -*- php -*- this makes emacs users happy )
/*
 Network Interface Statistics Collection Agent
 by Brett Baugh

 This is the path configuration file for NISCA.
 It needs to go into /etc/nisca/... you can change its location,
 but you'll have to run "move_niscaconf_to" to do so before you run
 anything because every NISCA script references it directly.

 You don't have to put a trailing "/" on any of the directories,
 but it won't hurt.
 */

// The set of fonts you want to use on the HTML pages,
// separated by commas. These will NOT be used on graphs.
   $fontface="arial,helvetica,univers,futura,sans";

// Top-level URL, relative to the DocumentRoot of your web server;
// if you go to "http://localhost/nisca" to get to Nisca, "/admin/nisca" goes here:
   $location["home"]             = "/admin/nisca";

// Top-level directories:
   $location["configs"]          = "/etc/nisca";
   $location["install"]          = "/var/www/html/admin/nisca";
   $location["runtime"]          = "/var/run";
   $location["snmpdir"]          = "/usr/bin";

// Directories usually derived from TLD's above:
   $location["lib"]              = "{$location["install"]}/lib";
   $location["imagedir"]         = "{$location["install"]}/images";
   $location["archive"]          = "{$location["install"]}/archive";

// Specific file locations usually derived from directories above:
   $location["db_config"]        = "{$location["configs"]}/db.conf";
   $location["functions"]        = "{$location["lib"]}/functions.php";
   $location["cfunctions"]       = "{$location["lib"]}/cfunctions.php";
   $location["security"]         = "{$location["lib"]}/security.php";
   $location["help"]             = "{$location["lib"]}/help.php";
   $location["wmimg"]            = "{$location["imagedir"]}/wm.png";
   $location["local_pidfile"]    = "{$location["runtime"]}/nisca_local.pid";
   $location["snmp_pidfile"]     = "{$location["runtime"]}/nisca_snmp.pid";
   $location["bin_snmpwalk"]     = "{$location["snmpdir"]}/snmpwalk -Oenq -t 2 -r 1";
   $location["bin_snmpbulkwalk"] = "{$location["snmpdir"]}/snmpbulkwalk -Oenq -t 2 -r 1";

// Specific URLs usually derived from the top-level URL "home" directory above.
   $location["admin"]            = "{$location["home"]}/admin";
   $location["helpurl"]          = "{$location["home"]}/help";
   $location["images"]           = "{$location["home"]}/images";
   $location["background"]       = "{$location["images"]}/bg1.jpg";
?>