Hello,
I had created a item for check Memory size, with the following data:
Description: Memory
Type SSH Agent
Key ssh.run[memoria]
Authentication method Password
User name xxx
Password xxx
Executed script LANG= free | grep Mem | awk "{print $3 * 100 / $2}"
Type of information Numeric(Float)
Units %
Use multiplier
Update interval (in sec) 30
The problem is that the item does not work in all host, in one host the result it is correct and the other host the "lastest data" is not updated.
Why??
In the host with the problem, I can execute the scritp and work fine.
I would like know how Zabbix execute the script, for example:
ssh user@ip 'LANG= free | grep Mem | awk "{print $3 * 100 / $2}"'
Thank you for your time.
I had created a item for check Memory size, with the following data:
Description: Memory
Type SSH Agent
Key ssh.run[memoria]
Authentication method Password
User name xxx
Password xxx
Executed script LANG= free | grep Mem | awk "{print $3 * 100 / $2}"
Type of information Numeric(Float)
Units %
Use multiplier
Update interval (in sec) 30
The problem is that the item does not work in all host, in one host the result it is correct and the other host the "lastest data" is not updated.
Why??
In the host with the problem, I can execute the scritp and work fine.
I would like know how Zabbix execute the script, for example:
ssh user@ip 'LANG= free | grep Mem | awk "{print $3 * 100 / $2}"'
Thank you for your time.

Comment