ããã¯ãUbuntu OnlineãFedora OnlineãWindows ãªã³ã©ã€ã³ ãšãã¥ã¬ãŒã¿ãŒãMAC OS ãªã³ã©ã€ã³ ãšãã¥ã¬ãŒã¿ãŒãªã©ã®è€æ°ã®ç¡æãªã³ã©ã€ã³ ã¯ãŒã¯ã¹ããŒã·ã§ã³ã® XNUMX ã€ã䜿çšããŠãOnWorks ç¡æãã¹ãã£ã³ã° ãããã€ããŒã§å®è¡ã§ããã³ãã³ã xymongen ã§ãã
ããã°ã©ã ïŒ
NAME
xymongen - Xymon ãŠã§ãããŒãžãžã§ãã¬ãŒã¿ãŒ
SYNOPSIS
ã¯ã·ã¢ã³ã²ã³ -?
ã¯ã·ã¢ã³ã²ã³ - å©ããŠ
ã¯ã·ã¢ã³ã²ã³ - ããŒãžã§ã³
ã¯ã·ã¢ã³ã²ã³ [ãªãã·ã§ã³] [åºåãã£ã¬ã¯ããª]
(䜿çšå¯èœãªã³ãã³ãã©ã€ã³ ãªãã·ã§ã³ã®èª¬æã«ã€ããŠã¯ãããªãã·ã§ã³ãã»ã¯ã·ã§ã³ãåç §ããŠãã ãã)ã
DESCRIPTION
ã¯ã·ã¢ã³ã²ã³ Xymon ã¢ãã¿ãŒã®æŠèŠ Web ããŒãžãçæããŸãã ãããã¯ãŠã§ãããŒãžã§ã
åãã¹ãã®è©³çŽ°ãªã¹ããŒã¿ã¹ ããŒãžã§ã¯ãªãããã¹ãã®å šäœçãªã¹ããŒã¿ã¹ã衚瀺ãããŸãã
泚: Web ããŒãžã®ããŒã¿ã¯ã ãã·ã¢ã³ã(8) ããŒã¢ã³ãããã³ xymongen ã䜿çšãã
ãããã¯ãŒã¯ã決å®ããããã® XYMSRV / XYMSERVERS ç°å¢å€æ°ã®å€
xymond ã«å°éã§ããã¢ãã¬ã¹ã è€æ°ã®ãµãŒããŒããªã¹ããããŠããå Žåã¯ã
XYMSERVERSãæåã®ãµãŒããŒãããŒã«ã« Xymon ãµãŒããŒã§ããããšã確èªããŠãã ãããããã¯ã
xymongen ã¯ããŒã¿ãã¯ãšãªããŸãã
OPTIONS
xymongen ã«ã¯å€æ°ã®ã³ãã³ãã©ã€ã³ ãªãã·ã§ã³ããããŸãã ãªãã·ã§ã³ã䜿çšããŠå€æŽã§ããŸã
xymongen ã®åäœã«åœ±é¿ãäžããxymongen ã«ãã£ãŠçæããã Web ããŒãžã«åœ±é¿ãäžããŸãã
å šè¬ç㪠OPTIONS
--å©ããŠãã ããããããšã-?
䜿çšå¯èœãªã³ãã³ãã©ã€ã³ ãªãã·ã§ã³ã®æŠèŠãæäŸããŸãã
- ããŒãžã§ã³
xymongen ã®ããŒãžã§ã³çªå·ãåºåããŸãã
--docurl=URL
ãã®ãªãã·ã§ã³ã¯éæšå¥šã§ãã次㮠HOSTDOCURL èšå®ã䜿çšããŠãã ããã xymonserver.cfg(5)
ã代ããã«ã䜿ããã ããã
--docccgi=URL
ãã®ãªãã·ã§ã³ã¯éæšå¥šã§ãã次㮠HOSTDOCURL èšå®ã䜿çšããŠãã ããã xymonserver.cfg(5)
ã代ããã«ã䜿ããã ããã
--doc-ãŠã£ã³ããŠ
ãã¹ãããã³ãµãŒãã¹ã®ããã¥ã¡ã³ããžã®ãªã³ã¯ãæ°ãããŠã£ã³ããŠã§éããŸãã ã®
ããã©ã«ãã§ã¯ãXymon ã¹ããŒã¿ã¹ãšåããã©ãŠã¶ ãŠã£ã³ããŠã«ããã¥ã¡ã³ãã衚瀺ãããŸãã
--htmlextension=.EXTENSION
xymongen ã«ãã£ãŠçæããã Web ããŒãžã«äœ¿çšããããã¡ã€ã«åæ¡åŒµåãèšå®ããŸãã ã«
ããã©ã«ãã§ã¯ãæ¡åŒµåã.htmlãã䜿çšãããŸãã ããããããæå®ããå¿ èŠãããããšã«æ³šæããŠãã ããã
--ã¬ããŒã[=åå]
ãã®ãªãã·ã§ã³ã䜿çšãããšãxymongen ã¯ããã®æ°ã®è©³çŽ°ãå«ãã¹ããŒã¿ã¹ ã¡ãã»ãŒãžãéä¿¡ããŸãã
åŠçããããã¹ããçæãããããŒãžæ°ãçºçãããšã©ãŒ
å®è¡äžãããã³ããã€ãã®ã¿ã€ãã³ã°çµ±èšã ããã©ã«ãã®ååã¯ãxymongenãã§ãã
--htaccess[=htaccess ãã¡ã€ã«å]
æ°ãã Web ããŒãž ãã£ã¬ã¯ããªãäœæãããšãã« .htaccess ãã¡ã€ã«ãäœæããŸãã ã®å 容
.htaccess ãã¡ã€ã«ã¯ãXYMONHTACCESS ç°å¢å€æ°ã«ãã£ãŠæ±ºå®ãããŸã (
æäžäœãã£ã¬ã¯ããªã«ã¯ xymon.html ãš nongreen.html ãå«ãŸããŸã)ã ã«ãã£ãŠ
XYMONPAGEHTACCESS å€æ° (ããŒãžã¬ãã«ã®ãã£ã¬ã¯ããªçš)ã ãããŠãã«ãã£ãŠ
ãµãããŒãžããã³ãµã芪ã¬ãã«ã®ãã£ã¬ã¯ããªã® XYMONSUBPAGEHTACCESS å€æ°ã ã®
ãã¡ã€ã«åãæå®ãããŠããªãå Žåã.htaccess ãã¡ã€ã«ã®ãã¡ã€ã«åã¯ããã©ã«ãã§ã.htaccessãã«ãªããŸãã
ãã®ãªãã·ã§ã³ã XYMONHTACCESS å€æ°ã¯ããã®ãŸãŸãããã¬ãã«ã«ã³ããŒãããŸãã
.htaccess ãã¡ã€ã«ã XYMONPAGEHTACCESS å€æ°ã«ã¯ã%sããå«ãŸããå ŽåããããŸããããã§ãååã¯
ã®ããŒãžãæ¿å ¥ãããŸãã XYMONSUBPAGEHTACCESS å€æ°ã«ã¯ XNUMX ã€ã®ã%sããå«ãŸããå ŽåããããŸã
ã€ã³ã¹ã¿ã³ã¹: æåã®ã€ã³ã¹ã¿ã³ã¹ã¯ããŒãžåã«çœ®ãæããããXNUMX çªç®ã®ã€ã³ã¹ã¿ã³ã¹ã¯ããŒãžåã«çœ®ãæããããŸãã
ãµãããŒãžåã
--max-eventcount=N
ãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã®ã€ãã³ããã°ã N ã€ãã³ãã®ã¿ã«å¶éããŸãã ããã©ã«ã: 100ã
--max-eventtime=N
ãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã®ã€ãã³ããã°ãããã®ç¯å²å ã§çºçããã€ãã³ãã«éå®ããŸãã
Nåçµéã ããã©ã«ã: 240ã
--no-ã€ãã³ããã°
éåžžãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã«è¡šç€ºãããã€ãã³ããã°ãç¡å¹ã«ããŸãã
--max-ackcount=N
ãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã®ç¢ºèªãã°ã N åã®ã€ãã³ãã®ã¿ã«å¶éããŸãã ããã©ã«ãïŒ
25.
--max-acktime=N
ãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã®ç¢ºèªãã°ããçºçãã確èªå¿çã«éå®ããŸãã
éå» N å以å ã ããã©ã«ã: 240ã
--ããŒã»ã¢ã¯ãã°
éåžžãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã«è¡šç€ºããã確èªãã°ãç¡å¹ã«ããŸãã
--cricitcalllog[=éèŠãªãã°å]
ããã«ãããcritical.html ã¹ããŒã¿ã¹ ããŒãžã«è¡šç€ºãããå 容ã®ããã¹ãããŒã¹ã®ãã°ãçæãããŸãã
ãããŠãXymon ãµãŒããŒèªäœã®è²ãåæ ããã¹ããŒã¿ã¹ ã¡ãã»ãŒãžãéä¿¡ããŸãã
é倧ãªã¹ããŒã¿ã¹ã®ããŒãžã ããã«ããããã€åé¡ãçºçãããã远跡ã§ããŸãã
é倧ãªã¹ããŒã¿ã¹ã®ããŒãžã ãã°ãã¡ã€ã«ã¯ $XYMONSERVERLOGS/criticalstatus.log ã«ä¿åãããŸãã
--loadhostsfromxymond
hosts.cfg ãã¡ã€ã«ãèªã¿åã代ããã«ãxymongen 㯠hosts.cfg ãããŒãããŸãã
xymond ããŒã¢ã³ããã®èšå®ã ããã«ããã
hosts.cfgãããã³ xymond ãš xymongen ãå¥ã®ãã¹ãã§å®è¡ããŠããå Žåã¯ã
ããã«ãããã·ã¹ãã é㧠hosts.cfg ãã¡ã€ã«ãã³ããŒããå¿ èŠããªããªããŸãã 泚æããŠãã ããã
ãã®ãªãã·ã§ã³ãæå¹ãªå Žåãhosts.cfg ã®ãdispincludeããªãã·ã§ã³ã¯ç¡èŠãããŸãã
ããŒãž ã¬ã€ã¢ãŠã OPTIONS
ãããã®ãªãã·ã§ã³ã¯ãxymongen ã«ãã£ãŠçæããã Web ããŒãžããã©ãŠã¶ãŒã§ã©ã®ããã«è¡šç€ºããããã«åœ±é¿ããŸãã
--æåŸã®ããŒãž
ããŒãžãªã³ã¯ãšãµãããŒãžãªã³ã¯ããã¹ãã®åŸã«çœ®ããŸãã
--ããŒãžãã¡ãŒã¹ã
ããŒãžãªã³ã¯ãšãµãããŒãžãªã³ã¯ããã¹ãã®åã«çœ®ããŸã (ããã©ã«ã)ã
ããã XNUMX ã€ã®ãªãã·ã§ã³ã¯ããµãããŒãžããã³ãã¹ããžã®ãªã³ã¯ãå«ãããŒãžã«
æåã«ãã¹ããŸãã¯ãµãããŒãžãéžæããŸãã
--subpagecolumns=N
ããŒãžããã³ãµãããŒãžãžã®ãªã³ã¯ã«äœ¿çšãããåã®æ°ã決å®ããŸãã ããã©ã«ã
N=1ã§ãã
--maxrows=N
ããŒãžäžã®åèŠåºãã¯ãããã©ã«ãã§ã¯ããŒãžã®å é ã«ã®ã¿è¡šç€ºãããŸãã
ãµãããŒãžãŸãã¯ãã¹ãã®ã°ã«ãŒãã ãã®ãªãã·ã§ã³ã䜿çšãããšãåèŠåºããç¹°ãè¿ãããŸãã
N åããšã®ãã¹ãã衚瀺ãããŸãã
--showemptygroups
--no-showemptygroups
ãã¹ãããšã«ã°ã«ãŒããäœæããå ŽåãããŒãã«åãšãã¹ãåãååšããå Žåã§ã衚瀺ããããã«ããŸããã
åé¡ã®ãã¹ãã«ã¯ãã¹ããååšããŸããã --no-showemptygroups ã䜿çšããŠã
é ããã (ããã©ã«ã: ã¯ã)
--pagetitle-links
éåžžãããŒãžãŸãã¯ãµãããŒãžã®é£ã«ããè²ä»ãã®ãããããã®ã¿ãã
ããŒãžèªäœã ãã®ãªãã·ã§ã³ã䜿çšãããšãããŒãž ã¿ã€ãã«ãããŒãžã«ãªã³ã¯ãããŸãã
--pagetext-Headings
ãããŒãžããŸãã¯ããµãããŒãžãã¿ã°ã®èª¬æããã¹ããèŠåºããšããŠäœ¿çšããŸãã
ãããŒã«ã«ã§ãã¹ããããŠããããŒãžããŸãã¯ãã®ä»ã®æšæºçãªèŠåºãã®ä»£ããã«ãããŒãžã䜿çšããŸãã
--äžç·ãªãã®èŠåºã
éåžžãããŒãžèŠåºãã«ã¯ HTML ã®ãæ°Žå¹³ã«ãŒã©ãŒãã¿ã°ã䜿çšããŠäžç·ãä»ããããŸãã ãã
ãªãã·ã§ã³ã¯èŠåºãã®äžç·ãç¡å¹ã«ããŸãã
--recentgifs[=å]
ãã¹ãã¹ããŒã¿ã¹ãå€æŽããããã¹ãã«ã¯ãCOLOR-recent.gif ãšããååã®ç»åã䜿çšããŸãã
éå» 24 æé以å ã ãããã® GIF ãã¡ã€ã«ã¯æ¬¡ã®å Žæã«ã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã
$XYMONHOME/www/gifs/ ãã£ã¬ã¯ããªã ããã©ã«ãã§ã¯ããããå€ã¯ 24 æéã«èšå®ãããŠããŸãã
å¥ã®æ¹æ³ãå¿ èŠãªå Žåã¯ãæéå¶éãæå®ããããšãã§ããŸãã äŸãã°
ã--recentgifs=3hãã¯ãã¹ããŒã¿ã¹å€æŽåŸ 3 æéã ãæè¿ã® GIF ã衚瀺ããŸãã
--sort-group-only-items
éåžžã®ãã°ã«ãŒãã®ã¿ããã£ã¬ã¯ãã£ãã§ã¯ããã¹ãã®é åºãæå®ã§ããŸãã
å·Šããå³ãžè¡šç€ºãããŸãã ã«ãªã¹ããããŠãããã¹ããåžæããå Žåã¯ã
ã¢ã«ãã¡ãããé ã®å Žåã¯ããã®ãªãã·ã§ã³ã䜿çšããŸããããŒãžã¯ãã°ã«ãŒãã®ã¿ããçæããŸãã
ã°ã«ãŒãã¯éåžžã®ã°ã«ãŒããçæããã®ãšåæ§ã«ããã¹ããã¢ã«ãã¡ãããé ã«äžŠã¹æ¿ããŸãã
--dialupskin=URL
ãã¹ãããã€ã€ã«ã¢ãã ãã¹ãã§ããããšãèŠèŠçã«ç€ºãããå Žåã¯ã代æ¿ãã¹ãã䜿çšã§ããŸãã
ç·/èµ€/é»>/ãªã©ã®ã¢ã€ã³ã³ã®ã»ããã ãã®ãªãã·ã§ã³ãæå®ãããšç»åã衚瀺ãããŸãã ã®
ããã§æå®ããã URL ãã©ã¡ãŒã¿ã¯ãXYMONSKIN ã®éåžžã®èšå®ããªãŒããŒã©ã€ãããŸãã
ç°å¢å€æ°ã§ããããã€ã€ã«ã¢ãã ãã¹ãã®ã¿ã«äœ¿çšãããŸãã
--reverseskin=URL
ã--dialupskinããšåãã§ãããéæ¹åã®ãã¹ã (å é ã«ã!ããä»ããŠãããã¹ã) çšã§ãã
--tooltips=[åžžã«ã決ããŠãã¡ã€ã³]
ãã¹ãã®èª¬æã衚瀺ããããã«ããŒã«ãããã䜿çšããããŒãžã決å®ããŸã (
ã®ã³ã¡ã³ããšã³ã㪠ãã¹ã.cfg(5) ãã¡ã€ã«ïŒã ã«èšå®ãããŠããå Žå åžžã«ãããŒã«ãããã¯ãã¹ãŠã§äœ¿çšãããŸã
ããŒãžã ã«èšå®ãããŠããå Žå 決ããŠãããŒã«ãããã¯æ±ºããŠäœ¿çšãããŸããã ã«èšå®ãããŠããå Žå ã¡ã€ã³ãããŒã«ãããã䜿çšãããŸã
ã¡ã€ã³ ããŒãžã«ã¯ãããŸãããããã¹ãŠã®éã°ãªãŒã³ãããŒãžãŸãã¯ãéèŠãªã·ã¹ãã ãããŒãžã«ã¯ãããŸããã
ã«ã©ã SELECTION OPTIONS
ãããã®ãªãã·ã§ã³ã¯ãã«ãã£ãŠçæããã Web ããŒãžã«ã©ã®å (ãã¹ã) ãå«ãŸãããã«åœ±é¿ããŸãã
ãã·ã¢ã³ã²ã³ã
--ignorecolumns=ãã¹ã[,ãã¹ã]
æå®ãããåã¯ãWeb ããŒãžã®çææã« xymongen ã«ãã£ãŠå®å šã«ç¡èŠãããŸãã
ãã€ãºã®å€ããã¹ãã®äžéšãé€å€ããã¬ããŒãã®çæã«äœ¿çšã§ããŸãã
ãã¡ãã»ãŒãžãã®ããã«ã
--ã¯ãªãã£ã«ã«ã¬ããã®ã¿
ãéèŠãããŒãžã«ã¯èµ€è²ã®ã¹ããŒã¿ã¹åã®ã¿ãå«ãŸããŸãã ããã©ã«ãã§ã¯ã
ã¯ãªãã£ã«ã« ããŒãžã«ã¯ãèµ€è²ãé»è²ãéæã®ã¹ããŒã¿ã¹ãæã€ãã¹ããå«ãŸããŸãã
--nongreen-colors=COLOR[,COLOR]
ãç·è²ä»¥å€ã®ãã¹ãŠãã¹ããŒã¿ã¹ ããŒãžã«ãã¹ãã衚瀺ãããè²ãå®çŸ©ããŸãã
è²ã¯èµ€ãé»ã玫ã®ããããã§ãã ããã©ã«ãã§ã¯ãXNUMX ã€ãã¹ãŠãå«ãŸããŸãã
--nongreen-ignorecolumns=ãã¹ã[,ãã¹ã]
--ignorecolumns ãšåãã§ããããç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã®ãã¹ãã«ã®ã¿é©çšãããŸãã
--nongreen-ignorepurples
éæšå¥šã®ããã代ããã«ã--nongreen-colorsãã䜿çšããŠãã ããã
--nongreen-ignoredialups
ãç·è²ä»¥å€ã®ãã¹ãŠãããŒãžã«ãããã¹ãŠã®ãã€ã€ã«ã¢ãã ãã¹ã (ã€ãã³ã ãã°ãå«ã) ãç¡èŠããŸãã
--ããŒãžãªã
éåžžã®ããŒãžãçæããŸãã (éåžžã¯ãç·è²ä»¥å€ã®ããŒãžã®ã¿ãçæããããã«äœ¿çšãããŸã)
ããŒãžïŒã
--éç·ãªã
ããã¹ãŠéç·è²ãããŒãžãçæããŸããã
--includecolumns=ãã¹ã[,ãã¹ã]
ããã¹ãŠã®éç·è²ãããŒãžã«ã¯åžžã«ãããã®åãå«ããŸã ç¹å®ã®åãå«ããŸã
è²ã«é¢ä¿ãªããnongreen.html ããŒãžäžã§ã éåžžãnongreen.html ã¯
test-column (ãã¹ãŠã®ãã¹ããç·è²ã®å Žå)ã ããã¯ãããšãã°ãåžžã«ãžã®ãªã³ã¯ãæã€ããã«äœ¿çšã§ããŸãã
nongreen.html ããŒãžã®ãã¬ã³ãå (RRD ã°ã©ãä»ã)ã
--eventignore=ãã¹ã[,ãã¹ã]
ãç·è²ä»¥å€ã®ãã¹ãŠãã€ãã³ã ãã°è¡šç€ºã«ãããããã®ãã¹ãã¯ç¡èŠããŠãã ããã
ã¹ããŒã¿ã¹ äŒæ¬ OPTIONS
ãããã®ãªãã·ã§ã³ã¯ãããŒãžéå±€ã®äžæ¹ãžã®ã¹ããŒã¿ã¹ã®éåžžã®äŒæãæå¶ããŸãã
ãããã£ãŠããã¹ãã®ã¹ããŒã¿ã¹ãé»è²ãŸãã¯èµ€è²ã§ãã£ãŠããããŒãžå šäœãç·è²ã®ãŸãŸã§ããå¯ââèœæ§ããããŸãã
ããã¯ãã¢ã©ãŒã ãçºçãããå¿ èŠã¯ãªãããã¢ã©ãŒã ãçºçãããå¿ èŠããããã¹ãã«åœ¹ç«ã¡ãŸãã
å®éã®ã¹ããŒã¿ã¹ã ãããã®ãªãã·ã§ã³ã¯ããã¹ãŠã®ãã¹ãã®ã°ããŒãã«ãªããã©ã«ããèšå®ããŸãã NOPROPRED ã䜿çšã§ããŸã
ããã³ NOPROPYELLOW ã¿ã° ãã¹ã.cfg(5) ãã¹ãããšã«åæ§ã®å¶éãé©çšãããã¡ã€ã«
åºæ¬ã
--noprop yellow=test[,test] ãŸã㯠--noprop=test[,test]
é»è²ã®å Žåãã¹ããŒã¿ã¹ã®äžæ¹ãžã®äŒæãç¡å¹ã«ããŸãã ã--nopropããªãã·ã§ã³ã¯éæšå¥šã«ãªããŸãã
䜿çšããªãã§ãã ããã
--noproppurple=ãã¹ã[,ãã¹ã]
PURPLEã®å Žåãäžåãã®ã¹ããŒã¿ã¹äŒæãç¡å¹ã«ããŸãã
--nopropred=ãã¹ã[,ãã¹ã]
èµ€ãŸãã¯é»è²ã®å Žåãäžåãã®ã¹ããŒã¿ã¹äŒæãç¡å¹ã«ããŸãã
--nopropack=ãã¹ã[,ãã¹ã]
ã¹ããŒã¿ã¹ã確èªãããå Žåãäžåãã®ã¹ããŒã¿ã¹äŒæãç¡å¹ã«ããŸãã ãæã¿ãªãã°
ãã¹ãŠã®ç¢ºèªæžã¿ãã¹ãã®äŒéãç¡å¹ã«ããã«ã¯ãã--nopropack=*ãã䜿çšããŸãã
PURPLE ã¹ããŒã¿ã¹ OPTIONS
玫è²ã®ã¹ããŒã¿ã¹ã¯ããã¹ã ã¹ããŒã¿ã¹ã®ã¬ããŒããåæ¢ãããšãã«çºçããŸãã ãã¹ãã¹ããŒã¿ã¹ã¯ã
å¶éæé - éåžž 30 å - ãã®æéãéãããšããã¹ãã¯æ¬¡ã®ããã«ãªããŸãã
玫ã®ã
--purplelog=ãã¡ã€ã«å
ãã¹ãŠã®çŽ«è²ã®ã¹ããŒã¿ã¹ ã¡ãã»ãŒãžã®ãã°ãã¡ã€ã«ãçæããŸãã
ALTERNATE ããŒãžã»ãã OPTIONS
--pageset=ããŒãžã»ããå
ããã©ã«ããšã¯ç°ãªã代æ¿ããŒãžã»ããã® Web ããŒãžãæ§ç¯ããŸãã ãããŒãžã»ãããã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
ãåç §ããŠãã ããã
--template=ãã³ãã¬ãŒã
ããã㌠ãã¡ã€ã«ãšããã¿ãŒ ãã¡ã€ã«ã«ã¯ä»£æ¿ãã³ãã¬ãŒãã䜿çšããŸãã éåžžäžç·ã«äœ¿çšãããã®ã¯ã
ã--pagesetããªãã·ã§ã³; 以äžã®ãããŒãžã»ãããã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
ALTERNATE åºå æžåŒ
--wml[=test1,test2,...]
ãã®ãªãã·ã§ã³ã«ãããxymongen ã¯äžé£ã® WML ãã«ãŒãããã¡ã€ã«ãçæããŸãã
WAP ããã€ã¹ (æºåž¯é»è©±ãPDA ãªã©) ã«ãã£ãŠã¢ã¯ã»ã¹ããããçæããããã¡ã€ã«ã«ã¯ã
æå®ããããã¹ã㧠RED ãŸã㯠YELLOW ã¹ããŒã¿ã¹ãæã€ãã¹ãã ãã®ãªãã·ã§ã³ã§å®çŸ©ã§ããã®ã¯ã
å«ããããã©ã«ãã®ãã¹ã - ããã©ã«ãã¯ã
ãWML:ããŸãã¯ãNK:ãã¿ã° ãã¹ã.cfg(5) ãã¡ã€ã«ã ãã¹ããæå®ãããŠããªãå Žåã¯ããã¹ãŠã®ãã¹ãã
å«ãŸããŸãã
--nstab=ãã¡ã€ã«å
Netscape 6/Mozilla ãµã€ãã㌠ãšã³ããªã«é©ãã HTML ãã¡ã€ã«ãçæããŸãã å®ã¯
ãŠãŒã¶ãŒããã®ãããªãµã€ãã㌠ãšã³ããªãååŸã§ããããã«ããã«ã¯ã次㮠JavaScript ã³ãŒããå¿ èŠã§ãã
Web ããŒãž (ããšãã°ã$XYMONHOME/web/stdnormal_header ãã¡ã€ã«ã«å«ããããšãã§ããŸã):
<!--
é¢æ° addNetscapePanel() {
if ((typeof window.sidebar == "ãªããžã§ã¯ã") &&
(window.sidebar.addPanel ã®çš®é¡ == "é¢æ°"))
window.sidebar.addPanel ("Xymon",
"http://your.server.com/nstab.html"ã"");
ã»ãã«
alert("Mozilla ãŸã㯠Netscape 6+ ã®ã¿ã®ãµã€ãããŒ");
}
//->
次ã«ãããããã³ãã¬ãŒããšããŠäœ¿çšããŠããããããµã€ãããŒã«è¿œå ããªã³ã¯ãå«ããããšãã§ããŸãã
ãµã€ãããŒã«è¿œå
ãŸãã¯ãæšæºã® Netscape ã®ãã¿ãã®è¿œå ããã¿ã³ã䜿çšãããå Žåã¯ãããããŸãã
ã
<IMG SRC="/gifs/add-button.gif" é«ã=45 å¹ =100
ALT="[ãµã€ãããŒãè¿œå ]" STYLE="border:0">
ãadd-button.gifãã¯ãNetscape ããå ¥æã§ããŸãã
http://developer.netscape.com/docs/manuals/browser/sidebar/add-button.gif.
FILENAME ãã¹ã©ãã·ã¥ã§å§ãŸããªãå ŽåãNetscape ãµã€ãã㌠ãã¡ã€ã«ã¯
$XYMONHOME/www/ ãã£ã¬ã¯ããªã
--nslimit=COLOR
Netscape ãµã€ãããŒã«å«ããæå°ã®è² - ããã©ã«ãã¯ãèµ€ãã§ãã
éèŠãªã¢ã©ãŒãã®ã¿ãå«ãŸããŸãã èŠåãå«ãããå Žåã¯ã次ã䜿çšããŸã
ã--nslimit=é»è²ãã
--rss Xymon ã¢ã©ãŒãã® RSS/RDF ã³ã³ãã³ãé ä¿¡ã¹ããªãŒã ãçæããŸãã ãã®åºå圢åŒã¯
ã©ã€ã ãã¥ãŒã¹ãã£ãŒããšåæ§ã«ãä»ã® Web ããŒãžã«åçã«åã蟌ãããšãã§ããŸãã
ãŠã§ããµã€ãã§èŠãããŸãã XNUMX ã€ã® RSS ãã¡ã€ã«ãçæãããXNUMX ã€ã¯ããã¹ãŠã®é
ç·è²ã®ããŒãžããã XNUMX ã€ã¯ãé倧ãããŒãžãè¡šããŸãã
ãããããnongreen.rssããã¡ã€ã«ãšãcritical.rssããã¡ã€ã«ã ããã«ãRSS ãã¡ã€ã«
ããŒãžããã³/ãŸãã¯ãµãããŒãžããšã«çæããããã®ããŒãžã«ååšãããã¹ãããªã¹ããããŸãã
ããŒãžãŸãã¯ãµãããŒãžã
以å --rss ãªãã·ã§ã³ã§èš±å¯ãããŠãã FILENAME ãã©ã¡ãŒã¿ã¯å»æ¢ãããŸããã
RSS/RDF ã³ã³ãã³ã ãã£ãŒãã®è©³çŽ°ã«ã€ããŠã¯ã以äžãåç §ããŠãã ããã
http://www.syndic8.com/.
--rssextension=.EXTENSION
xymongen ã«ãã£ãŠçæããã RSS ãã¡ã€ã«ã«äœ¿çšããããã¡ã€ã«åæ¡åŒµåãèšå®ããŸãã ã«
ããã©ã«ãã§ã¯ãæ¡åŒµåã.rssãã䜿çšãããŸãã ããããããæå®ããå¿ èŠãããããšã«æ³šæããŠãã ããã
--rssversion={0.91|0.92|1.0|2.0}
RSS/RDF ãã£ãŒãã®ç®çã®åºå圢åŒã ããŒãžã§ã³0.91ãæãåªããŠããããã§ã
äžè¬çã«äœ¿çšããã圢åŒã§ããããã®ãªãã·ã§ã³ãçç¥ãããå Žåã®ããã©ã«ãã§ãã
--rsslimit=COLOR
RSS ãã£ãŒãã«å«ããæå°ã®è² - ããã©ã«ãã¯ãèµ€ãã§ããããã¯ãã®ã¿ãæå³ããŸãã
é倧ãªã¢ã©ãŒããå«ãŸããŸãã èŠåãå«ãããå Žåã¯ã次ã䜿çšããŸã
ã--rslimit=é»è²ãã
OPTIONS äžå€ BY CGI ããã³ããšã³ã
--reportopts=START:END:DYNAMIC:STYLE
ã¬ããŒãçæã¢ãŒã㧠xymongen ãåŒã³åºããŸãã ããã¯éåžžã
ã¬ããŒã.cgi(1) CGI ã¹ã¯ãªããã§ãããäºåçææã«çŽæ¥äœ¿çšããããšãã§ããŸãã
å ±åããŸãã START ãã©ã¡ãŒã¿ã¯ãUnix time_t ã§ã®ã¬ããŒãã®éå§æå»ã§ãã
åœ¢åŒ (1 幎 1970 æ 00 æ¥ 00:XNUMX UTC ããã®ç§æ°); END ã¯ã¬ããŒãã®çµäºæå»ã§ãã
DYNAMIC ã¯ãäºåã«äœæãããã¬ããŒãã®å Žå㯠0ãåç (ãªã³ã©ã€ã³) ã¬ããŒãã®å Žå㯠1 ã§ãã ã¹ã¿ã€ã«ã¯
ã¯ãªãã£ã«ã« (èµ€) ã€ãã³ãã®ã¿ãå«ããå Žåã¯ãcritããç·ä»¥å€ã®ãã¹ãŠã®ã€ãã³ããå«ããå Žåã¯ãnongrã
eventsããã¹ãŠã®ã€ãã³ããå«ãå Žåã¯ãallãã
--csv=ãã¡ã€ã«å
--reportopts ãšäžç·ã«äœ¿çšãããšãxymongen ãå¯çšæ§ãçæããŸãã
ã«ã³ãåºåãå€ (CSV) ãã¡ã€ã«ã®åœ¢åŒã§ã¬ããŒããäœæããŸãã ãã®åœ¢åŒãäžè¬çã§ã
ããã«åŠçããããã«ã¹ãã¬ããã·ãŒãã«ã€ã³ããŒãããããã«äœ¿çšãããŸãã
CSV ãã¡ã€ã«ã«ã¯ Unix ã¿ã€ã ã¹ã¿ã³ããå«ãŸããŠããŸãã ãããã人éãå€èªã§ããæéãšããŠè¡šç€ºããã«ã¯
ãšã¯ã»ã«ãæ°åŒ =C2/86400+DATEVALUE(1 幎 1970 æ XNUMX æ¥) (Unix ã¿ã€ã ã¹ã¿ã³ããããå Žå
ã»ã«C2)ã§äœ¿çšã§ããŸãã çµæã®ã»ã«ã¯æ¥ä»/æå»ãšããŠãã©ãŒããããããå¿ èŠããããŸãã
åéã ã¿ã€ã ã¹ã¿ã³ã㯠UTC ã§ãããããããŒã«ã«ã®ã¿ã€ã ã¹ã¿ã³ããåŠçããå¿ èŠãããå Žåãããããšã«æ³šæããŠãã ããã
ã¿ã€ã ãŸãŒã³ãš DST ã¯èªåã§èšå®ããŸãã
--csvdelim=DELIMITER
ããã©ã«ãã§ã¯ãCSV åºåã®ãã£ãŒã«ããåºåãããã«ã«ã³ãã䜿çšãããŸãã è±èªä»¥å€ã®äººããã
ã¹ãã¬ããã·ãŒãã§ã¯ãå¥ã®åºåãæå (éåžžã¯ã»ãã³ãã³) ã䜿çšãããŸãã CSVãçæããã«ã¯
ãã¡ã€ã«ã«é©åãªåºåãæåãå«ãŸããŠããå Žåã¯ããã®ãªãã·ã§ã³ã䜿çšããŠã䜿çšããæåãèšå®ã§ããŸãã
åºåãæåãšããŠã äŸ: "--csvdelim=;" - ããã¯éåžžã¯äºéã§ããå¿ èŠãããããšã«æ³šæããŠãã ãã
Unix ã·ã§ã«ãåºåãæåãæåãšããŠè§£éããã®ãé²ãããã®åŒçšç¬Šã
ã³ãã³ãã©ã€ã³ã®åºåãæåã
--ã¹ãããã·ã§ãã=æé
TIME ã«è¡šç€ºããã Xymon ããŒãžã®ã¹ãããã·ã§ãããçæããŸãã TIMEã¯æ¬¡ã®ããã«äžããããŸã
1 幎 1970 æ 00 æ¥ 00:XNUMX UTC ããã®ç§æ°ã éåžžã¯æ¬¡ã®æ¹æ³ã§äœ¿çšãããŸãã ã¹ãããã·ã§ãã.cgi(1) CGI
ã¹ã¯ãªããã
ãããã° OPTIONS
- ãããã°
xymongen ã倧éã®ãããã°åºåã stdout ã«ãã³ãããŸãã
-DDEBUG ãæå¹ã«ããŠã³ã³ãã€ã«ãããŸããã xymongen ã«é¢ããåé¡ãå ±åããå Žåã¯ã次ã®ããšãè¡ã£ãŠãã ããã
åé¡ãåçŸãããã㧠xymongen ãå®è¡ããçµæã®åºåãæäŸããŠã¿ãŠãã ããã
ãªãã·ã§ã³ãéžæããŸãã
- ã¿ã€ãã³ã°
xymongen ã®ããŸããŸãªéšåã§è²»ããããæéã«é¢ããæ å ±ãæšæºåºåã«ãã³ãããŸãã ãã
åŠçã®ã©ã®éšåãå®è¡æã«åœ±é¿ãäžããŠãããã確èªããã®ã«åœ¹ç«ã¡ãŸãã
ãã·ã¢ã³ã²ã³ã
泚: ãã®æ å ±ã¯ãXymon ãã£ã¹ãã¬ã€ã«éä¿¡ãããåºåã«ãæäŸãããŸãã
ã--reportããªãã·ã§ã³ã䜿çšããå Žåã
ãã« ALTERNATE ããŒãžã»ãã
xymongen ã®ããŒãžã§ã³ 1.4 ã§ã¯ã以äžããè€æ°ã®ããŒãž ã»ãããçæã§ããããã«ãªããŸããã
åãããŒã¿ã§ãã
XNUMX ã€ã®ã°ã«ãŒãã®äººã Xymon ã® Web ããŒãžãèŠãŠãããšä»®å®ããŸãã ã°ã«ãŒãAãæãã§ããã®ã¯ã
ãã¹ããæå±ããã¯ã©ã€ã¢ã³ãããšã«ã°ã«ãŒãåãããŠããŸãã ããã Xymon ã®ã»ããã¢ããæ¹æ³ã§ã -
ããã©ã«ãã®ããŒãžã»ããã ããã§ãã°ã«ãŒã B ã¯ãã¹ãããªãã¬ãŒãã£ã³ã° ã·ã¹ãã ããšã«ã°ã«ãŒãåããããšèããŠããŸã -
ããããosãã»ãããšåŒã³ãŸãã 次ã«ã次ã®ããã«ããŒãž ã¬ã€ã¢ãŠãã hosts.cfg ã«è¿œå ããŸãã
OSPAGE WIN Microsoft Windows
ossubpage win-nt4 MS Windows NT 4
osgroup NT4 ãã¡ã€ã«ãµãŒããŒ
osgroup NT4 ã¡ãŒã«ãµãŒããŒ
ossubpage win-xp MS Windows XP
ospage unix Unix
ossubpage unix-sun Solaris
ossubpage unix-linux Linux
ããã«ãããXNUMX ã€ã®ãããã¬ãã« ããŒãž (xymon.html ããŒãž) ãš XNUMX ã€ã®ããŒãžãããªãäžé£ã®ããŒãžãå®çŸ©ãããŸãã
xymon.html (win.html ããã³ unix.html) ãããªã³ã¯ãããŠãããããšãã° win.html ããŒãžããã¯æ¬¡ã®ããã«ãªããŸãã
ãµãããŒãž win-nt4.html ããã³ win-xp.html
æ§æã¯ãhosts.cfg ã®éåžžã®ãpageãããã³ãsubpageããã£ã¬ã¯ãã£ããšåãã§ããã
ãã£ã¬ã¯ãã£ãã«ã¯ããŒãžã»ããåãæ¥é èŸãšããŠä»ããããŸãã ããŒãžã®éã«ãã¹ããå ¥ããªãã§ãã ãã
ããã³ãµãããŒãž ãã£ã¬ã¯ãã£ã - ãã¹ãŠã®ãã£ã¬ã¯ãã£ãã hosts.cfg ãã¡ã€ã«ã®å é ã«è¿œå ããã ãã§ãã
ã§ã¯ãããŒãžã«ãã¹ããè¿œå ããã«ã¯ã©ãããã°ããã§ãããã? ã·ã³ãã« - ãã¹ãã«ã¿ã°ãOS:win-xpãã眮ãã ãã§ã
å®çŸ©è¡ã ãOSãã¯ããŒãžã»ããåã«äœ¿çšããããã¬ãã£ãã¯ã¹ãšåãã§ããå¿ èŠããããŸããã
倧æåã ãwin-xpãã¯ããã®å ã§å®çŸ©ãããŠããããŒãžãŸãã¯ãµãããŒãžã® XNUMX ã€ãšäžèŽããå¿ èŠããããŸãã
ããŒãžã»ããã äŸãã°
207.46.249.190 www.microsoft.com # OS:win-xp http://www.microsoft.com/
64.124.140.181 www.sun.com # OS:unix-sun http://www.sun.com/
ãã®ããŒãžã§å®çŸ©ãããã°ã«ãŒãå ã«ãã¹ãã衚瀺ãããå Žåã¯ããã®ãã¹ããèå¥ããå¿ èŠããããŸãã
1 ããå§ãŸãçªå·ããšã«ã°ã«ãŒãåããŸããããšãã°ããNT4 ã¡ãŒã« ãµãŒããŒãã°ã«ãŒãå ã«ãã¹ããé 眮ããŸãã
äžã®äŸã§ã¯ããOS:win-nt4,2ã(ãwin-nt4ãããŒãžã® XNUMX çªç®ã®ã°ã«ãŒã) ã䜿çšããŸãã
ãã¹ãããµãããŒãžã§ã¯ãªãããã³ãããŒãžã«è¡šç€ºãããå Žåã¯ã "OS:*" ã䜿çšããŸãã
ãããã¯ãã¹ãŠãæ°ããããŒãžã»ããã®ã¬ã€ã¢ãŠããå®çŸ©ããã ãã§ãã ãããçæããã«ã¯ã次ãå®è¡ããå¿ èŠããããŸã
å®çŸ©ããããŒãžã»ããããšã« xymongen ã XNUMX åå®è¡ããŸããã€ãŸãã次ã®ãããªæ¡åŒµã¹ã¯ãªãããäœæããŸãã
#!/bin/sh
XYMONWEB="/xymon/os" $XYMONHOME/bin/xymongen \
--pageset=os --template=os \
$XYMONHOME/www/os/
ããã $XYMONHOME/ext/os-display.sh ã«ä¿åããXymon æ¡åŒµæ©èœãšããŠå®è¡ããããã«èšå®ããŸãã
ããã¯ãtasks.cfg ãå®è¡ããããã«è¿œå ã®ã»ã¯ã·ã§ã³ãè¿œå ããããšãæå³ããŸãã
ããã«ããããŒãžãçæãããŸãã ããã§ã¯ããã€ãã®éèŠãªãªãã·ã§ã³ã䜿çšãããŠããŸãã
* XYMONWEB="/xymon/os" ç°å¢å€æ°ãããã³
ã$XYMONHOME/www/os/ããªãã·ã§ã³ã¯é£æºããŠæ©èœãã
æ°ããããŒãžã»ããã® HTML ãã¡ã€ã«ã¯éåžžã®ãµããã£ã¬ã¯ããªã«ãããŸã
ã¶ã€ã¢ã³ã®ãŠã§ãã«ãŒãã éåžžãXymon ããŒãžã«ã¢ã¯ã»ã¹ããå Žåã¯ã
"http://xymon.acme.com/xymon/ããšã¢ã¯ã»ã¹ãããšã
æ°ããããŒãžã»ããã¯ãhttp://xymon.acme.com/xymon/os/"
泚æ: XYMONWEB ãšããŠæå®ããããã£ã¬ã¯ããªã«ã¯ãã·ã³ããªã㯠ãã¡ã€ã«ãå«ãŸããŠããå¿ èŠããããŸãã
$XYMONHOME/www/html/ ãã£ã¬ã¯ããªãžã®ãªã³ã¯ããŸãã¯ãžã®ãªã³ã¯
åå¥ã®ã¹ããŒã¿ã¹ ã¡ãã»ãŒãžã¯æ©èœããŸããã é¡äŒŒãªã³ã¯
gifs/ãhelp/ãnotes/ çšã«äœæããå¿ èŠããããŸãã
ãã£ã¬ã¯ããªã
* ã--pageset=osãã¯ãxymongen ã« Web ããŒãžãæ§é åããããæ瀺ããŸãã
ããã©ã«ãã®ã¬ã€ã¢ãŠãã®ä»£ããã«ãosãã¬ã€ã¢ãŠãã䜿çšããŸãã
* ã--template=osãã¯ãxymongen ã«å¥ã®ã»ããã䜿çšããããã«æ瀺ããŸãã
ããããŒãšããã¿ãŒã®ãã³ãã¬ãŒãã éåžžãxymongen ã¯
$XYMONHOME/web/stdnormal_header ã®æšæºãã³ãã¬ãŒããš
.../stdnormal_footer - ãã®ãªãã·ã§ã³ã䜿çšãããšã代ããã«äœ¿çšãããŸãã
ãã¡ã€ã«ãos_headerããšãos_footerã
$XYMONHOME/web/ ãã£ã¬ã¯ããªã ããã«ããã«ã¹ã¿ãã€ãºãå¯èœã«ãªããŸã
åããŒãžã»ããã®ããããŒãšããã¿ãŒã ãã 欲ãããªã
éåžžã®ãã³ãã¬ãŒãã䜿çšããå Žåã¯ããã®ãªãã·ã§ã³ãçç¥ã§ããŸãã
䜿çšãã ãã·ã¢ã³ã²ã³ FOR ã¬ããŒã
xymongen ã¬ããŒãã¯ãæšæºã® Xymon ã®ããããã€ã³çœ®æã«ãã£ãŠå®è£ ãããŸãã
Web ãµãŒã㌠cgi-bin ã«ã€ã³ã¹ããŒã«ãããŠããã¬ããŒã ã¹ã¯ãªãã (report.sh ããã³ reportlog.sh)
ãã£ã¬ã¯ããªã«ãããŸãã
ããã XNUMX ã€ã®ã·ã§ã« ã¹ã¯ãªããã¯ãXNUMX ã€ã®éåžžã«å°ããªã·ã§ã« ã¹ã¯ãªããã«çœ®ãæããããŸããã
Xymon ç°å¢å€æ°ãèšå®ãã ã¬ããŒã.cgi(1) or ã¬ããŒããã°.cgi(1)
$XYMONHOME/bin/ ã®ã¹ã¯ãªãã
ã¬ããŒããçæãããšãã« xymongen ã³ãã³ãã©ã€ã³ ãªãã·ã§ã³ã䜿çšã§ããŸããããšãã°ãç¹å®ã®ã¬ããŒããé€å€ããããšãã§ããŸãã
ã¬ããŒãããã®ãã¹ãã®çš®é¡ (äŸ: "--ignorecolumns=msgs")ããã¹ãã®ååãæå®ããŸãã
ã¬ããŒãã«å«ããã¹ãã§ã¯ãªããã¬ã³ãåãšæ å ±åããŸãã¯ã¬ããŒãã®æžåŒãèšå®ããããã®å
ç°ãªããŸã (äŸ: "--subpagecolumns=2")ã ç¹å®ã®ãªãã·ã§ã³ã䜿çšãããå Žåã¯ã
ã¬ããŒã㯠Web ã€ã³ã¿ãŒãã§ã€ã¹ããçæãããããããããã®ãªãã·ã§ã³ã
XYMONGENREPOPTS ç°å¢å€æ°å ã® $XYMONHOME/etc/xymonserver.cfg ãã¡ã€ã«ã
xymongen ã«ãã£ãŠçæãããã¬ããŒã ãã¡ã€ã«ã¯ãåå¥ã®ãã£ã¬ã¯ããªã«ä¿åãããŸã (åãã£ã¬ã¯ããªã« XNUMX ã€)ã
report) $XYMONHOME/www/rep/ ãã£ã¬ã¯ããªã®äžã«ãããŸãã ãããã¯èªåçã«ã¯ãªãŒã³ã¢ãããããã¯ãã§ã
- æ°ããã¬ããŒããçæããããšãå€ãã¬ããŒãã¯åé€ãããŸãã
ã€ã³ã¹ããŒã«åŸãã¬ããŒããçæããŠã¿ãŠãã ããã ããããã次ã®ãªã³ã¯ã衚瀺ãããŸãã
å·Šäžé (ack.htmlãnongreen.html ãªã©) ãæ©èœããªããªããŸããã ããããä¿®æ£ããã«ã¯ã次ã®ããã«å€æŽããŸã
$XYMONHOME/web/repnormal_header ãã¡ã€ã«ãªã®ã§ããããã®ãªã³ã¯ã¯ã&XYMONWEBããåç §ããŠããŸãããã
Xymon ããŒãžã®éåžžã® URL ãã¬ãã£ãã¯ã¹ã«è¿œå ããŸãã
SLA å ±å
xymongen ã¬ããŒãã«ãããçã® SLA (ãµãŒãã¹ ã¬ãã« ã¢ã°ãªãŒã¡ã³ã) ã®çæãå¯èœã«ãªããŸãã
24 æé 7 æ¥ã§ã¯ãªããµãŒãã¹æéã«ã€ããŠãã¬ããŒããäœæãããŸãã ããã¯ã
ãã¹ãããµãŒãã¹æéãå®çŸ©ããããã®ãREPORTTIME:timespecãã¿ã°ãããã³ãªãã·ã§ã³ã§
ãWARNPCT:levelãã¿ã°ã¯ãåæãããå¯çšæ§ãå®çŸ©ããŸãã
泚ïŒãåç §ããŠãã ãã ãã¹ã.cfg(5) ãããã®ãªãã·ã§ã³ã®æ£ç¢ºãªæ§æã«ã€ããŠã¯ããããåç §ããŠãã ããã
ãREPORTTIME:timespecãã¯ããµãŒãã¹ã皌åããŠãããšäºæ³ãããæå»ãæå®ããŸãã
ã©ã³ãã³ã°ã ããã©ã«ãã§ã¯ããã㯠24 æ¥ XNUMX æéããã¹ãŠã®ææ¥ã§ãã SLA ãã«ããŒããç¯å²ã®ã¿ã®å Žå
ææããéæã®åå 7 æããååŸ 8 æãŸã§ãããããREPORTTIME=W:0700:2000ããšå®çŸ©ãããšãã¬ããŒã ãžã§ãã¬ãŒã¿ãŒã
次ã«ãéåžžã® 24 æé 7 æ¥ã®å¯çšæ§ã ãã§ãªãããSLA å¯çšæ§ããèšç®ããŸãã
SLA æéäžã®ãã¹ãã®ã¹ããŒã¿ã¹ã®ã¿ãèæ ®ãããŸãã
DOWNTIME:timespec ãã©ã¡ãŒã¿ã¯ãSLA å¯çšæ§ã®èšç®ã«åœ±é¿ããŸãã åé»ããå Žå
ãããŠã³ã¿ã€ã ãã®å¯èœæ§ããããšå®çŸ©ãããæéäžã«çºçããå Žåãé害ã¯æ¬¡ã®ã¡ãã»ãŒãžã§å ±åãããŸãã
ãéãã®ç¶æ ã (ãç¡å¹ãã«ããXymon ã䜿çšããŠãã¹ãããå Žåãåãè²ã䜿çšãããŸã)
ãç¡å¹åãæ©èœïŒã ãã¹ãã¹ããŒã¿ã¹ããéãã®æéã¯SLAã«å«ãŸããŸããã
ãã¹ããããŠã³ããŠãããšã¿ãªãããæéãã
ã¬ããŒããã«ããŒããåèšæéã ãããã£ãŠããéè²ãæéã¯äºå®äžç¡èŠãããŸãã
SLA å¯çšæ§èšç®ã«ãããã·ã¹ãã ã«åœ±é¿ãäžããããšãªãèšç»çãªããŠã³ã¿ã€ã ãå®çŸã§ããŸãã
SLA ã®å¯çšæ§ãå ±åããŸããã
äŸ: ãã¹ãã¯åèµ·åãããããããDOWNTIME:*:0700:0730 REPORTTIME=W:0600:2200ãã«ãªããŸãã
æ¯æ¥åå 7 æããåå 7.30 æ 6 åãŸã§ã§ããããµãŒãã¹ã¯åå 10 æããååŸ XNUMX æãŸã§å©çšã§ããå¿ èŠããããŸãã ããã«
ã¬ããŒãã®æ¥ãåå 7 æ 10 åããåå 7 æ 15 å (èšç»ãããåèµ·å) ãŸã§ããŠã³ããŠããŸãããã
ååŸ9æ53åããååŸ10æ15åãŸã§ã ãããã£ãŠããã®æ¥ã®ã€ãã³ãã¯æ¬¡ã®ãšããã§ãã
0700 : 10åé(600ç§)ç·è²
0710 : é 5åé(300ç§)
0715 : 14æé38å(52680ç§)ç·è²
2153 : 22åé(1320ç§)èµ€
2215 : ã°ãªãŒã³
ãµãŒãã¹ã¯ 600+52680 = 53280 ç§éå©çšã§ããŸãã 420ç§éããŠã³ïŒèµ€ïŒããŸã
(21:53ããSLAæéãçµäºãã22:00ãŸã§ã®æé)ã ã«å«ãŸããåèšæéã¯ã
ã¬ããŒãã¯ãéè²ã® 15 åé = 7 ç§ãé€ã 10 æé (åå 5 æããååŸ 53700 æ) ã§ãã ã€ãŸããSLA
å¯çšæ§ã¯ 53280/53700 = 99,22%
å¯çšæ§ãèšå®ããããã®ãWARNPCT:levelãã¿ã°ã hosts.cfg ãã¡ã€ã«ã§ãµããŒããããŠããŸãã
ãã¹ãããšã«ãããå€ãèšå®ããŸãã ãã®ãããå€ã¯ããã¹ãã次ã®ããã«å ±åããããã©ããã決å®ããŸãã
ã¬ããŒãã§ã¯ç·ãé»ããŸãã¯èµ€ã§è¡šç€ºãããŸãã ããã©ã«ãå€ã¯ãvia ã䜿çšããŠãã¹ãŠã®ãã¹ãã«èšå®ã§ããŸãã
XYMONREPWARN ç°å¢å€æ°ã§ããããã®ã¿ã°ã«ãã£ãŠãªãŒããŒã©ã€ããããŸãã ã¬ãã«ã¯æ¬¡ã®ããã«äžããããŸã
ããŒã»ã³ããŒãžãäŸ: "WARNPCT:98.5"
äºåã«çæããã ã¬ããŒã
éåžžãxymongen ã¯ãåçã«çæããã Web ããŒãžã«ãªã³ã¯ããã¬ããŒããçæããŸãã
ãã¹ãã®è©³çŽ°ãªã¹ããŒã¿ã¹ (reportlog.sh CGI ã¹ã¯ãªããçµç±)ã
ãããã®åçãªã³ã¯ãªã㧠xymongen ã«ã¬ããŒããçæãããããšãå¯èœã§ãã
ã¬ããŒãã¯å¥ã®ãµãŒããŒã«ãšã¯ã¹ããŒãã§ããŸãã ãäºåã«çæããŠãããšäŸ¿å©ãªå ŽåããããŸãã
è€æ°ã®ãŠãŒã¶ãŒã«åãã¬ããŒããçæãããããšã§è² è·ã軜æžããŸãã
ãããè¡ãã«ã¯ãæéãéžæããããã«ã--reportoptsããªãã·ã§ã³ãæå®ã㊠xymongen ãå®è¡ããå¿ èŠããããŸãã
ã¬ããŒãã察象ãšããééãã¬ããŒãã®ã¹ã¿ã€ã« (ã¯ãªãã£ã«ã«ãéã°ãªãŒã³ããŸãã¯ãã¹ãŠã®ã€ãã³ã)ã
ãããŠåçããŒãžãçæããªãããã«èŠæ±ããŸãã
æ§æã¯æ¬¡ã®ãšããã§ãã
xymongen --reportopts=éå§æå»:çµäºæå»:nodynamic:style
ãstarttimeããšãendtimeã㯠Unix ã® time_t å€ãã€ãŸã 1 æ XNUMX æ¥ããã®ç§æ°ãšããŠæå®ãããŸãã
1970 幎 00:00 GMTã 幞ããªããšã«ãããã¯ã次ã®å Žåã« GNU æ¥ä»ãŠãŒãã£ãªãã£ã䜿çšããŠç°¡åã«èšç®ã§ããŸãã
ã+%sãåºåãªãã·ã§ã³ã䜿çšããŠãã ããã GNU æ¥ä»ãŠãŒãã£ãªãã£ããæã¡ã§ãªãå Žåã¯ããããå ¥æããŠãã ãã
www.gnu.org ããã ãŸãã¯ãåãç®çã§ãetimeããŠãŒãã£ãªãã£ã䜿çšããããšãã§ããŸãã
www.deadcat.net ã®ã¢ãŒã«ã€ãããå ¥æã§ããŸãã
"nodynamic" 㯠0 (åçããŒãžã®å Žåãããã©ã«ã) ãŸã㯠1 (åçããŒãžãªããã€ãŸãäºå
çæããããããŒãž)ã
ãstyleãã¯ããcritãïŒã¯ãªãã£ã«ã«ãã€ãŸãèµ€ã®ã€ãã³ãã®ã¿ãå«ãïŒããnongrãïŒãã¹ãŠã®ã€ãã³ããå«ãïŒã®ããããã§ãã
ç·è²ä»¥å€ã®ã€ãã³ãïŒããŸãã¯ããã¹ãŠãïŒãã¹ãŠã®ã€ãã³ããå«ãïŒã
ä»ã® xymongen ãªãã·ã§ã³ã䜿çšã§ããŸããããšãã°ãç¹å®ã®é ç®ãé€å€ããå Žåã¯ã--ignorecolumnsãã§ãã
ã¬ããŒãããã®ãã¹ãã
éåžžã¯ãXYMONWEB ç°å¢å€æ°ãæå®ããå¿ èŠããããŸã (ç°å¢å€æ°ã¯äžèŽããå¿ èŠããããŸã)ã
ã¬ããŒãã«ã¢ã¯ã»ã¹ã§ããããã«ããããŒã¹ URL)ãããã³åºåãã£ã¬ã¯ããª
ã¬ããŒã ãã¡ã€ã«ãä¿åãããå Žæã XYMONWEB ãæå®ããå Žåã¯ããããã次ã®ããšãè¡ãå¿ èŠããããŸãã
XYMONHELPSKIN ããã³ XYMONNOTESSKIN ç°å¢å€æ°ãå®çŸ©ããŸãã ãããã¯æ¬¡ã®ããšãæããŠããã¯ãã§ã
Xymon ã®ãã«ã ãã¡ã€ã«ãšã¡ã¢ ãã¡ã€ã«ãååšãã URLã å®çŸ©ãããŠããªãå Žåã
ãã«ã ãã¡ã€ã«ãšããŒã ãã¡ã€ã«ãžã®ãªã³ã¯ã¯ã¬ããŒã ãã£ã¬ã¯ããªå ãæãããããã
åäœããŸããã
ãããã£ãŠãéçã¬ããŒãã«å¯Ÿãã xymongen ã®äžè¬çãªåŒã³åºãã¯æ¬¡ã®ããã«ãªããŸãã
START=`æ¥ä» +%s --date="22 幎 2003 æ 00 æ¥ 00:00:XNUMX"`
END=`æ¥ä» +%s --date="22 幎 2003 æ 23 æ¥ 59:59:XNUMX"`
XYMONWEB=/reports/bigbrother/daily/2003/06/22 \
XYMONHELPSKIN=/xymon/help \
XYMONNOTESSKIN=/xymon/notes \
xymongen --reportopts=$START:$END:1:crit \
--subpagecolumns=2 \
/var/www/docroot/reports/xymon/daily/2003/06/22
ãXYMONWEBãèšå®ã¯ãã¬ããŒãã次㮠URL ã§å©çšå¯èœã«ãªãããšãæå³ããŸãã
"http://www.server.com/reports/xymon/daily/2003/06/22ããã¬ããŒãã«ã¯å éšæ å ±ãå«ãŸããŠããŸã
ãã® URL ã䜿çšãããªã³ã¯ããããããå¥ã®å Žæã«ç°¡åã«ç§»åããããšã¯ã§ããŸããã
æåŸã®ãã©ã¡ãŒã¿ã¯ãWeb ãµãŒããŒäžã®å¯Ÿå¿ããç©çãã£ã¬ã¯ããªã§ããã
ã¶ã€ã¢ã³ãŠã§ãã®URLã ãã¡ãããã¬ããŒã ãã¡ã€ã«ã¯å¥œããªå Žæã«äœæã§ããŸãã
å¥ã®ãã·ã³ - ãã®åŸããããã Web ãµãŒããŒã«ç§»åããŸãã
ã©ã®ããã« date(1) ãŠãŒãã£ãªãã£ã¯ãéå§æéãã©ã¡ãŒã¿ãšçµäºæéãã©ã¡ãŒã¿ãèšç®ããããã«äœ¿çšãããŸãã
ENVIRONMENT å€æ°
ããŒããã£ã«ã¿ãŒ
ãã£ã«ã¿ãªã³ã°ã«ãã£ãŠãWeb ããŒãžã«å«ãŸãããã¹ã/ãã¹ããéžæããããã«äœ¿çšããããã£ã«ã¿
xymond vi xymondboard ã³ãã³ãããååŸããããŒã¿ã èŠã ãã·ã¢ã³(1) 詳现ã«ã€ããŠã¯
ãã£ã«ã¿ãŒæ§æã«ã€ããŠã ããã©ã«ãã§ã¯ããã£ã«ã¿ãªã³ã°ã¯è¡ãããŸããã
onworks.net ãµãŒãã¹ã䜿çšããŠãªã³ã©ã€ã³ã§ xymongen ã䜿çšãã