1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Florian Sager
842acaef1a Prevent escaping of internal names with leading numbers to fix graph processing
With serials like

Node             SN                   Model                                    Namespace Usage                      Format           FW Rev  
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     285S100HTYST         KXG50ZNV512G TOSHIBA                     1         512,11  GB / 512,11  GB    512   B +  0 B   AAGA4106
/dev/nvme1n1     S4GENX0N713949       SAMSUNG MZVLB512HBJQ-00000               1         474,89  GB / 512,11  GB    512   B +  0 B   EXF7201Q

the internal names (by serial number) were rewritten to

Field 	Internal name 	Type 	Warn 	Crit 	Info
/dev/nvme0n1 	_85S100HTYST_w 	derive 	  	  	 
/dev/nvme1n1 	S4GENX0N713949_w 	derive

--> the trailing underscore in case of nvme0n1 created problems in graph processing:

[RRD ERROR] Unable to graph /var/cache/munin/www/lxdserver/....agitos.de/nvme_bytes-month.png : undefined vname c285S100HTYST_r

Therefore I added a prefix 'SN_' for internal names.
2021-03-18 14:25:23 +01:00
Kjetil Torgrim Homme
c7299aeba2 nvme: add graph for spare capacity. add support for limits
The default limits are sort of randomly chosen.  My nvme drives report
a warning level at 10% spare capacity, so I kept that here.
2021-03-14 16:02:24 +01:00
Kjetil Torgrim Homme
6c7ad652b9 silly bug: writecycles must be calculated from *written* bytes
This fixes issue #1127
2020-11-13 22:54:19 +01:00
Kjetil Torgrim Homme
a2267c05ed more sanity checking. give appropriate feedback to autoconf. 2018-10-02 10:29:23 +02:00
Kjetil Torgrim Homme
cca33b3984 nvme - Munin plugin to monitor the use of NVMe devices
This is a multigraph plugin which makes three graphs, nvme_usage, nvme_bytes and nvme_writecycles
2018-09-26 19:57:13 +02:00