tail -1 FSC-xxxxxxxxx.stat | nawk -F, '{print $2}'
I want to send the numeric output of this command from a statistical file which is updating constantly via SNMPv2 every 1 minute to a remote monitoring node. What is the best way to achieve this without affecting the custom SUN MIBs? Where do I send the output of the above command for it to be polled by the SNMP management node?