Thank you unSpawn
Sorry for the delay in response. It seems to be working fine now. But I have apache instanaces (multiple instances on different ports) on the single server. How can I define that in the services.cfg file.
One more thing, this is what I defined in the contact.cfg,
and the contact groups,
alias System Administrators
But when the service failure, I happened to receive alters to my email addresses defined in the contact. I did not receive any of those emails to me. Do I need to set up sendmail service on the localhost (i.e lnxtestsrv1) where I set up nagios?
I will be able to see the emails which are sent to nagios@lnxtestsrv1 just fine, but not to email@example.com
Please help me..