Our installation of Zabbix appears to have come with a user parameter defined as such:
UserParameter=zfspool.degrade,echo `zpool status | grep "state: DEGRADED" | wc -l`
If I read the manual correctly, I should be able, on the client to run:
zabbix_get -s <hostname> -k zfspool.degrade
...and expect to get some output (in this case 1, because I'm running it on a system with a degraded ZFS pool).
Before I ask what's wrong with it, can some one tell me specifically what host is referred to by the "-s" option: the client, the server?
Thanks
UserParameter=zfspool.degrade,echo `zpool status | grep "state: DEGRADED" | wc -l`
If I read the manual correctly, I should be able, on the client to run:
zabbix_get -s <hostname> -k zfspool.degrade
...and expect to get some output (in this case 1, because I'm running it on a system with a degraded ZFS pool).
Before I ask what's wrong with it, can some one tell me specifically what host is referred to by the "-s" option: the client, the server?
Thanks