read data souce from xml file

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
duykid
Posts: 8
Joined: Thu Sep 21, 2017 8:58 pm

read data souce from xml file

Post by duykid »

hi cacti user!
i have xml file with item value in-bw value and out bw value.
can i set data source a link in to xml file and it can read item in xml file to show bw-color in weathermap view?
thanks!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: read data souce from xml file

Post by Howie »

No, but it wouldn't be hard to write one. Have a look at the tabfile datasource plugin (lib/datasources/WeatherMapDatasource_tabfile) to see how they work.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
duykid
Posts: 8
Joined: Thu Sep 21, 2017 8:58 pm

Re: read data souce from xml file

Post by duykid »

thank you!
weathermap work whit mprtg via html link but can't read data from prtg. exx sensor data:
https://prtg.paessler.com/sensor.htm?id=9396&tabid=2
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests