Hi,
after created aggregated graph with Aggregate Plugin
need to maintenance this graph by adding new datasource manually by CLI each and every time a new interface is added/changed
guessing it's related to rrdtool but didn't find any relevant information for edit untemplated graph (manually added graph)
thanks in advance,
Cacti Version 0.8.8f
Edit Graph / Add datasource to untemplated graph by CLI
Moderators: Developers, Moderators
Re: Edit Graph / Add datasource to untemplated graph by CLI
for example
once created aggregate graph, need to update datasources
the issue is that the sequence of the DS is important since using cdef and AREA/STACK method
looking for an option to update additional DS to a specific sequence in the graph
DEF:a='/var/www/html/cacti/rra/r1_queue6_40666.rrd':'queue5':AVERAGE \
DEF:b='/var/www/html/cacti/rra/r1_queue6_40627.rrd':'queue5':AVERAGE \
DEF:c='/var/www/html/cacti/rra/r1_queue6_40672.rrd':'queue5':AVERAGE \
DEF:d= ---new datasource will be located here---
DEF:e='/var/www/html/cacti/rra/r1_queue6_40634.rrd':'queue5':AVERAGE \
DEF:f='/var/www/html/cacti/rra/r1_queue6_47733.rrd':'queue5':AVERAGE \
DEF:g='/var/www/html/cacti/rra/r1_queue6_47902.rrd':'queue5':AVERAGE \
since its an very dynamic graph, not effective to update it all the time by GUI but only by CLI command
Regards,
Cacti Version 0.8.8f
once created aggregate graph, need to update datasources
the issue is that the sequence of the DS is important since using cdef and AREA/STACK method
looking for an option to update additional DS to a specific sequence in the graph
DEF:a='/var/www/html/cacti/rra/r1_queue6_40666.rrd':'queue5':AVERAGE \
DEF:b='/var/www/html/cacti/rra/r1_queue6_40627.rrd':'queue5':AVERAGE \
DEF:c='/var/www/html/cacti/rra/r1_queue6_40672.rrd':'queue5':AVERAGE \
DEF:d= ---new datasource will be located here---
DEF:e='/var/www/html/cacti/rra/r1_queue6_40634.rrd':'queue5':AVERAGE \
DEF:f='/var/www/html/cacti/rra/r1_queue6_47733.rrd':'queue5':AVERAGE \
DEF:g='/var/www/html/cacti/rra/r1_queue6_47902.rrd':'queue5':AVERAGE \
since its an very dynamic graph, not effective to update it all the time by GUI but only by CLI command
Regards,
Cacti Version 0.8.8f
Re: Edit Graph / Add datasource to untemplated graph by CLI
still looking to add/remove DS or any item to graph by CLI
any suggestions?
thanks in advance
any suggestions?
thanks in advance
Re: Edit Graph / Add datasource to untemplated graph by CLI
Have you checked the file in the <cacti>/cli/ folder? There's a bunch of cli based scripts there for manipulating things, though it is possible that you're specific need is not addressed, it's worth checking.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Edit Graph / Add datasource to untemplated graph by CLI
thanks, but i checked the cli folder and unfortunately nothing is related to what i'm looking for
there's no bash command or some kind of tool that can add exist DS to aggregated graph manualy?
there's no bash command or some kind of tool that can add exist DS to aggregated graph manualy?
Re: Edit Graph / Add datasource to untemplated graph by CLI
In that case, I would open an issue on the GitHub issues page to track an enhancement for this request.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 5 guests