Add Single OID?

Hi,

I have a single SNMP OID I need to monitor and was wondering if there was a simple way to add this via WATO rather than having to write a check? I was thinking something like a rule or directly on the host but can’t find anything.

Any suggestions?
Thanks.

Hi,
you can use check_snmp for this. You have to setup the rule: WATO -> Host & Service parameters -> Active checks -> Classical active and passive monitoring checks: Check command:

check_snmp -H YourHost -o YourOID

Karl

1 Like

Hi, thanks for the reply.

I have tried as suggested but the check just timesout:

image

When run an snmpwalk via the cli it works:

iso.3.6.1.4.1.9.9.392.1.3.1.0 = Gauge32: 13

Hi,

iso.3.6.1.4.1.9.9.392.1.3.1.0

check_snmp -H 172.29.1.93 -o iso.3.6.1.4.1.9.9.392.1.3.1.0

Karl

1 Like

Thanks Karl,

Didn’t realise I needed to add both the community string and version to the command as thought it would parse from the host itself. Used the following and working perfectly:

check_snmp -H 172.29.1.93 -C SuPeRsEcReT -P 2c -o iso.3.6.1.4.1.9.9.392.1.3.1.0
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.