Home

  • Home
  • Blogs
  • Documentation
  • Downloads
  • Get Involved
  • Commercial

Installation

  • opdb
  • Open the pkg inside the modules directory of a nagios 3.x
  • Edit opdb.c and set up these 3 lines

 /* This file has the mysql database host, user and password, a example file is supplied */
 #define DBCONF "/usr/local/nagios/etc/db.php"
 /* In case the broker can't write to the database, it writes the queries to a file, so 
 they can be importer later on, both for opmon statiscts and performance database 
 */
 #define FAILED_QUERIES_FILE "/usr/local/nagios/var/opmon.sql"
 #define PERF_FAILED_QUERIES_FILE "/usr/local/nagios/var/opperf.sql"
  • In the directory modules run to compile it:

 gcc -D_GNU_SOURCE -Wall -shared -o opdb.o opdb.c -L/usr/lib/mysql -lmysqlclient -DNSCORE
  • Copy it to your nagios directory
  • create the mysql databases with the supplied script opmon-mysql.sql

 Ex. mysql -p -f < opmon-mysql.sql
  • in opcfg, go to Main Config, Event Broker and add it there
  • Export the configuration and you should see it writing to the databases

‹ Requirements up Internal structure ›
»
  • Printer-friendly version

Projects

opcfg

OpCfg is a PHP-based HTTP configuration front-end to Nagios 3.x. OpCfg is a fork from Fruity.

opcp

OpCP is a capacity planning graph generator based on opdb ( nagios broker ) database.

opdb

The opdb project is a nagios broker that writes statistics and performance data to a mysql database.

opmonagent

OpMonAgent has been developed to get performance information from Windows Servers and return them to Nagios using the check_nt client.

Recent blog posts

  • OpDB 1.0.2 Announce
  • OpCp 1.0.0 Announce. Capacity planning for Nagios.
  • OpDB 1.0.1 Announce
  • OpCfg 1.0.2 released!
  • Welcome to our opensource site !!!
more

User login

  • Request new password
Copyright 2008-2010 © OpServices. All rights reserved.