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



[root@zen xinet.d]# ls -la observium_agent_xinetd
-rw-r--r-- 1 root root 650 Nov 26 18:33 observium_agent_xinetd



[root@zen bin]# ls -la observium_agent
-rwxrwxrwx 1 root root 12K Nov 26 18:31 observium_agent*


[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*


only_from      = 127.0.0.01 ::1

(Also added my reap IPv4 address to that line for good posterity)


service xinetd restart

[root@zen conf]# service xinetd restart
Stopping xinetd:                      [  OK  ]
Starting xinetd:                      [  OK  ]


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.


What am I missing?  Help.

Thank you!!