Both sides previous revision Previous revision | Next revisionBoth sides next revision |
monitors:retds [2015/03/17 14:03] – [graphs.cfg, bindstats] wnelis | monitors:retds [2015/03/17 14:08] – [Installation] wnelis |
---|
| |
[retds] | [retds] |
ENVFILE /path/to/xymon/server/etc/xymonserver.cfg | ENVFILE $XYMONHOME/etc/xymonserver.cfg |
CMD /path/to/xymon/server/ext/retds.pl | CMD $XYMONHOME/ext/retds.pl |
LOGFILE $XYMONSERVERLOGS/retds.log | LOGFILE $XYMONSERVERLOGS/retds.log |
INTERVAL 5m | INTERVAL 5m |
| |
In file /path/to/xymon/server/etc/hosts.cfg one needs to identify the hosts for which this script should extract the DNS usage statistics. For a BIND server, two tags need to be added or modified, TRENDS and RNAMED. Matching the example above, the following values could be used: | In file $XYMONHOME/etc/hosts.cfg one needs to identify the hosts for which this script should extract the DNS usage statistics. For a BIND server, two tags need to be added or modified, TRENDS and RNAMED. Matching the example above, the following values could be used: |
| |
RNAMED:”cmd(ssh -T AUser@%{H} 2>/dev/null),statsfile(named.stats)” | RNAMED:”cmd(ssh -T AUser@%{H} 2>/dev/null),statsfile(named.stats)” |
TRENDS:*,wdnsstats | TRENDS:*,wdnsstats |
| |
In file /path/to/xymon/server/etc/xymonserver.cfg the text ",bindstats" needs to be added to the definition of the variables TEST2RRD and GRAPHS if there is at least one BIND server being monitored. The text ",wdnsstats" needs to be added to the same variables in case at least one Windows DNS server is monitored. | In file $XYMONHOME/etc/xymonserver.cfg the text ",bindstats" needs to be added to the definition of the variables TEST2RRD and GRAPHS if there is at least one BIND server being monitored. The text ",wdnsstats" needs to be added to the same variables in case at least one Windows DNS server is monitored. |
| |
===== Source ===== | ===== Source ===== |