monitors:diskstat.pl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
monitors:diskstat.pl [2019/02/12 16:36] – [Installation] wnelismonitors:diskstat.pl [2019/02/12 16:43] – [To do] wnelis
Line 5: Line 5:
 ^ Requirements | Perl, Linux | ^ Requirements | Perl, Linux |
 ^ Download | None | ^ Download | None |
-^ Last Update | 2012-04-02 |+^ Last Update | 2019-02-12 |
  
 ===== Description ===== ===== Description =====
Line 33: Line 33:
 === Server side === === Server side ===
  
-At the Xymon server, it must be configured that this test uses the Devmon format. Therefore add the following line to ~xymon/server/etc/xymonserver.cfg or write the line in a file named diskstat.cfg in subdirectory ~xymon/server/etc/xymonserver.d:+At the Xymon server, it must be configured that this test uses the Devmon format. Therefore add the following two lines to ~xymon/server/etc/xymonserver.cfg or write them in a file named ~xymon/server/etc/xymonserver.d/diskstat.cfg:
  
 <code> <code>
 TEST2RRD+=",diskstat=devmon" TEST2RRD+=",diskstat=devmon"
 +GRAPHS+=",diskstat::1,diskstat0::1,diskstat1::1,diskstat2::1"
 </code> </code>
  
Line 153: Line 154:
 </code> </code>
  
-Define the diskstat graphs to be multi-graphs, which should show only one disk per graph, with the following modification in ~xymon/server/etc/cgioptions.cfg+Define the diskstat graphs to be multi-graphs with the following modification in ~xymon/server/etc/cgioptions.cfg:
 <code> <code>
 CGI_SVC_OPTS="... --multigraphs=diskstat,diskstat0,diskstat1,diskstat2" CGI_SVC_OPTS="... --multigraphs=diskstat,diskstat0,diskstat1,diskstat2"
-</code> 
-and the following modifications in ~xymon/server/etc/xymonserver.cfg: 
-<code> 
-TEST2RRD="...,diskstat" 
-GRAPHS="...,diskstat::1,diskstat0::1,diskstat1::1,diskstat2::1" 
 </code> </code>
  
Line 360: Line 356:
  
 ===== To do ===== ===== To do =====
-An option is to rework this script to send a trends-message to Xymon in stead of a status message. An advantage is that there is no need any more for script rrd_status.pl, a disadvantage might be the lack of a column named 'diskstat'.+An option is to rework this script to send a trends-message to Xymon in stead of a status message. The lack of a column named 'diskstat' might be an advantage for some.
  
 ===== Changelog ===== ===== Changelog =====
Line 366: Line 362:
   * **2012-04-02**   * **2012-04-02**
     * Initial release     * Initial release
-  * **2019-2-12**+  * **2019-02-12**
     * Use Devmon format to pass the statistics to xymon / RRD in stead of the NCV format.     * Use Devmon format to pass the statistics to xymon / RRD in stead of the NCV format.
  
  • monitors/diskstat.pl.txt
  • Last modified: 2019/02/16 17:53
  • by wnelis