Jump to content

[Plugin] NUT v2 - Network UPS Tools


dmacias

Recommended Posts

On 9/27/2024 at 3:37 PM, Rysz said:

So unless you changed this to something different in `upsd.users`, user/pass as in your command will not work.

Strange after changed and reboot nut , it still not working but have same Success as befor: 

 

```
upsd[19851]: Set variable: [email protected] set input.transfer.low on Eaton9E2000i to 150 (tracking ID: 98C489FD-821C-4132-9D93-4F6590B55E63)

upsd[19851]: tracking ID: 98C489FD-821C-4132-9D93-4F6590B55E63#011result: SUCCESS
Set variable: [email protected] set input.transfer.low on Eaton9E2000i to 150 (tracking ID: 59DF2263-3F15-4601-8786-9C36E1900437)

```

Also for subject commands are working with defaults user/pass like `battery.test.quick`

Link to comment
1 minute ago, Masterwishx said:

Strange after changed and reboot nut , it still not working but have same Success as befor: 

 

```
upsd[19851]: Set variable: [email protected] set input.transfer.low on Eaton9E2000i to 150 (tracking ID: 98C489FD-821C-4132-9D93-4F6590B55E63)

upsd[19851]: tracking ID: 98C489FD-821C-4132-9D93-4F6590B55E63#011result: SUCCESS
Set variable: [email protected] set input.transfer.low on Eaton9E2000i to 150 (tracking ID: 59DF2263-3F15-4601-8786-9C36E1900437)

```

Also for subject commands are working with defaults user/pass like `battery.test.quick`

 

That is possible because not all commands require administrative access and these will work with a wrong user/pass combination also.

  • Like 1
Link to comment
48 minutes ago, Masterwishx said:

Or it's blocked in plugin not to use default user/pass in upsrw? 

 

No, it's not blocked - it takes whatever is set in "upsd.users" with administrative permissions.

 

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...