ç§ã®ã¿ã¹ã¯ã¯ãã¡ã¢ãªæ¶è²»ãšããã©ãŒãã³ã¹ã®åé¡ãæ±ãã倧èŠæš¡ãª3å±€Javaã¢ããªã±ãŒã·ã§ã³ãçæéã§å®å®ãããããã®æ段ãææ¡ããããšã§ããã æéã¯ããã€ãã®ããã«çãã§ãïŒãã¹ãŠã®ããã®1-2é±éã äŒç€Ÿã«ã¯é©åãªã¢ããªã±ãŒã·ã§ã³ç£èŠã€ã³ãã©ã¹ãã©ã¯ãã£ããªãããããäœæããã®ã¯ç§ã®ä»äºã§ã¯ãããŸããã§ããã JConsoleã䜿çšãããªãã·ã§ã³ã¯ãé·æéã«ãããæ¶è²»ãåæããã¢ããªã±ãŒã·ã§ã³ã®çªç¶ã®åèµ·åã®å¯èœæ§ãç£èŠããå¿ èŠããããããé©åã§ã¯ãããŸããã§ããã
ç§ãåããŠããäŒç€Ÿã®1 ã€ã§ã¯ ã RRDããŒã«ã«åºã¥ããŠJavaã¢ããªã±ãŒã·ã§ã³ãç£èŠããããã®ãœãªã¥ãŒã·ã§ã³ã¯ãå©äŸ¿æ§ãšã·ã³ãã«ãã®ç¹ã§å°è±¡çã§ããã ããã¯ãHTTPãä»ããããŒã¿åéãšè¡šç€ºãæäŸããåçŽãªã¢ããªã³perlã¹ã¯ãªãããšãã¢ããªã±ãŒã·ã§ã³èªäœã®å€ãã®æ¹åããŒã¿åéãšãŒãžã§ã³ãã§æ§æãããŠããŸããã ç§ã«ãšã£ãŠããã¯è§£æ±ºçã®ã¢ã€ãã¢ã§ããããRRDãä»ããŠãã€ã³ãã£ã³ã°ãäœæããæéã¯ãããŸããã§ããã
æ éã«æ€çŽ¢ããçµæãå¿ èŠãªã¢ããªã³ãå®è£ ããç¡æããŒã«-CactiãèŠã€ããŸããã Cactiã¯ãApache-PHP-MySqlãã¬ãŒã ã¯ãŒã¯ã§èšè¿°ãããã¢ããªã±ãŒã·ã§ã³ã§ãWebã€ã³ã¿ãŒãã§ã€ã¹ã«åºã¥ããŠç£èŠããŒã¿ã®åéãšè¡šç€ºãèšå®ã§ããŸãã ã€ã³ãã©ã¹ãã©ã¯ãã£ã匷åããããŒã¿åéãšãŒãžã§ã³ããšãã¹ãŠãã»ããã¢ããããŠè¿œå ããã®ã«æ°æ¥ããããŸããã
ããã«ããã®èšäºã§ã¯ãç§ã®åé¡ã解決ããæçµçã«ã¯äŒç€Ÿã®ã¢ããªã±ãŒã·ã§ã³ãæ£åžžã«å®å®ãããããšãã§ãã解決çã«ã€ããŠè©³ãã説æããŠããŸãã
ä»äºã«å¿ èŠãªãã®ïŒ
- Cacti 0.8.7iïŒå®è£ æã®ææ°ããŒãžã§ã³ïŒ
- Apache 2.2.21ïŒCactiã®ãšã³ãžã³ïŒ
- PHP 5.3.8ïŒCactiãèšè¿°ãããŠãããã©ââãããã©ãŒã ïŒ
- MySQL 5.5ïŒCactièšå®ã®ä¿åïŒ
- RRDTool 1.2.30ïŒå³ã®æç»ãšç£èŠããŒã¿ã®ä¿åïŒ
ïŒç£èŠãéå§ãããããŒãžã§ã³ã瀺ãããŠããŸããApache-PHP-MySqlãã³ãã«ãåäœããŸãïŒ
Cactiã§ã®ç£èŠã®ååã«ã€ããŠèª¬æããŸããWindowsïŒãŸãã¯UNIXã®cronïŒã®ãã¹ã±ãžã¥ãŒã«ãããã¿ã¹ã¯ãã䜿çšããŠãããŒã¿åéãšãŒãžã§ã³ãã®ããŒãªã³ã°ãå®æçã«éå§ãããŸãã åéãããæ å ±ã¯ãRRDããŒã¿ããŒã¹ã«æ ŒçŽãããŸãã 埪ç°ãããã¡å ã«ãã¡ã€ã«ãšããŠã ããã«ãRRDããèç©ãããããŒã¿ã¯ãåãæéãæ¥ãæãªã©ã®ããŸããŸãªã¹ã±ãŒã«ã§Cacti Webã€ã³ã¿ãŒãã§ãŒã¹ãä»ããŠè¡šç€ºã§ããŸãã
äœæ¥èšç»ã¯ãå¿ èŠãªãã¹ãŠã®ã€ã³ãã©ã¹ãã©ã¯ãã£ãåŒãäžããåæããã¢ããªã±ãŒã·ã§ã³ãããŒã¿åéã«é©åãããCactiã§ããŒã¿ã®åéãšåºåãæ§æããããšã§ãã
ã€ã³ãã©ã¹ãã©ã¯ãã£ã®ã»ããã¢ãã
Php
php.exeãžã®ãã¹ãPATHå€æ°ã«è¿œå ããåããã¹ãPHPRCå€æ°ã«æžã蟌ã¿ãŸã
php.ini-productionãã¡ã€ã«ãphp.iniã«ã³ããŒããphp.iniã«æ¬¡ã®å€æŽãå ããŸãã
è¡ã®ã³ã¡ã³ããå€ããŸãïŒ
extension_dir = cïŒ\ php \ ext æ¡åŒµæ©èœ= php_mysql.dll æ¡åŒµæ©èœ= php_snmp.dll æ¡åŒµæ©èœ= php_sockets.dll cgi.force_redirect = 0 date.timezone = "ãšãŒããã/ã¢ã¹ã¯ã¯"
ã¢ããã
conf \ httpd.confã«æ¬¡ã®è¡ãè¿œå ããŸãã
LoadModule php5_module cïŒ\ php \ php5apache2_2.dll AddTypeã¢ããªã±ãŒã·ã§ã³/ x-httpd-php .php DirectoryIndex index.html index.htm index.php
Mysql
PATHå€æ°ã«mysql.exeãã¹ãè¿œå ããŸã
ãµããã³ã¹ããŒãã®äœæïŒ
mysql --user = root --password create cacti
cactiã¹ããŒãããŒã¿æ§é ãã€ã³ããŒããã
mysql --user = root --password cacti <cïŒ\ apache2 \ htdocs \ cacti \ cacti.sql
cactiuserãŠãŒã¶ãŒãäœæããŸãã
mysql --user = root --password
次ã«ãMySqlã³ãã³ãã©ã€ã³ã§ïŒ
mysql>ãŠãŒã¶ãŒcactiuser @ localhost IDENTIFIED BY 'cactiuser'ãäœæããŸã mysql> cactiã«ãã¹ãŠãä»äžã* cactiuser @ localhost; mysql>ãã©ãã·ã¥ç¹æš©ã
php-mysql-apacheãã³ãã«ã®ç°¡åãªãã¹ãã®ããã«ã次ã®phpã¹ã¯ãªããã䜿çšããŸããã
<ïŒphp mysql_connectïŒ "localhost"ã "cactiuser"ã "cactiuser"ïŒãŸãã¯dieïŒ "Ca n't connect"ïŒ; mysql_queryïŒ "USE cacti"ïŒãŸãã¯dieïŒ "mysqlããŒã¿ããŒã¹ãéžæã§ããŸãã"ïŒ; echo "æå\ n"; ïŒ>
testphp.phpãªã©ã®ååã®ãã¡ã€ã«ã«ä¿åããApacheãã£ã¬ã¯ããªhtdocs /ã«ã³ããŒããŠãlocalhostããŒãž8080 / testphp.phpãããŒãããå¿ èŠããããŸãã ãæåããšããç¢æã衚瀺ãããŸãã
Cactiãæ§æãã
cactiãã£ã¹ããªãã¥ãŒã·ã§ã³ãApache / htdocsãã£ã¬ã¯ããªã«è§£åããŸãã
cacti /include/config.phpãã¡ã€ã«ã«æ¬¡ã®è¡ãå«ãŸããŠããããšã確èªããŸãã
$ database_default = "cacti"; $ database_hostname = "localhost"; $ database_username = "cactiuser"; $ database_password = "cactiuser"; $ database_port = "3306";
ãã°ã€ã³admin / adminã®äžã§ãlocalhostïŒ8080 / cacti /ã«ç§»åããŸãã
[èšå®]-> [ãã¹]èšå®ã§ãå€éšãŠãŒãã£ãªãã£ãžã®ãã¹ãèšå®ããŸãïŒcïŒ/php/php.exeãªã©ã®Unixã¹ã¿ã€ã«ã®ãã¹ã䜿çšããããšããå§ãããŸãïŒã
php cacti / poller.phpã³ãã³ãã5åããšã«å®è¡ããããã«æ§æããŸãïŒWindowsã¹ã±ãžã¥ãŒã«ã¿ã¹ã¯ã䜿çšïŒã ããã«ã¯ããããã¡ã€ã«ã䜿çšããŸãã
start / MIN php.exe cacti \ poller.php
Cacti Spineã®æ§æïŒãªãã·ã§ã³ïŒããã¯ãCactiãæšå¥šãããããŒãªã³ã°ã®é«éåã«äœ¿çšãããC ++ã§äœæãããããŒã©ãŒã§ãïŒ
spineã¢ãŒã«ã€ããcactiãã£ã¬ã¯ããªã«è§£åããspine.confã«æ¬¡ã®è¡ãå«ãŸããŠããããšã確èªããŸãã
DB_Host 127.0.0.1ïŒã¯å³å¯ã«ã¯localhostã§ã¯ãããŸãã!!! DB_Databaseãµããã³ DB_User cactiuser DB_Password cactiuser DB_Port 3306
ããŒã¿åéãéžæããŠæ§æãã
ããŒã¿ãåéãã2ã€ã®æ¹æ³-SNMPãšJVMããã³ã¢ããªã±ãŒã·ã§ã³ã®äžéšãšããŠã®JMXãµãŒããŒã®ããŒãªã³ã°ãè©ŠããŸããã SNMPã¯Cactiã§ãµããŒããããŠãããJVMã¡ã¢ãªã®äœ¿çšéã®ã¿ãç£èŠããå¿ èŠãããããããéåžžã«è¿ éã«è¡ãå¿ èŠãããå Žåã«äœ¿çšããã®ã劥åœã§ãã ç§ã¯SNMPããå§ããŸããããæåã®æåã®åŸãJMXã«åãæ¿ããŸããã Cactiã¯JMXããµããŒãããŠããªããããè¿œå ã®æè»æ§ãæ¯æãå¿ èŠããããŸããã¬ã·ãŒããŒãšå¿çãJavaã§èšè¿°ããã«ã¯æéãããããŸãã
以äžã¯å¯Ÿå¿ããã³ãŒãã§ãã
ã¡ã¢ãªã¹ããŒã¿ã¹ã«ã€ããŠJVMãããŒãªã³ã°ããããã®ã³ãŒãïŒåæ§ã«ãã³ãŒãã¯ä»»æã®JMXãµãŒããŒçšã«èšè¿°ãããŠããŸãïŒïŒ
import java.io.Closeable; import java.io.IOException; import java.lang.management.MemoryMXBean; import java.lang.management.MemoryUsage; import javax.management.JMX; import javax.management.MBeanServerConnection; import javax.management.ObjectName; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; public class JvmHeapJmxClient { public static void main(String[] args) { JMXConnector jmxc = null; try { String jmxHost = args[0]; String jmxPort = args[1]; String jmxConnectionString = "service:jmx:rmi:///jndi/rmi://" + jmxHost + ":" + jmxPort + "/jmxrmi"; JMXServiceURL url = new JMXServiceURL(jmxConnectionString); jmxc = JMXConnectorFactory.connect(url, null); MBeanServerConnection mbsc = jmxc.getMBeanServerConnection(); ObjectName memoryMBeanName = new ObjectName("java.lang:type=Memory"); MemoryMXBean memoryMBeanProxy = JMX.newMXBeanProxy(mbsc, memoryMBeanName, MemoryMXBean.class, true); MemoryUsage memoryUsage = memoryMBeanProxy.getHeapMemoryUsage(); echo( "used:" + memoryUsage.getUsed() + " " + "committed:" + memoryUsage.getCommitted() + " " + "init:" + memoryUsage.getInit() + " " + "max:" + memoryUsage.getMax()); } catch(Exception e) { e.printStackTrace(); } finally { closeStream(jmxc); } } private static void echo(String msg) { System.out.println(msg); } private static void closeStream(Closeable stream) { try { if (stream != null) { stream.close(); } } catch (IOException e) { e.printStackTrace(); } } }
JMXãå®è¡ããJavaã³ãŒãã ãããã®å°é£ã¯ãã¹ãŠããã¡ã€ã¢ãŠã©ãŒã«ã§å¿ èŠãªããŒããšãã¹ãåãä¿®æ£ããããã«å¿ èŠã§ãã ã³ãŒããããããããã«ãåãµãŒãã¹ã«ã¯2ã€ã®ããŒããå¿ èŠã§ãã1ã€ã¯httpã¢ã¯ã»ã¹çšããã1ã€ã¯RMIçšã§ãã äž¡æ¹ã®ããŒããæ瀺çã«æå®ããããšãå«ããããŒãã®å²ãåœãŠã¯æããã«ç°ãªãæ¹æ³ã§å®è¡ã§ããŸãïŒãã®å ŽåãRMIããŒã= httpããŒã+ 1ïŒã 次ã®åèªãã¢ããªã±ãŒã·ã§ã³ã®èµ·åè¡ã«è¿œå ããå¿ èŠããããŸãïŒjmxagent-ãšãŒãžã§ã³ãã³ãŒããå«ãjarãã¡ã€ã«ïŒïŒ
-Djmxagent.port = <SERVER_JMX_PORT> -Djmxagent.host = <SERVER_HOST> -javaagentïŒjmxagent.jar
import java.io.IOException; import java.lang.management.ManagementFactory; import java.rmi.registry.LocateRegistry; import java.util.HashMap; import javax.management.MBeanServer; import javax.management.remote.JMXConnectorServer; import javax.management.remote.JMXConnectorServerFactory; import javax.management.remote.JMXServiceURL; public class JmxFirewallAgent { private JmxFirewallAgent() { } public static void premain(String agentArgs) throws IOException { try { final int rmiRegistryPort = Integer.parseInt(System.getProperty("jmxagent.port")); LocateRegistry.createRegistry(rmiRegistryPort); final int rmiServerPort = rmiRegistryPort + 1; MBeanServer mbs = ManagementFactory.getPlatformMBeanServer(); HashMap<String,Object> env = new HashMap<String,Object>(); final String hostname = System.getProperty("jmxagent.host"); JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://" + hostname + ":" + rmiServerPort + "/jndi/rmi://" + hostname + ":" + rmiRegistryPort + "/jmxrmi"); JMXConnectorServer cs = JMXConnectorServerFactory.newJMXConnectorServer(url, env, mbs); cs.start(); } catch (Exception e) { e.printStackTrace(); } } }
次ã¯ãæãéèŠãªCactièšå®ã®ã¹ã¯ãªãŒã³ã·ã§ããã§ãã
ããŒãªã³ã°ã®ã»ããã¢ããã¯ãCactiã®äžè¬èšå®ã®éèŠãªãã€ã³ãã§ãã ç§ã¯Spineã䜿çšããããŒãªã³ã°ã¯5åããšã«éå§ãããããŒã¿ã¯10ç§ããšã«ååŸãããŸãã Cactiã®è©³çŽ°ãªRRDèšå®ãåç §ããŠãã ãããäºåã«æ€èšããå¿ èŠããããŸãã RRDããŒã¿ããŒã¹ãäžæžãããã«ããã«å€æŽããããšã«ã¯åé¡ããããŸãã ãããã®èšå®ã«é¢ãããã³ãã®é©åãªéžæã次ã«ç€ºããŸãã

ç§ã®RRDèšå®ã

1ã€ã®èšå®ã®å 容ã®äŸïŒ

ããã€ã¹ã®èšå®ã§ã¯ãããã¯ããŒã¿ãåéãããIPã¢ãã¬ã¹ãæã€ãµãŒããŒã§ãã è€æ°ã®ãµãŒããŒãããããããããè€æ°ã®JavaãµãŒãã¹ãå®è¡ããŠããŸãã

ããŒã¿å ¥åæ¹æ³ã®èšå®-ããŒã¿åéã®æ¹æ³ãèšå®ããŸãã ç§ã®å Žåãããã¯Java JMXããŒãªã³ã°ããã°ã©ã ãå®è¡ããããããã¡ã€ã«ã§ãïŒãã®ãœãŒã¹ã³ãŒãã¯äžèšã§äžããããŠããŸãïŒããã®å ¥åãã©ã¡ãŒã¿ãŒã¯ãµãŒããŒã®ã¢ãã¬ã¹ãšããŒãã§ãã Javaã¢ããªã±ãŒã·ã§ã³ã

å ¥åãã©ã¡ãŒã¿ãŒã®èª¬æã®äŸã¯ããã®å ŽåãµãŒããŒã¢ãã¬ã¹ã§ãã å®çŸ©æžã¿ã®ããŒã¯ãŒãã䜿çšãããŸã-ãã¹ãåã¯ãCactiã«ãã£ãŠèªåçã«å ¥åãããŸãã åŸè¿°ããããã«ã2çªç®ã®ãã©ã¡ãŒã¿ãŒã¯ãããŒã¿ãœãŒã¹ã®ããŒã¿ã³ã¬ã¯ã·ã§ã³ã®ã»ããã¢ããããšã«å ¥åãããŸãã

ããããã¡ã€ã«ãè¿ãåºåãã©ã¡ãŒã¿ãŒã Cactiã¯æ¬¡ã®åœ¢åŒã§ããããç解ããŸãã
key1ïŒvalue1 key2ïŒvalue2
ç§ã®ããã°ã©ã ã¯4ã€ã®åºåå€ãè¿ããŸãã以äžã¯ããããã®1ã€ãèšå®ããäŸã§ãïŒã³ãããæžã¿ïŒã

次ã«ãããŒã¿ãã³ãã¬ãŒã-ããŒã¿ãœãŒã¹ãæå®ããããã®ãã³ãã¬ãŒããäœæããŸãã ç§ã®æèŠã§ã¯ãCactiã§æãéèŠãªèšå®ã§ãã ãã³ãã¬ãŒãã¯ãRRDããŒã¿ããŒã¹ã®æ§æã«é¢é£ä»ããããããŒã¿ããŒã¹ïŒããŒã¿ãœãŒã¹ã¢ã€ãã ïŒã«ä¿åããããã®ãã©ã¡ãŒã¿ãŒãšè¿œå èšå®ã瀺ããŸãããã®å Žåãjmxãã¹ããšjmxããŒãã§ããæåã«èª¬æããããã«ãæåã¯èªåçã«å ¥åããã2çªç®ã¯åããŒã¿ãœãŒã¹ã§å ¥åãããŸããã€ãŸã ããŒã¿ãœãŒã¹ã¯åäžã®Javaã¢ããªã±ãŒã·ã§ã³ã«å¯Ÿå¿ããŸãã

ãã³ãã¬ãŒãã«åºã¥ããŠãããŒã¿ãœãŒã¹ãäœæãããŸããããã¯ãã°ã©ããã£ãŒãã«è¡šç€ºã§ããããŒã¿ãœãŒã¹ã§ãã ãœãŒã¹ã¯ãããŒã¿ãåéããããã«æ¥ç¶ããããã€ã¹ããœãŒã¹ãã³ãã¬ãŒããRRDããŒã¿ããŒã¹ã®ååãšå Žæã瀺ããŸãã ç§ã®å Žåãè¿œå ã®ãã©ã¡ãŒã¿ãŒã§ããJMXããŒããæå®ããå¿ èŠããããŸãã éèŠãªç¹ã¯ãããŒã¿ãœãŒã¹ãŸãã¯ããŒã¿ãã³ãã¬ãŒãã®ããŒã¿åéèšå®ãå€§å¹ ã«æŽæ°ãããšïŒããšãã°ãããŒã¿ãœãŒã¹ã¢ã€ãã ãã©ã¡ãŒã¿ãŒã®åé€ãšè¿œå ïŒãRRDããŒã¿ããŒã¹ãåäœæããå¿ èŠãããããšã§ãã Cactiã®å€ã§ãããè¡ãããšãã§ããŸãïŒãŸã ããã«ã¢ã¯ã»ã¹ããŠããŸããïŒããŸãã¯ä»¥åã®ãã¹ãŠã®ããŒã¿ã倱ã£ãŠããŒã¿ãœãŒã¹ãåäœæããŸãã ããã¯æããã«ãç§ãééããCacti-RRDãã³ãã«ã®æãäžå¿«ãªæ©èœã§ãã

ã°ã©ããã³ãã¬ãŒããå®çŸ©ããŠãããŒã¿ã®è¡šç€ºãéå§ããŸãã èšå®ã¯ãäž»ã«ããŒã¿ã®èŠèŠåæ¹æ³ã決å®ããŸãã ãã£ãŒãã«è¡šç€ºããããŒã¿ãã³ãã¬ãŒãã®ãã©ã¡ãŒã¿ãŒããã©ã®ãããªåœ¢åŒã§æå®ããå¿ èŠããããŸãã ç§ã®ç¥ãéãããããã®èšå®ã¯ãã¹ãŠãRRDã³ãã³ãã€ã³ã¿ãŒãã§ã€ã¹ãä»ããçŽæ¥ã·ã§ã«ã§ãã

ããŒã¿ãœãŒã¹ãã©ã¡ãŒã¿ã®èšå®äŸã å³ã®5ã€ã®èŠçŽ ã䜿çšããŠãã¡ã¢ãªæ¶è²»éã衚瀺ããŸãïŒæ倧ãæå°ãããã³çŸåšã®æ¶è²»éãå¡ãã€ã¶ãã®åœ¢ïŒåºåé åºãéèŠã§ãïŒïŒã§ã次ã«2ã€ã®ãã©ã¡ãŒã¿ãŒ-ç·ã®åœ¢ã§å²ãåœãŠãããæ倧ã®æ¶è²»éã äŸã以äžãåç §ããŠãã ããã

ã°ã©ããã£ãŒã-ãã³ãã¬ãŒãããµãŒããŒãããã³ç¹å®ã®ããŒã¿ãœãŒã¹ãšãã£ãŒããã³ãã¬ãŒããã©ã¡ãŒã¿ãŒéã®å¯Ÿå¿ãèšå®ããŸãã

æå®ããããã¹ãŠã®èšå®ã䜿çšããæçµçãªãã€ã¢ã°ã©ã ã®äŸïŒå¹³åæ¶è²»éã¯3 GBã§ãããå€ãã®å Žåãæ倧å²ãåœãŠå¢çã§ãã6 GBïŒ-XmxïŒã«éããŸãã ããŒã¿ã¯ä»»æã®è©³çŽ°ã§è¡šç€ºã§ããŸãïŒäŸã®ããã«ãã³ã¬ã¯ã·ã§ã³ã®1ãã£ãã¯ãã2幎ãŸã§ïŒã ããã¯ãã¹ãŠãRRDããŒã¿ããŒã¹ã®èšå®ã«äŸåããŸãã ç§ã®èšå®ã§ã¯ãæ¶è²»ã«é¢ããåé¡ã解決ããã®ã«ååãªæ å ±ããããŸããã

ãããç§ã®ãœãªã¥ãŒã·ã§ã³ã®èª¬æã®æåŸã§ãã ãœãªã¥ãŒã·ã§ã³ã®äž»ãªã¢ã€ãã¢ã¯ãçµæã®è³ªã®é«ãå®è£ ã®é床ã§ãããšåŒ·èª¿ããŠããŸãã æ¹åã®ããã®è³ªåãã¢ã€ãã¢ã¯å€§æè¿ã§ãã
ç§ã®ç¹å®ã®ããã©ãŒãã³ã¹ãã©ã¡ãŒã¿ã«é¢ä¿ããèšå®ã®éšåã¯ãæ¢ã«èª¬æãããã®ãšå®å šã«é¡äŒŒããŠããããã説æããŸããã§ããã
ãæž èŽããããšãããããŸããïŒ
çµè«ïŒ
Cactiã«ãããJavaã¢ããªã±ãŒã·ã§ã³ã®ç£èŠãè¿ éã«ã»ããã¢ãããããšããåé¡ãããŸã解決ããããšãã§ããŸããã ãŒããããã°ããç£èŠããå¿ èŠãããå Žåããããäœæ¥ãªãã·ã§ã³ã®1ã€ãšããŠãå§ãããŸãã é·æç£èŠã®æ§ç¯ãèšç»ã«å«ãŸããŠããå Žåãç§ã®æèŠã§ã¯ãNagiosã®ãããªåŒ·åãªã·ã¹ãã ãå®è£ ããããRRDçšã®ç¬èªã®ç¹å¥ãªã¢ããªã³ãäœæãããšããéžæè¢ããããŸãã ãµããã³ã®é·æãšçæïŒ
決å®ã®çæïŒ
- å€æ°ã®ç°å¢ããã³Javaã¢ããªã±ãŒã·ã§ã³ãµãŒããŒã®å Žåãåæ§ã®èšå®ã®æ°ãããªãæ¥éã«å¢å ããŸãã
- Cactiåãã®éãã€ãã£ãJMXãœãªã¥ãŒã·ã§ã³ã®éãããããã©ãŒãã³ã¹ã
ãœãªã¥ãŒã·ã§ã³ã®å©ç¹ïŒ
- æå°éã®è¿œå ã³ãŒãã£ã³ã°ã§é«ãå±éé床
- å³ãšãã®èšå®ã衚瀺ããããã®ã€ã³ã¿ãŒãã§ãŒã¹ã®ã·ã³ãã«ããšäŸ¿å©ãïŒããã«è€éãªããšãåŠã¶å¿ èŠã¯ãããŸããïŒ