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


Article Comments

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


Dec, 2010 - Permalink

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


Dec, 2010 - Permalink

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.


Dec, 2010 - Permalink

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


Dec, 2010 - Permalink

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


Jun, 2012 - Permalink

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


Jun, 2012 - Permalink

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


Jan, 2014 - Permalink

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


Nov, 2015 - Permalink

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


Nov, 2015 - Permalink