added a complete graph for the 'upsc' (Network UPS Tools) command. #95

This commit is contained in:
Jordi Sanfeliu 2015-07-13 17:32:45 +02:00
parent be22bf2f19
commit 6fb3053c73
4 changed files with 1047 additions and 1 deletions

View File

@ -4,6 +4,7 @@
(suggested by Julien Flatrès, julien_flatres AT yahoo.fr)
- Added a complete graph for the PageSpeed Module.
(suggested by Jeroen Kik, monitorix AT steelyard.nl)
- Added a complete graph for the 'upsc' (Network UPS Tools) command. [#95]
- Changed the code in Wowza Server graph to treat MessagesInBytesRate and
MessagesOutBytesRate as gauge values. [#86]
- Changed to a clickable link the bottom URL in the Apache graph, and fixed the

1015
lib/nut.pm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1905,6 +1905,19 @@ WARNING: Every time the number of entries in this option changes, Monitorix will
.P
Default value: \fIlocalhost:3551\fP
.RE
.SS Network UPS Tools statistics (nut.rrd)
This graph is able to monitor an unlimited number of Network UPS Tools (upsc) installations.
.P
.BI list
.RS
This is a comma-separated list of UPS names with optionally the hostname and the network port where it's running \fIupsd\fP. The format of each entry must be:
.P
upsname[@hostname[:port]]
.P
WARNING: Every time the number of entries in this option changes, Monitorix will resize the \fInut.rrd\fP file accordingly, removing all historical data.
.P
Default value: \fIups@localhost\fP
.RE
.SS Wowza Media Server (wowza.rrd)
This graph is able to monitor an unlimited number of Wowza servers.
.P

View File

@ -106,6 +106,7 @@ secure_log_date_format = %b %e
phpapc = n
memcached = n
apcupsd = n
nut = n
wowza = n
int = y
verlihub = n
@ -570,6 +571,15 @@ secure_log_date_format = %b %e
</apcupsd>
# NUT graph
# -----------------------------------------------------------------------------
<nut>
list = ups@localhost
rigid = 0, 2, 0, 0, 0, 0
limit = 100:0, 100, 100:0, 100:0, 100:0, 100:0
</nut>
# WOWZA graph
# -----------------------------------------------------------------------------
<wowza>
@ -735,7 +745,7 @@ logo_bottom = logo_bot.png
remote = 300x100
</graph_size>
graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, du, net, netstat, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, wowza, int, verlihub
graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, du, net, netstat, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, nut, wowza, int, verlihub
<graph_title>
system = System load average and usage
@ -773,6 +783,7 @@ graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, du, net, nets
phpapc = Alternative PHP Cache statistics
memcached = Memcached statistics
apcupsd = APC UPS statistics
nut = Network UPS Tools statistics
wowza = Wowza Media Server
int = Devices interrupt activity
verlihub = VerliHub statistics
@ -929,6 +940,12 @@ graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, du, net, nets
_apcupsd4 = Battery voltage
_apcupsd5 = Time left
_apcupsd6 = Line frequency
_nut1 = Line voltage
_nut2 = Battery charge
_nut3 = Temperatures
_nut4 = Battery voltage
_nut5 = Time left
_nut6 = Line frequency
_wowza1 = Current connections
_wowza2 = Messages bytes rate
_wowza3 = Connections accepted