Hello, I have the following scenario:
- Zabbix geographically dispersed clients
- Zabbix_agentd queries using Active Mode
- Monitored application uses flags to disclose their status
* 0 - Disabled
* 1 - Running
* 2 - Problem
I'm getting all the data correctly, even have a trigger that tells me if the application is with status 0 or 2, but I have two questions:
1) The status of the host is always "Unknown", why? I would like to stay as follows:
- Status = 1 -> "Available"
- Status = 0 or 2 -> "Unavailable"
2) Is there a way to calculate the downtime of the application? For example, it was stored as long as I'm getting the status of 0 or 2 and then calculate the sum of it, within 1 month.
This would permit "see" that the application was out 1d 2h in the last month, in the case.
Thanks in advance.
- Zabbix geographically dispersed clients
- Zabbix_agentd queries using Active Mode
- Monitored application uses flags to disclose their status
* 0 - Disabled
* 1 - Running
* 2 - Problem
I'm getting all the data correctly, even have a trigger that tells me if the application is with status 0 or 2, but I have two questions:
1) The status of the host is always "Unknown", why? I would like to stay as follows:
- Status = 1 -> "Available"
- Status = 0 or 2 -> "Unavailable"
2) Is there a way to calculate the downtime of the application? For example, it was stored as long as I'm getting the status of 0 or 2 and then calculate the sum of it, within 1 month.
This would permit "see" that the application was out 1d 2h in the last month, in the case.
Thanks in advance.
Comment