File: 1.10.3a/node/posix/config.inc.php (View as HTML)

  1: <?php // config.inc.php
  2: // FreeNATS Push/Pull XML Node for Posix Environments Configuration
  3: /* -------------------------------------------------------------
  4: This file is part of FreeNATS
  5: 
  6: FreeNATS is (C) Copyright 2008 PurplePixie Systems
  7: 
  8: FreeNATS is free software: you can redistribute it and/or modify
  9: it under the terms of the GNU General Public License as published by
 10: the Free Software Foundation, either version 3 of the License, or
 11: (at your option) any later version.
 12: 
 13: FreeNATS is distributed in the hope that it will be useful,
 14: but WITHOUT ANY WARRANTY; without even the implied warranty of
 15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16: GNU General Public License for more details.
 17: 
 18: You should have received a copy of the GNU General Public License
 19: along with FreeNATS.  If not, see www.gnu.org/licenses
 20: 
 21: For more information see www.purplepixie.org/freenats
 22: -------------------------------------------------------------- */
 23: 
 24: // Configuration Section
 25: 
 26: $nodeCfg['nodeid']			=	"";	// nodeid for FreeNATS (required)
 27: 
 28: $nodeCfg['nodekey']			=	""; // alphanumeric node key
 29: 
 30: // Pull method - polled from FreeNATS server
 31: 
 32: $nodeCfg['allowpull']		=	true; // allow pull mode
 33: $nodeCfg['restrict_pull_ip']=	""; // limit IPs allowed to pull data
 34: 
 35: // Push method - polled locally and HTTP POSTd to FreeNATS server
 36: 
 37: $nodeCfg['allowpush']	=		true; // allow push mode
 38: $nodeCfg['push_target']	=		""; // Full http://YOUR_FREENATS/nodeside.push.php
 39: 
 40: 
 41: $nodeCfg['tmp_dir']		=		"/tmp/fnn."; // tmp dir (and optional file prefix)
 42: 								// for temp delta-calculation files e.g. network speed
 43: 
 44: 
 45: // Individual Test Sections Enabled/Disabled
 46: 
 47: $nodeCfg['uptime']			=	true;
 48: $nodeCfg['disk']			=	true;
 49: $nodeCfg['memory']			=	true;
 50: $nodeCfg['net']				=	true;
 51: $nodeCfg['systime']			=	true;
 52: $nodeCfg['process']			=	true;
 53: ?>