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


Article Comments

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.


Oct, 2013 - Permalink

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.


Oct, 2013 - Permalink

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 <me@example.org>"

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"


Oct, 2013 - Permalink

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.


Oct, 2013 - Permalink

it does not walk then now. any suggestion please?


Oct, 2013 - Permalink

it is solved already as of now. thanks


Oct, 2013 - Permalink