Here you have a bash script that scan a device and allow the selection of items to be added to a template in a wizard way, it support extension by modules in two ways, to manage some special OIDs (like NIC ones) and by defining output modules (that builds the final result, at the moment a zabbix template)
The zabbix template module can build multi or single graph items.
Just download, untar the file, cd make_template and run:
bash make_template.sh -i -a IP_ADDRESS SNMP OPTIONS
Submitted by Bert Voegele on Mon, 11/14/2011 - 11:58
The most common network switches (at least in the env. here) have either 24 or 48 ports. To re-use templates without disabling a lot of items (and the dependant triggers & graphs) a splitted template approach is used : one template to gather basic informations about the switch (host related stuff like uptime, proc, mem, etc) and two templates to gather switch port statistics (one for port 1-24 and a second one for ports 35-48).
Submitted by Bert Voegele on Sat, 11/12/2011 - 13:09
Caveat : These are examples and must probably be adapted to your actual ZFS/ZPOOL names. They're in production use on Zabbix 1.8.6. and the agent runs on Opensolaris svn_134.
Step 1.
The following snippet must be added to /etc/zabbix/zabbix_agentd.conf to provide the UserParameter:
----------snip----------------
### ZFS related UserParameter
#
# takes just one parameter (a zpool name) and returns 0 or 1
UserParameter=zpool.status[*],zpool status -x $1 | grep "is healthy" | wc -l
Submitted by onezero1010 on Tue, 10/11/2011 - 20:26
This assumes RabbitMQ Server 2.0 or greater.
These user parameters pull all of the queue and exchange information out of rabbitmqctl for a particular queue and exchange. It assumes rabbitmqctl is at /usr/sbin/rabbitmqctl.
In the past, quite often Zabbix users have been puzzled regarding some server tuning parameters – for example, how many pollers do they need? It was usually determined based on experience, testing and a bit of guesstimating. No more fuzzy attempts – get hard facts with Zabbix 1.8.5.
Recent comments