| check-packeteer.pl. Check-packeterer.plÀº ³×Æ®¿öÅ© Åë°è¸¦À§ÇÑ ³ª°¡¿À Ç÷¯±×ÀÎÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
check-packeteer.pl. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Goesta Smekal
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.smekal.at/code/check-packeteer/
check-packeteer.pl. ű×
check-packeteer.pl. ¼³¸í
check-packeteer.plÀº ³×Æ®¿öÅ© Åë°è¸¦À§ÇÑ Nagios Ç÷¯±×ÀÎÀÔ´Ï´Ù. check-packeteer.plÀº ³×Æ®¿öÅ© Åë°è¸¦À§ÇÑ ³ª°¡¿À Ç÷¯±×ÀÎÀÔ´Ï´Ù. Àç¹ßÀÎ : ¡¤ Perl V5 (Perl V5.8.0¿¡¼ Perl V5.8.0¿¡¼ °³¹ß, Perl 5.8.8¿¡¼ Å×½ºÆ® µÊ) ¡¤ Digest :: MD5 Perl ¸ðµâ ÀÚ°Ý Áõ¸íÀÇ MD5 Çؽà ¡¤ LWP :: HTTP Communication ¼³Ä¡¸¦À§ÇÑ UserAgent : ÁÁ¾ÆÇÏ´Â Nagios Ç÷¯±×ÀÎ À§Ä¡¿¡ ½ºÅ©¸³Æ®¸¦ º¹»çÇϽʽÿÀ. Áï / usr / lib / nagios / plugins / nagios µ¥¸ó (chmod 755)¿¡ ÀÇÇØ Àбâ / ½ÇÇà °¡´ÉÀÎÁö È®ÀÎÇϽʽÿÀ. Life´Â /etc/nagios/checkcommands.cfg ÆÄÀÏ¿¡ ¼½¼ÇÀ» Ãß°¡Çϸé ÈξÀ ½±½À´Ï´Ù : Á¤ÀÇ {command_name check-packeteer command_line $ user1 $ / check_packeterer.pl -host 10.11.12.13-693c830ea67a0ad636c81f8f93d99002 -target $ arg1 $ -variable $ arg2 $ -period $ arg3 $ -warn $ arg5 $} '-hash'ÀÌÈÄÀÇ °ªÀº Concatened PacketEer ¾ÏÈ£ ¹× ÀÏ·Ã ¹øÈ£¿¡¼ °è»ê µÈ 16 Áø¼ö Çü½ÄÀÇ MD5 ÇؽÃÀÔ´Ï´Ù. ¸í·É ÁÙ ¿É¼Ç¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº Àμö¾øÀÌ CHECK-PACKETER.PLÀ» È£ÃâÇϽʽÿÀ. /etc/nagios/services.cfg¿¡ ´ëÇÑ Nagios ȯ°æ¿¡ Sensor¸¦ Nagios ȯ°æ¿¡ Ãß°¡ÇÏ·Á¸é ´ÙÀ½°ú °°Àº ±â´É Á¤ÀÇ {ÀÏ¹Ý - packeteer service_description TCP ¿¬°áÀ» »ç¿ëÇÏ¿© 10min check_command inits! / ¾Æ¿ô ¹Ù¿îµå! tcp-conn- inits! 1000! 1000! 1500} Nagios°¡ ±¸¼º ( 'Service Nagios Reload')¸¦ redhat¿¡ ´Ù½Ã·ÎµåÇÏ°í ²¨Á® ÀÖ½À´Ï´Ù ...ÀÌ ¸±¸®½ºÀÇ »õ·Î¿î ±â´É : ¡¤ 'ºñ¹Ð¹øÈ£'ÀÇ ¼ø¼°¡ÀÖ´Â ¹®¼ÀÇ ¹ö±× '-auth'¸Å°³ º¯¼ö¿¡ ´ëÇÑ Á÷·Ä 'ÀÌ À߸øµÇ¾ú½À´Ï´Ù. ¡¤ ¿µ¾î ¶Ç´Â µ¶ÀÏ¾î ½ºÅ¸ÀÏ (1,234 ¶Ç´Â 1.234)¿¡ µû¶ó ¸¹Àº ¼ýÀÚ¸¦ ¾Æ¸§´ä°ÔÇϱâ À§ÇØ'Number '¸í·É ÁÙ Àμö°¡ Ãß°¡µÇ¾ú½À´Ï´Ù.
check-packeteer.pl. °ü·Ã ¼ÒÇÁÆ®¿þ¾î