ok, im not sure if this is a bug or if im doing something wrong...
whenever i add a new host, i browse to "view -> latest data" to make sure zabbix is collecting data. even when im getting values for all the other keys (graphs are being drawn, etc.), i usually dont get anything from the "status" key right away. the graph tells me "no data is available for this period," and a hyphen shows up in the web interface in place of the "latest value." but shouldnt it say 0?
as a test, i created a trigger to alert me when status=2 (ie: agent is unavailable). when i stopped the agent, the trigger definitely got "triggered" (i saw it listed under "view -> triggers"), but i never got the email alert, nor did the alert show up under "view -> actions." however, i noticed that the "latest value" of status became "2," and i started getting data on the graphs. so i started the agent again, and this time i got the alert, and the "latest value" became 0. now, i get the alert whether status is 0 or 2.
so to summerize, it seems like the value of 'status' has to change before zabbix will actually record anything for it. and for what its worth, i reproduced this behavior several times on both the win32 and linux agents.
whenever i add a new host, i browse to "view -> latest data" to make sure zabbix is collecting data. even when im getting values for all the other keys (graphs are being drawn, etc.), i usually dont get anything from the "status" key right away. the graph tells me "no data is available for this period," and a hyphen shows up in the web interface in place of the "latest value." but shouldnt it say 0?
as a test, i created a trigger to alert me when status=2 (ie: agent is unavailable). when i stopped the agent, the trigger definitely got "triggered" (i saw it listed under "view -> triggers"), but i never got the email alert, nor did the alert show up under "view -> actions." however, i noticed that the "latest value" of status became "2," and i started getting data on the graphs. so i started the agent again, and this time i got the alert, and the "latest value" became 0. now, i get the alert whether status is 0 or 2.
so to summerize, it seems like the value of 'status' has to change before zabbix will actually record anything for it. and for what its worth, i reproduced this behavior several times on both the win32 and linux agents.
Comment