Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
monitors:retds [2015/03/17 10:51] – [rrd-status.pl] wnelis | monitors:retds [2015/03/17 14:11] – [Installation] wnelis | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Description ===== | ===== Description ===== | ||
- | --- THIS PAGE IS UNDER CONSTRUCTION --- | ||
- | Script retds.pl retrieves the DNS statistics of both BIND named servers and windows DNS servers. A table within this script specifies which statistics are to be extracted and defines the RRD file name and the DS name of these statistics at the same time. The DNS servers to be monitored by this script are defined in the Xymon hosts.cfg file, using keyword RNAMED. | + | Script retds.pl retrieves the DNS statistics of both BIND named servers |
Script retds.pl is a rewrite (in Perl) of script xymon-rnamedstats.sh written by Jerimy Laidman. It is extended to handle Windows DNS servers as well. | Script retds.pl is a rewrite (in Perl) of script xymon-rnamedstats.sh written by Jerimy Laidman. It is extended to handle Windows DNS servers as well. | ||
Line 19: | Line 18: | ||
Although script retds.pl is a server-side script, there is some work to do at the client-side as well. | Although script retds.pl is a server-side script, there is some work to do at the client-side as well. | ||
+ | |||
=== Client side on a BIND server === | === Client side on a BIND server === | ||
Line 26: | Line 26: | ||
For example, the statistics could be collected using the following crontab entry of user root: | For example, the statistics could be collected using the following crontab entry of user root: | ||
0-55/5 * * * * / | 0-55/5 * * * * / | ||
- | The associated RNAMED keyword in the Xymon hosts.cfg is: | + | |
- | RNAMED: | + | |
=== Client side on a Windows DNS server === | === Client side on a Windows DNS server === | ||
Line 41: | Line 40: | ||
copy c: | copy c: | ||
- | This information is retrieved by Xymon using the following RNAMED keyword: | ||
- | RNAMED: | ||
=== Server side === | === Server side === | ||
- | <TBD> | + | Script detds.pl will typically be placed in directory $XYMONHOME/ |
+ | |||
+ | [retds] | ||
+ | ENVFILE $XYMONHOME/ | ||
+ | CMD $XYMONHOME/ | ||
+ | LOGFILE $XYMONSERVERLOGS/ | ||
+ | INTERVAL 5m | ||
+ | |||
+ | In file $XYMONHOME/ | ||
+ | |||
+ | RNAMED: | ||
+ | TRENDS: | ||
+ | |||
+ | The same tags need to be specified for a Windows DNS server. Again, matching the example above the following values could be used: | ||
+ | |||
+ | RNAMED: | ||
+ | TRENDS: | ||
+ | |||
+ | In file $XYMONHOME/ | ||
===== Source ===== | ===== Source ===== | ||
==== retds.pl ==== | ==== retds.pl ==== | ||
Line 712: | Line 728: | ||
</ | </ | ||
+ | ==== graphs.cfg, bindstats ==== | ||
+ | |||
+ | The following snippet defines a graph showing the collected BIND statistics. Add this snippet to $XYMONHOME/ | ||
+ | |||
+ | <hidden onHidden=" | ||
+ | < | ||
+ | [bindstats] | ||
+ | TITLE , Bind query rates | ||
+ | YAXIS Rate [q/s] | ||
+ | -l 0 | ||
+ | DEF: | ||
+ | DEF: | ||
+ | DEF: | ||
+ | DEF: | ||
+ | DEF: | ||
+ | DEF: | ||
+ | CDEF: | ||
+ | AREA: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | AREA: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | AREA: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | AREA: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | AREA: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | LINE1: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | LINE1: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | GPRINT: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== graphs.cfg, wdnsstats ==== | ||
+ | |||
+ | The following snippet defines a graph showing the collected Windows DNS statistics. | ||
+ | |||
+ | <hidden onHidden=" | ||
+ | < | ||
+ | To Be Defined | ||
+ | </ | ||
+ | </ | ||
===== Known Bugs and Issues ===== | ===== Known Bugs and Issues ===== | ||