nagios¶ÔlinuxµÄ¼à¿Ø
ÒýÓÃhttp://www.icanwen.cn/article.asp?id=13
Ò».¶Ôlinux¼ì²âµÄÁ½ÖÖ·½·¨£º
ssh:(check_by_ssh):±ÈÓÃnrpe²å¼þ¸ü°²È«£¬µ«»á·Ç³£Õ¼Óüà¿ØÖ÷»úºÍÔ¶³ÌÖ÷»úµÄCPU,ÌرðÊÇÔÚ±»¼à¿ØÉ豸ÊýÁ¿¶àµÄʱºò£¬Çé¿ö»á¸üÔã¡£
nrpe:Ï൱ÓÚÖм̳ÌÐò£¬×°ÔÚ±»¼à¿ØµÄunix/linuxϵͳÉÏ¡£Ïà¶ÔÓÚssh ,nrpeÕ¼ÓøüÉÙµÄϵͳ×ÊÔ´¡£ËùÒÔnrpe±»´ó²¿·ÖÍøÂç¹ÜÀíԱʹÓá£
ͨ¹ýÉÏͼ£º
1.nagiosͨ¹ýcheck_nrpe¶ÔÔ¶³ÌϵͳµÄ±¾µØ×ÊÔ´½øÐмà¿Ø¡£
2.nagiosͨ¹ýcheck_nrpe²å¼þ¸æËßÐèÒª¼ì²âÄÄЩ×ÊÔ´¡£
3.remote unix/linuxͨ¹ýnagios daemon°Ñ¼ì²âµ½µÄ½á¹û·µ»Ø¸øcheck_nrpe²å¼þ£¬×îÖÕ½»¸ønagois process¡£
¶þ.Ö±½Ó¼à¿Ø
nagiosͨ¹ýcheck_nrpe¶ÔÔ¶³ÌϵͳµÄ±¾µØ×ÊÔ´½øÐмà¿Ø¡£ ÈçÏÂͼ£º
Èý.¼ä½Ó¼à¿Ø
nagiosͨ¹ý±»¼à¿ØÖ÷»ú¶ÔÔ¶³Ì¹«¹²·þÎñ½øÐеļà¿Ø£¬ÈçÏÂͼ£º
Ïà¹ØÎĵµ£º
×÷Õß: ÈýÊ®¶øÁ¢Ê±¼ä£º2009Äê11ÔÂ03ÈÕ 9:52:27Çë×ðÖØÔ´´×÷Æ·¡£×ªÔØÇë±£³ÖÎÄÕÂÍêÕûÐÔ,²¢ÒÔ³¬Á´½ÓÐÎʽעÃ÷Ôʼ×÷Õß¡°inthirties£¨ÈýÊ®¶øÁ¢£©¡±ºÍ³ö´¦¡±http://blog.csdn.net/inthirties/archive/2009/11/03/4761783.aspx¡±,ÉîÈëÌÖÂÛ¿ÉÒÔÁªÏµinthirties@gmail.com¡£ ½ñÌìÀ´µ½¹«Ë¾£¬ÓÐС»ï×Ó¸æËßÎÒ£¬·þÎñÆ÷ºÃÏñµ±µôÁË£¬³ ......
LinuxÆô¶¯Ê±£¬µÚÒ»¸ö±ØÐë¹ÒÔصÄÊǸùÎļþϵͳ£»Èôϵͳ²»ÄÜ´ÓÖ¸¶¨É豸ÉϹÒÔظùÎļþϵͳ£¬Ôòϵͳ»á³ö´í¶øÍ˳öÆô¶¯¡£Ò»¸öϵͳÖпÉÒÔͬʱ´æÔÚ²»Í¬µÄÎļþϵͳ£¬²»Í¬µÄÎļþϵͳÀàÐÍÓв»Í¬µÄÌص㣬Òò¶ø¸ù¾Ý´æ´¢É豸µÄÓ²¼þÌØÐÔ¡¢ÏµÍ³ÐèÇóµÈÓв»Í¬µÄÓ¦Óó¡ºÏ¡£ÔÚǶÈëʽLinuxÓ¦ÓÃÖУ¬Ö÷ÒªµÄ´æ´¢É豸ΪRAM(DRAM, SDRAM)ºÍROM(³£²É ......
±¾ÈËÔÚ½¨Á¢½»²æ±àÒë»·¾³ÊÇÓöµ½ÁËÒ»µãµãСÎÊÌâºÍÒÉÎʵ㣺
1¡¢Ê¹ÓÃÐéÄâ»úºÍPC»úÖ®¼ä¹²ÏíÎļþÊÇ£¨²»ÊÇÓù²ÏíĿ¼·½Ê½£©£¬´ÓPC¸´ÖÆÎļþµ½ÐéÄâ»ú¹²Ïí£¬¹²ÏíµÄÎļþ²»ÄÜÌ«´ó£¬¶øÕßÎļþÀïÃæ×îºÃ²»ÒªÓжà¸öÎļþ£¨¾¹È»ÓÐÕâÖÖÇé¿ö£©¡£
2¡¢ÔÚdebian2.6ÄÚºËÖÐÓÃvim±àд³ÌÐò±ÈÓÃviºÃ£¬ÓÃviʱ»áÒýÈëºÜ¶à´íÎóµÄ×Ö·û¡£
......
linux ÊØ»¤½ø³Ì
1.´´½¨×Ó½ø³Ì£¬¸¸½ø³ÌÍ˳ö
ÊØ»¤½ø³ÌÊÇÍÑÀëÖն˵ģ¬´ËʱµÄ×Ó½ø³ÌÓÉ1ºÅ½ø³ÌÁìÑø¡£
2.ÔÚ×Ó½ø³ÌÖд´½¨ÐµĻỰ
µ÷ÓÃsetsid£¨£©º¯Êý£¬×÷ÓÃÓÐÈý¸ö£¬Èýø³Ì°ÚÍÑԻỰµÄ¿ØÖÆ£»Èýø³Ì°ÚÍÑÔ½ø³Ì×éµÄ¿ØÖÆ£»
Èýø³Ì°ÚÍÑÔ¿ØÖÆÖն˵ĿØÖÆ
ÕâÀïÐèÒª½éÉܽø³Ì×éºÍ»á»°×éµÄ¸ÅÄî
½ø³Ì×飺ÊÇÒ»¸ö»ò¶à¸ö½ø³ÌµÄ¼¯ºÏ£¬Óɽ ......
ÒýÓÃhttp://www.icanwen.cn/article.asp?id=18
±»¼à¿ØÖ÷»úµÄ°²×°ÅäÖÃ
1.´´½¨ÕʺÅ
useradd nagios
passwd nagios
2.°²×°nagios²å¼þ
tar xvzf nagios-plugins-*.tar.gz
./configure
make && make install
chown nagios.nagios ......