[ Return To FAQ Index | Search The FAQs ]
|Title:||Why do I get service notifications when I should be getting host notifications?|
|Submitted By:||Ethan Galstad |
If you get service notifications when you should be getting host notifications (and the service notifications you get seem to contain bogus data), check your contact definitions in your object config file(s). They are most likely incorrect.
Make sure that you are not using the same notification command for service and host notification commands. Service and host notifications are very different and make use of macros which are not transferrable between each type. Look at the sample object config file(s) provided with Nagios to see what the contact definitions look like and how the service and host notification commands differ. If you're wondering what macros can be used in either type of notification, look at the documentation for macros.