Hosts missing from objects.cache

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
MKEbrew
Posts: 13
Joined: Mon Apr 07, 2014 10:11 am

Re: Hosts missing from objects.cache

Post by MKEbrew »

I can, thank you. Is a tar.gz fine, or what is your preference?

I have been out of the office for a few days and am finally circling back to this.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Hosts missing from objects.cache

Post by lmiltchev »

Yes, tar.gz is fine.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Hosts missing from objects.cache

Post by lmiltchev »

Add the "max_check_attempts" to the "digium-phones" template in the "phones.cfg" (i.e. "max_check_attempts 5") and replace "name" with "host_name" in ALL of the host definitions in the "phones.cfg", for example, instead of this:

Code: Select all

define host{
        use             digium-phones
        name            4800
        alias           4800
        address         x.x.x.x
        hostgroups	Phones
}
you will have this:

Code: Select all

define host{
        use             digium-phones
        host_name            4800
        alias           4800
        address         x.x.x.x
        hostgroups	Phones
}
Let me know if this fixed your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
MKEbrew
Posts: 13
Joined: Mon Apr 07, 2014 10:11 am

Re: Hosts missing from objects.cache

Post by MKEbrew »

That did it, thank you!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Hosts missing from objects.cache

Post by tmcdonald »

Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked