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

Feature: Add widget for Truenas #451

Merged
merged 4 commits into from Nov 4, 2022
Merged

Conversation

chazzbg
Copy link
Contributor

@chazzbg chazzbg commented Oct 26, 2022

This is a simple widget for TrueNas Systems.
I have only TrueNas Scale, but the API seems stable and it should work on FreeNas, TrueNas Core and TrueNas Scale.

Sample config:

- truenas:
    icon: truenas-scale
    href: http://truenas.host.or.ip
    description: Homepage is awesome
    widget:
        type: truenas
        url: http://truenas.host.or.ip
        fields: ['load', 'uptime', 'alerts']
        username: root
        password: password

Preview:

image

@JazzFisch
Copy link
Collaborator

@chazzbg please merge latest into your branch and resolve any conflicts.

@shamoon
Copy link
Collaborator

shamoon commented Oct 26, 2022

I took care of the merge =)

As with a couple other things, this is tough to test without Truenas (not necessarily your problem OP but still we need to get it at least verified).

@chazzbg
Copy link
Contributor Author

chazzbg commented Oct 27, 2022

@shamoon Truenas can be installed on VM in 10 minutes. Default installation could be sufficient to test and verify the integration.

@chazzbg
Copy link
Contributor Author

chazzbg commented Oct 27, 2022

I've updated the uptime formatting. Here are some examples. I think i can live with that. Still this is a homepage, not a detailed monitoring tool :)
Screenshot from 2022-10-27 10-42-35
Screenshot from 2022-10-27 10-42-54
Screenshot from 2022-10-27 10-43-10

@shamoon
Copy link
Collaborator

shamoon commented Oct 27, 2022

Thats great for the uptime, thanks

@chazzbg
Copy link
Contributor Author

chazzbg commented Nov 3, 2022

Conflicts are fixed

@shamoon shamoon merged commit be5a8c0 into gethomepage:main Nov 4, 2022
Copy link
Contributor

github-actions bot commented Feb 6, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants