
Hello -
Trying to set up the apache monitor on the same server where Observium is running (I figured that would be easiest). I can't seem to figure out what I am missing. Sorry for being verbose ... Just need to make sure I am covering all my bases. Any suggestions are appreciated.
Version Information *Observium CE* 0.15.6.6430 *OS* Linux 2.6.32-573.8.1.el6.x86_64 [amd64] (CentOS 6.7) *Apache* 2.2.15 *PHP* 5.4.44 *Python* Python 2.6.6 *MySQL* 5.5.45 *SNMP* NET-SNMP 5.5 *RRDtool* 1.3.8
* Copied /opt/observium/scripts/observium_agent_xinetd -> /etc/xinetd.d/
[root@zen xinet.d]# ls -la observium_agent_xinetd -rw-r--r-- 1 root root 650 Nov 26 18:33 observium_agent_xinetd
* Copied /opt/observium/scripts/observium_agent -> /usr/bin
[root@zen bin]# ls -la observium_agent -rwxrwxrwx 1 root root 12K Nov 26 18:31 observium_agent*
* Made directories: mkdir /usr/lib/observium_agent /usr/lib/observium_agent/local * Copied /opt/observium/scripts/agent-local/apache -> /usr/lib/observium_agent/local
[root@zen local]# ls -la total 64K drwxr-xr-x 2 root root 4.0K Nov 26 17:46 ./ drwxr-xr-x 3 root root 4.0K Nov 26 17:43 ../ -rwxrw-rw- 1 1000 1000 2.9K Nov 26 18:31 apache* -rwxrw-rw- 1 1000 1000 51K Nov 26 19:12 mysql*
* Edited /etc/xinetd.d/observium_agent_xinetd
only_from = 127.0.0.01 ::1
(Also added my reap IPv4 address to that line for good posterity)
* Made sure I had port 33602 open on the firewall (and even disabled firewall at times)
service xinetd restart
[root@zen conf]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ]
* _httpd.conf says:_
ExtendedStatus On
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from <my real IPv4 address> Allow from <my home address> </Location>
I can access that just fine.
* Ensured the agent port setting in Device Settings->Agent was correct * Ensured the unix-agent module was enabled in Settings->Modules
What am I missing? Help.
Thank you!!

can you telnet to the agent port?
Are you sure the hostname that Observium is using actually resolves to 127.0.0.1, rather than the system's actual IP?
adam. On 27/11/2015 03:22:26, Scott A. Davis scott.a.davis@gmail.com wrote: Hello -
Trying to set up the apache monitor on the same server where Observium is running (I figured that would be easiest). I can't seem to figure out what I am missing. Sorry for being verbose ... Just need to make sure I am covering all my bases. Any suggestions are appreciated.
Version Information Observium CE 0.15.6.6430 OS Linux 2.6.32-573.8.1.el6.x86_64 [amd64] (CentOS 6.7) Apache 2.2.15 PHP 5.4.44 Python Python 2.6.6 MySQL 5.5.45 SNMP NET-SNMP 5.5 RRDtool 1.3.8
* Copied /opt/observium/scripts/observium_agent_xinetd -> /etc/xinetd.d/
[root@zen xinet.d]# ls -la observium_agent_xinetd -rw-r--r-- 1 root root 650 Nov 26 18:33 observium_agent_xinetd
* Copied /opt/observium/scripts/observium_agent -> /usr/bin
[root@zen bin]# ls -la observium_agent -rwxrwxrwx 1 root root 12K Nov 26 18:31 observium_agent*
* Made directories: mkdir /usr/lib/observium_agent /usr/lib/observium_agent/local * Copied /opt/observium/scripts/agent-local/apache -> /usr/lib/observium_agent/local
[root@zen local]# ls -la total 64K drwxr-xr-x 2 root root 4.0K Nov 26 17:46 ./ drwxr-xr-x 3 root root 4.0K Nov 26 17:43 ../ -rwxrw-rw- 1 1000 1000 2.9K Nov 26 18:31 apache* -rwxrw-rw- 1 1000 1000 51K Nov 26 19:12 mysql*
* Edited /etc/xinetd.d/observium_agent_xinetd
only_from = 127.0.0.01 ::1
(Also added my reap IPv4 address to that line for good posterity)
* Made sure I had port 33602 open on the firewall (and even disabled firewall at times)
service xinetd restart
[root@zen conf]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ]
* httpd.conf says:
ExtendedStatus On
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from <my real IPv4 address> Allow from <my home address> </Location>
I can access that just fine.
* Ensured the agent port setting in Device Settings->Agent was correct * Ensured the unix-agent module was enabled in Settings->Modules
What am I missing? Help.
Thank you!!

Hi, Adam - Yes, to both questions.
I went to sleep right after sending my initial e-mail. Woke up this morning and it's all there. It just took a while to get the graphs created, etc...
Thanks for your help and suggestions!
scott a. davis / www.scottdavis.io / scott.a.davis@gmail.com
On 11/26/2015 10:30 PM, Adam Armstrong wrote:
can you telnet to the agent port?
Are you sure the hostname that Observium is using actually resolves to 127.0.0.1, rather than the system's actual IP?
adam.
On 27/11/2015 03:22:26, Scott A. Davis scott.a.davis@gmail.com wrote:
Hello -
Trying to set up the apache monitor on the same server where Observium is running (I figured that would be easiest). I can't seem to figure out what I am missing. Sorry for being verbose ... Just need to make sure I am covering all my bases. Any suggestions are appreciated.
Version Information *Observium CE* 0.15.6.6430 *OS* Linux 2.6.32-573.8.1.el6.x86_64 [amd64] (CentOS 6.7) *Apache* 2.2.15 *PHP* 5.4.44 *Python* Python 2.6.6 *MySQL* 5.5.45 *SNMP* NET-SNMP 5.5 *RRDtool* 1.3.8
- Copied /opt/observium/scripts/observium_agent_xinetd -> /etc/xinetd.d/
[root@zen xinet.d]# ls -la observium_agent_xinetd -rw-r--r-- 1 root root 650 Nov 26 18:33 observium_agent_xinetd
- Copied /opt/observium/scripts/observium_agent -> /usr/bin
[root@zen bin]# ls -la observium_agent -rwxrwxrwx 1 root root 12K Nov 26 18:31 observium_agent*
- Made directories: mkdir /usr/lib/observium_agent /usr/lib/observium_agent/local
- Copied /opt/observium/scripts/agent-local/apache -> /usr/lib/observium_agent/local
[root@zen local]# ls -la total 64K drwxr-xr-x 2 root root 4.0K Nov 26 17:46 ./ drwxr-xr-x 3 root root 4.0K Nov 26 17:43 ../ -rwxrw-rw- 1 1000 1000 2.9K Nov 26 18:31 apache* -rwxrw-rw- 1 1000 1000 51K Nov 26 19:12 mysql*
- Edited /etc/xinetd.d/observium_agent_xinetd
only_from = 127.0.0.01 ::1
(Also added my reap IPv4 address to that line for good posterity)
- Made sure I had port 33602 open on the firewall (and even disabled firewall at times)
service xinetd restart
[root@zen conf]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ]
- _httpd.conf says:_
ExtendedStatus On
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from <my real IPv4 address> Allow from <my home address>
</Location>
I can access that just fine.
- Ensured the agent port setting in Device Settings->Agent was correct
- Ensured the unix-agent module was enabled in Settings->Modules
What am I missing? Help.
Thank you!!
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participantes (2)
-
Adam Armstrong
-
Scott A. Davis