Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:nagios_toaster [2009/11/14 19:11] – external edit 127.0.0.1public:nagios_toaster [2023/06/21 22:27] (current) – fix code tag bug Nico
Line 7: Line 7:
   * [[http://www.nagios.org|Nagios]] (obviously)   * [[http://www.nagios.org|Nagios]] (obviously)
   * [[http://munin.projects.linpro.no|Munin]]   * [[http://munin.projects.linpro.no|Munin]]
-  * [[http://www.nagiosadmin.de|Nagios Administrator]]. Warning, this is a german product. +  * [[http://www.nconf.org/|NConf]] 
-  * [[http://www.mysql.org|MySQL]] (Nagios Adminitrator needs it)+  * [[http://www.mysql.org|MySQL]] or [[https://mariadb.org/|MariaDB]] (NConf needs it) 
 + 
 +The main idea here is to use Nagios' frames to integrate the other tools. This can also be used with Nagios-style UIs (i.e. [[https://www.icinga.org/about/icingaweb/|Icinga Classic UI]], [[http://www.thruk.org/|Thruk]]), other configuration tools ([[https://github.com/senecon/nagiosadmin|Nagios Administrator, RIP]]) or other graphing tools ([[http://collectd.org/|collectd]]).
  
 ===== Web Server ===== ===== Web Server =====
-Any Webserver will fit there, as long as it supports CGI (for Nagios) and PHP (for Nagios Administrator). http authentification and https, although not mandatory, are strongly recommended.+Any Webserver will fit there, as long as it supports CGI (for Nagios) and PHP (for NConf). http authentification and https, although not mandatory, are strongly recommended.
  
 In this document, we will assume that the webroot directory will be /www/monitor/. In this document, we will assume that the webroot directory will be /www/monitor/.
Line 32: Line 34:
 <code>htmldir /www/monitor/munin</code> <code>htmldir /www/monitor/munin</code>
  
-===== Nagios Administrator ===== +===== NConf ===== 
-  - Get it from [[https://projects.secure-net-concepts.de/projects/list_files/nagiosadmin|Nagiosadmin redmine]] +  - Get it from [[http://sourceforge.net/projects/nconf/files/nconf/|Sourceforge]] 
-  - Extract it at the same level as the others tools (i.e. /www/monitor/nagiosadmin +  - Extract it at the same level as the others tools (i.e. /www/monitor/nconf 
-  - Follow /www/monitor/nagiosadmin/doc/install.txt to setup +  - Follow [[http://www.nconf.org/dokuwiki/doku.php?id=nconf:help:documentation:start:installation|the official installation guide]] to setup
- +
  
 ===== Binding all together ===== ===== Binding all together =====
-==== Nagiosadmin integration ==== +==== NConf integration ====
-  * Change the following line in the main Nagios configuration file: +
-<code> +
-cfg_dir=/www/monitor/nagiosadmin/data/nagios +
-</code>+
   * Add a link in the Nuvola menu. Edit /www/monitor/nagios/side/dtree_data.js, and add the following line at the end, just before the //document.write(configuration);// statemement:   * Add a link in the Nuvola menu. Edit /www/monitor/nagios/side/dtree_data.js, and add the following line at the end, just before the //document.write(configuration);// statemement:
 +
 <code js> <code js>
-configuration.add(5,0,'Administration','/nagiosadmin/web/language/en','','','side/icons/configuration.gif');+configuration.add(5,0,'Administration','/nconf/','','','side/icons/configuration.gif');
 </code> </code>
 ==== Munin integration ==== ==== Munin integration ====
-As Munin already output its graphs in /home/monitor/munin, we just have to display it in the main nagios frame (as we did for Nagios Administrator). Edit  /www/monitor/nagios/side/dtree_data.js, and add the following line just before the //document.write(reporting);// statement:+As Munin already output its graphs in /home/monitor/munin, we just have to display it in the main nagios frame (as we did for NConf). Edit  /www/monitor/nagios/side/dtree_data.js, and add the following line just before the //document.write(reporting);// statement:
 <code js> <code js>
 reporting.add(9,0,'Munin Graphs','/munin/','','','side/icons/reporting.gif'); reporting.add(9,0,'Munin Graphs','/munin/','','','side/icons/reporting.gif');