Mon Oct 05, 2009 5:28 pm
Right click device, select appearance, click the down arrow next to label.
You should leave [Device.Name] and [Device.ServicesDown] on the label.
Add the following to the device label.
[device_performance()]
or something like this
Load on [array_size(oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad"))] CPU('s): [oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad")]
The first one will add "cpu X mem X virt X disk X.
The second one will add "Load on X CPU('s) x,x,x,x" to the label.
I have them both on the label for my dude server...
More generically you can add any oid to a label by reading the oid you are interested in directly and placing it in the .
label : [oid("x.x.x.x.x.x.x.x")]
You can get creative and do much more complex things like find out how many copies of svchost.exe are running.
[array_element(oid_column("1.3.6.1.2.1.25.4.2.1.2"), array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"svchost.exe"))]
[array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"svchost.exe")]
HTH,
SD