Changes between Version 15 and Version 16 of QuickStartGuide
- Timestamp:
- 03/27/08 12:47:42 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStartGuide
v15 v16 67 67 }}} 68 68 69 The path to the event broker module and config file which you will install next. 69 The path to the event broker module and config file which you will install next. This example assumes Nagios is installed in /usr/local/nagios. Adjust the path to suit your installation. 70 70 {{{ 71 71 broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg 72 72 }}} 73 73 74 If you want to use performance data from Nagios plugins to create graphs in cacti then set the following parameter. Setting host_perfdata_command and service_perfdata_command is not necessary. The performance data will be written to the NPC database where it can be polled by cacti using the perfdata.php script included with NPC.74 If you want to use performance data from Nagios plugins to create graphs in cacti then set the following parameter. 75 75 {{{ 76 76 process_performance_data=1 77 }}} 77 }}} 78 79 Setting host_perfdata_command and service_perfdata_command is not necessary. The performance data will be written to the NPC database where it can be polled by cacti using the perfdata.php script included with NPC. 78 80 79 81 == Installing/Configuring NDO2DB == … … 81 83 NOD2DB is part of the NDOUTILS package. Nagios hands events off to NDO2DB via the event broker. NDO2DB handles the actual inserts of Nagios data into the NPC tables. 82 84 83 Instructions for compiling, installing, and configuring NDO2DB are included in the README file of the ndoutils package. The README has four sections. Skip the section on setting upthe database.85 Instructions for compiling, installing, and configuring NDO2DB are included in the README file of the ndoutils package. The README has four sections. Skip the section on initializing the database. 84 86 85 87 * Follow the 'COMPILING INSTRUCTIONS' section of the README. … … 100 102 }}} 101 103 102 The user/pass you assign needs select, insert, update, delete on all the npc_ tables. ndo2db can communicate with Nagios via unix socket or TCP. Use whatever works for you .104 The user/pass you assign needs select, insert, update, delete on all the npc_ tables. ndo2db can communicate with Nagios via unix socket or TCP. Use whatever works for you (I use the TCP mode). 103 105 104 106 Note: I had some problems with the ndo2db process dying (regularly) on Fedora Core 7. To get around that I setup the process to respawn via init. If you have trouble with the daemon dying you can add the following line to /etc/inittab