What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

No such object (SNMP error # 222) error while using "Basic Linux Library (UCD-SNMP-MIB)"



Your Vote:



I set up SNMP in my linux device (Ubuntu 14.04.2 LTS). Tested the configuration using Paessler SNMP tester (https://www.de.paessler.com/tools/snmptester) from the Windows 2012 server where PRTG(version x64) is installed - it is successful.

I tried to create 'SNMP Library' sensor using 'Paessler common OID library' for the LINUX device - and it works successfully.

However, while I try to use 'SNMP Library' sensor and then select 'Basic Linux Library' so as to monitor a process as described in https://kb.paessler.com/en/topic/29403-monitoring-processes-in-linux, I receive error "No such object (SNMP error # 222)".

When I switch to SNMP v1 and try to configure the same sensor, I receive error "No such name (SNMP error # 2)"

Could yo please let me know the cause of this error? Is it the wrong OID? Need help. Thanks

process-monitoring prtg15 snmp-library

Created on Jul 20, 2015 11:14:49 AM by  SomnathSaha (130) 1 2

1 Reply

Accepted Answer



Your Vote:



Managed to solve the issue. Basically, the read-only and read-write community entries were missing from the /etc/snmp/snmpd.conf file in the LINUX server that needs to be monitored.

Added the below entries to the file and restarted the snmpd service in the LINUX system.

rouser  abcd  
rwuser  abcd  
rocommunity  abcd  
rwcommunity  abcd  
syscontact  somnath
syslocation  spain

Thereafter, changed the community string for the LINUX device in PRTG to 'abcd' as configured above. After which PRTG was able to read the OIDs and I was able to add 'SNMP Library' sensor using "Basic Linux Library (UCD-SNMP-MIB).oidlib"

Thanks. Somnath

Created on Jul 20, 2015 4:51:46 PM by  SomnathSaha (130) 1 2

Last change on Jul 21, 2015 5:46:00 AM by  Luciano Lingnau [Paessler]

Please log in or register to enter your reply.

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.