Hi guys,
I created a template named FILESYTEM DISCOVERY, using the vfs.fs.discovery key.
For testing purposes I used the following filter:
I created a "free space on {#FSNAME}" item prototype using the following key that works perfectly fine:
I then proceeded to create a calculated item prototype called Time Left until {#FSNAME} is full, using the following formula:
I get a lot of different errors, the last of which is :
Exact same thing with /
Once the discovery is done, I can create the very same Item (not the prototype), and it works perfectly fine.
The problem usually being between the keyboard and the chair, can you point me to what I am not seeing ?
Jean-Bernard
I created a template named FILESYTEM DISCOVERY, using the vfs.fs.discovery key.
For testing purposes I used the following filter:
Code:
{#FSNAME} matches ^(/|/boot)$
Code:
vfs.fs.size[ {#FSNAME},free]
Code:
timeleft("FILESYSTEM DISCOVERY:vfs.fs.size[{#FSNAME},free]",#3,,0,linear)
Code:
Cannot evaluate function "timeleft(#3,,0,linear)": item "FILESYSTEM DISCOVERY:vfs.fs.size[ /boot,free]" does not exist
Once the discovery is done, I can create the very same Item (not the prototype), and it works perfectly fine.
Code:
timeleft("vfs.fs.size[ /,free]",#5,,0,linear)
Jean-Bernard
Comment