Hi, I have a question for monitoring Windows
If I use command to get memory in useage:
Output:
So, I need to sum all their by command
Output
So, How can I import that value to zabbix for monitor?
I had heared WMI, but zabbix (2.0.3) doesn't support this function
Thanks alot.
If I use command to get memory in useage:
Code:
snmpwalk -v 1 -c public 192.168.1.20 .1.3.6.1.2.1.25.5.1.1.2
Code:
HOST-RESOURCES-MIB::hrSWRunPerfMem.844 = INTEGER: 7264 KBytes HOST-RESOURCES-MIB::hrSWRunPerfMem.932 = INTEGER: 6640 KBytes HOST-RESOURCES-MIB::hrSWRunPerfMem.1076 = INTEGER: 9048 KBytes
Code:
snmpwalk -v 1 -c public 192.168.1.20 .1.3.6.1.2.1.25.5.1.1.2 | awk '{print$4}' | awk '{ sum+=$1} END {print sum}'
Code:
715888
I had heared WMI, but zabbix (2.0.3) doesn't support this function
Thanks alot.
Comment