This file contains 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
#!/bin/bash | |
# [user@server ~]$ sping.sh 70.120.121.0/29 | |
# 70.120.121.1 down | |
# 70.120.121.2 up | |
# 70.120.121.3 up | |
# 70.120.121.4 up | |
# 70.120.121.5 up | |
# 70.120.121.6 up |
This file contains 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
<?php | |
/* | |
* | |
* Use the examples below to add your own servers. Coded by clone1018 [?] | |
* | |
*/ | |
$title = "Simple Server Status"; // website's title | |
$servers = array( | |
'Google Web Search' => array( |
This file contains 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
<?php | |
/** | |
* A simple PHP script to get vps's status from solus api | |
* | |
*/ | |
set_time_limit(180); | |
$serv_array = array( | |
array(//an vps | |
'api_server' => 'https://solus.hostigation.com:5656', //panel login page |
This file contains 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
upstream php-fpm { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ http://example.com$request_uri?; | |
} |