"Unable to locate cache file"

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.
Locked
ert120
Posts: 3
Joined: Wed Apr 10, 2019 3:24 pm

"Unable to locate cache file"

Post by ert120 »

A few (not all) of the servers that I am monitoring are showing as down when they are up. The status information field says "CRITICAL - Unable to locate cache file for <HOSTNAME>". Any ideas what could be causing this and how to solve it?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "Unable to locate cache file"

Post by scottwilkerson »

What is the check command being run for these? this is not an error from Nagios but may be from the plugin you are running.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ert120
Posts: 3
Joined: Wed Apr 10, 2019 3:24 pm

Re: "Unable to locate cache file"

Post by ert120 »

the check command is c_fping
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "Unable to locate cache file"

Post by scottwilkerson »

I'm not familiar with this command or plugin, can you point to any reference material?

What are the arguments of the command?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ert120
Posts: 3
Joined: Wed Apr 10, 2019 3:24 pm

Re: "Unable to locate cache file"

Post by ert120 »

It takes the host address and does an fping. If I do fping manually outside of nagios, the hosts show as available.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "Unable to locate cache file"

Post by scottwilkerson »

ert120 wrote:It takes the host address and does an fping. If I do fping manually outside of nagios, the hosts show as available.
does it use a cache file at all?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked