Hi,
I've a syntax problem when I define a new item. I try vfs.dir.count, I think I use it like the help:
Here my example:
vfs.dir.count["C:\inetpub\logs\LogFiles"]
But I get:
When I use single quotation marks I could save the item: vfs.dir.count['C:\inetpub\logs\LogFiles\']
But I always get zero as value.
I could use a userparamter in the Zabbix conf to make it with an powershell script, but I hope it is possible to use the buildin function?
Bye
Gregor
I've a syntax problem when I define a new item. I try vfs.dir.count, I think I use it like the help:
vfs.dir.count[/dev] #monitors the number of devices in /dev (Linux)
vfs.dir.count["C:\Users\ADMINI~1\AppData\Local\Temp"] #monitors the number of files in a temporary directory
vfs.dir.count["C:\Users\ADMINI~1\AppData\Local\Temp"] #monitors the number of files in a temporary directory
vfs.dir.count["C:\inetpub\logs\LogFiles"]
But I get:
When I use single quotation marks I could save the item: vfs.dir.count['C:\inetpub\logs\LogFiles\']
But I always get zero as value.
I could use a userparamter in the Zabbix conf to make it with an powershell script, but I hope it is possible to use the buildin function?
Bye
Gregor
Comment