Home

Moxa Proactive Monitoring User`s Manual

image

Contents

1. 2 Click the CPU item under Moxa Proactive Monitoring Setting Page under Alarm located near the middle of the page and then configure the alarm settings here to monitor the system status and perform the alarm action when the system status is over the threshold value of the alarm settings me 192168 31132 Pi CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Mainboard Serial Network Setting Information CPU Total Usage Hidden CPU Total Usage Alarm CPU Logic Count Show CPU Temperature Alarm Disable CPU CoreO Usage Hidden CPU Corel Usage Hidden CPU Temperature Show CPU Voltage Show Save lt Cancel gt 3 To configure the alarm settings press lt Space gt or lt Enter gt to turn on the alarm The following example shows the CPU Temperature alarm setting NOTE When you turn on the alarm option by default the log message option will also turn on If you don t want to turn on the log message option you can turn it off yourself d me 192 168 31 132 P CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON CPU Memory Mainboard Serial Network Setting Information Total Usage Hidden Logic Count Show I CoreO Usage Hidden Upper Threshold 0 Degrees C Disable Corel Usage Hidden Lower Threshold O Degrees C Disable Temperature Show Perform Alarm Action Disable Voltage Show Log Message Enable lt Save gt lt Cancel gt 1 8 Mox
2. Use Unicode line drawing code points Poor man s line drawing and J Font has XWindows encoding Use font in both ANSI and OEM modes Use font in OEM mode only Cl Copy and paste line drawing characters as Iqqgk Adjust how PuTTY handles line drawing characters Ecc 1 4 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Customizing Your Ovvn Monitoring Items 1 You can select your own system status to display in the UI window by turning on or off the status of different monitoring items For example if you don t want to show the CPU and memory status you can turn off these features by pressing lt space gt or lt Enter gt on your computer s keyboard PECES ES Lo S Moxa Proactive Monitoring Mainboard Mainboard Vo m EthO Eth1i Disconnectd H Q re H H p ouo bt j in ina in Un om m SH HAA he I t 2 Furthermore you can customize which items in each monitoring status category will be displayed For example if you don t want to see the CPU usage of each core you can turn it off To achieve this select Setting and then press lt Space gt or lt Enter gt to enter the settings page Es 192 168 31132 Pu Moxa Proactive Monitoring Monitoring Setting Page Disable Disable 1 5 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring 3 Choose which CPU items will be
3. Setting Information CPU Total Usage Hidden CPU Total Usage Alarm Disable CPU Logic Count Show CPU Temperature Alarm Enable CPU CoreO Usage Hidden Upper Threshold 10 Degrees C Enable CPU Corel Usage Hidden Disable CPU Temperature Show i CPU Voltage Show 2 After you save the setting Moxa Proactive Monitoring will perform the alarm action when the alarm occurs You can edit sbin mx_perform_alarm to change the alarm action The script will set the first digital output to high in the default setting root Moxa vi sbin mx perform alarm bin sh mx dio control g 1 n 1 NOTE If there is a relay on the device the script will turn on the relay in the default setting 1 11 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Stopping an Alarm Action 1 To stop an alarm action select setting and then click the terminate alarm action item to stop the alarm NOTE If the alarm action is triggered it will run nonstop until you press the terminate alarm action to stop it even if the item returns to normal status fee 192 168 31 132 PuTT CPU ON Memory ON Disk ON Mainboard ON Serial ON Mainboard Serial Network Setting Information Terminate Alarm Action lt Save gt lt Cancel gt 2 Terminating an alarm action will execute the sbin mx_stop_alarm file You can edit sbin mx_stop_alarm to change the stop alarm action The script will set th
4. displayed and which will be hidden Wa 19216831132 F CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Mainboard Serial Network Setting Information U Ti a CPU Total Usage Alarm Disable Logic Count Show CPU Temperature Alarm Disable CoreO Usage Show Corel Usage Show Temperature Show Voltage Show lt Save gt lt Cancel gt 4 For example as shown below you can turn off CPU Usage and then press lt Tab gt to switch to the save menu to save the setting Wa 19216831132 P CPU ON Memory ON Disk ON Mainboard ON Serial ONn Network ON Memory Mainboard Serial Network Setting Information 1 Usage Alarm Disable erature Alarm Disable Saving Temperatura Show Voltage Shq lt Cancel gt 1 6 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring 5 Press lt Esc gt to return to the previous page The CPU status will be updated in accordance with your selection E 168 31 132 Pu Monitoring CPU Logic Count CPU Temperature CPU Volt Usage 243 Mainboa Mainboa Setting the System Alarm Take the following steps to configure the system alarm settings Changing Alarm Settings 1 Click Setting FES 168 31 132 Pu Lo El oa wit i Hidden Disable Show Disable Hidden Hidden Show Show 1 7 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring
5. Moxa Proactive Monitoring User s Manual Edition 1 0 September 2015 www moxa com product MOXA 2015 Moxa Inc All rights reserved Moxa Proactive Monitoring User s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice Trademarks 2015 Moxa Inc All rights reserved The MOXA logo is a registered trademark of Moxa Inc All other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Technical Support C
6. Moxa Proactive Monitoring daemon pro mond executes in the background when the system boots up and then continuously monitors the status of the target machine It logs alarm messages and performs alarm actions if these features are activated Take the following steps to stop or start the daemon How to stop the daemon Type the following command to stop the daemon root Moxa etc init d pro mond stop How to start the daemon Type the following command to start the daemon root Moxa etc init d pro mond start How to restart the daemon Type the following command to restart the daemon root Moxa etc init d pro mond restart How to prevent the daemon from executing on boot up If you don t want to execute the daemon when the system boots up use the following command to turn it off root Moxa insserv r pro mond How to force the daemon to execute on boot up If you want to execute the daemon when the system boots up use the following command to turn it on root Moxa insserv pro mond Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Monitoring System Status NOTE We suggest using full screen viewing to display the Moxa Proactive Monitoring user interface Note You cannot execute more than one instance of the Moxa Proactive Monitoring application at the same time How to display the Moxa Proactive Monitoring UI Use the following command to display the Moxa Proacti
7. a Proactive Monitoring Installing and Using Moxa Proactive Monitoring 4 After turning on the CPU Temperature alarm you need to set the threshold value For example you can select the upper threshold item and press lt e gt to edit the upper threshold value of CPU Temperature as 10 C and then press lt Space gt or lt Enter gt to enable this option In this case when the CPU Temperature exceeds 10 C the info on the window will change to red and the alarm will be logged into the log file me 192 168 31132 F CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Mainboard Serial Network Setting Information CPU Total Usage Hidden able CPU Logic Count Show Please key in a value 50 200 degrees C ble CPU CoreO Usage Hidden CPU Corel Usage Hidden 10 ees C Disable CPU Temperature Show sable CPU Voltage Show lt OK gt Cancel Press e to edit the value Save Cancel 5 Next press Tab and then press Space or Enter to save your setting Wa 19216831132 F CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Memory Mainboard Serial Network Setting Information CPU Total Usage Hidden 1 Usage Alarm Disable CPU Logic Count Show erature pi creats assis CPU CoreO Usage Hidden Saving Threshol CPU Corel Usage Hidden Threshoit Deng TuS DTSdDTIC CPU Temperature Show m Alarm Action Disable CPU Voltage Show ssage Enable P
8. dec oed coca cn endo onda nc nan eoicc edi ent icobatabinobero bano 1 11 SLOPDING ARNAT len UU uu cr 1 12 Testing aM AlI ACHO e uS 1 13 Moxa Proactive Monitoring API ciiiiicdidcdddncddcdddcaddedddedededddcdddnaddadddsadeedddeddeeddded deuvawenisavereveuasiuawexeusunvewenes 2 1 APL PUNGCUOMS ettet ike lee ER ERIERIEREE IEEE eet EEES tenen tt E Vo ois Vr Vo Vr p ewe Ve pe Ve VERE VERE VERE EE ee ee etat at 2 2 APCRECU value absis meses ur roc Ires here v ev the ie ee Er ctc sebo s deu tad ede ado ded redo caedi te dp d canon 2 5 1 Installing and Using Moxa Proactive Monitoring The following topics are covered in this chapter O Installing Moxa Proactive Monitoring Installation Steps Starting or Stopping the Moxa Proactive Monitoring Daemon O Monitoring System Status How to display the Moxa Proactive Monitoring UI How to use the Moxa Proactive Monitoring UI Customizing Your Own Monitoring Items I Setting the System Alarm Changing Alarm Settings Y Performing an Alarm Action Y Stopping an Alarm Action Y Testing an Alarm Action Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Installing Moxa Proactive Monitoring Installation Steps 1 Upload mxpromon 1 0 0 amd64 deb to the target machine 2 Type the follovving command to install Moxa Proactive Monitoring root Moxa dpkg i mxpromon 1 0 0 amd64 deb Starting or Stopping the Moxa Proactive Monitoring Daemon The
9. e first digital output to low in the default setting root Moxa vi mx stop alarm bin sh mx dio control s 0 n 1 NOTE If there is a relay on the device the script will turn off the relay in the default setting 1 12 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Testing an Alarm Action If you want to test the sbin mx perform alarm and sbin mx stop alarm features you can click the test alarm action to test it It will execute sbin mx perform alarm for 3 seconds and then execute sbin mx_stop_alarm me 192 168 31132 CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Mainboard Serial Network Setting Information Scan Interval 10 Secs Test Alarm Action for 3 sec lt Save gt lt Cancel gt 1 13 2 Moxa Proactive Monitoring API An example of using the Moxa Proactive Monitoring API is stored in the folder mx pro mon Refer to the Sample code to learn how to apply the API functions described in this chapter The following topics are covered in this chapter O API Functions O API Return Value Table Moxa Proactive Monitoring Moxa Proactive Monitoring API API Functions Function int get_average_cpu_usage double valu Function int get_cpu_count int ale Function int get cpu usage int index double value Obtain the specified CPU core utilization Input index CPU number 0 1 2 3 value The variable used t
10. n itgetser mum unsignedchar value Function int get_pwr_status int port int value Obtain the power supply status Input lt port gt The power supply number 0 1 lt value gt The variable used to save the status of the power supply Output lt value gt The status of the power supply Refer to the return value table Function int set relay int port int value Set relay status by the value 0 off 1 on Input port relay port 0 1 value set status OO 7 1 on Output None Refer to the return value table Function int get milli volt int index unsigned int value Input index The Voltage type 0 CPU 1 Memory 2 Mainboard Le value The variable used to save the specified device voltage Output value The specified device voltage Refer to the return value table Function int get temperature int index unsigned int value Obtain the specified device temperature Input index The Voltage type 0 CPU 1 System P mme mate aa tempera 2 4 Moxa Proactive Monitoring Moxa Proactive Monitoring API API Return Value Table wh meaning OOOO o Te operation has completed successfuly The system cannot get the BIOS version
11. o save the CPU core utilization Output value The specified CPU core utilization Refer to the return value table Function int get_mem_total_size double value Function imtget mem usage mt valus Function int get_mem_avail_size double value Function int get uart count int value Obtain the number of UART in the system value The variable used to save the number of UARTS Output value The number of UARTS Refer to the return value table Function int get uart status int index int value Obtain the specified UART status 0 UART port is free 1 in use Input index UART port 0 1 2 value The variable used to save the specified UART status Output value The specified UART status 0 UART port is free 1 in use Refer to the return value table 2 2 Moxa Proactive Monitoring Moxa Proactive Monitoring API Function int get_eth_count int value Function int get_eth_speed int index int value Obtain the specified Ethernet port speed Input lt index gt The specified Ethernet port number 0 1 2 lt value gt The variable used to save the specified Ethernet port speed Output lt value gt The specified Ethernet port speed Refer to the return value table int get_eth_link int index int value Function Input index The specified Ethernet port number 0 1 2 P ler mem aa aa Seta abe Function int get_eth_usage in
12. ontact Information Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 Moxa India Tel 91 80 4172 9088 Fax 91 80 4132 1045 www moxa com su ort Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 21 5258 5505 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 1 2 Table of Contents Installing and Using Moxa Proactive Monitoring cccsscceceeeeseesceeeeseeeeeeeeeenneeeeeeeneeeeeeesaneeeeeeeaaneeeneennenes 1 1 Irnstalling Moxa Proactuive MOoPICOFIIYG cese te ne nace ene ee tn o ewes tacte pales eM N P PIRE d 1 2 NOS ECA COS LE DS ER RD TL DOE ples de AR eee P Li 1 2 Starting or Stopping the Moxa Proactive Monitoring Daemon cccceccceet eee eee enne nnns 1 2 MORICOFIDO System SCAU IS erem rere pc beer Er EF RFEETE coe CEEC EC ICE EEES EE RE don adu ada eadera dee da dar P vade ada glia 1 3 How to display the Moxa Proactive Monitoring Y Direccion enean nnnm nnne nnnm 1 3 How to use the Moxa Proactive Monitoring UI sseeeeeeeeeeeenne nnnm enn nhhnmhn nana n nme nasa namens 1 3 Customizing Your Own MONITORING Items ici idi items Einen nh ERR acu duo ER EA ER RN GO P adio d Peta la ad 1 5 DC LUC REC VS CO Ala NE EE EN OT STD S SET 1 7 changing Alarm SCE MN GS Re EE ua ies ice wv eee aci uc we drcum ac ene eC be dac a CE RE 1 7 Performind amb ACEIOE aad co
13. ress e to edit the value Cancel 1 9 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring 6 Continuing with the previous example if the CPU temperature exceeds 10 C the CPU Temperature will be highlighted in red and the alarm will be logged in the log file The log file path is var log pro_mon date _pro_mon_log PD 192 168 31132 PuTTY roactive Monitoring ro mon z CPU Temperature 36 degrees C is over the upper CPU mperature degrees C is over the upper CPU 34 deg i upper CPU mperature 34 degrees C is over the upper CPU Temperature 34 degrees C is over the upper CPU mperature 34 degrees C is over t upper CPU Temperatur 33 degrees C is over the upper m LA H m Im Li H DU DU ty A Ll H Im Li ta En ta H m MU MU Im Li m to mA FF H H m rm Lo CPU Temperatur 33 degrees C is the upper CPU mperature 34 degrees C is the upper CEU mperature 36 degrees C is over the upper Sos z 1 10 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring Performing an Alarm Action 1 If you want to perform the alarm action when the alarm occurs check the Perform alarm action item turn it on and then save this setting fee 192 168 31 132 PuT CPU ON Memory ON Disk ON Mainboard ON Serial ON Network ON Mainboard Serial Network
14. t index int value Obtain the specified Ethernet port utilization index The specified Ethernet port number 0 1 2 lt value gt The variable used to save the specified Ethernet port utilization Output lt value gt The specified Ethernet port utilization Refer to the return value table Function _ int get_eth_link int index int value Input index The specified Ethernet port number 0 1 2 w tke mea mama te eed ere notin 0 Function int get disk total size char diskpath double value Input diskpath The specified disk location path fre ara ae ee Function _ int get disk avail size char diskpath double value Obtain the amount of storage space available on the specified disk Input lt diskpath gt The specified disk location path value The variable used to save the amount of storage space available on the specified disk Output value The amount of storage space available on the specified disk Refer to the return value table 2 3 Moxa Proactive Monitoring Moxa Proactive Monitoring API Function int get disk usage char diskpath double value Input diskpath The specified disk location path value The variable used to save the specified disk utilization Output value The specified disk utilization Refer to the return value table Function int get_device_name unsigned char value Function int get los ver unsignedchar valus Functio
15. ve Monitoring user interface How to use the Moxa Proactive Monitoring UI Four system status items will be displayed at the same time To display other system status items use your keyboard s Page Up or Page Down buttons to scroll up or down to the next page of status items 192 168 31 132 Pu Moxa Proactive Monitoring Mainboard Temperature 33 L Mainboard Voltage 5 056 V 1 3 Moxa Proactive Monitoring Installing and Using Moxa Proactive Monitoring NOTE If garbage characters appear in the UI screen as illustrated in the following screenshot you may be able to rectify the situation by changing your computer s Remote character set from UTF 8 to a different encoding ISO 8859 1 for example and then restarting pro_mon see the previous section me 192 168 31 132 Pull Memory ON Disk ON Mainboard ON Serial ON Network ON Setting ES PuTTY Reconfiguration Category El Session Options controlling character set translation M Logging Terminal Keyboard Bell i Features Codepages supported by Windows but not listed here Window such as CP866 on many systems can be entered Pol manually Character set translation Remote character set Appearance Behaviour L Hxc Treat CJK ambiguous characters as wide L Selection Cl Caps Lock acts as Cyrillic switch i Colours El Connection Pu SSH Handling of line drawing characters

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書 - ロジパック  R1Light - AV-iQ  Istruzioni d`uso e informazioni d`installazione METTLER TOLEDO  NOM-094-SCFI-1994 - Secretaría de Energía  SERVICE MANUAL  ECE2P-Uー 0050L / 5kVA (3500W)  N. modello WV-SF135/WV-SF132 WV-SF135E/WV - Psn  Informazioni Prodotto  Samsung HW-H500 دليل المستخدم  ANALIZADOR DE AGUA  

Copyright © All rights reserved.
Failed to retrieve file