Hello,
I'm working in a NOC for a local ISP and one of the nightly routines is to write down the highest and lowest utilized bandwidth on different links.
This worked great in the start, but it's getting tedious to do this routine every night (over 20 links) so what I'm looking for is a way to extract the information from the HTML webpages that Cacti generates.
I was starting to write a simple Java program that would take a HTML page as input and generate an XML as output, but noticed that the graphs are generated images and not just data I could extract.
What I'm hoping you could help with is an idea how to automate this process? The only data I need is highest and lowest inbound and highest and lowest outbound traffic on an interface in an XML / HTML as clean data.
Thank you for reading,
Mattis
Extract data from HTML pages / graphs
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
What about using the dataquery plugin? It prints data seen on graphs. If it does not fit exactly, please try one of the various report plugins (I know two of them, both called "reports" and one called "reportit". The first two will collide when installing both!). Check out http://cactiusers.org for more help
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest