Technology Blog

check_mk local checks not working

by on Apr.25, 2016, under Uncategorized

So today I used a mysql replication check found here:

https://gist.github.com/jleggat/1349602

But I couldn’t get it to work.  I created the /usr/lib/check_mk_agent/local/ folder that all of the documentation says you need to put the script into.  I reinventoried, and did everything.  It wasn’t being found.  Then after an hour of searching I came across this gem:

check_mk_agent | head | grep Local

It told me that my local folder was in a different spot:

[root@web2 check_mk_agent]# check_mk_agent | head | grep Local
LocalDirectory: /usr/share/check-mk-agent/local

 

I moved the script there and wham!  It worked!

Be Sociable, Share!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...