You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
In a local script, we are calling e.g. /usr/share/cacti/cli/add_datasource.php --host-id=261 --data-template-id=90. It does not print out the ID of the DS created. We need the ID for further steps.
Describe the solution you'd like
I would like it to print $local_data_id in some form.
Describe alternatives you've considered
We have considered doing all the work of add_datasource.php in our script. That would be a lot of duplicated effort.
The text was updated successfully, but these errors were encountered:
netniV
changed the title
add_datasource.php should print the created ID
add_datasource.php should print the created Datasource ID
Jul 12, 2020
netniV
changed the title
add_datasource.php should print the created Datasource ID
When Adding datasource fails from CLI, created Datasource ID should be printed
Jul 12, 2020
netniV
changed the title
When Adding datasource fails from CLI, created Datasource ID should be printed
When adding datasource fails from CLI, created Datasource ID should be printed
Jul 12, 2020
Feature Request
In a local script, we are calling e.g.
/usr/share/cacti/cli/add_datasource.php --host-id=261 --data-template-id=90
. It does not print out the ID of the DS created. We need the ID for further steps.Describe the solution you'd like
I would like it to print
$local_data_id
in some form.Describe alternatives you've considered
We have considered doing all the work of
add_datasource.php
in our script. That would be a lot of duplicated effort.The text was updated successfully, but these errors were encountered: