----[ Requirements - Cacti v0.8.6f or later. - Nagios 2.0b4 or later compiled with --enable-event-broker * Earlier releases will not work do to changes in the event broker architecture. - MySQL 4.1.x * You will need the MySQL development RPM's to compile the inserter module. - InnoDB support (The NPC tables will be created as InnoDB). - Plugin Architecture for Cacti. (http://cactiusers.org/downloads/cacti-plugin-arch.zip) ----[ Installation Cacti: - Unzip NPC into the plugins directory under your Cacti installation. * /cacti/plugins/npc - Edit /cacti/includes/config.php and add: $plugins[] = 'npc'; - Log into Cacti or load/refresh any page in Cacti to cause setup.php to run. This will build the database tables required by the Nagios Event Broker module that you will install below. - Nagios Event Broker: Edit the MySQL options on line 143 of /cacti/plugins/npc/neb/inserter.c. The parameters for connecting to the Cacti database have to be hard coded right now. In the future the parameters will be able to be passed in from Nagios. Next, copy /cacti/plugins/npc/neb/inserter.c and /cacti/plugins/npc/neb/makefile to module/ under your Nagios source directory. cd to the module directory and run make. When make completes you should have a file called inserter.o. This is the module that will be loaded by Nagios. Copy inserter.o to /path/to/nagios/modules.