I has been trying to get the vsf.fs.size[drive_letter,pfree], but zabbix doesn't support this for Windows 2k, I wrote a C++ code to get this data based on zabbixw32 agent.
This application returns me the data that I need, I post cmd lines below.
D:\Program Files\Zabbix>"diskspace.exe" "C:" pfree
60.67
If I test the metric it also works.
D:\Program Files\Zabbix>zabbixw32 --config "d:\program files\zabbix\zabbix_agentd.conf" test C_FREE
Using configuration file "d:\program files\zabbix\zabbix_agentd.conf"
Configuration file OK
[11-Jun-2007 16:48:02] *************** Log file opened ****************
[11-Jun-2007 16:48:03] Collector thread initialized successfully
[11-Jun-2007 16:48:03] C_FREE [60.68]
But the item is marked as "Not Supported"
¿Why I get this status?, I hope Anyone could help me.
Thanks in advance
This application returns me the data that I need, I post cmd lines below.
D:\Program Files\Zabbix>"diskspace.exe" "C:" pfree
60.67
If I test the metric it also works.
D:\Program Files\Zabbix>zabbixw32 --config "d:\program files\zabbix\zabbix_agentd.conf" test C_FREE
Using configuration file "d:\program files\zabbix\zabbix_agentd.conf"
Configuration file OK
[11-Jun-2007 16:48:02] *************** Log file opened ****************
[11-Jun-2007 16:48:03] Collector thread initialized successfully
[11-Jun-2007 16:48:03] C_FREE [60.68]
But the item is marked as "Not Supported"
¿Why I get this status?, I hope Anyone could help me.
Thanks in advance
Comment