|
| 1 | +Index: adagios/adagios/etc/adagios/adagios.conf |
| 2 | +=================================================================== |
| 3 | +--- adagios.orig/adagios/etc/adagios/adagios.conf |
| 4 | ++++ adagios/adagios/etc/adagios/adagios.conf |
| 5 | +@@ -1,24 +1,24 @@ |
| 6 | + # nagios_config - Path to your nagios configuration file |
| 7 | + # If set, adagios will use this file to manage your object |
| 8 | + # definitions. If set to None, adagios will search most common |
| 9 | +-# paths like /etc/nagios/nagios.cfg for it |
| 10 | +-#nagios_config = "/etc/nagios/nagios.cfg" |
| 11 | +-nagios_config = "/etc/nagios/nagios.cfg" |
| 12 | ++# paths like /etc/nagios3/nagios.cfg for it |
| 13 | ++#nagios_config = "/etc/nagios3/nagios.cfg" |
| 14 | ++nagios_config = "/etc/nagios3/nagios.cfg" |
| 15 | + |
| 16 | + # This should be the URL to your nagios server. If set, then |
| 17 | + # Adagios can link you directly from configuration to live object. |
| 18 | + # If you don't need this feature. Set nagios_url to '' or None |
| 19 | +-#nagios_url = "http://mynagiosserver/nagios" |
| 20 | +-nagios_url = "/nagios" |
| 21 | ++#nagios_url = "http://mynagiosserver/nagios3" |
| 22 | ++nagios_url = "/nagios3" |
| 23 | + |
| 24 | +-# destination_directory - Where adagios will store new objects |
| 25 | ++# destination_directory ="/etc/nagios3/adagios/" |
| 26 | + # by default. You should make sure that this directory exists |
| 27 | +-# and nagios.cfg has a cfg_dir=/etc/nagios/adagios/ |
| 28 | +-destination_directory = "/etc/nagios/adagios/" |
| 29 | ++# and nagios.cfg has a cfg_dir=/etc/nagios3/adagios/ |
| 30 | ++destination_directory ="/etc/nagios3/adagios/" |
| 31 | + |
| 32 | + # livestatus_path - Path to livestatus socket |
| 33 | + livestatus_path = None |
| 34 | +-# enable_githandler - If set to true, and your /etc/nagios/ directory |
| 35 | ++# enable_githandler - If set to true, and your /etc/nagios3/ directory |
| 36 | + # is a git repository. adagios will automatically commit changes when |
| 37 | + # they are made. |
| 38 | + enable_githandler = True |
| 39 | +@@ -34,11 +34,11 @@ auto_reload = False |
| 40 | + |
| 41 | + # nagios_init_script - Path to init script used to start/stop nagios |
| 42 | + # Adagios uses this to reload nagios after configuration changes |
| 43 | +-nagios_init_script="sudo /etc/init.d/nagios" |
| 44 | ++nagios_init_script="sudo /etc/init.d/nagios3" |
| 45 | + |
| 46 | + # nagios_binary - Path to your nagios binary |
| 47 | +-# Adagios uses this to run "nagios -v /etc/nagios/nagios.cfg" |
| 48 | +-nagios_binary="/usr/sbin/nagios" |
| 49 | ++# Adagios uses this to run "nagios -v /etc/nagios3/nagios.cfg" |
| 50 | ++nagios_binary="/usr/sbin/nagios3" |
| 51 | + |
| 52 | + |
| 53 | + # escape_html_tags - Escape html tags in status view |
| 54 | +@@ -57,7 +57,7 @@ warn_if_selinux_is_active=True |
| 55 | + # This is used for integrated graphs into the status view |
| 56 | + # if you do not use pnp or do not need the status view of adagios |
| 57 | + # simply change this to any other file that exists |
| 58 | +-pnp_filepath="/usr/share/nagios/html/pnp4nagios/index.php" |
| 59 | ++pnp_filepath="/usr/share/pnp4nagios/html/index.php" |
| 60 | + |
| 61 | + |
| 62 | + # contrib_dir - Path to user contributed views |
0 commit comments