PDA

View Full Version : SNMP Key?


airedale
18-07-2005, 17:28
I am trying to add a host to monitor. I am not sure exactly what I am supposed to do though about the items.

This is a managed switch I want to monitor so I can not run the agent on it. I am trying to monitor it via SNMP. How do I do that? I have seen some stuff where I need to add key values. What do these have to do with SNMP?

Could you please help me out? I am a little lost.

I have used OpenNMS in the past and thought I would try out Zabbix. OpenNMS finds all the values that I can monitor and they are set.

Do I need to add each thing I want to monitor? If so how do I find out what "Keys" I need to add?

Thanks!

mconigliaro
18-07-2005, 22:08
in the context of snmp checks, the key can be whatever you want. its just a way to uniquely identify the item. as an example, heres how i do my snmp check for system uptime:

snmp oid = iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.0
key = sysUpTime

now in the triggers, i can refer to this item as {HOSTNAME}.sysUpTime. i might want to send myself an alert when "{{HOSTNAME}.sysUpTime.last(0)}<500".

i hope this helps.

ps: {HOSTNAME} is a variable that holds the hostname of the device were talking about.