"Fossies" - the Fresh Open Source Software Archive 
Member "node-runner-0.6.0/etc/nr.inc" (5 Jan 2005, 2991 Bytes) of package /linux/www/old/node-runner-0.6.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) fasm source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "nr.inc" see the
Fossies "Dox" file reference documentation.
1 <?
2 # Standard configuration file for Node Runner
3 # Should be stored somewhere safe
4
5 $nr_ver = "0.6.0"; # Node Runner version number
6 $dbtype = "mysql"; # database type (Currently only supports MySQL)
7 $dbhost = "localhost"; # database host
8 $db = ""; # database name
9 $dbuser = ""; # database username
10 $dbpass = ""; # database password
11 $sender = ""; # Email address to receive alerts from
12 $detailed_email = 0; # Send detailed information with email alerts (0 = NO)
13 $delay = 15; # Minutes to wait between each "down" notification
14 $max_alerts = 0; # Maximum number of alerts sent while "down" (0 = unlimited)
15 # This is in addition to initial notification.
16 $max_attempts = 2; # Max query attempts before declaring status as "down"
17 $qtime = 2; # Time between queries (Should coincide with cron -
18 # i.e. if node.start is run every 2 minutes, value
19 # should be set to 2.
20 $allow_refused = 0; # Allow port error 111 'Connection Refused' to be regarded
21 # as a positive response (UP) by the node. You may encounter
22 # this with various routers on the telnet port.
23 $debug = 0; # Set to 1 for script output (see README)
24 $firstmail = 0; # Number of minutes a node must be "DOWN" before
25 # NR sends first mail notice.
26 # (0 = Send notice immediately)
27 $secure_monitor = 0; # Only admins can start the Network Dashboard marquee (0 = NO)
28 $show_recent = 1; # Display list of recent failures on Network Dashboard (0 = NO)
29 $monitor_polling = 0; # Allow 'Click to poll manually' on Network Dashboard (0 = NO)
30 $truncate_at = 22; # Truncate node names to this length on status monitor (0 = No truncation)
31 $status_stats = 1; # Display Node Statistics Snapshot on Network Dashboard (0 = NO)
32 $dash_refrate = 30; # Set refresh rate (in seconds) for Network Dashboard
33 $allow_rss = 1; # Allow RSS feed for NR Project News on main page of web interface.
34
35 $glbl_hash = "Rx1Uo12n6N"; # CHANGE THIS to ensure the security of your web interface.
36
37 $path_to_include = "/path/to/include/"; # This should point to the NR include directory.
38 # (Remember the trailing slash.)
39 $nr_url = "http://localhost/node-runner/"; # This should point to the url where the NR html
40 # files were placed. (Remember trailing slash.)
41
42 # DO NOT MODIFY BELOW THIS POINT!
43
44 // Set globals for includes
45 GLOBAL $nr_ver,
46 $dbtype,
47 $dbhost,
48 $db,
49 $dbuser,
50 $dbpass,
51 $detailed_email,
52 $sender,
53 $delay,
54 $max_alerts,
55 $max_attempts,
56 $qtime,
57 $debug,
58 $allow_refused,
59 $firstmail,
60 $secure_monitor,
61 $show_recent,
62 $monitor_polling,
63 $allow_rss,
64 $glbl_hash,
65 $path_to_include,
66 $nr_url;
67 ?>