VMware Cloud Community
ipaddress
Contributor
Contributor

Apache 2.2.3 + SNMP

Hi!
I need Help with something...
I have a CentOS 5 Final running Hyperic HQ and its working great. Its monitoring some server, on of the is a CentOS 5 Final that is running Apache 2.2.3
I've already configure the SNMP and i know it can give me SNMP values because i already try it with the command:
snmpwalk -v 2c -c <My SNMP Community> <Server with Apache Private IP>

In my Apache 2.2.3 configuration in the Hyperic HQ Control Panel:
ServerName: <Agent with Apache Servername>
Protocol: http
Use SSL: no
Hostname: <Agent with Apache Hostname>
Port: 80
sotimeout: 10
Path: /
snmpPort: 161
snmpIp: <Agent with Apache Private IP>
snmpVersion: v2c (I've Already try v1)
snmpCommunity: <My SNMP Community>
snmpUser:
snmpPassword:

I click OK, wait a few seconds, and Hyperic bounces back a failed error:
"The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Unable to connect to SNMP Agent (<Agent with Apache Private IP>:161 v2c,<My SNMP Community>)


What am I doing wrong? Please Help me!
Many thanks in advance.

Bye!
0 Kudos
2 Replies
ipaddress
Contributor
Contributor

Sorry to insidt but, is the configuration right?
I really need help with this!

Thanks.
0 Kudos
excowboy
Virtuoso
Virtuoso

Hi,

did you follow the Configuration steps on the buttom of the following page
http://support.hyperic.com/display/hypcomm/Apache+2.0+server

You need to compile a module for Apache and this module starts its own SNMP daemon.

You do not need to run this Apache plugin, because there is another one querying the /server-status page of your Apache. The setup is very easy compared to the SNMP module.

Cheers,
Mirko
0 Kudos