[blockquote]Strides: I don’t see how this would help. All of the appropriate contacts (emails and sms) are going to the correct people, so I believe it is not a contact problem. Also, the admins (eg bob) need to get emails and sms so I don’t see how I can split them up. If I’ve missed something in your idea, please let me know. At this point I need all the help I can get.[/blockquote]
Yeah, look, I never said it *shouldn’t *work how you have set it up, but clearly it doesn’t, and that’s why I think it might be a bug. What I am suggesting is another way to achieve it, as follows…
You have your mail-recieving contacts called bobmail, fredmail and joemail or whatever. Configure them with their email addresses, 24x7 notification options, your notify-by-email notify commands and so on. Make bobmail, fredmail and joemail members of a contact group called mailalerts or something.
You have your sms-recieving contacts called bobsms, fredsms and joesms or whatever, Configure them with their pager numbers, ournonworkhours notification options, your notify-by-gnokii-queue notify commands, etc etc. Make bobsms, fredsms and joesms members of a contact group called smsalerts or something.
Put **contact_groups mailalerts,smsalerts **in your host and service definitions.
Job done. Oh, actually restart nagios first, then it’s job done.
So, you get a service go down and it’ll trigger notifications to both the mail and sms contact groups, and because for instance bob has a bobmail set contact set up in the mail group, he’ll get a mail 24x7. Plus, as he is also in the sms group as bobsms, if it’s out of hours he’ll get the added bonus of a text message. Should be what you are looking to achieve, right?
Lastly, try and keep your object names and aliases unique if you can… for instances, both your aliases for your bob related contacts are bob, and server-admins is both a hostgroup name and a contactgroup name… I’m not saying that would break anything, and I’m not saying it wouldn’t either, but I would think that it is best to try and not confuse poor old nagios any more than neccessary
This certainly works for me right and also has worked for other users in this forum, so if it works for you whereas the previous configuration didn’t, then you’ve found your bug. Where you’d log that though, I’ve no idea, sorry… mebey Albin someone else can chip in on that front.
Best of luck, let us know how it goes.