OK, so I am at a loss here.
Got Zabbix running well, ICMP queries, agent installs and some SNMP stuff. Bloody marvellous stuff!
But something that I feel should be so simple, is causing me so much of a headache.
I monitor multiple DNS servers, which due to the nature of the environment they sit it, it is not feasible to have an agent installed on them. All I want to do, is to run a 'dig +short hostname @serverIwantTOtest' against multiple DNS servers. Then compare the result of this against a predefined answer.
So for example:
"dig +short www.bbc.net.uk"
if answer is not 212.58.249.215
then alert
But for the life of me, I just cant seem to figure out how to do it.
If it helps, I am running Zabbix 4
Many thanks to anyone that can help.
Got Zabbix running well, ICMP queries, agent installs and some SNMP stuff. Bloody marvellous stuff!
But something that I feel should be so simple, is causing me so much of a headache.
I monitor multiple DNS servers, which due to the nature of the environment they sit it, it is not feasible to have an agent installed on them. All I want to do, is to run a 'dig +short hostname @serverIwantTOtest' against multiple DNS servers. Then compare the result of this against a predefined answer.
So for example:
"dig +short www.bbc.net.uk"
if answer is not 212.58.249.215
then alert
But for the life of me, I just cant seem to figure out how to do it.
If it helps, I am running Zabbix 4
Many thanks to anyone that can help.
Comment