我是一个总新手纳吉奥斯,我收到以下错误消息通过邮件,有什么我可以做的解决?
** PROBLEM Service Alert: localhost/Root Partition is CRITICAL ** ***** Nagios ***** Notification Type: PROBLEM Service: Root Partition Host: localhost Address: 127.0.0.1 State: CRITICAL Date/Time: Fri Dec 21 09:24:00 GMT 2012 Additional Info: DISK CRITICAL - free space: / 10467 MB (5% inode=99%):
你需要做两件事情之一:
我会build议做后者,因为当有一些空间可用时,磁盘操作会更加快乐。 至于做前者,因为我们需要看看你的nagiosconfiguration,因为有几种方法(在命令中硬编码,参数化和设置每个主机,或者可能每个主机组)…
假设你正在使用默认configuration,你需要编辑下面的文件
/usr/local/nagios/etc/objects/localhost.cfg
然后寻找
define service{ use local-service ; Name of service template to use hostgroup linux-servers service_description Root Partition check_command check_local_disk!20%!10%!/ }
并将20%免费和10%的关键%改为20%,然后重新加载Nagios
看起来有一个低自由inodes。 检查通过
df -h
和
df -i