Using virtual snmp object in the expression of a graphical object is simple. Open the object properties and the dynamic aspect tab first. Select the Get a SNMP value from Host in the Wizard list.
The wizard allows you to select a virtual snmp object in the mib tree but doesn’t support index research. You should know what is the index of the snmp object.
When the script is selected, add manually the index number after the script name in the expression.
In our example we use a counter type image (vumeter). Check the COunter Type checkbox.
The expression is completed. The script lp_yourdiskused will be launched at each polling interval on the host define as default for this active view.
The work is finished, the counter graphical object displays
your disk utilization in %