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

Hostname digit converted to hostid #156

Open
linceaerian opened this issue Nov 18, 2022 · 0 comments
Open

Hostname digit converted to hostid #156

linceaerian opened this issue Nov 18, 2022 · 0 comments

Comments

@linceaerian
Copy link
Contributor

Hello Maintainers :)

The idea behind

image

Is not really good: It works in "standard" case but... our hostname are digit... and we use visible name for the name... which lead
to be unable to use this lib as it is ^.^

I would recommend add additional arguments or filter to support hostid or hostname or custom filter, else it can lead to some... inconvenience, ex:

./zabbix-cli -C "remove_host 44432" => I was trying the remove the host with this hostname => changed to hostid, I was lucky the ID did not exist in the Zabbix.

Have a good weekend

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

1 participant