We hope that the public dashboard work as a springboard and inspiration for your own additions and new dashboards. ![]() This is so that you can customize or overwrite the stylesheet to match your own branding without my design vision getting in your way. In terms of styling, I’ve kept the look and feel of the public dashboard deliberately neutral and bland. I’ve made sure to keep templates free of logic so you can modify templates easily without losing or breaking functionality. The templates, which you can find on NetBeez github page, are written predominantly in HTML, making them easy to understand and edit. The public dashboard is made up of dynamic templates, which display the required layout and components. Other functions involve pulling data from multiple endpoints to reveal new views and associations. This function fetches and formats data for the upload/download speed and latency graphs on the agent view and returns a JSON object that can be used by the JavaScript code. protected static function make_get_request($url_array, $queries_hash = array()), 2) Īrray_push($agent_data_object, $test_run) The Api_Access class and the child classes for each category of endpoints (at least those endpoints used by the public dashboard) handle fetching the data and returning it as an object. The public dashboard uses a collection of classes to access and return the JSON endpoint data from the NetBeez API as objects that can be manipulated by other functions and used in visualizations. Your authentication key for accessing the APIĭefine("API_AUTH_KEY", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") Using Data from the API The host address of the NetBeez API (this is usually your NB dashboard's hostname) If you don’t plan on making any customizations or additions to your public dashboard, this will be the only PHP file (and probably the only file) you have to touch. ![]() This file essentially serves as the admin panel where you change your settings. To hook your new status dashboard up to your NetBeez instance, all you need to do is enter your information into the config.php file. The public dashboard is a fairly simple PHP site that we hope will be accessible and easy to work with. You can check out a demo of the public dashboard here: Configuring the Network Status Dashboard Agents and targets are presented as locations and applications and are shown in sortable tables with information on status, upload and download speeds on agents, and HTTP response time for targets. The public dashboard displays your network monitoring data in a simple, visual format that’s easy for laypeople to understand. You can grab the files and see setup and configuration instructions. I’ll walk you through some of the aspects of the public dashboard and explain how it works, and also go into detail about how it works under the hood and hopefully provide some ideas for creating your own applications.Ĭheck out the public dashboard on GitHub. Our goal was to create something that was simple, accessible, and that users could easily expand and customize. In addition to serving as an invaluable network monitoring tool, we developed the public dashboard to also serve as a template or jumping-off point for developing your own widgets and applications using the NetBeez API. We’re sure the API can be useful for tasks such as generating reports, integrating NetBeez data with other tools, and sharing information about your network with a broader audience. One of the motivations behind this public network status dashboard was to showcase our new API, which enables NetBeez users to access NetBeez monitoring data outside of the main application, and to display data in new and different ways. ![]() We think this will be a handy addition to the overall NetBeez monitoring solution. This dashboard, which you can easily deploy on a web host or intranet alongside your NetBeez installation, gives you a way to share network status data with colleagues, your customers, or even the public. The public dashboard, or more formally, the Network Status Dashboard, is one of the features that we rolled out with our most recent release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |