title: How to check a Jenkins slave connection status from the slave itself?
body: <p>I am building a system that monitors whether a Jenkins slave is connected or not using only data collected from the slave itself, meaning no API call from master.</p>
  
  <p>What I want to ask is if this is possible or not and if possible, how should I approach it. Jenkins is mostly installed as a service on these machines but there are instances where it is run ad-hoc. I figure if I can check for node availability from master, there must be a way they are communicating so I tried checking for packets sending to master but to no avail.</p>