Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
wonder why, because hosts, whoose host templates were marked as "none" on all previous releases, had host_template_id=0 in sql database.
it works perfectly affter upgrading getHostTemplates() at api_automation_tools.php:
#137: $host_templates[0]="None";
(not sure this is a right way of doing this)
Never thought of this. So, you would like "None" to be the default?
TheWitness
Yes, I think "none" should be assigned by default if not defined.
Well, at least, there should be a possibility to manualy assign "none" template as all others.
1 more question. As far as I have managed to find-out, current add_graphs.php release is capable of adding only snmp-based graphs(data-sources).
Are there any plans of expanding this script to support data-input-methods as well?
If no work has been done yet on this subject (and there is a demand from the community side), I could merge add_graphs.php with some of my API, which currently supports not only snmp-query based DS, but handles data-input-methods as well.
(..)
wonder why, because hosts, whoose host templates were marked as "none" on all previous releases, had host_template_id=0 in sql database.
it works perfectly affter upgrading getHostTemplates() at api_automation_tools.php:
#137: $host_templates[0]="None";
(not sure this is a right way of doing this)
Never thought of this. So, you would like "None" to be the default?
TheWitness
Yes, I think "none" should be assigned by default if not defined.
Well, at least, there should be a possibility to manualy assign "none" template as all others.
1 more question. As far as I have managed to find-out, current add_graphs.php release is capable of adding only snmp-based graphs(data-sources).
Are there any plans of expanding this script to support data-input-methods as well?
If no work has been done yet on this subject (and there is a demand from the community side), I could merge add_graphs.php with some of my API, which currently supports not only snmp-query based DS, but handles data-input-methods as well.
Send me the code. I am still working on this right now to allow the specification of custom input fields on non-dq graphs. They are currently supported, but there needs to be a few more enhancements to complete the picture.
TheWitness
True understanding begins only when we realize how little we truly understand...