Hi all.
Can some one explain me how i can do calculation values from oid ?
i have this formula
100*last(".1.3.6.1.2.1.43.11.1.1.9.1.1")/last(".1.3.6.1.2.1.43.11.1.1.8.1.1")
this is counts how much toner is left as a %.
Thanks
Hi all.
Can some one explain me how i can do calculation values from oid ?
i have this formula
100*last(".1.3.6.1.2.1.43.11.1.1.9.1.1")/last(".1.3.6.1.2.1.43.11.1.1.8.1.1")
this is counts how much toner is left as a %.
Thanks
Hi,
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.
thanks for your answer