General :
- As I have Multiple pollers, so data is not always available every 5 minutes pooll on rrd, so thats a problem.
- I have Weathermap Standalone, we all know that for this implementation is not ideal cause we don't have real time graph data on weathermap, cuz boost somethimes
has to deal with his own bussiness, before storing data
- If I call an json/export graph we can force the update for that specific rrd for every and each minute you want.
- I can make an script where is going to call the json export every 5 minutes and have weathermap fresh and clean data
Now how can I call this via Curl?
I know if we open an outdated graph (not yet updated from boost system) we can force the boost to update that specific rrd.
Orcurl --header 'Authorization: Basic PASSHERE' http://cacti.com/cacti/graph_json.php?r ... _width=500
curl: (6) Could not resolve host: Basic; Name or service not known
curl: (6) Could not resolve host: PASSHERE; Name or service not known
{"status":"500","statusText":"Not Logged In","responseText":"You must be logged in to access this area of Cacti."}
I'm realy sorry if this is a noob question to post here.curl --user user:?user --request GET http://cacti.com/cacti/graph_json.php?r ... _width=500
[1] 496
[2] 497
[3] 498
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[4] 499
[5] 500
[2] Done local_graph_id=609582
[3] Done graph_start=1569069730
[4] Done graph_end=1569156130
[5]+ Done graph_height=120
$ ~/curl
100 114 100 114 0 0 765 0 --:--:-- --:--:-- --:--:-- 760{"status":"500","statusText":"Not Logged In","responseText":"You must be logged in to access this area of Cacti."}
^C
[1]+ Done curl --user user:?user --request GET http://cacti.com/cacti/graph_json.php?rra_id=0