I am looking to write a script for a switch that sends an email to a specific address whenever TCAM utilization of a machine reaches a certain threshold (let's say 50% in this case). However, I need to be able to write this script without using an SNMP oid, which I have not seen any examples of online. I feel like using regexp might be the way to go, but I am not sure how I'd do it specifically.
Is writing such a script possible without the SNMP oid? And if so, how would you do it?
Any help would be greatly appreciated!