PDA

View Full Version : automatic creation of host/templates (snmp, zbx-agent, ...)


acalvo
24-01-2011, 11:10
I was wondering if someone is working on an "automatic" way to create hosts/templates.
From my POV, what's more unfriendly (or what can be improved) is the set up of a host.
Sure, if you have only 4 hosts, it's not an issue to figure out every query you'll need - no matter if it's zabbix-agent or snmp.

When you have lots of hosts, with slightly differences between them, can be a hard task to do.

So, instead of letting the user know "a priori" what he wants, I've thought, why not scan the host target and show all the information, and let the user select what he wants?

If no one is working in something like that, I might consider start to work on it (first based on SNMP, then other agents).

BTW, especially for those heavily involved with the project, does this make sense? is it a good approach? do you have something behind the scene that could do that? may I develop it expecting to be somehow merged with one major release?

thanks

nelsonab
24-01-2011, 16:00
I think something like this would be quite useful, however I don't see this running within the Zabbix gui. Rather I could see this running on a remote host and then creating the template for the host via the API.

richlv
24-01-2011, 21:24
i'd suggest playing around with low level discovery in trunk - especially the custom part (although there's a bug reported against creating triggers for custom returned values, basic principle should work fine)

it would mostly deal with "same kind of entities" on a host, but by creating multiple classes i'd expect one to cover quite a lot. you could even see on implementing it as part of an agent. first it might even be based on a userparameter as a proof of concept to make things easier