I want to check processes on a remote host like “python run.py” or something like that. I’ll probably do something like:
ps -ef | grep “python run.py”
check_by_ssh only throw a warning or critical error if a response time is exceeded. I want to check if output is returned but it looks like the only way to do so is to write my own plugin that will call check_by_ssh. Any suggestions?