After a successful implement of the mysql module, I now am looking to monitor apache. I will try to give as much on the 1st post as I do now understand how the agents work a bit more (Thanks Adam) so the info and questions are;
Unix-agent is installed, enabled, port is open, and I can hit the server-status from the observium server via curl;
curl stats.domain.com/server-status <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html><head> <title>Apache Status</title> </head><body> <h1>Apache Server Status for stats.domain.com</h1>
<dl><dt>Server Version: Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.4 with Suhosin-Patch</dt> <dt>Server Built: Nov 8 2012 21:37:30 </dt></dl><hr /><dl> <dt>Current Time: Wednesday, 09-Jan-2013 04:00:49 UTC</dt> <dt>Restart Time: Tuesday, 08-Jan-2013 20:58:01 UTC</dt> <dt>Parent Server Generation: 3</dt> <dt>Server uptime: 7 hours 2 minutes 47 seconds</dt> <dt>Total accesses: 651 - Total Traffic: 1.7 MB</dt> <dt>CPU Usage: u9.48 s1.89 cu0 cs0 - .0448% CPU load</dt> <dt>.0257 requests/sec - 71 B/second - 2773 B/request</dt> <dt>1 requests currently being processed, 9 idle workers</dt>
Using the poller command to test server;
ubuntu@websvr1:/opt/observium$ ./poller.php -v -h stats.domain.com Observium Poller v0.12.11.3407
Starting polling run:
stats.domain.com 5 linux (unix) Observium UNIX Agent: execution time: 328ms
Processes: Sensors: Using UNIX Agent Uptime (2877622) Uptime: 33 days, 7h 20m 22s
Hardware: Generic x86 64-bit Version: 3.2.0-31-virtual Features: /usr/bin/distro: No such file or directory Serial: IPMI: Processor Intel Xeon E5507 @ 2.27GHz 1% Mempool Physical memory: 79.6% Mempool Virtual memory: 51.63% Mempool Swap space: 0.01% Storage /: 17% Storage /mnt: 0% Polling Netstats: IP TCP UDP ICMP SNMP HR Stats: Processes Users Polling IP-MIB ipSystemStats ipv4 ipv6 Caching Oids: ifEntry ifXEntry dot3StatsDuplexStatusvalidvalid Port lo(1) HC HC VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps) Port eth0(2) HC HC VLAN == bps(1.32kbps/4kbps)bytes(4.83kB/14.6kB)pkts(2.2pps/2.2pps) Checking UCD DiskIO MIB: xvda1 xvdb xvda3
OSPF: Processes: Areas: Ports: Neighbours:
Entity Physical: Applications: agent uptime netstat_ip netstat_ip_frag netstat_tcp netstat_udp netstat_icmp netstat_icmp_info netstat_snmp netstat_snmp_pkt hr_processes hr_users ucd_cpu ucd_swap_io ucd_io ucd_contexts ucd_interrupts ucd_memory ucd_load ipsystemstats_ipv4 ipsystemstats_ipv4_frag ipsystemstats_ipv6 ipsystemstats_ipv6_frag Polled in 4.680 seconds UPDATED!
MySQL: Cell[0/0s] Row[3/0s] Rows[25/0.01s] Column[0/0s] Update[9/0.01s] Insert[5/0.01s] Delete[0/0s]
So, it seems the agent is running, apache is reachable by the server with the server-status, just not sure why the graph page is broken. The main graph's all say Error Drawing Graph, and the scoreboard at the bottom just has a few broken image links.