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


PRTG and SNMP monitoring: same device, two SNMP ports

Votes:

0

Your Vote:

Up

Down

Hi all,

I am monitoring hardware parameters of an Linux server (acting as proxy server) using its SNMP service on default port 161. The proxy software is SQUID 2.6, and it has its own SNMP subsystem on port 3401.

This forces me to have the same server declared as two distinct devices, since I cannot add a sensor changing its port (it defaults to parent's device port). Would not be beautiful extend the inheritance mechanism as an option even on SNMP port on same device sensors ?

TIA

Claudio Duffini

proxy prtg snmp wishlist

Created on Apr 15, 2010 5:09:53 PM by  Claudio Duffini (0) 1

Last change on Apr 16, 2010 8:01:40 AM by  Daniel Zobel [Paessler Support]



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

While not supported by PRTG (would require two distinct devices), please check the guide by Markus below:

@Markus - Thank you for the contribution!



Best Regards,
Luciano Lingnau [Paessler Support]

Created on Oct 24, 2016 5:33:44 AM by  Luciano Lingnau [Paessler Support]

Last change on Oct 24, 2016 5:34:45 AM by  Luciano Lingnau [Paessler Support]



7 Replies

Votes:

0

Your Vote:

Up

Down

We will add it to the wish list, but it is unlikely that we will see this implemented any time soon.

Created on Apr 16, 2010 4:39:54 AM by  Aurelio Lombardi [Paessler Support]

Last change on Apr 16, 2010 8:01:20 AM by  Daniel Zobel [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Has this feature been released? Thanks!

Created on Feb 27, 2015 2:54:32 PM by  char_k (0) 1



Votes:

0

Your Vote:

Up

Down

No, sorry.

The request for this is rather low, so it is unlikely that we will implement this any time soon.

Created on Mar 2, 2015 7:57:11 AM by  Aurelio Lombardi [Paessler Support]



Votes:

0

Your Vote:

Up

Down

I'm currently testing the product. Working to add important sensors to monitor network trafic, found that there is no sensor for squid (one of the best free proxy abiable). The produc is excelent, and just in a few days , found some configurations problem on the network, but is determinating for me to have a Proxy sensor. How could i help to have it ? Current version of squid is 3. Thanks

Created on May 18, 2015 5:32:13 PM by  pguzman (0)



Votes:

0

Your Vote:

Up

Down

@pquzman: As PRTG allows the execution of own scripts and exe files you might write your own sensor and execute the using the EXE/Script (Advanced) sensors of PRTG.
Best regards

Created on May 22, 2015 7:36:08 AM by  Konstantin Wolff [Paessler Support]



Votes:

1

Your Vote:

Up

Down

HowTo: Configure linux net-smtp to proxy all other snmp calls from custom smtp-ports like squid, apache, etc.

Here is my prtg-monitoring solution for squid-proxy server:

1.) Configure Squid for snmp access

Modify squid.conf (usually /etc/squid3/squid3.conf) and replace all your_ variables with your own values acl snmp_poll snmp_community your_community_string snmp_port 3401 snmp_access allow snmp_poll localhost

Restart squid service

2.) Modify Linux Net-SMNP config

Change net-snmp daemon config to proxy all squid snmp calls (usually /etc/snmp/snmpd.conf)
Add the following line to the end of your snmpd.conf (remember to change all your_ variables with your own value(s))

proxy -v 2c -c your_community_string localhost:3401 .1.3.6.1.4.1.3495.1

Restart net-snmpd

Now you should be able to receive all the squids snmp output via standard snmp call on port 161 while using PRTGs standard SNMP sensors. No extra devices, no custom scripting, no workarounds. Clean and easy.

3.) Test: [email protected]:~# snmpwalk -v 2c -c your_community_string localhost .1.3.6.1.4.1.3495.1

Sample output:

iso.3.6.1.4.1.3495.1.1.1.0 = INTEGER: 240
iso.3.6.1.4.1.3495.1.1.2.0 = INTEGER: 3774872
iso.3.6.1.4.1.3495.1.1.3.0 = Timeticks: (156790) 0:26:07.90
iso.3.6.1.4.1.3495.1.2.1.0 = STRING: "proxy-admin"
iso.3.6.1.4.1.3495.1.2.2.0 = STRING: "squid"
iso.3.6.1.4.1.3495.1.2.3.0 = STRING: "3.3.8"
iso.3.6.1.4.1.3495.1.2.4.0 = STRING: "ALL,1"
iso.3.6.1.4.1.3495.1.2.5.1.0 = INTEGER: 512
iso.3.6.1.4.1.3495.1.2.5.2.0 = INTEGER: 4096
iso.3.6.1.4.1.3495.1.2.5.3.0 = INTEGER: 95
iso.3.6.1.4.1.3495.1.2.5.4.0 = INTEGER: 90
...

4.) Additional resources and useful stuff:

  • squid-mib path (Ubuntu 14.04): /usr/share/squid3/mib.txt

Happy squid monitoring!
- Markus

Created on Oct 23, 2016 1:40:54 PM by  Exo (10)

Last change on Oct 24, 2016 5:32:14 AM by  Luciano Lingnau [Paessler Support]



Accepted Answer

Votes:

0

Your Vote:

Up

Down

While not supported by PRTG (would require two distinct devices), please check the guide by Markus below:

@Markus - Thank you for the contribution!



Best Regards,
Luciano Lingnau [Paessler Support]

Created on Oct 24, 2016 5:33:44 AM by  Luciano Lingnau [Paessler Support]

Last change on Oct 24, 2016 5:34:45 AM by  Luciano Lingnau [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.