Snmp Calculation

Hi all.

Can some one explain me how i can do calculation values from oid ?

i have this formula


this is counts how much toner is left as a %.



The easist way is to write a small bash script. For catching the values you use net-snmp or the check plugin check_Snmp.
For calculation you use bc.
Other scripting languages like perl, python etc. have also snmp function include.

1 Like

thanks for your answer