Linux伺服器的稳定性是一个非常重要的指标,而为了维持伺服器的稳定性,我们就必须要时时刻刻监视着它,可是在有时候大家由于种种原因无法登入伺服器,如何检测呢?当伺服器宕机/CPU超标后,怎样才可以及时知道呢?今天畅想资源就向大家推荐这款「NodeQuery」免费Linux伺服器在线监控工具(包括错误邮件发送),让你即使出门在外,仍可以及时获取伺服器资讯!
预览
教学
1、首先打开NodeQuery的官方网站「https://nodequery.com/」并点击右上角的
2、输入你的名称、邮箱及密码,并点击
,然后输入验证码,点击3、前往邮箱收取验证邮件并点击链接,然后输入邮箱及密码登入
4、登入以后,点击右上角的「New Server」,在「Name」栏内输入伺服器Host Name,并按照个人喜好设定其他配置(推荐保持默认即可 ),最后点击
5、现在网页会给你一行命令,登入伺服器的SSH后粘贴并执行本行命令,待出现 Success: The NodeQuery agent has been installed
即代表安装成功咯~
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
[root@arefly ~] wget -N --no-check-certificate https://raw.github.com/nodequery/nq-agent/master/nq-install.sh && bash nq-install.sh aIgsTrwlTNknoNaAYK1F70BHUgl5UMQQ --2014-08-28 12:33:20-- https://raw.github.com/nodequery/nq-agent/master/nq-install.sh Resolving raw.github.com... 103.245.222.133 Connecting to raw.github.com|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://raw.githubusercontent.com/nodequery/nq-agent/master/nq-install.sh [following] --2014-08-28 12:33:21-- https://raw.githubusercontent.com/nodequery/nq-agent/master/nq-install.sh Resolving raw.githubusercontent.com... 103.245.222.133 Connecting to raw.githubusercontent.com|103.245.222.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4781 (4.7K) [text/plain] Saving to: `nq-install.sh' 100%[======================================>] 4,781 --.-K/s in 0s Last-modified header missing -- time-stamps turned off. 2014-08-28 12:33:21 (67.2 MB/s) - `nq-install.sh' saved [4781/4781] | | NodeQuery Installer | =================== | | Downloading nq-agent.sh to /etc/nodequery | | + 2014-08-28 12:33:24 URL:https://raw.githubusercontent.com/nodequery/nq-agent/master/nq-agent.sh [8537/8537] -> "/etc/nodequery/nq-agent.sh" [1] | | Success: The NodeQuery agent has been installed | [root@arefly ~] |
6、打开NodeQuery,我们可以看到我们的伺服器在「等待数据」的过程中:
十分钟后...
7、在过了一段时间后,我们就可以看到我们的Linux伺服器状态,而如果伺服器出现任何问题,通知邮件亦会发送至我们的邮箱中啦!