Dashlets vs. Components
Posted: Wed Dec 07, 2016 6:47 am
Hopefully this is a simple question...
I'm looking to develop some custom functionality for our Nagios XI installation and I have a choice of doing it via a Dashlet or a Component. The fundamental use case is to take an input from a user and relay it back to the server the server to do something with (I'm writing another script to cover this bit).
What's the difference between Dashlets and Components? What use cases are each suited to?
I notice that the documentation on Dashlets is particularly sparse (aka I can't find it) so are Components preferred over Dashlets?
I can't really find any API documentation for either of them. I have found the "How To Write Custom Components" guide, but this doesn't really have the detail I was expecting (e.g. registering callbacks - what can I register, when will it be called and what information will I get back). Does API documentation exist for either of these?
Many thanks,
I'm looking to develop some custom functionality for our Nagios XI installation and I have a choice of doing it via a Dashlet or a Component. The fundamental use case is to take an input from a user and relay it back to the server the server to do something with (I'm writing another script to cover this bit).
What's the difference between Dashlets and Components? What use cases are each suited to?
I notice that the documentation on Dashlets is particularly sparse (aka I can't find it) so are Components preferred over Dashlets?
I can't really find any API documentation for either of them. I have found the "How To Write Custom Components" guide, but this doesn't really have the detail I was expecting (e.g. registering callbacks - what can I register, when will it be called and what information will I get back). Does API documentation exist for either of these?
Many thanks,