I'm looking at making a system monitoring app (reimplementing
cmd.php/cactid from the cacti monitoring framework) .
I've come to the part where I need to establish host availability, and
need some ping functionality. Two possible strategies, hinting at a third:
A) Look at the C source of the ping command to see what needs to be
done, dig through the sb-bsd-sockets code and build upon that for ICMP
and udp ping functionality.
B) Run the ping command as a sub-process.
B is not really an option when you have several hundred hosts to check I
believe. (please tell me I'm wrong, even though running /bin/ping is
lacking in macho appeal)
Then there is the third option: anybody got an extension for the
sb-bsd-sockets to make a nice interface for ICMP messages? Would this be
the right thing to do?
If I do this myself in lisp, it would not be integrated into
sb-bsd-sockets and would be really minimal. With some help and a
starting point I think I might be able to assist in doing it properly
So: Anybody got a starting point for integrating ICMP messages into