This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Param([string]$url) | |
| $warningpreference = "silentlyContinue" | |
| $global:resultText = "OK" | |
| # create a table to store the information | |
| $table = New-Object system.Data.DataTable "result" | |
| $col1 = New-Object system.Data.DataColumn channel,string | |
| $col2 = New-Object system.Data.DataColumn value,string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param( | |
| [string]$url | |
| ); | |
| $status_page = Invoke-WebRequest -uri $url -UseBasicParsing | |
| $statistics = ,@("value","name") | |
| # listen queue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Informational 1xx] | |
| 100=“Continue” | |
| 101=“Switching Protocols” | |
| [Successful 2xx] | |
| 200=“OK” | |
| 201=“Created” | |
| 202=“Accepted” | |
| 203=“Non-Authoritative Information” | |
| 204=“No Content” |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y groupinstall Base | |
| yum -y install epel-release | |
| yum -y install centos-release-gluster | |
| yum -y install htop | |
| yum -y install gcc | |
| yum -y install net-snmp | |
| yum -y install hdparm | |
| yum -y update | |
| yum -y remove abrt* | |
| yum -y install glusterfs-server |
OlderNewer