PDA

View Full Version : File Size in Windows


ogdenous
17-09-2007, 17:07
Does anyone know the exact way to view a file size in windows?
I am running server and agent 1.4 and found the below command but it tells me not supported when I add as an item.

filesize[<path>]

example
filesize[c:\testfile.txt]

Cannot get it to work, not sure if I am suppose to be using zabbix agent and float or interger. Also not sure if I need to add anything to the agents conf file?

Alexei
25-09-2007, 19:39
It is called vfs.file.size[] in 1.4.x.

ogdenous
25-09-2007, 19:44
Thanks, I was running 1.4 agent and our server was at 1.4.2. After upgrading it worked fine.