Export data to mrtg or snmp
-
Hi,
We're using mango to collect modbus data, however we'd like to export this data.
Ideally we'd like some kinda of value output we could query using SNMP, however any method of extracting the data (just the most recent value for any data point) would be viable.
So far I've only found the 'get data' link on the page which shows you the graph but this doesn't actually do anything.
Any ideas?
wuciwug
-
if you want the data to be queried, you can do this with a custom jsp and then make http requests.
look at data publisher for a push method which probably uses json.
you could also write the data to a modbus slave.
etc -
modbus slave wouldn't help.
incoming http would work and I can write the jsp, but what do I query, I thought mango had a propitiatory data base?
-
mango can store data in mysql, derby or mssql database. derby can be setup as network instance so other programs can query.
while mango does use blobs to store some objects, you can cut and paste the code for turning the blob back into an object pretty easily.if you want to write a JSP which displays some data for easy parsing look up the custom JSP function - I haven't done this so I don't know the specifics.
the data publisher surely must be adaptable to your needs?
@wuciwug said:
modbus slave wouldn't help.
incoming http would work and I can write the jsp, but what do I query, I thought mango had a propitiatory data base?