I am new to nagios and have configured it for two of my machines so far. The ping functionality works great but the service functionality seems to have a problem. I get error messages that say
"Cannot map “tcp” to protocol number " for all the servies I have configured. I assume this has something to do with looking up the service in the /etc/services file. I am using ldap to store all servic info and this is handled by nss_ldap. ie the nssswitch file. My other apps, like postfix, have no problem looking up the service numbers.
Has anyone had this probelm and does anyone know how to solvce it?