Debian Nagios常见错误解决方案

分类:Debian/Ubuntu先给英文了哈,需要翻译的请留言,哈哈。

1.Sorry, but Nagios is currently not checking for external commands

You probably saw following message “Sorry, but Nagios is currently not checking for external commands, so your command will not be committed” when you tried to reschedule a service check in nagios web interface. The reason behind this is that nagios by default does not check for external commands. To resolve that problem we need to reconfigure nagios.

继续阅读 »

Debian/Ubuntu 硬盘状态监控解决方案(smartctl)

分类:Debian/Ubuntu  smartmontools介绍

  smartmontools是一款开源的磁盘控制,监视工具,可以运行在Linux,Unix,BSD,Solaris,Mac OS,OS/2,Cygwin和Windows上,同时它还可以从启动光盘或启动软盘运行,支持ATA/ATAPI/SATA-3(到-8)位的硬盘和 SCSI硬盘,另外还支持磁带设备,它的老家在smartmontools.sourceforge.net,实际上它是一个软件包,包括了两个实用程序:smartctl和smatd。它监控的硬盘必须具有S.M.A.R.T特性,目前所有硬盘都有这个特性,但默认情况下通常没有开启这个功能,有两种方法来开启这个特性:1)通过BIOS设置选项2)通过smartctl命令。利用它可以测试硬盘的健康状况,并在发生故障前进行预警。

继续阅读 »

Mac 技巧:光标定位快捷键

分类:MacOSX/BSDfn+左、右=页首、页尾
fn+上、下=上一页、下一页
control+上、下=上一页、下一页
control+左、右=光标定位在该行开头、结尾
option+左、右=光标向左、右移动一个词
option+上、下=光标定位在该段开头、结尾
command+上、下=到达该页页首、页尾
option+delete=删除前面的一个词
command+delete=删除该行处于光标前的所有字符
fn+delete=del(删除光标前的一个字符)

Mac 技巧:关闭更改文件扩展名时的警告

分类:MacOSX/BSD在“终端”中输入:

defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
killall Finder

Mac 技巧:关闭苹果远程桌面

分类:MacOSX/BSD路径:系统偏好设置->安全和隐私->”一般”

Debian/Ubuntu Nagios平台部署–安装

分类:Nginx分类:Debian/Ubuntu1.安装Nginx并设置为开机启动

sudo aptitude install nginx
sudo update-rc.d nginx defaults

2.安装nagios3并设置为开机启动

sudo aptitude install nagios3
sudo update-rc.d nagios3 defaults

目录列表:
/usr/share/nagios3/htdocs
/usr/share/nagios3/stylesheets

继续阅读 »

Mac AFP/SMB/NFS传输速度对比

分类:MacOSX/BSD
测试机:
iMac 24 (Intel), Mac OS X 10.5.5 w/globalSAN iSCSI Initiator version 3.3.0.43
NAS/Target: Thecus N5200 Pro w/firmware 2.00.14 (Linux-based, 5 x 500 GB SATA II, RAID 6, all volumes XFS except iSCSI which was Mac OS Extended (Journaled))

单位:秒
iSCSI 134.267530
AFP 140.285572
SMB 159.061026
NFSv3 477.432503
NFSv3 293.994605


返回顶部