What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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

User Connected and Error #222

Votes:

0

1. Can PRTG monitor how many clients currently connect to a server (linux preferably)?

2. I got probem when trying to add sensor for Bandwidth/Traffic for Linux/MacOS. It says SNMP error #222. How to solve it? Below is the log of my SNMP Tester.

----------------------- New Test ----------------------- Paessler SNMP Tester 5.1 10/14/2013 3:06:45 PM (2 ms) : Device: 160.0.41.250 10/14/2013 3:06:45 PM (3 ms) : SNMP V1 10/14/2013 3:06:45 PM (5 ms) : Uptime 10/14/2013 3:06:45 PM (16 ms) : ------- 10/14/2013 3:06:45 PM (18 ms) : Value: 2089562 10/14/2013 3:06:45 PM (21 ms) : Done

----------------------- New Test ----------------------- Paessler SNMP Tester 5.1 10/14/2013 3:06:50 PM (6 ms) : Device: 160.0.41.250 10/14/2013 3:06:50 PM (10 ms) : SNMP V1 10/14/2013 3:06:50 PM (13 ms) : Walk 10/14/2013 3:06:50 PM (20 ms) : Error: -2007

----------------------- New Test ----------------------- Paessler SNMP Tester 5.1 10/14/2013 3:06:54 PM (9 ms) : Device: 160.0.41.250 10/14/2013 3:06:54 PM (14 ms) : SNMP V2c 10/14/2013 3:06:54 PM (20 ms) : Uptime 10/14/2013 3:06:54 PM (34 ms) : ------- 10/14/2013 3:06:54 PM (38 ms) : Value: 2090462 10/14/2013 3:06:54 PM (42 ms) : Done

----------------------- New Test ----------------------- Paessler SNMP Tester 5.1 10/14/2013 3:07:00 PM (13 ms) : Device: 160.0.41.250 10/14/2013 3:07:00 PM (19 ms) : SNMP V2c 10/14/2013 3:07:00 PM (23 ms) : Walk 10/14/2013 3:07:00 PM (28 ms) : Error: -2007

bandwidth error-#222 user-connected

Created on Oct 14, 2013 7:24:17 AM



6 Replies

Votes:

0

To monitor the number of linux users you will need to create a custom SSH sensor since there are no built-in sensors for this.

Custom SSH Sensor

Show linux logged in users

From the output that you posted here, it looks like SNMP isn't enabled for that Linux or Mac computer. To read SNMP values from a Linux system, the SNMP subsystem has to be activated.

Created on Oct 14, 2013 3:54:48 PM by  Greg Campion [Paessler Support]



Votes:

0

for the case error #222.

is there any different SNMP setting between SNMP uptime and traffic? because I can monitor the SNMP uptime for such machine.

Created on Oct 17, 2013 10:08:09 AM



Votes:

0

This is another snmp walk on 1.3.61.2.1.1 | I hope there is answer why I still can't monitor the bandwidth/trafic on my linux machine.

----------------------- New Test -----------------------

Paessler SNMP Tester 5.1

10/17/2013 6:46:21 PM (2 ms) : Device: 160.0.41.250

10/17/2013 6:46:21 PM (3 ms) : SNMP V1

10/17/2013 6:46:21 PM (5 ms) : Walk 1.3.6.1.2.1.1

10/17/2013 6:46:21 PM (12 ms) : 1.3.6.1.2.1.1.1.0 = "Linux <something> 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64"

10/17/2013 6:46:21 PM (19 ms) : 1.3.6.1.2.1.1.2.0 = "1.3.6.1.4.1.8072.3.2.10"

10/17/2013 6:46:21 PM (26 ms) : 1.3.6.1.2.1.1.3.0 = "29327919"

10/17/2013 6:46:21 PM (33 ms) : 1.3.6.1.2.1.1.4.0 = "Me <[email protected]>"

10/17/2013 6:46:21 PM (41 ms) : 1.3.6.1.2.1.1.5.0 = "<something>"

10/17/2013 6:46:21 PM (49 ms) : 1.3.6.1.2.1.1.6.0 = "Sitting on the Dock of the Bay"

10/17/2013 6:46:21 PM (57 ms) : 1.3.6.1.2.1.1.7.0 = "72"

10/17/2013 6:46:21 PM (62 ms) : 1.3.6.1.2.1.1.8.0 = "120"

10/17/2013 6:46:21 PM (68 ms) : 1.3.6.1.2.1.1.9.1.2.1 = "1.3.6.1.6.3.10.3.1.1"

10/17/2013 6:46:21 PM (74 ms) : 1.3.6.1.2.1.1.9.1.2.2 = "1.3.6.1.6.3.11.3.1.1"

10/17/2013 6:46:21 PM (80 ms) : 1.3.6.1.2.1.1.9.1.2.3 = "1.3.6.1.6.3.15.2.1.1"

10/17/2013 6:46:21 PM (86 ms) : 1.3.6.1.2.1.1.9.1.2.4 = "1.3.6.1.6.3.1"

10/17/2013 6:46:21 PM (90 ms) : 1.3.6.1.2.1.1.9.1.2.5 = "1.3.6.1.2.1.49"

10/17/2013 6:46:21 PM (94 ms) : 1.3.6.1.2.1.1.9.1.2.6 = "1.3.6.1.2.1.4"

10/17/2013 6:46:21 PM (98 ms) : 1.3.6.1.2.1.1.9.1.2.7 = "1.3.6.1.2.1.50"

10/17/2013 6:46:21 PM (103 ms) : 1.3.6.1.2.1.1.9.1.2.8 = "1.3.6.1.6.3.16.2.2.1"

10/17/2013 6:46:21 PM (107 ms) : 1.3.6.1.2.1.1.9.1.3.1 = "The SNMP Management Architecture MIB."

10/17/2013 6:46:21 PM (112 ms) : 1.3.6.1.2.1.1.9.1.3.2 = "The MIB for Message Processing and Dispatching."

10/17/2013 6:46:21 PM (117 ms) : 1.3.6.1.2.1.1.9.1.3.3 = "The management information definitions for the SNMP User-based Security Model."

10/17/2013 6:46:21 PM (122 ms) : 1.3.6.1.2.1.1.9.1.3.4 = "The MIB module for SNMPv2 entities"

10/17/2013 6:46:21 PM (128 ms) : 1.3.6.1.2.1.1.9.1.3.5 = "The MIB module for managing TCP implementations"

10/17/2013 6:46:21 PM (133 ms) : 1.3.6.1.2.1.1.9.1.3.6 = "The MIB module for managing IP and ICMP implementations"

10/17/2013 6:46:21 PM (138 ms) : 1.3.6.1.2.1.1.9.1.3.7 = "The MIB module for managing UDP implementations"

10/17/2013 6:46:21 PM (144 ms) : 1.3.6.1.2.1.1.9.1.3.8 = "View-based Access Control Model for SNMP."

10/17/2013 6:46:21 PM (150 ms) : 1.3.6.1.2.1.1.9.1.4.1 = "120"

10/17/2013 6:46:21 PM (156 ms) : 1.3.6.1.2.1.1.9.1.4.2 = "120"

10/17/2013 6:46:21 PM (162 ms) : 1.3.6.1.2.1.1.9.1.4.3 = "120"

10/17/2013 6:46:21 PM (168 ms) : 1.3.6.1.2.1.1.9.1.4.4 = "120"

10/17/2013 6:46:21 PM (175 ms) : 1.3.6.1.2.1.1.9.1.4.5 = "120"

10/17/2013 6:46:21 PM (181 ms) : 1.3.6.1.2.1.1.9.1.4.6 = "120"

10/17/2013 6:46:21 PM (187 ms) : 1.3.6.1.2.1.1.9.1.4.7 = "120"

10/17/2013 6:46:21 PM (194 ms) : 1.3.6.1.2.1.1.9.1.4.8 = "120"

Created on Oct 17, 2013 10:51:39 AM



Votes:

0

Please try a walk on this OID: 1.3.6.1.2.1.2.2.1.10 This is the traffic OID for eth0 on our Debian testsystem.

Created on Oct 17, 2013 12:48:59 PM by  Michael Schmidt [Paessler Support] (150) 1 1



Votes:

0

it does not walk then now. any suggestion please?

Created on Oct 17, 2013 2:59:33 PM



Votes:

0

it is solved already as of now. thanks

Created on Oct 18, 2013 3:30:39 AM




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.