On 12/05/2012 02:28 PM, Supporto Tecnico - Crazy Network wrote: > define contactgroup { > contactgroup_name sysadmindiary.it > alias SysAdminDiary.it Staff > } > > The only contactgroup i can see in object.cache > > I did send you a private mail with login data for the box. >
You did, and I'm perplexed. The problem arises when precaching objects (which is discouraged in Nagios 4, since it actually makes config loading slower rather than faster for almost all cases). The objects.precache file has you as a member of the contactgroup, but the objects.cache file does not. If I don't precache objects, it doesn't matter how I specify that you should be a member of the group. You still get notifications. If I do use the precache file, you don't get notifications no matter how I specify it. Now that I noticed this discrepancy, it appears there are other issues with group membership parsing as well, and they only appear when reading the precached object file. I'm working on a patch as we speak and it appears I've got things fixed. I'll just run some more tests and then send it out muy pronto. Thanks for letting me sneak a peak at your server. This one would most likely have baffled me for quite some time otherwise. This should sort out many of the "Nagios doesn't send notifications" issues that have cropped up here and there and that I've been unable to reproduce. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null