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

Monitor Apache Current Connections

Votes:

0

I have several Ubuntu servers running Apache2 that I want to monitor current connections for.

I followed the instructions on here for IIS and it works perfectly. So I am looking to do the same for my Ubuntu servers.

Any help is greatly appreciated.

Thanks

apache prtg snmp ubuntu

Created on Dec 1, 2010 6:15:21 PM



Best Answer

Accepted Answer

Votes:

0

As of PRTG version 12.x.3, there are two sensor types available out-of-the-box which can monitor Apache webservers:

Created on Jan 14, 2014 5:59:59 PM by  Gerald Schoch [Paessler Support]



9 Replies

Votes:

0

Hello,

please have a look at this KB article:

https://www.paessler.com/knowledgebase/en/topic/6733-which-linux-or-mac-os-distributions-are-supported-by-the-linux-unix-sensors-ssh-snmp-wbem#reply-17513

There is a overview which Linux systems can be monitored with PRTG

Created on Dec 2, 2010 9:28:29 AM by  Tobias Lange [Paessler Support]



Votes:

0

Ok so how would I got about setting up a sensor to monitor Apache connections?

Created on Dec 2, 2010 2:06:27 PM



Votes:

0

Hello,

at the moment we don't have an Apache Sensor out of the box, but it should be possible to monitor an apache server over SNMP. You have to configure your apache servers for SNMP. There is a SNMP daemon for apache v2 here:

http://mod-apache-snmp.sourceforge.net/english/

The MIB provided on this site can be used to create an oidlib, for this use our MIB Importer found here:

https://www.paessler.com/tools/mibimporter

Then create a SNMP Library sensor, choose the created OID and PRTG should get monitoring results.

Created on Dec 3, 2010 9:29:14 AM by  Tobias Lange [Paessler Support]



Votes:

0

It would be great to get a native sensor that could create graphs for all the Apache scoreboard/mod_status stats. http://httpd.apache.org/docs/1.3/mod/mod_status.html

Created on Dec 9, 2010 6:27:27 AM



Votes:

0

I download the MIB from the link mentioned (http://mod-apache-snmp.sourceforge.net/english/), but I can·t import the same because it gives an error on line 7, and canceling the import. What should I do? thank you very much

Created on Jun 7, 2012 3:54:06 PM



Votes:

0

Hi,
please replace the IMPORTS section of your existing APACHE2-MIB.TXT with the following.

IMPORTS
	enterprises			      
    FROM SNMPv2-SMI
	DisplayString  			      
  FROM SNMPv2-TC
	OBJECT-TYPE, 
    Integer32,
    Counter32,
    Gauge32,
	MODULE-IDENTITY                       
    FROM SNMPv2-SMI
	MODULE-COMPLIANCE, 
  OBJECT-GROUP       
    FROM SNMPv2-CONF;

Now you should be able to import the same using MIB Importer.
Best regards

Created on Jun 8, 2012 11:09:03 AM by  Konstantin Wolff [Paessler Support]



Accepted Answer

Votes:

0

As of PRTG version 12.x.3, there are two sensor types available out-of-the-box which can monitor Apache webservers:

Created on Jan 14, 2014 5:59:59 PM by  Gerald Schoch [Paessler Support]



Votes:

0

Hello, I transformed apache2.mib .oidlib. After that, when I want to use it in PRTG, it puts me the following message: Hi, I transform the apache2.mib to .oidlid, after-prtg i use this in order i have a error message: No such object (SNMP error # 222). Can you help me please ? Thx

Created on Nov 25, 2015 3:49:15 PM



Votes:

0

Dear Isma,

You can use the SNMP Tester and perform a scan oidlib against the Apache server. This will list all available OIDs from this MIB file.

Did you already try to add the sensors mentioned by Gerald?

Best regards, Felix

Created on Nov 26, 2015 1:36:01 PM by  Felix Saure [Paessler Support]




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.