SNMP without .1.3.6.1.2.1

I have an IP camera with SNMP enabled, would like to get some basic infos. However, I’m stuck with the following error:

[snmp] Cannot fetch system description OID .1.3.6.1.2.1.1.1.0. Please check your SNMP configuration. Possible reason might be: Wrong credentials, wrong SNMP version, Firewall rules, etc.(!)

This isn’t wrong, as OID 1.3.6.1.2.1.1.1.0 isn’t returned by the camera. How can I make it work for the other OIDs however? I added the rule for Hosts without system description OID to prevent the error but nothing is detected nevertheless. Is that because OID .1.3.6.1.4.1.39165 just isn’t supported by default?

How to support it, at least for CPU and RAM percents?

OMD[home]:~$ cmk -v --snmpwalk camera01
camera01:
Walk on ".1.3.6.1.2.1"...
0 variables.
Walk on ".1.3.6.1.4.1"...
34 variables.
Wrote fetched data to /omd/sites/home/var/check_mk/snmpwalks/camera01.
OMD[home]:~$ cat /omd/sites/home/var/check_mk/snmpwalks/camera01
.1.3.6.1.4.1.39165.1.1.0 TV-IP1319PI
.1.3.6.1.4.1.39165.1.2.0 0
.1.3.6.1.4.1.39165.1.3.0 V5.5.3 build 200714
.1.3.6.1.4.1.39165.1.4.0 3c-8c-f8-f7-f4-75
.1.3.6.1.4.1.39165.1.5.0 88
.1.3.6.1.4.1.39165.1.6.0 IPcamera
.1.3.6.1.4.1.39165.1.7.0 19 PERCENT
.1.3.6.1.4.1.39165.1.8.0 0.0 GB
.1.3.6.1.4.1.39165.1.9.0 0 PERCENT
.1.3.6.1.4.1.39165.1.10.0 512 MB
.1.3.6.1.4.1.39165.1.11.0 60 PERCENT
.1.3.6.1.4.1.39165.1.12.0 0
.1.3.6.1.4.1.39165.1.13.0 10.2.1.11
.1.3.6.1.4.1.39165.1.14.0 255.255.255.0
.1.3.6.1.4.1.39165.1.15.0 10.2.1.1
.1.3.6.1.4.1.39165.1.16.0 0.0.0.0
.1.3.6.1.4.1.39165.1.17.0 0.0.0.0
.1.3.6.1.4.1.39165.1.18.0 0.0.0.0
.1.3.6.1.4.1.39165.1.19.0 2022-09-08 19:17:19
.1.3.6.1.4.1.39165.1.20.0 1
.1.3.6.1.4.1.39165.1.21.0 H.264
.1.3.6.1.4.1.39165.1.22.0 H.264
.1.3.6.1.4.1.39165.1.23.0 0
.1.3.6.1.4.1.39165.1.24.0 0
.1.3.6.1.4.1.39165.1.25.0 0
.1.3.6.1.4.1.39165.1.26.0 1
.1.3.6.1.4.1.39165.1.27.0 1
.1.3.6.1.4.1.39165.1.28.0 1
.1.3.6.1.4.1.39165.1.29.0 ETHERNET
.1.3.6.1.4.1.39165.1.30.0 0
.1.3.6.1.4.1.39165.1.31.0 0
.1.3.6.1.4.1.39165.1.32.0 0.0.0.0
.1.3.6.1.4.1.39165.1.33.0 10.2.1.1
.1.3.6.1.4.1.39165.1.34.0 0

Hi dnLL,

there is a rule “Hosts without system description OID”.
Maybe that helps you ?

Hi @dnLL ,

could you share the rule that you created for the “Hosts without system description OID”, that would be helpful.
Also what happens if you do the connection test for that host?

Greetings, Lou1s

Example Rule to match Hosts in Folder:

Test Connection to Host Example:

Hey @philbert ,

I don’t know if you have fixed it already.
I know, that you have to implement your own Plugins for SNMP, if the device is not supported yet.
In that case checkmk only discovers 3 default SNMP services, but I think that they rely on the sysDesc.
So if you want to monitor these services, you could try to implement your own SNMP Plugin.

Greeting, lou1s :slight_smile:

As a reference.

Then, I used @rsander’s check_snmp_plugin plugin:

In my specific case however the number was written as “60 PERCENT” if you look at my original post. This isn’t a number, it’s a string. I tweaked his plugin a little bit. I had to change the following:

To the following:

oid, v, r = res.stdout.strip().split()
v = v.replace('"','')

The result (with some other services added with @rsander’s check_snmp plugin):

image

Hopefully that can help.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.