I was curious if anyone knew the longest command that will actually be processed by check_snmp. For instance, I have nagios checking the uplink ports on a Cisco switch for input and output errors and to alert if they start incrementing. In additional to this though, I want to monitor every single port on a core switch (24 ports). I tried just throwing the whole thing (ports 1,2,3,4, etc.) into one line but I’m not actually sure if its processing every single port command. Not sure if there is any clever way to check a range, or if I should break it down into separate services. Has anyone done this? TIA
-Rus