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

Error when try to import OS Windows template #16

Open
NemoDima opened this issue Sep 17, 2018 · 14 comments
Open

Error when try to import OS Windows template #16

NemoDima opened this issue Sep 17, 2018 · 14 comments

Comments

@NemoDima
Copy link

NemoDima commented Sep 17, 2018

Take error when try to import your OS Windows template.

Не удалось импортировать шаблон "OS Windows", соединенные шаблоны "ICMP, Service Zabbix Agent" не существуют.

Zabbix 3.4

@NemoDima NemoDima changed the title Error when try to import template Error when try to import OS Windows template Sep 17, 2018
@Chewbakka-Wakka
Copy link
Contributor

Can you try to first import the ICMP template and the Service Zabbix Agent template? Then this will work for you.

@Chewbakka-Wakka
Copy link
Contributor

You may also be better off using the Devel branch to DL it from, it has more content.

@Chewbakka-Wakka
Copy link
Contributor

we could update the readme to state this

@NemoDima
Copy link
Author

Thanks a lot for explanation,

@Chewbakka-Wakka
Copy link
Contributor

@kloczek this can be closed now. I updated README as well.

@NemoDima
Copy link
Author

I imported they all, but got new problem :)
If OS Windows have different language then English tamplates doesn't work, because perfcounters have localised names.
For this reason i want to ask. Can you look at this article https://daniel.streefkerkonline.com/2016/02/18/use-powershell-to-list-all-windows-performance-counters-and-their-numeric-ids/ and thinking about using counters IDs instead of counter names?

And one more questions.
Are you have a plan to create templates for IIS, MSSQL and MS FTP-service?

Thanks a lot and best wishes, Dmytro

@Chewbakka-Wakka
Copy link
Contributor

Ok, can report as a separate issue thread.

Thank you for sharing this is most useful. Interesting I find more counters by this method than any other... but why? Even details on the B+ tree operations. If using these IDs will be the same no matter the language used then yes every single one will need to be updated. Then comes the question how to also have the item names not be language specific? I am assuming you would import the template, and all details are in English not your own language. Also I want to make all Perf counters to use LLD, as they differ per Win OS.

Yes I do, only thing is I am one person doing this with limited Windows systems to work with. I don't yet have a server running IIS nor AD anywhere. I also have a to-do list you may have seen on Zabbix forums. See - https://www.zabbix.com/forum/zabbix-cookbook/360060-announce-zabbix-templates-1-0-4?p=365235#post365235

@NemoDima
Copy link
Author

Sorry, but my experience with zabbix and server administration is very small.

In my case
https://snag.gy/caDvlF.jpg
https://snag.gy/82qaFC.jpg
I'm trying to setup zabbix monitoring on our 15+ dedicated servers.

About perfcounters and LLD, maybe it can help you: https://support.zabbix.com/browse/ZBXNEXT-1839

@kloczek
Copy link
Owner

kloczek commented Sep 21, 2018

If OS Windows have different language then English tamplates doesn't work, because perfcounters have localised names

I think that this should be reported as the Windows issue.
Names of the perf counters should not depend on used language settings.

@NemoDima
Copy link
Author

Additionally
About mssql and iis counters.
I recomend look at one of the most popular app for perfomance counters monitoring. https://github.com/clinthuffman/PAL
I hope that their list of counters could help you create new templates when you'll have enouth time for this.

Regards

@v-zhuravlev
Copy link

If OS Windows have different language then English tamplates doesn't work, because perfcounters have localised names

I think that this should be reported as the Windows issue.
Names of the perf counters should not depend on used language settings.

That's how Windows works... 😕
Anyway, it's better to use numeric counters where possible to make template as compatible as possible:
https://www.zabbix.com/documentation/4.0/manual/config/items/perfcounters#numeric_representation

@kloczek
Copy link
Owner

kloczek commented Sep 27, 2018

It does not look good :(
I've been trying to google for any other solution but seems numeric representation is only way to have sampling right metric.
As I'm less interested Windows monitoring I'm leaving @Chewbakka-Wakka decision about move to such representation (he is de facto leading maintaining OS Windows template).

@v-zhuravlev
Copy link

It does not look good :(
I've been trying to google for any other solution but seems numeric representation is only way to have sampling right metric.

I suggest you can place English representation in the item description field as a note.

@Chewbakka-Wakka
Copy link
Contributor

If the numeric equivalents are the same across languages then this may have to be changed then. Issue is it will take a while to move all 300+ items manually to achieve that. Or to take all current items as they are, find the numerical mapping for each and then do some mass update on the xml template to fix all at once. Is it possible in the item description field to populate with the description using whatever language is locally used? Another note is in the event Microsoft changes the existing numerical maps or changes to a totally new format for the existing perf counters, then the same needs to be done all over again.

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

4 participants