Implement an ipdevpoll "refresh" mechanism in the ipdevinfo UI #1073
Labels
CNaaS
Related to the CNaaS activity
confirmed
enhancement
nav-ref
Fronted by the NAV user reference committee
Is your feature request related to a problem? Please describe.
Once upon a time (i.e. NAV 3.4 and earlier, in the pre-ipdevpoll era), there was a "Force refresh" button in the old IP Device center UI. This button would send an event to getDeviceData (the old collection engine) and ask it to re-run collection for the device being browsed.
A manual refresh trigger is always useful, especially after making configuration changes to devices and wanting to see those changes reflected in NAV as soon as possible (the inventory job, for example, runs only every 6 hours, so you could potentially need to wait up to 6 hours for an inventory update to take place).
We should re-implement this mechanism for ipdevpoll.
Describe the solution you'd like
ipdevinfo already features a box of ipdevpoll job statuses. The refresh function would fit nicely into this, as it would make sense to ask ipdevpoll to run individual jobs immediately.
As discussed in the NAV reference committee, a refresh button or context menu should be made available on each job line, which would trigger ipdevpoll to run that job again immediately. For the
1minstats
job this might not be very useful, since it runs every minute, but it might be very useful for theinventory
job, or even thedns
job.Describe alternatives you've considered
Just direct the user to use the existing command line functionality of ipdevpoll:
However, not all users are comfortable with resorting to the command line, and it is convenient for most users to be able to refresh directly from the UI where they are already looking at the collected details.
Additional context
The original Launchpad issue was: https://bugs.launchpad.net/bugs/651058
Feature breakdown
And optionally:
ipdevpoll_job_log
tableThe text was updated successfully, but these errors were encountered: