forked from lozzd/Nagdash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php.example
32 lines (24 loc) · 1.34 KB
/
config.php.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
// Config
// Your Nagios hosts
$nagios_hosts = array(
array("hostname" => "nagios01.dc1.company.com", "port" => "6315", "protocol" => "http", "tag" => "DC1", "tagcolour" => "#336699"),
array("hostname" => "nagios01.dc2.company.com", "port" => "6315", "protocol" => "http", "tag" => "DC2", "tagcolour" => "#696969"),
array("hostname" => "nagios01.dc3.company.com", "port" => "6315", "protocol" => "http", "tag" => "DC3", "tagcolour" => "#4169E1"),
// and so on...
// array("hostname" => "example.company.com", "port" => "6315", "protocol" => "http", "tag" => "HOST", "tagcolour" => "#FFA500"),
);
// Globally filter out hosts using a regex, if you wish, or leave blank for all.
$filter = "";
// Default downtime duration, measured in seconds, for scheduling downtime via the Nagdash interface.
$duration = 60*60;
// Show the floating spinner when Nagdash is being refreshed.
$show_refresh_spinner = true;
// sort_by_time: Set this to true to sort by the last state change, e.g. how long the service has been broken.
// If set to false, leave to default sorting by hostname instead.
$sort_by_time = false;
// Enables the <blink> tag on HARD service notifications. Enable if you want more eye-catching goodness
$enable_blinking = false;
# For testing, uncomment this for some errors:
//$mock_state_file = './test_data/state';
// End Config