I have a series of lab linux server (centos/rh) that are built using an automated PXE install via kickstart file. I would like to use another automated process (ansible) to monitor when the installations have completed. Normally I would use a simple tool like ping
but these servers can only be accessed remotely through an internal proxy.
One idea was to add httpd and a simple index.html page via the kickstart, then use curl
to loop over requesting the page. While this will work, it seems pretty heavy for such a simple check and then requires the extra step of removing all this baggage afterwards.
I understand that ping can't operate at this level in the stack, but is there a way to accomplish something like:
ping labhost --proxy 192.168.0.2:3128