for windows percentage disk space free
Template_Windows:vfs.fs.size[c:,free].last(0)}<1g br="br">(in item value use the "numeric unassigned")
Template_Windows:vfs.fs.size[c:,pfree].last(0)}<10 br="br">(in item value use the "numeric flot")
OR
you can add:
HTML Code:
PerfCounter = LogicalDisk:PercentFreeSpaceOnC,"\LogicalDisk(C:)\% Free Space",900
PerfCounter = LogicalDisk:PercentFreeSpaceOnD,"\LogicalDisk(D:)\% Free Space",900
on you zabbix_agentd.conf. And create trigger to alert you when machine has lower then 10% or 5%
OR
Run zabbix_get on the Zabbix server machine.
for example
[root@abc ~]# zabbix_get -s 10.10.10.33 -k system.swap.size[,free]
5379874816
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,free]
56677302784
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,pfree]
77.957042
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,free]
5667736729610>1g>
Troubleshooting:
If your item isn’t receiving any data even though there are error entries in the log then enable detailed logging in Zabbix to verify that the agent and server haven’t a problem. (If they do then the status of the item will be changed to “Not supported” by Zabbix.)
To enable logging, make sure there is DebugLevel=5 and LogFile=/var/log/zabbix-agent/zabbix_agentd.log (without a leading #) in /etc/zabbix/zabbix_agentd.conf.
One possible cause of problem is if Hostname in /etc/zabbix/zabbix_agentd.conf and in the Zabbix UI differ, f.ex. if one of them is fully qualified and the other isn’t.
Template_Windows:vfs.fs.size[c:,free].last(0)}<1g br="br">(in item value use the "numeric unassigned")
Template_Windows:vfs.fs.size[c:,pfree].last(0)}<10 br="br">(in item value use the "numeric flot")
OR
you can add:
HTML Code:
PerfCounter = LogicalDisk:PercentFreeSpaceOnC,"\LogicalDisk(C:)\% Free Space",900
PerfCounter = LogicalDisk:PercentFreeSpaceOnD,"\LogicalDisk(D:)\% Free Space",900
on you zabbix_agentd.conf. And create trigger to alert you when machine has lower then 10% or 5%
OR
Run zabbix_get on the Zabbix server machine.
for example
[root@abc ~]# zabbix_get -s 10.10.10.33 -k system.swap.size[,free]
5379874816
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,free]
56677302784
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,pfree]
77.957042
[root@abc ~]# zabbix_get -s 10.10.10.33 -k vfs.fs.size[c:,free]
5667736729610>1g>
Troubleshooting:
If your item isn’t receiving any data even though there are error entries in the log then enable detailed logging in Zabbix to verify that the agent and server haven’t a problem. (If they do then the status of the item will be changed to “Not supported” by Zabbix.)
To enable logging, make sure there is DebugLevel=5 and LogFile=/var/log/zabbix-agent/zabbix_agentd.log (without a leading #) in /etc/zabbix/zabbix_agentd.conf.
One possible cause of problem is if Hostname in /etc/zabbix/zabbix_agentd.conf and in the Zabbix UI differ, f.ex. if one of them is fully qualified and the other isn’t.
No comments:
Post a Comment