Displaying 5 results from an estimated 5 matches for "nut_mkconf".
2013 Aug 22
0
NUT under NAS4Free config issue
...re upsd.users file:
http://sourceforge.net/p/nas4free/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
To address your original concern (adding remote users for monitoring), I would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to include something like this at the end of the nut_mkconf() function:
cat <<__EOF__ >> ${nut_upsd_users}
[monslave]
password = abcd
upsmon slave
__EOF__
(Be sure to add it after the line containing "... > ${nut_upsd_users}")
Of course, this will be lost when you upgrade NAS4Free, but mayb...
2013 Aug 22
3
NUT under NAS4Free config issue
Thanks, the strange is that I could set in this way the master user.
At NAS4Free forum cannot get help, I presented the problem there too, but
no real help.
On Thu, Aug 22, 2013 at 2:19 AM, Charles Lepple <clepple at gmail.com> wrote:
> On Aug 21, 2013, at 10:41 AM, Incze Andras wrote:
>
> > Having the next problem, manually adding via WinSCP in the upsd.users
> file the
2013 Aug 23
2
NUT under NAS4Free config issue
...> http://sourceforge.net/p/nas4free/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I
> would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to
> include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, this w...
2013 Aug 23
0
NUT under NAS4Free config issue
...>
> http://sourceforge.net/p/nas4free/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, thi...
2013 Aug 22
1
NUT under NAS4Free config issue
...> http://sourceforge.net/p/nas4free/code/848/tree/trunk/build/ports/nut/files/nut.sh.in
>
> To address your original concern (adding remote users for monitoring), I
> would edit the RC file, which is probably /usr/local/etc/rc.d/nut, to
> include something like this at the end of the nut_mkconf() function:
>
> cat <<__EOF__ >> ${nut_upsd_users}
> [monslave]
> password = abcd
> upsmon slave
> __EOF__
>
> (Be sure to add it after the line containing "... > ${nut_upsd_users}")
>
> Of course, this w...