Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix it? #13

Open
ghost opened this issue May 13, 2021 · 4 comments
Open

fix it? #13

ghost opened this issue May 13, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented May 13, 2021

Do you care adopting this for the latest Bind9.16?

The only things which seems to work in it is the bind.discoverzones.

@ghost
Copy link
Author

ghost commented May 13, 2021

Ok I get it working, there are some issues tho. First off the counters should default to zero.

Because currently if there were no query for a certain type of record like NS here:

/usr/zabbix4/bin/zabbix_get -s 1.2.3.4 -p10050 -k bind.incounter[NS]
ZBX_NOTSUPPORTED

You will get notsupported like something would be broken but it isn't. There was simply no NS query before. After I do an NS query against that bind it starts working.

The discoverzones finds tons of useless reverse zones, because of this over 1000 zabbix entries were created. As a solution for this I did the simple trick:

UserParameter=bind.discoverzones, echo '[t|{"data": ...}]}]'

@ghost
Copy link
Author

ghost commented May 15, 2021

So here is the problem the checks are all grayed out (it does nothing) because I assume that the required master item:

                    <master_item>
                        <key>bind.json</key>
                    </master_item>

is missing. This key should be: bind.json and other subzones bind.jsonzone[domain.lan] for example.
You don't have this key anywhere in your zabbix_agentd.conf so where is it coming from and what does it do.

I have tried to do:

UserParameter=bind.json,echo 'bindstats.json'

just what the hell is this parameter should do. I doubt it's pointing to a location on the remove fs.

@empereira
Copy link

hey @feraldruid22,

Were you able to fix this issue?

@zeduperes
Copy link

I have the same issue, Did you solve the problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants