I want to show here how to do that anyway (I did this against apache 2.0.63 from Macports):
- First, if not yet done install Macports
- Then, install libtool from within macports
sudo port instal libtool
- Chdir to
<JON_AGENT_INSTALL_DIR>/product_connectors/apache-snmp/source
- Edit the build script (
build_apache_snmp.sh
) to replace two occurances oflibtoolize
withglibtoolize
- edit snmp_common/ucd-snmp/agent/auto_nlist.c
to include <sys/types.h> : (around line 30)
#include <sys/types.h>
#include "asn1.h"
#include "snmp_api.h" - Run the build as indicated on the build page
- When adding the snmp module config to httpd.conf, specify /var/db for SNMPVar:
SNMPVar /var/db
Done! :-)
You can now (re)start apache and take it into inventory.
To do this, please specify the root path of the server and the relative path to the htttpd binary, as apache2 from macports is called 'httpd' and not 'apache2', so it won't be correctly detected otherwise.
Hi Rupp,
ReplyDeleteDo you know any ways how we could configure SNMP for monitoring APACHE server on MAC OS?. Could you share few points on this.
Hi, Rupp!
ReplyDeleteI'm trying to install this module on Apache, but I didn't found the compiled module on the agent instalation directory. I'm using Jopr 2.2.1. Is this module just providedy by JBossON?
Thanks in advance!
Hyperic had SNMP client org.hyperic.snmp.SNMPClient
ReplyDeleteDoes RHQ has support for getting values from SNMP agents ?