services.cfg ... HELP!
Posted: Mon Jan 30, 2017 5:49 pm
I am trying to monitor a service on a new "host" server, unsuccessfully. I've copied, and modified, a hosts entry in the hosts.cfg and the same for services.cfg. The new host entry is working correctly and my ping entry in services.cfg is OK too. I'm also trying to monitor a specific service, I have checked with SC that the service name is correct and I have opened up port 12489 both ways. I am getting a "Critical - socket timeout after 10 seconds.
The admin that implemented Nagios included a _HOST_ID in the "hosts.cfg" file, and a _SERVICE_ID in the "services.cfg" file. I cannot find any documentation on either of these _ID entries. In documentation I've found an ID is not listed in the required or optional entries. I have commented out the _SERVICE_ID entry and it doesn't seem to make a difference. I have service ID entry for the ping entry. This paragraph is included so you have all the information I have.
The admin that implemented Nagios included a _HOST_ID in the "hosts.cfg" file, and a _SERVICE_ID in the "services.cfg" file. I cannot find any documentation on either of these _ID entries. In documentation I've found an ID is not listed in the required or optional entries. I have commented out the _SERVICE_ID entry and it doesn't seem to make a difference. I have service ID entry for the ping entry. This paragraph is included so you have all the information I have.