This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
сервис_mrtg [2024/06/20 12:08] val [Протоколирование загрузки интерфейсов] |
сервис_mrtg [2024/06/20 12:23] val [Использование скриптов] |
||
---|---|---|---|
Line 112: | Line 112: | ||
... | ... | ||
Target[dhcp-stat]: `/etc/mrtg-dhcp-stat.sh` | Target[dhcp-stat]: `/etc/mrtg-dhcp-stat.sh` | ||
+ | #Target[dhcp-stat]: `sudo /etc/mrtg-dhcp-stat.sh` | ||
Title[dhcp-stat]: dhcp stat (ip) | Title[dhcp-stat]: dhcp stat (ip) | ||
PageTop[dhcp-stat]: <H1>dhcp stat (ip)</H1> | PageTop[dhcp-stat]: <H1>dhcp stat (ip)</H1> | ||
Line 121: | Line 122: | ||
LegendI[dhcp-stat]: dhcp leased | LegendI[dhcp-stat]: dhcp leased | ||
LegendO[dhcp-stat]: max ip in pool | LegendO[dhcp-stat]: max ip in pool | ||
+ | </code><code> | ||
+ | # watch head /var/www/html/mrtg/dhcp-stat.log | ||
</code> | </code> |