nginx下安装nagios3.2.2已经放出

网上有一些文档介绍如何在nginx下安装nagios,但一般都是用的nginx维基上的fcgi插件例子,我认为效果不理想,再者既然我们已经使用了fcgiwrap(Nginx下配置FastCGI.pdf),就按这个思路下去吧,所以有了这篇nginx下安装nagios。

这篇文章所述的内容我都是测试过的,有什么请大家还是到首页意见和建议联系我。

hotmail终开放POP3/SMTP功能

一直以来,收发hotmail都是网页上进行,后来有了becky了,有了bkhotmail插件了,可用了一段时间,又被hotmail封掉了,总是返回403错误,今天偶然得知hotmail开放了POP3/SMTP功能,非常高兴,用becky设置了一回,恩,真的可用。以下是hotmail信息:
POP3服务器: pop3.live.com
端口:995
SMTP 服务器: smtp.live.com
端口:25

becky的设置和其他信箱大同小异,我就说说需要你注意的地方
1、信箱名要写全,比如你的是test@hotmail.com ,那么你就不能只写test,要把后面的@hotmail.com都加上
2、SMTP认证要勾上,否则发不了信
3、becky要勾选POP3S以及SMTPS,在SMTPS前的OP25B也要勾上
4、最后别忘了POP端口要修改成995,这点很重要

如果你是foxmail或者outlook,建议你看
https://www.eryi.org/SearchEngines/hotmail-pop3-smtp-help.html

今天在右侧菜单加入了商品按钮

我在TB上有个小店,有一些我日常用不到的东西,比如一些书籍,而且我这些东西大部分都是只送不收钱,不过需要你自取,或者你叫的快递可以支持取物,如果你有用那请好好善待他们。

当然我的小店也有少部分是需要付费的,那就看你认为值不值得了。

Redhat enterprise 5 序列号

有人不喜欢那个输入序列号的窗口,给出一些从网上找的序列号,其实这个号没啥作用,也不能升级,权作心理安慰吧

RHEL 5 安装 序列号
Server:

  • Red Hat Enterprise Linux (Server including virtualization):
    2515dd4e215225dd
  • Red Hat Enterprise Linux Virtualization Platform:
    49af89414d147589

Client:

  • Red Hat Enterprise Linux Desktop:
    660266e267419c67
  • Red Hat Enterprise Linux Desktop + Workstation Option:
    da3122afdb7edd23
  • Red Hat Enterprise Linux Desktop + Workstation + DualOS Option
    (Virtualization):
    7fcc43557e9bbc42
  • Red Hat Enterprise Linux Desktop + DualOS Option (Virtualization):
    fed67649ff918c77

Oracle称自己的发行版不是RedHat的分支(转自IT168 资讯)

  过去两三年里,Oracle一直销售由它提供支持的基于Red Hat Enterprise Linux的发行版Oracle Enterprise Linux,但是Oracle的Linux主管称,两者之间存在重大差异,所以Oracle不是Red Hat的分支。Oracle Enterprise Linux与Red Hat Enterprise Linux二进制兼容,也就是能运行在Red Hat上的软件也能运行在Oracle上。

  但是Oracle的Linux工程主管Wim Coekaerts表示,Oracle Enterprise Linux不是人们所认为的拷贝Red Hat,Linux发行版最要紧的是向用户提供高品质的操作系统,提供充分的支持,他说,“我们不想创造一个不同于Red Hat的新发行版,问题是关于支持而不是软件本身。”Oracle称它的想法是加强Linux,而不是从零开始创造一个,Oracle发行版与Red Hat的最大区别就是OCFS(Oracle Cluster File System)文件系统和基于Xen的OracleVM虚拟化技术。

本站软件区已提供包含32位和64位的DVD下载

nagios已经放出3.2.2版本,本网即将放出安装文档

我们单位一直使用nagios监控服务器状态,目前官网放出了3.2.2版本,我们看看3.2.2版本有哪些特性吧

3.2.2 – 09/01/2010

ENHANCEMENTS

  • Patch to new_mini_epn to allow any command line length without breaking on extra trailing or leading whitespace (Ray Bengen)
  • Patch to mini_epn to allow any command line length (Thomas Guyot-Sionnest)
  • Patch to speed up loading of state retention data (Matthieu Kermagoret)
  • Custom notifications are now suppressed during scheduled downtime (Sven Nierlein)
  • Added code to warn user about exit code of 126 meaning plugin is not executable (bug #153)
  • Scheduled downtime can now start on SOFT error states (bug #47)
  • Main window frame URL can now be specify with a “corewindow=” parameter
  • Improved config CGI shows commands, command args in an easier to use manner (Jochen Bern)
  • Added ability for NEB modules to override execution of event handlers (Sven Nierlein)
  • Custom macros are no longer cleaned/stripped as they are user-defined and should be trusted (Peter Morch)

FIXES

  • Fix for choosing next valid time on day of DST change when clocks go one hour backwards
  • Fix for nagios now erroring when “Error: Could not find any contactgroup matching…” displayed
  • Fix tap tests for Solaris 10 and newer versions of Test::Harness
  • Fix for notifications not being sent out when scheduled downtime is cancelled (Daniel Pouzzner)
  • Fix for first notification delay being calculated incorrectly, and notifications potentially going out early (Pawel Malachowski)
  • Fix for text of scheduling downtime of all services on a host (Holger Weiss)
  • Fix for services inheriting notification period from hosts if not defined (Gordon Messmer)
  • Fix for incorrect service states on host failures (bug #130 Petya Kohts)
  • Fix for incorrect service state attributes being set on host failures (bug #128 Petya Kohts)
  • Fix for non-scheduled hosts and services not being updated in NDOUtils
  • Fix for typos in TAC, CMD CGIs (bugs #150, #144, #148)
  • Fix for types in documentation (bugs #145, #105, #106)
  • Fix for incorrect host state counts in status CGI when viewing servicegroups (bug #72)
  • Fix for new Splunk integration query parameters (bug #136)
  • Fix for extra field header in availability CSV export (bug #113)
  • Fix for macro processing code modifying input string (Jochen Bern)
  • Fix for update check API
  • Fix for CGI speedup when persistent=0 for comments
  • Fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (bug #152)
  • Fix for segfaults on Solaris (Torsten Huebler)
  • Fix for incorrect comment expiration times being passed to event broker (Mattieu Kermagot)
  • Doc updates related to cleaning of custom macros (Peter Valdemar Morch)
  • Fix to sample notify-service-by-email command (bug #62)
  • Fix for retaining host display name and alias, as well as service display name (Folkert van Heusden)

上次说的nginx配置fastcgi一并放出来

摘要

Nginx下配置fastcgi 

注意事项:
本文档版权属于techlife.com.cn网站,以及所有人Mr.Xu,如果转载,请移步https://techlife.com.cn/yijian.php发送申请,并请保留此版权信息。

下文所述适用于
Nginx通过fastcgi调用python, Perl和C++等写的CGI程序。PHP不在本文讨论范围内,因为PHP有PHP-FPM (FastCGI Process Manager),关于PHP-FPM的更多信息,请Google php-fpm+nginx

 一、原理
Nginx并不提供支持对外部程序的直接调用或者解析(所以缺少像apache里的mod_php这样的模块),所有的外部程序(包括PHP)必须 通过fastcgi接口来调用,在Linux下接口是socket (文件socket或者Internet socket)。所以为了调用CGI程序,我们需要一个fastcgi的wrapper,这个wrapper绑定在某个固定socket上(比如端口或者 文件socket),当nginx将CGI请求发送给这个socket的时候,wrapper接纳请求并fork一个新的线程,这个线程调用外部的程序或 者解释器处理脚本并读取返回值,而wrapper再将返回的数据(网页或者图片等)通过fastcgi将数据通过那个固定的socket传递给 nginx。示意图如下: