New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


how to monitor snmp centos7

Votes:

0

Your Vote:

Up

Down

Dear Support,

I have problem when monitoring CentOs7. I got this reference : https://kb.paessler.com/en/topic/2023-how-can-i-monitor-systems-running-linux-and-unix-with-prtg from support team. And have been followed all instruction but, PRTG still can not monitor via SNMP. I try to test it using SNMP Tester, and It's work.

Thanks.

centos7 linux snmp

Created on May 30, 2016 9:43:47 AM by  ariantow (0) 2



Best Answer

Accepted Answer

Votes:

2

Your Vote:

Up

Down

Hello,

please change

view SystemView included .1.3.6.1.2.1.1

to

view SystemView included .1.3.6.1

Does that help?

Created on Jun 27, 2016 1:05:14 PM by  Isidora Jeremic [Paessler Support]

Last change on Jun 27, 2016 1:06:45 PM by  Isidora Jeremic [Paessler Support]



8 Replies

Votes:

0

Your Vote:

Up

Down

Hello,

What exact error message are you getting when trying to set SNMP sensors to monitor CentOs7?

Created on May 30, 2016 1:00:12 PM by  Isidora Jeremic [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi, Sorry for late reply.

The error message is : No Such Name (SNMP error # 2)

but when I'm trying to test using SNMP Tester, it's work. here is the result :

Paessler SNMP Tester 5.2.3 Computername: NB-065-LMI Interface: (10.x.x.x)
6/24/2016 2:37:52 PM (1 ms) : Device: subdomain.domain.xxx
6/24/2016 2:37:52 PM (2 ms) : SNMP V2c
6/24/2016 2:37:52 PM (2 ms) : Uptime
6/24/2016 2:37:52 PM (37 ms) : SNMP Datatype: ASN_TIMETICKS
6/24/2016 2:37:52 PM (37 ms) : -------
6/24/2016 2:37:52 PM (38 ms) : DISMAN-EVENT-MIB::sysUpTimeInstance = 249554397 ( 28 days )
6/24/2016 2:37:52 PM (53 ms) : SNMP Datatype: ASN_TIMETICKS
6/24/2016 2:37:52 PM (54 ms) : HOST-RESOURCES-MIB::hrSystemUptime.0 = 1797377583 ( 208 days )
6/24/2016 2:37:52 PM (54 ms) : Done

Created on Jun 24, 2016 7:45:36 AM by  ariantow (0) 2

Last change on Jun 24, 2016 7:50:17 AM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hello,

The "No such name" error means that the specified SNMP object was not found. This can have various reasons - changed OID, network connection problems, etc.

Which exact SNMP sensor type are you trying to set?

Are you getting the same error message for all SNMP sensors on this device?

Please use SNMP Tester again and perform a test "Scan Interfaces". Is it showing any error?

Created on Jun 24, 2016 2:39:06 PM by  Isidora Jeremic [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi,

here is the result of scan interface :

6/27/2016 11:58:54 AM (2 ms) : SNMP V2c
6/27/2016 11:58:54 AM (2 ms) : Scaninterfaces
Scanning Standard Interfaces...
6/27/2016 11:58:54 AM Start Scan
6/27/2016 11:58:54 AM Host: 103.14.74.47
6/27/2016 11:58:54 AM Community: testsnmp
6/27/2016 11:58:54 AM SNMP Version: V2
6/27/2016 11:58:54 AM Delay: 0
6/27/2016 11:58:54 AM Force32: No
6/27/2016 11:58:54 AM Single Get: No
6/27/2016 11:58:54 AM GET: 1.3.6.1.2.1.1.3.0
6/27/2016 11:58:54 AM Try 1
6/27/2016 11:58:54 AM DoRequest 0
6/27/2016 11:58:54 AM Init Session
6/27/2016 11:58:54 AM Host: 103.14.74.47:161
6/27/2016 11:58:54 AM Timeout: 2000000
6/27/2016 11:58:54 AM Version: 2
6/27/2016 11:58:54 AM Open Session
6/27/2016 11:58:54 AM Send Request
6/27/2016 11:58:54 AM Send Done
6/27/2016 11:58:54 AM Start 51878368
6/27/2016 11:58:54 AM Done 51878368 Status=0
6/27/2016 11:58:54 AM 0 ASN_COUNTER,ASN_TIMETICKS: 274521272
6/27/2016 11:58:54 AM GET: 1.3.6.1.2.1.2.1.0
6/27/2016 11:58:54 AM Try 1
6/27/2016 11:58:54 AM DoRequest 0
6/27/2016 11:58:54 AM Init Session
6/27/2016 11:58:54 AM Host: 103.14.74.47:161
6/27/2016 11:58:54 AM Timeout: 2000000
6/27/2016 11:58:54 AM Version: 2
6/27/2016 11:58:54 AM Open Session
6/27/2016 11:58:54 AM Send Request
6/27/2016 11:58:54 AM Send Done
6/27/2016 11:58:54 AM Start 51878368
6/27/2016 11:58:54 AM Done 51878368 Status=0
6/27/2016 11:58:54 AM 0 SNMP_ERR_NOSUCHOBJECT
6/27/2016 11:58:54 AM Test 64bit
6/27/2016 11:58:54 AM GET NEXT: 1.3.6.1.2.1.31.1.1.1.6
6/27/2016 11:58:54 AM DoRequest 0
6/27/2016 11:58:54 AM Init Session
6/27/2016 11:58:54 AM Host: 103.14.74.47:161
6/27/2016 11:58:54 AM Timeout: 2000000
6/27/2016 11:58:54 AM Version: 2
6/27/2016 11:58:54 AM Open Session
6/27/2016 11:58:54 AM Send Request
6/27/2016 11:58:54 AM Send Done
6/27/2016 11:58:54 AM Start 51878368
6/27/2016 11:58:56 AM Done 51878368 Status=2
6/27/2016 11:58:56 AM DoRequest 0
6/27/2016 11:58:56 AM Init Session
6/27/2016 11:58:56 AM Host: 103.14.74.47:161
6/27/2016 11:58:56 AM Timeout: 2000000
6/27/2016 11:58:56 AM Version: 2
6/27/2016 11:58:56 AM Open Session
6/27/2016 11:58:56 AM Send Request
6/27/2016 11:58:56 AM Send Done
6/27/2016 11:58:56 AM Start 51878368
6/27/2016 11:58:56 AM Done 51878368 Status=0
6/27/2016 11:58:56 AM 0 SNMP_ERR_ENDOFMIBVIEW
6/27/2016 11:58:56 AM 64bit NOT available
6/27/2016 11:58:56 AM GET NEXT: 1.3.6.1.2.1.2.2.1.2
6/27/2016 11:58:56 AM DoRequest 0
6/27/2016 11:58:56 AM Init Session
6/27/2016 11:58:56 AM Host: 103.14.74.47:161
6/27/2016 11:58:56 AM Timeout: 2000000
6/27/2016 11:58:56 AM Version: 2
6/27/2016 11:58:56 AM Open Session
6/27/2016 11:58:56 AM Send Request
6/27/2016 11:58:56 AM Send Done
6/27/2016 11:58:56 AM Start 51878368
6/27/2016 11:58:56 AM Done 51878368 Status=0
6/27/2016 11:58:56 AM 0 ASN_COUNTER,ASN_TIMETICKS: 1822344679
6/27/2016 11:58:56 AM Current: 1.3.6.1.2.1.25.1.1.0
6/27/2016 11:58:56 AM GET NEXT: 1.3.6.1.2.1.25.1.1.0
6/27/2016 11:58:56 AM DoRequest 0
6/27/2016 11:58:56 AM Init Session
6/27/2016 11:58:56 AM Host: 103.14.74.47:161
6/27/2016 11:58:56 AM Timeout: 2000000
6/27/2016 11:58:56 AM Version: 2
6/27/2016 11:58:56 AM Open Session
6/27/2016 11:58:56 AM Send Request
6/27/2016 11:58:56 AM Send Done
6/27/2016 11:58:56 AM Start 51878368
6/27/2016 11:58:56 AM Done 51878368 Status=0
6/27/2016 11:58:56 AM 0 SNMP_ERR_ENDOFMIBVIEW
6/27/2016 11:58:56 AM GetNext=9
Result: #O49

Found standard interfaces:
No standard interfaces found

and here is my snmpd.conf

  1. sec.name source community com2sec ConfigUser default testsnmp com2sec AllUser default testsnmp
  1. Map 'ConfigUser' to 'ConfigGroup' for SNMP Version 2c
  2. Map 'AllUser' to 'AllGroup' for SNMP Version 2c
  3. sec.model sec.name group ConfigGroup v2c ConfigUser group AllGroup v2c AllUser
  1. Define 'SystemView', which includes everything under .1.3.6.1.2.1.1 (or .1.3.6.1.2.1.25.1)
  2. Define 'AllView', which includes everything under .1
  3. incl/excl subtree view SystemView included .1.3.6.1.2.1.1 view SystemView included .1.3.6.1.2.1.25.1.1 view AllView included .1
  1. Give 'ConfigGroup' read access to objects in the view 'SystemView'
  2. Give 'AllGroup' read access to objects in the view 'AllView'
  3. context model level prefix read write notify access ConfigGroup "" any noauth exact SystemView none none access AllGroup "" any noauth exact AllView none none

thanks.

Created on Jun 27, 2016 5:13:08 AM by  ariantow (0) 2

Last change on May 17, 2019 9:46:15 AM by  ariantow (0) 2



Accepted Answer

Votes:

2

Your Vote:

Up

Down

Hello,

please change

view SystemView included .1.3.6.1.2.1.1

to

view SystemView included .1.3.6.1

Does that help?

Created on Jun 27, 2016 1:05:14 PM by  Isidora Jeremic [Paessler Support]

Last change on Jun 27, 2016 1:06:45 PM by  Isidora Jeremic [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi. It's work now.

thanks for your help

Created on Jun 28, 2016 4:54:35 AM by  ariantow (0) 2



Votes:

0

Your Vote:

Up

Down

Still cant browse

view SystemView included .1.3.6.1 view AllView included .1

5/16/2019 10:21:28 AM Timeout: 2000000
5/16/2019 10:21:28 AM Version: 2
5/16/2019 10:21:28 AM Open Session
5/16/2019 10:21:28 AM Send Request
5/16/2019 10:21:28 AM Send Done
5/16/2019 10:21:28 AM Start 58955096
5/16/2019 10:21:28 AM Done 58955096 Status=0
5/16/2019 10:21:28 AM 0 SNMP_ERR_NOSUCHOBJECT
5/16/2019 10:21:28 AM Test 64bit
5/16/2019 10:21:28 AM GET NEXT: 1.3.6.1.2.1.31.1.1.1.6
5/16/2019 10:21:28 AM DoRequest 0
5/16/2019 10:21:28 AM Init Session
5/16/2019 10:21:28 AM Host: 10.128.26.96:161
5/16/2019 10:21:28 AM Timeout: 2000000
5/16/2019 10:21:28 AM Version: 2
5/16/2019 10:21:28 AM Open Session
5/16/2019 10:21:28 AM Send Request
5/16/2019 10:21:28 AM Send Done
5/16/2019 10:21:28 AM Start 58955048
5/16/2019 10:21:28 AM Done 58955048 Status=0
5/16/2019 10:21:29 AM 0 SNMP_ERR_ENDOFMIBVIEW
5/16/2019 10:21:29 AM 64bit NOT available
5/16/2019 10:21:29 AM GET NEXT: 1.3.6.1.2.1.2.2.1.2
5/16/2019 10:21:29 AM DoRequest 0
5/16/2019 10:21:29 AM Init Session
5/16/2019 10:21:29 AM Host: 10.128.26.96:161
5/16/2019 10:21:29 AM Timeout: 2000000
5/16/2019 10:21:29 AM Version: 2
5/16/2019 10:21:29 AM Open Session
5/16/2019 10:21:29 AM Send Request
5/16/2019 10:21:29 AM Send Done
5/16/2019 10:21:29 AM Start 58955384
5/16/2019 10:21:29 AM Done 58955384 Status=0
5/16/2019 10:21:29 AM 0 ASN_COUNTER,ASN_TIMETICKS: 962718
5/16/2019 10:21:29 AM Current: 1.3.6.1.2.1.25.1.1.0
5/16/2019 10:21:29 AM GET NEXT: 1.3.6.1.2.1.25.1.1.0
5/16/2019 10:21:29 AM DoRequest 0
5/16/2019 10:21:29 AM Init Session
5/16/2019 10:21:29 AM Host: 10.128.26.96:161
5/16/2019 10:21:29 AM Timeout: 2000000
5/16/2019 10:21:29 AM Version: 2
5/16/2019 10:21:29 AM Open Session
5/16/2019 10:21:29 AM Send Request
5/16/2019 10:21:29 AM Send Done
5/16/2019 10:21:29 AM Start 58955096
5/16/2019 10:21:29 AM Done 58955096 Status=0
5/16/2019 10:21:29 AM 0 SNMP_ERR_ENDOFMIBVIEW
5/16/2019 10:21:29 AM GetNext=9
Result: #O49

Found standard interfaces:
No standard interfaces found

Created on May 16, 2019 5:25:11 PM by  Astolfo (0) 1

Last change on May 17, 2019 4:03:41 AM by  Sven Roggenhofer [Paessler Technical Support]



Votes:

0

Your Vote:

Up

Down

Hello Astolfo,

What's the SNMP Tester result when selecting the "Read Device Uptime" option under "2. Select Request Type"?

Best regards,
Sebastian

Created on May 17, 2019 9:26:00 AM by  Sebastian Kniege [Paessler Support]



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.