CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-לאָגאָ

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

געטינג סטאַרטעד

נאָמען
pwrstat די UPS מאַכט שטאַט באַפֿעלן געצייַג.

סינאָפּסיס

CyberPower-Personal-Linux-Software-FEATURED

באַשרייַבונג
pwrstat is an interface in PowerPaneI for Linux which allows users to receive UPS status and configure UPS settings.

Type the following command to list the manual: man pwrstat

אָפּציעס
די פּוורסטאַט פּאַראַמעטערס, זייער פאַנגקשאַנז און די עקסampזיי זענען דיסקרייבד אונטן:

CyberPower-Personal-Linux-Software-FIG (2)CyberPower-Personal-Linux-Software-FIG (3)

באַמערקונג 1
די פאלגענדע אַרגומענטן זאָל נאָכפאָלגן -pwrfail.

CyberPower-Personal-Linux-Software-FIG (4)

באַמערקונג 2
די פאלגענדע אַרגומענטן זאָל נאָכפאָלגן -lowbatt.

CyberPower-Personal-Linux-Software-FIG (5)

באַמערקונג 3
די פאלגענדע אַרגומענטן זאָל נאָכפאָלגן -cloud.

CyberPower-Personal-Linux-Software-FIG (6)

באַמערקונג 4

  1. די פּאַראַמעטערס פון -pwrfail און -lowbatt דאַרפֿן צו זיין באַשטימט ינדיפּענדאַנטלי.
  2. Both the shell scripts pwrstatd-lowbatt.sh and pwrstatd-powerfail.sh will be copied to Jetc during the installation procedure.
  3. The parameter —cmd can be any shell script in the system, and it should be run as root to modify the settings.
  4. The default system settings for -pwrfail and -lowbatt

די עקסampלייענען פֿאַר קאַנפיגיערינג פּוורסטאַט אָפּציעס

  • Example 1: Configure the setting when a power failure event occurs. pwrstat -pwrfail -delay 60 -active on -cmd/etc/pwrstatd-powerfail.sh -duration 60 -shutdown on In the setting above, it will take 60 seconds to run a shell script named pwrstatd-powerfail.sh in the directory /etc, and the system will be shut down after a power failure event occurs for 60 seconds.
  • Example 2: Configure the setting when the low battery event occurs. pwrstat-lowbatt -runtime -runtime -capacity -capacity – active on -cmd /etc/pwrstatd-lowbatt.sh -duration 1 -shutdown on In the setting above, it will take 1 minute to run a shell script named pwrstatd-lowbatt.sh in the directory /etc, and the system will be shut down when either the remaining runtime is less than 300 seconds, or the battery capacity is lower than 35%.
  • Exampצו 3 אַ: קאַנפיגיער די קשר צו PowerPanel Cloud.
    pwrstat -cloud -אַקטיווע אויף -חשבון example@cyberpower.com - פּאַראָל פּאַס123
    Assuming PowerPanel Cloud account/password: example@cyberpower.com / pass123. In the setting above, the connection to PowerPanel Cloud will be activated when users correctly enter their PowerPanel Cloud account and password.
  • Examp3b: באַשטעטיקן די קשר צו PowerPanel Cloud.

pwrstat -verify

צו באַשטעטיקן צי די חשבון און פּאַראָל זענען ריכטיק, אַרייַן די באַפֿעל אויבן.

עס זענען דריי רעזולטאַטן, דיסקרייבד אונטן:

  1. ווען ביידע די חשבון און פּאַראָל זענען ריכטיק, די סיסטעם וועט ווייַזן וועריפי הצלחה.
  2. אויב דער חשבון אָדער פּאַראָל איז פאַלש, די סיסטעם וועט ווייַזן וועריפי דורכפאַל.
  3. When a network issue exists, the system will show Connect failed

די דעמאָן בלאַט

נאָמען
pwrstatd די אַפּס מאַכט שטאַט דעמאָן.

באַשרייַבונג
pwrstatd is the daemon of PowerPanel for Linux, which runs immediately when the system starts up and communicates with the UPS.

Type the following command to list the operations and the configuration files of the daemon: man pwrstatd

אַפּעריישאַנז פון די דעמאָן
די קאַמאַנדז פֿאַר אַפּערייטינג די pwrstatd דיימאַן און זייער פאַנגקשאַנז זענען דיסקרייבד אונטן:

CyberPower-Personal-Linux-Software-FIG (7)

קאָנפיגוראַטיאָן Fileס פון די דעמאָן
די קאַנפיגיעריישאַן files און זייער פאַנגקשאַנז זענען דיסקרייבד אונטן:

CyberPower-Personal-Linux-Software-FIG (7)

באַמערקונג 5
pwrstatd.conf קענען זיין עדיטיד דורך ניצן קיין טעקסט רעדאַקטאָר. צו אָנהייבן עדיטינג די קאַנפיגיעריישאַן file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
די ענדערונגען עדיטיד אין די טעקסט רעדאַקטאָר וועט נעמען ווירקונג נאָך ריסטאַרטינג pwrstatd. צו ריסטאַרט די דיימאַן, טיפּ די פאלגענדע באַפֿעל: /etc/init.d/pwrstatd ריסטאַרט

באַמערקונג 6
To send the e-mail content in /etc/pwrstatd-email.sh, it is necessary to set ENABLE_EMAIL=yes and enter both the RECEIPT_ADDRESS and the SENDER_ADDRESS correctly in /etc/pwrstatd-lowbatt.sh or /etc/pwrstatd- powerfail.sh. For details about installing the e-mail package in Ubuntu, please refer to troubleshooting 6.

געשעעניש לאָגס פון די דאַעמאָן
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file געהייסן pwrstatd.log רעקאָרדס אַלע די מאַכט געשעענישן.

קאָנטראָלירן דאַעמאָן סעטטינגס

Type the following command to show the configuration of pwrstat:

אונטן איז די עקסample for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

קאַמף פֿאַר מאַכט דורכפאַל:CyberPower-Personal-Linux-Software-FIG11

קאַמף פֿאַר נידעריק באַטאַרייע:

CyberPower-Personal-Linux-Software-FIG11

מאָניטאָרינג UPS סטאַטוס

Type the following command to show UPS properties and the current status:

pwrstat -status
אונטן איז אַן עקסample פֿאַר די אַפּס מאָדעל, CP585:

CyberPower-Personal-Linux-Software-FIG11

באַמערקונג 7
עטלעכע פון ​​די ליסטעד אויבן וועט זיין געוויזן בלויז ווען די UPS מאָדעל שטיצט די פֿאַרבונדענע פאַנגקשאַנז.

CYBERPOWER POWERPANEL
ביטע באַזוכן https://www.cyberpower.com/content/software/eula/to see the complete EULA terms.

דאָקומענטן / רעסאָורסעס

PDF thumbnailPersonal Linux Software
User Guide · Personal Linux Software, Software

פרעגן אַ קשיא

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

פרעגן אַ קשיא

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.