From: Futamura N. <nor...@se...> - 2018-04-25 06:45:44
|
I have problems with graphing if_load of DEVMON. I want to graph the network traffic (if_load) of Windows clients with Xymon, but it does not work. Although the following settings were made referring to the guide, the setting of "Missing repeater data for primary OID ifName" is displayed on Xymon's monitoring screen. Since the rrd file of if_load does not exist in / home / xymon / data / rrd / client /, it seems that creation of rrd has failed, but a good method can not be found. If you have information on how to solve it, please provide information. https://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO/Devmon_SNMP ※ Because you are translating machines with google, please forgive me for poor English expression. 【Corresponding Details】 ● Configuration: · Xymon server OS: CentOS release 6.9 Xymon 4.3.17 Devmon version 0.3.1 - beta 1 ·client OS: Windows2012R2 SNMP v2 ● What you want to do: Graphically display the network traffic (if_load) of the client machine on the Xymon monitoring screen ● Completed work: 1) Xymon 4.3.17 installation 2) Devmon version 0.3.1 - beta 1 installation (to / usr / local / devmon) 3) Confirm that SNMP information of client can be obtained with snmpget command 4) Add "client IP address # DEVMON" to hosts.cfg and confirm that clients are displayed in Xymon monitoring target 5) Create template for client ① Create client directory under / usr / local / devmon / templates ② This time, try copying the complete set of "linux - openwrt" template to the client directory ③ Edit specs file 6) Execute "/ usr / local / devmon / devmon --readbbhosts - vvv" and confirm that the client is registered in hosts.db 7) Edit Xymon's tasks.cfg and add "- extra - script = ~ / devmon - rrd.pl - extra - tests = if - load" to the CMD of [rrdstatus] and [rrddata] 【Addendum part】 [rrdstatus] ENVFILE /home/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD xymond_channel - channel = status - log = $ XYMONSERVERLOGS / rrd - status.log xymond_rrd - rrddir = $ XYMONVAR / rrd - extra - script = / usr / local / devmon / extras / devmon - rrd.pl - extra-tests = if_load - debug # "rrddata" updates RRD files with information that arrives as "data" messages. [rrddata] ENVFILE /home/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD xymond_channel - channel = data - log = $ XYMONSERVERLOGS / rrd - data.log xymond_rrd - rrddir = $ XYMONVAR / rrd - extra - script = / usr / local / devmon / extras / devmon - rrd.pl - extra-tests = if_load - debug 9) "if_load = devmon" is appended to TEST 2 RRD of xymonserver.cfg 10) Add "devmon :: 2" to GRAPHS of xymonserver.cfg 11) Added graph definition of [if_load] to graphs.cfg [if_load] FNPATTERN if_load. (. *). Rrd TITLE Network Traffic YAXIS Bits / second DEF: in @ RRDIDX @ = @ RRDFN @: ds 0: AVERAGE CDEF: inbytes @ RRDIDX @ = in @ RRDIDX @, 8, * DEF: out @ RRDIDX @ = @ RRDFN @: ds 1: AVERAGE CDEF: outbytes @ RRDIDX @ = out @ RRDIDX @, 8, * LINE 1: inbytes @ RRDIDX @ # @ COLOR @: @ RRDPARAM @ In GPRINT: inbytes @ RRDIDX @: LAST:% 8.2 lf% s (cur) GPRINT: inbytes @ RRDIDX @: MAX:% 8.2 lf% s (max) GPRINT: inbytes @ RRDIDX @: MIN:% 8.2 lf% s (min) GPRINT: inbytes @ RRDIDX @: AVERAGE:% 8.2 lf% s (avg) \ n LINE 1: outbytes @ RRDIDX @ # @ COLOR @: @ RRDPARAM @ Out 12) "- multigraphs = if_load" is appended to CGI_SVC_OPTS of cgioptions.cfg ※ Reference URL https://translate.google.com/translate?hl=en&sl=en&u=https://sourceforge.net/p/devmon/mailman/message/23874966/&prev=search CGI_SVC_OPTS = "- env = $ XYMONENV - no - svcid - history - top - multigraphs = if - load" 13) Restart Xymon |