Sep 15 08:53:11 sv15 named: zone /IN: Transfer started. Sep 15 08:53:11 sv15 named: zone /IN: zone transfer deferred due to quota The Master only has an IXFR ended and no IXFR started which does not seem right These are the entries for the same domain from both the master and slave after updating the record on the master Submitted by JamieCameron on Sun, - 20:00 Comment #9 Sep 14 09:28:19 sv15 named: zone /IN: Transfer started. Record in one of the slaves įile "/var/cache/bind/.hosts" I have checked those settings, they were correct, I have re-applied and restarted Bind but still no records on the slave.įile "/etc/bind/.hosts" Submitted by JamieCameron on Sat, - 00:44 Comment #7 Sep 12 11:54:31 sv15 named: transfer of '/IN' from #53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.001 secs (0 bytes/sec) Sep 12 11:54:31 sv15 named: transfer of '/IN' from #53: failed while receiving responses: NOTAUTH Sep 12 11:54:31 sv15 named: zone /IN: Transfer started. Sep 12 11:54:31 sv15 named: zone /IN: zone transfer deferred due to quota Sep 12 11:54:30 sv15 named: transfer of '/IN' from #53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.001 secs (0 bytes/sec) Sep 12 11:54:30 sv15 named: transfer of '/IN' from #53: failed while receiving responses: NOTAUTH Sep 12 11:54:30 sv15 named: zone /IN: Transfer started. Rcode servfail license#Licensed under the Apache License Version 2.I have added some more servers on the master and now the slaves are not updating and getting this message in the log on the slave for one of the domains Run visudo as root and add the following: nrpe ALL=(root) NOPASSWD: /usr/sbin/unbound-controlĬonfigure your monitoring server to use check_nrpe to query nrpe. The most secure way to do that is to give nrpe root priviledges executing unbound-control using sudo. The script check_unbound-ng.sh uses the command /usr/sbin/unbound-control which needs root priviledges. Rcode servfail install#Install nrpe on the server running unbound in case you don't already have it.Ĭopy check_unbound-ng.sh to the server running unbound in for example /usr/lib64/nagios/plugins/Ĭonfigure nrpe and add a new command in /etc/nagios/nrpe.cfg command=/usr/lib64/nagios/plugins/check_unbound-ng.sh Example check_nrpe -s -H 10.10.10.10 -c check_unbound This plugin outputs usually more than that. Older versions of check_nrpe has a limitation of 1024 bytes of output. Note that you need to run check_nrpe 3 or later. It should work with other Nagios compatible products as well. I have tested the script with Op5 Monitor. These are the statistics shown: Īn explanation for all the values can be found in the man page for Unbound-control. Then it runs unbound-control stats to get the statistics. The script uses unbound-control to check that Unbound is running. I didn't want to confuse my new script with the original so I added "-ng" to the name of my script. There was already a script named check_unbound which didn't give the metrics I was interested in, so I wrote a new one. This is a script for monitoring Unbound DNS resolvers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |