i want to add a local check to my monitoring for one host precisely.
I followed this tutorial which is very well explained ( [ check_mk 5 ] How to add a custom local service check in check_mk monitoring - YouTube ) about how to add local checks.
So on my host in /urs/lib/check_mk_agent/local theres a little simple script for testing with this content:
#!/bin/bash if [[ -f /tmp/hello ]]; then status=0 statustxt="hello file exists" else status=2 statustxt="hello file missing" fi echo "$status FileCheck_hello - $statustxt"
unfortunately it does not even show up in check _mk after a full scan.
Did i miss something?