Nagios 4: Registering object relationships in CGIs
Ton Voon
tonvoon at gmail.com
Mon Jan 7 14:57:15 CET 2013
Hi,
We're looking at the latest Nagios 4 branch and have seen an issue where the refactoring around object relationships seems to be missing for the CGIs. The specific problem is that the contactgroups do not have all the members populated, though I think host groups and other relationships are affected.
It looks like the Nagios4 code uses a member_list structure which is NULL for #ifdef NSCGI, but is set correctly with a linked list for #ifdef NSCORE.
The patch below fixes this though I'm not convinced this is the right way to fix. It seems to me that the member_list structure should be populated correctly for NSCGI.
Ton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios_cgi_contactgroups_not_expanded.patch
Type: application/octet-stream
Size: 1309 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20130107/023cedf6/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list