jedda / OSX-Monitoring-Tools

A collection of scripts and tools to assist in monitoring Mac OS X and essential services with Nagios.
http://jedda.me
The Unlicense
332 stars 69 forks source link

Why would the CrashPlan backup not exist? #11

Closed tamarw closed 11 months ago

tamarw commented 9 years ago

Hi, not on OS X but I don't think that'd make a difference. I'm experiencing the issue below:

.# locate cp.properties /usr/local/crashplan/cache/42/cp.properties .# ./check_crashplan.sh CRITICAL - the CrashPlan backup you pointed to does not exist! - /usr/local/crashplan/

I also tried /usr/local/crashplan/cache and /usr/local/crashplan/cache/42/ but both failed.

But it's there, is it not?

jordantrizz commented 9 years ago

I'm not using OSX either and was able to get this working. Does nagios/nrpe not have permissions to this folder?

tamarw commented 9 years ago

Does it need r/w perms? I have 755 (root is owner) and 644 on cp.properties.

jordantrizz commented 9 years ago

I modified this script to work with CrashPlan pro.

https://github.com/jordantrizz/nagios-additional-plugins/blob/master/check_crashplan_pro

tamarw commented 9 years ago

Thanks Jordan - still doesn't work though.

.# cd /usr/local/crashplan .# ls bin conf ~custom install.vars lang libjniwrap64.so libjtux64.so libmd564.so log upgrade cache CrashPlanEngine.pid doc jniwrap.lic lib libjniwrap.so libjtux.so libmd5.so skin .# /usr/lib64/nagios/plugins/check_crashplan_pro CRITICAL - the CrashPlan backup you pointed to does not exist! - /usr/local/crashplan

tamarw commented 9 years ago

Anyone?

jordantrizz commented 9 years ago

Shoot me an email (on my profile) and we can try to link up and test things!