Display cpu_mem_disk on Dude icon

How do I get cpu_mem_disk function to display on dude like in the image below
Mipsbe_volt_1.png

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

I know this thread is kinda old, but if i put “[device_performance()]” in the appearance its just written in the picture.
Look @ pic.
Unbenannt.PNG

this is not “how many copies of svchost.exe are running”
this is index of first svchost.exe in process list

Sharade, how did you created values for every hard disk? is it possible to make a function that retrieves number of hard disks of device and shows free space of each of them or of only one which you selected?

[device_performance()] still works as it should for me, I am stumped for your trouble… Make certain you didn’t somehow grab some special characters with the [device_performance()] copy by pasting it into notepad before pasting it on a device label???

The Problem is, i don’t even have the function [device_performance()] in the list.
So i was asking for the insert… the code of [device_performance()]… understandable?

Something is wrong with the installation? If you are running on RB than it doesn’t get installed on RB?(just a guess) I am on 4.0b3 w2k3…