seeing Disk free

Hello
I want to know how can I know what is the disk space left at the router
this is what I have at the appearance :
[Device.Name]
[device_performance()][Device.ServicesDown]

but in some routers I can see the disk and in some not

do I need to “open”\config something at the router ?

Thanks ,

if you dont see them on all the routers there could be a few reasons.

  1. snmp isnt polling correctly
  2. username password could be incorrect,

confirm that when you double click on the device you can see all the details under the SNMP tab, thats a great first step, what ver Dude are you using?

remember that device performance is an subfunction with the following code

if(
string_size(cpu_mem_disk()) > 0,

concatenate(cpu_mem_disk(), "
"),

""
)

and cpu_mem_disk is a subfunction as well.

concatenate(
if(cpu_usage_available(), concatenate("cpu: ", cpu_usage(), "% "), ""),
if(mem_usage() > 0, concatenate("mem: ", round(mem_usage()), "% "), ""),
if(virtual_mem_usage() > 0, concatenate("virt: ", round(virtual_mem_usage()), "% "), ""),
if(hdd_usage() > 0, concatenate("disk: ", round(hdd_usage()), "% "), "")
)

and then finally hdd_usage is another subfucntion.

oid(concatenate("iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.",
array_element(
oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageIndex", 600),
array_find(
oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageType", 600),
"iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTypes.hrStorageFixedDisk"
))))

* 100 / hdd_size()

so what i am basically saying is you can do what you want, if you are not getting snmp data, you wont have any detials of the HDD size/usage,

but knowing this you can also use just what you want and save the dude a lot of processing time.