Google searches are letting me down here...
If I have a custom dashlet and I edit the backing files in the file system (/usr/local/nagiosxi/html/includes/dashlets/) how do refresh the dashlet in the dashboard view? Is it automatic? Hopefully I don't have to bounce the service!
Refresh custom dashlet?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Refresh custom dashlet?
Hello, @brandondash. Do you mean you want to refresh the dashlet after you edit it? If you wrote your dashlet in php then just reloading the webpage will do it. Or are you actually looking into having the dashlet refresh the data by itself? That would depend on how you fetch the data. But most easy way would be to either include a timeout function or a page refresh meta tag in the $output field:
Code: Select all
<meta http-equiv="refresh" content="3600" />As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.