Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:nagios_toaster [2010/12/31 11:40] Nicopublic: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
-  - Some fixes: +
-  * bug in long commands: apps/backend/modules/command/config/generator.yml: +
-<code> +
-@@ -19,7 +19,7 @@ +
-       fields: +
-         created_at:   { type: plain } +
-         updated_at:   { type: plain } +
--        command:      { type: input_tag, params: size=80 } +
-+        command     { typeinput_tag, paramssize=80 maxsize=1024 } +
-         nagios_help { name: Nagios help } +
-  +
-       display: +
-</code> +
-  * shadow are ugly, plus they make tabs difficult to read. change in web/css/styles.css: +
-<code> +
-@@ -42,7 +42,7 @@ +
-        padding-left: 24px; +
-        text-align:center; +
-        text-decoration:none; +
--       text-shadow:#2A2A2F 2px 2px 1px; +
-+       /*text-shadow:#2A2A2F 2px 2px 1px;*/ +
- } +
-</code> +
-  * default language is German. if you don't understand this wunderbar language (like I do), change in apps/backend/config/i18n.yml: +
-<code> +
-@@ -1,5 +1,5 @@ +
- all: +
--  default_culture:     de +
-+  default_culture:     en +
- #  source:              XLIFF +
- #  debug:               off +
- #  cache:               on +
-</code>+
  
 ===== 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');