Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement an ipdevpoll "refresh" mechanism in the ipdevinfo UI #1073

Open
5 tasks
jmbredal opened this issue Jan 17, 2017 · 1 comment
Open
5 tasks

Implement an ipdevpoll "refresh" mechanism in the ipdevinfo UI #1073

jmbredal opened this issue Jan 17, 2017 · 1 comment
Assignees
Labels
CNaaS Related to the CNaaS activity confirmed enhancement nav-ref Fronted by the NAV user reference committee

Comments

@jmbredal
Copy link
Collaborator

jmbredal commented Jan 17, 2017

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 the inventory job, or even the dns job.

Describe alternatives you've considered

Just direct the user to use the existing command line functionality of ipdevpoll:

ipdevpolld -J inventory -n example-sw.example.org

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:

  • Store ipdevpoll log output to failed jobs in ipdevpoll_job_log table
  • Add ipdevinfo UX to display job log output for failed jobs
@jmbredal jmbredal added the nav-ref Fronted by the NAV user reference committee label Apr 26, 2017
@lunkwill42 lunkwill42 self-assigned this Mar 17, 2020
@lunkwill42 lunkwill42 added the CNaaS Related to the CNaaS activity label Mar 17, 2020
@lunkwill42 lunkwill42 changed the title re-implement the refresh button/link Implement an ipdevpoll "refresh" mechanism in the ipdevinfo UI Mar 17, 2020
@ingeborgoh
Copy link
Contributor

It would be nice if the feature also would show any error messages from the ipdevpoll processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CNaaS Related to the CNaaS activity confirmed enhancement nav-ref Fronted by the NAV user reference committee
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants