None of these logs seem relevant. None of them show you directly accessing graph.php
Adam
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Any input?
On Thu, May 3, 2012 at 8:44 AM, Adam Blackington <ablackington@lionlink.net> wrote:CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /device/device=1/tab=port/port=60/ HTTP/1.1" 200 6720 "http://OBSERVIUM.IP/ports/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=45&width=150&to=1336048363&id=1&type=device_processor&from=1335961963&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 1384 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?type=port_bits&id=60&from=1335961963&to=1336048363&width=100&height=20&legend=no&bg=ffffff HTTP/1.1" 200 928 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=45&width=150&to=1336048363&id=1&type=device_mempool&from=1335961963&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 569 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?type=port_errors&id=60&from=1335961963&to=1336048363&width=100&height=20&legend=no&bg=ffffff HTTP/1.1" 200 511 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=100&width=215&to=1336048363&id=60&type=port_bits&from=1335961963 HTTP/1.1" 200 11995 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=100&width=215&to=1336048363&id=60&type=port_bits&from=1335443563 HTTP/1.1" 200 15335 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=100&width=215&to=1336048363&id=60&type=port_bits&from=1333369963 HTTP/1.1" 200 17489 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?type=port_upkts&id=60&from=1335961963&to=1336048363&width=100&height=20&legend=no&bg=ffffff HTTP/1.1" 200 1664 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"CLIENT.IP - - [03/May/2012:08:32:43 -0400] "GET /graph.php?height=100&width=215&to=1336048363&id=60&type=port_upkts&from=1335961963 HTTP/1.1" 200 14629 "http://OBSERVIUM.IP/device/device=1/tab=port/port=60/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"
On Thu, May 3, 2012 at 8:35 AM, Adam Blackington <ablackington@lionlink.net> wrote:To clarify-- the 500 does not occur when I am logged in, but does occur when i am not logged in. The image displays properly when logged in/throws 500 when I'm not.Checked apache logs.... the only error it throws is a no favicon:[Thu May 03 08:32:52 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /opt/observium/html/favicon.icoNET-SNMP version: 5.4.3[Thu May 03 08:32:58 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /opt/observium/html/favicon.icoNET-SNMP version: 5.4.3
On Thu, May 3, 2012 at 8:26 AM, Tom Laermans <tom.laermans@powersource.cx> wrote:An error 500 should never occur, this means your webserver "died" trying
to get you a page; the URLs for the graphs are exactly the same, so what
you were trying is correct.
Please check your apache error log to see what goes wrong?
Tom
> _______________________________________________
On Thu, 2012-05-03 at 08:03 -0400, Adam Blackington wrote:
> For example... with the appropriate modifications for ip
> authentication... should the below generate an image (it does when im
> logged in, but throws a 500 error when im not, despite coming from the
> IP that is permitted)
>
>
> http://MYOBSERVIUMIP/graph.php?to=1336041055&id=7&type=port_bits&from=1333362655&opta=to=1336041055&optb=id=7&optc=type=port_bits&optd=from=1333362655&height=300&width=1075
>
>
> below is in config.php:
> $config['allow_unauth_graphs_cidr'] = array('IPADDR/32',
> 'NETADDR/24');
>
>
>
> On Thu, May 3, 2012 at 7:23 AM, Adam Blackington
> <ablackington@lionlink.net> wrote:
> The FAQ's and Configuration state that I can display graphs
> without requiring a username or password.
> This is great... but... here's the question
>
>
> I've made the appropriate modifications to config.php,
> however, what URL do I use to get to the public graphs?
> I tried looking at the URL of generated images, however, that
> doesn't seem to be correct.
>
>
> So you can understand my goal:
>
>
> I run a colocation company and require my customers to be able
> to review their bandwidth statistics.
> I utilize WHMCS and would like them to be able to view their
> graphs within their portal, thus, I've added the IP address of
> my WHMCS server as an 'authenticated' IP in config.php
> I'm thinking, once I can understand how to display the graphs,
> that I can use the port id as a variable to develop a custom
> module to display the graphs.
>
>
> So my questions are:
>
>
> After permitting an IP address to be able to view graphs
> without username/password, what is the syntax of the URL for
> displaying these graphs?
> It would be awesome to be able to integrate a custom range
> selection, but I'd really just settle for static generation of
> past 24 hours, past month, and past year.
>
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium