Hi.
I would like to share my script which creates templates which then can be imported in Zabbix.
I am not professional programmer, however the script is tested and will include more error checking shortly.
This script will create template in no time.
Just run the script READ!!! (make sure you have properly configured the end devices for snmp view and community string)
# Features
####################################
# Simple user input just run the script and it will ask you for everything.
# Scans for MIB and creates Zabbix Template in /tmp/zabbix-template dir
# User can scan for more OIDs which are added to one template.
# Automatically assigns some Value types to item in zabbix.
# Some items are automatically assigned (see function "f_formatItemVariables"):
# ifInOctets (bps,delta speed/s)
# ifSpeed (bps)
# *UpTime* (uptime, multiplier 0.01)
# -->more to follow
Requirements:
net-snmp and standard Linux distribution (I will clarify later)
Comments welcome. Especially in regards to bash scripting. I am more beginner and I will be improving the script.
Have a good day.
Anyway, here is md5sum - just in case.
63427d6d708cfc034e7d8c2c25b9f250
(snmpwalk-to-template-v4.sh.gz)
I would like to share my script which creates templates which then can be imported in Zabbix.
I am not professional programmer, however the script is tested and will include more error checking shortly.
This script will create template in no time.
Just run the script READ!!! (make sure you have properly configured the end devices for snmp view and community string)
# Features
####################################
# Simple user input just run the script and it will ask you for everything.
# Scans for MIB and creates Zabbix Template in /tmp/zabbix-template dir
# User can scan for more OIDs which are added to one template.
# Automatically assigns some Value types to item in zabbix.
# Some items are automatically assigned (see function "f_formatItemVariables"):
# ifInOctets (bps,delta speed/s)
# ifSpeed (bps)
# *UpTime* (uptime, multiplier 0.01)
# -->more to follow
Requirements:
net-snmp and standard Linux distribution (I will clarify later)
Comments welcome. Especially in regards to bash scripting. I am more beginner and I will be improving the script.
Have a good day.
Anyway, here is md5sum - just in case.
63427d6d708cfc034e7d8c2c25b9f250
(snmpwalk-to-template-v4.sh.gz)
)


Comment