read data souce from xml file

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

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

read data souce from xml file

#1 Post by duykid » Fri Sep 29, 2017 8:53 pm

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: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: read data souce from xml file

#2 Post by Howie » Sat Sep 30, 2017 5:42 am

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.98 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

#3 Post by duykid » Sat Sep 30, 2017 6:21 pm

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