[Nagios-checkins] SF.net SVN: nagios:[1755] nagiosbpi/trunk/nagiosbpi
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: <mgu...@us...> - 2011-07-18 15:32:26
|
Revision: 1755 http://nagios.svn.sourceforge.net/nagios/?rev=1755&view=rev Author: mguthrie88 Date: 2011-07-18 15:32:16 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Prepped for version 1.3. BPI now allows hosts as group members. Tweaked status parsing functions and removed 'ereg' functions, changed to strpos for quicker processing. Modified Paths: -------------- nagiosbpi/trunk/nagiosbpi/INSTALL nagiosbpi/trunk/nagiosbpi/bpi_style.css nagiosbpi/trunk/nagiosbpi/constants.inc.php nagiosbpi/trunk/nagiosbpi/functions/bpi_functions.php Added Paths: ----------- nagiosbpi/trunk/nagiosbpi/CHANGELOG.txt Added: nagiosbpi/trunk/nagiosbpi/CHANGELOG.txt =================================================================== --- nagiosbpi/trunk/nagiosbpi/CHANGELOG.txt (rev 0) +++ nagiosbpi/trunk/nagiosbpi/CHANGELOG.txt 2011-07-18 15:32:16 UTC (rev 1755) @@ -0,0 +1,20 @@ +1.3 7/18/2011 +===================== +- added support for hosts as BPI group members +- updated status parsing functions, removed 'ereg' functions +- Added version number and support URL + + +1.2 +===================== +- Fixed a bug with the check_bpi.php file. Suppressed any error output from the command-line check in Nagios + +1.1 +====================== +- Fixed bugs with the fix_config tool, so errors in configuration file can be corrected easily. +- Cleaner error output and setup instructions +- check_bpi.php *should* work now for Core and XI. + +1.0 +====================== +- Fixed a bug in the host/service detail urls 11/30/2010 \ No newline at end of file Modified: nagiosbpi/trunk/nagiosbpi/INSTALL =================================================================== --- nagiosbpi/trunk/nagiosbpi/INSTALL 2011-07-13 05:02:55 UTC (rev 1754) +++ nagiosbpi/trunk/nagiosbpi/INSTALL 2011-07-18 15:32:16 UTC (rev 1755) @@ -71,8 +71,10 @@ Installation on Nagios XI ========================================== - Download the zip file onto a machine that can access XI from the web interface -- Go to the Admin->Manage Components page +- ***For upgrades***: + - cp /usr/local/nagiosxi/html/includes/components/nagiosbpi/bpi.conf /tmp/bpi.conf- Go to the Admin->Manage Components page - Upload the zip file using the upload tool on the page +- chmod +x /usr/local/nagiosxi/html/includes/components/nagiosbpi/set_bpi_perms.sh - Execute the /usr/local/nagiosxi/html/includes/components/nagiosbpi/set_bpi_perms.sh script - Nagios BPI should be accessible from the main-left menu of Nagios XI @@ -80,8 +82,20 @@ RUNNING A NAGIOS CHECK FOR BPI GROUPS ===================================== --Edit the 'check_bpi.php' file to point to the directory location of the 'api_tool.php' file. --Example: + +NAGIOS XI +========= +- Download and install the BPI Wizard to create checks for your BPI groups. +- http://exchange.nagios.org/directory/Addons/Configuration/Configuration-Wizards/Nagios-Business-Process-Intelligence-%28BPI%29-Wizard/details + + +NAGIOS CORE +=========== +- Download the check_bpi.php script +- http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2335&cf_id=29 +- Edit the 'check_bpi.php' file to point to the directory location of the 'api_tool.php' file. +- Example: + #!/usr/bin/php <?php $file = '/var/www/http_public/nagiosbpi/api_tool.php'; Modified: nagiosbpi/trunk/nagiosbpi/bpi_style.css =================================================================== --- nagiosbpi/trunk/nagiosbpi/bpi_style.css 2011-07-13 05:02:55 UTC (rev 1754) +++ nagiosbpi/trunk/nagiosbpi/bpi_style.css 2011-07-18 15:32:16 UTC (rev 1755) @@ -104,7 +104,7 @@ padding: 10px; } -p.note { color: #AAA; font-style: italic;} +.note { color: #AAA; font-style: italic;} /*containers for config editor */ Modified: nagiosbpi/trunk/nagiosbpi/constants.inc.php =================================================================== --- nagiosbpi/trunk/nagiosbpi/constants.inc.php 2011-07-13 05:02:55 UTC (rev 1754) +++ nagiosbpi/trunk/nagiosbpi/constants.inc.php 2011-07-18 15:32:16 UTC (rev 1755) @@ -4,6 +4,8 @@ define('DIRBASE', dirname(__FILE__)); //assigns current directory as root +define('VERSION','1.3'); + $globals = fetch_globals(); //get server web address Modified: nagiosbpi/trunk/nagiosbpi/functions/bpi_functions.php =================================================================== --- nagiosbpi/trunk/nagiosbpi/functions/bpi_functions.php 2011-07-13 05:02:55 UTC (rev 1754) +++ nagiosbpi/trunk/nagiosbpi/functions/bpi_functions.php 2011-07-18 15:32:16 UTC (rev 1755) @@ -224,9 +224,15 @@ else //no get variables, page defaults to 'view' mode { //////Default Display///// - print "<div id='addgrouplink'><a href='index.php?cmd=add'>Create A New Group</a></div>"; - print "<div id='notes'><p class='note'>Essential group members are denoted with: **</p></div>"; - print "<h4 class='header'><a href='index.php?filter=1'>High Priority</a></h4>\n"; + print "<div id='addgrouplink'><a href='index.php?cmd=add'>Create A New Group</a><br /> + + <p class='note'>Nagios BPI v".VERSION." + <br />written by Mike Guthrie + <br />Nagios Enterprises + <a href='http://support.nagios.com/forum/' title='Nagios Forums'>Support Forum</a></p> + </div> + <div id='notes'><p class='note'>Essential group members are denoted with: **</p></div> + <h4 class='header'><a href='index.php?filter=1'>High Priority</a></h4>\n"; bpi_view('1'); //display all group trees print "<h4 class='header'><a href='index.php?filter=2'>Medium Priority</a></h4>\n"; bpi_view('2'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |