现在位置 >首页 > 系统监控
3℃
问题描述: 刷新nagios页面的时候,有时候会刷出以前的页面,有时候是正常的页面,但是并不影响故障报警,监控日志出现如下现象 Jan 22 18:27:41 hf-vpn nagios: Warning: The check of service 'CPU Load' on host 'DBSERVER' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service... Jan 22 18:27:41 hf-vpn nagios: Warning: The check of service 'CPU Load' on host 'PZSERVER' looks like it was orphaned (results never came back).  ...
阅读全文

成全家居生活馆

0℃
2012年01月21日 linux攻略 ⁄ 被围观 175 次+
昨天晚上我在配置Nagios 的时候。其中,配置了大部分的机器都是正常的,但是在配置有一台Win2003的时候,却出去了不能获取到值的情况。以上是截图。 请求我同事,帮助进行解决 。在此我找到相关的答案。 首先,有个通用的办法,就是用客户端的调试模式,获得更多的信息,方法是:nsclient++ /test ;然后,这个问题貌似可以用一个MSDN工具(我的Windows7里自带了)来解决(重建注册表性能计数器索引):lodcrt /R 参考: 1、http://nsclient.org/nscp/discussion/message/1066 2、http://www.cnblogs.com...
阅读全文
6℃
2011年12月23日 linux攻略 ⁄ 被围观 884 次+
有没有发现中间是断的呢。开始查找答案 。并同时安装了一台原版本的,版本较高的。修改了一些php参数,问题都解决了。 下面是引用的内容。 http://www.cactiez.net/read-htm-tid-20-page-e.html 总结原因: 如果图形断断续续,那么很有可能是Cacti或CactiEZ本身出了问题,常见问题原因如下: 1 时间问题,如果使用虚拟机安装Cacti或CactiEZ,都有可能遇到Guest系统和Hypervisor系统时间不一致的问题,而Guest时间可能时快时慢,直接导致图形断断续续. 判断方法: 登录系统,然后重复使用date命令检查时间,如...
阅读全文
2℃
2011年11月30日 linux攻略 ⁄ 被围观 748 次+
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit ...
阅读全文
0℃
2011年11月30日 linux攻略 ⁄ 被围观 550 次+
checking priv.h presence... no checking for priv.h... no checking whether we are using Solaris privileges... no checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking whether we are using Linux Capabilities... no checking for mysql_init in -lmysqlclient_r... yes checking for mysql_thread_init in -lmysqlclient_r... yes configure: error: Cannot find SNMP headers.  Use -...
阅读全文
0℃
2011年11月26日 linux攻略 ⁄ 被围观 574 次+
这几天也在研究naigos整合的事.下面就是我见到过的.网上不少资料.看看下面的这个吧. 1.首先请检查ndo2db的进程是不是二个 nagios 16825 0.0 0.1 6784 396 ? Ss 19:05 0:00 /usr/local/nagios/bin/ndo2db -c /usr/l nagios 17032 0.0 0.3 6784 1268 ? S 19:09 0:00 /usr/local/nagios/bin/ndo2db -c 2、检查nagios.log日志看看最后有没有 could not safely copy module '/usr/local/nagios/bin/ndomod-3x.o' 这样的错误 如果是下面这样是正确的 ndomod: NDOMOD 1.4b7 (10-31-2007) Copyrig...
阅读全文
0℃
2011年11月17日 linux攻略 ⁄ 被围观 465 次+
安装cacti-plugins wget http://192.168.40.200/cacti-plugin-0.8.7h-PA-v3.0-beta3.tar.gz tar xf cacti-plugin-0.8.7h-PA-v3.0-beta3.tar.gz cd cacti-plugin-arch/ cp * /var/www/html/cacti/ cd /var/www/html/ patch -p1 -N <cacti-plugin-0.8.7h-PA-v3.0.diff 导入数据 mysql -uroot -p123456 cacti <pa.sql 修改vim include/global.php //修改相应的用户名与密码. 配置Console -> User Management -> (Edit)   并应用.在console的左边将多出一个插件管理的条目. 安装settings w...
阅读全文
0℃
2011年11月17日 linux攻略 ⁄ 被围观 335 次+
1.1. 设置poller.php 自动采集数据 #crontab -u root –e 然后输入 (/5,是5分钟执行一次的意思,可以改你要的时间。具体用法可以baidu一下crontab) 为什么用root执行,简单,如果有条件,就单独建用户,不过我觉得没什么。 如果单独建用户,上边的命令就要改成 -u user -e ,如果用root来执行这个命令,还要再加一下 chown -R user catci/rra cacti/log 呵呵 */5 * * * * /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1 手工执行以上命令是 #/usr/bin/php /var/www/ht...
阅读全文
×
腾讯微博