I’m currently in the process of setting up Nagios to monitor our internal network. As part of this process, I want to monitor switch ports and probably make them the parent of the device connected to them.
What is the best way of going about monitoring switch ports? In particular, if the individual ports have to be set-up as a host, the check_host_alive script (used for normal hosts) surely is not relevant? I really want to check specific ports are enabled and traffic is flowing to/from them. Does this mean that I only monitor the ports I have purposely enabled and don’t bother monitoring the ones not enabled?