Ad Widget

Collapse

Zabbix Agent Key Return Values differ with Zabbix Proxy Key Return Values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnnytan
    Junior Member
    • Oct 2019
    • 1

    #1

    Zabbix Agent Key Return Values differ with Zabbix Proxy Key Return Values

    Hi all, required some help on the following issue. I've been using zabbix to monitor my RAID status. However the return is unexpected and would like to request help and clarifications if required.

    On the agent end, I have a scripts that is returning a value 1 (RAID in Optimal State) or 0 (RAID not in Optimal State).
    So I have created a config in /etc/zabbix2/zabbix_agent2.d/ to return back the values through proxy and back to the server.
    However the value received are not as expected.

    On the Agent side, below are the return value and it's expected to return 1
    zabbix_agent2 -test megaraid.status
    megaraid.status [s|1]​
    On the Proxy side, the value are totally different
    zabbix_get -s 172.16.254.11 -k megaraid.status
    0​
    Of course on the Zabbix Server side are reporting value 0 instead of 1.

    Appreciate if anyone could shed some lights on this.
Working...