This file is indexed.

/usr/share/nagios3/htdocs/config.inc.php is in nagios3-cgi 3.5.1-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<?php
//


$cfg['cgi_config_file']='/etc/nagios3/cgi.cfg';  // location of the CGI config file

$cfg['cgi_base_url']='/cgi-bin/nagios3';


// FILE LOCATION DEFAULTS
$cfg['main_config_file']='/etc/nagios3/nagios.cfg';  // default location of the main Nagios config file
$cfg['status_file']='/var/lib/nagios3/status.dat'; // default location of Nagios status file
$cfg['state_retention_file']='/var/lib/nagios3/retention.dat'; // default location of Nagios retention file



// utilities
require_once(dirname(__FILE__).'/includes/utils.inc.php');

?>