Post new topic Reply to topic  [ 1 post ] 

Board index : GroundWork Monitor Community Edition (GWMCE) : Technical Bulletins for GroundWork Monitor 5.3

Author Message
 Post subject: TB 5.3.0-26 Instanced Services in service groups fix
PostPosted: Thu Aug 27, 2009 2:31 pm 
Offline
User avatar

Joined: Wed Oct 08, 2008 1:39 pm
Posts: 52
The process of synchronizing Nagios and Foundation does not properly handle the adding and deleting of instanced services to service groups. This patch corrects that.

Background
The Commit process synchronizes the nagios and foundation datasets, including service groups and member services. It uses the Monarch configuration database to do this.

Problem
Instanced services were added to service groups only as base services, not their instances. Also, adding such a service to a service group resulted in all other services in the service group not being synced to foundation. Removing it from the service group restored the other services. This meant effectively that instanced services could not be added to service groups.

Solution
The code to properly add service instances (and not the base service for the instances) to service groups when the base service is added to the service group is included in this patch. Additionally, the removal of said instanced service removes all the instances from the service group.

Installation:
Copy the attached tar archive to your groundwork server.
Run the following commands as root:
Code:
tar zxvf TB-26_sync.tgz -C /
chown nagios.nagios /usr/local/groundwork/core/monarch/lib/MonarchAudit.pm


Attachments:
File comment: TB 5.3-26 MonarchAudit.pm
TB-26_sync.tgz [5.58 KiB]
Downloaded 80 times

_________________
Mark Carey
Support Guru
GroundWork Open Source
====
Community Edition Bug Tracker
Monitoring Forge - project hosting for community addons
GW Tools - handy scripts for working with Groundwork
Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Board index : GroundWork Monitor Community Edition (GWMCE) : Technical Bulletins for GroundWork Monitor 5.3


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Follow us on Twitter    Visit our Facebook page    Blog Talk Radio
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.