News: This forum is now permanently frozen.
Pages: [1]
Topic: view traffic graphs outside the m0n0wall web GUI  (Read 2444 times)
« on: November 06, 2007, 06:47:17 »
javanator *
Posts: 10

Hi folks,

I'd like the ability to view the SVG traffic graphs for the m0n0wall interfaces by embedding them in a page hosted by my web server and viewable to anyone who hits that page. In other words:

  • monowall is on my network at 192.168.2.1 with its webgui running on port 443 (https)
  • the web server is on my DMZ at 192.168.3.6 running on port 80
  • and I want to put up a page at http://www.<mydomain>.com/graphs/graphs.html that has an embedded graph for each interface on m0n0wall. Some where on the page would be an HTML embed something like
    <embed src="https://<monowall's host name or IP address>/graph.php?ifnum=fxp0&ifname=WAN" type="image/svg+xml"
          width="550" height="275" pluginspage="http://www.adobe.com/svg/viewer/install/auto" />

Currently, I have my m0n0wall's web GUI running on https and there's no NAT to it from the WAN, which I prefer for security reasons.

I can see the graphs in a page I built that's running on my server as long as I'm on my LAN and logged in to the m0n0wall web GUI, so I know the HTML part works.

Is there a way that I can embed the graphs so that they can be viewed using a setup as I've described above?

Thanks for any help you can provide.

Technology means finding the proper wrench to pound in the right screw.
« Reply #1 on: November 06, 2007, 19:50:56 »
thebairyhum *
Posts: 1

I believe MRTG (http://oss.oetiker.ch/mrtg/) may be exactly what you're looking for. You simply enable SNMP and point the server you're running MRTG on to that router and it'll plot a nice set of graphs for you.
« Reply #2 on: November 13, 2007, 07:42:02 »
Plox *
Posts: 20

I believe MRTG (http://oss.oetiker.ch/mrtg/) may be exactly what you're looking for. You simply enable SNMP and point the server you're running MRTG on to that router and it'll plot a nice set of graphs for you.

Try cacti, its is way easier to setup than MRTG.

http://cacti.net/
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines