node-exporter-textfile-collector-scripts
node-exporter-textfile-collector-scripts copied to clipboard
Scripts for node-exporter's textfile collector
I added systemd unit and timers for smartmon.sh, so they can be easily installed for running the smartmon script periodically as a service. What do you think? :)
Initial cut of CONTRIBUTING document, containing basic guidelines for textfile collector scripts in this repo. @SuperQ Can you think of anything we need to add / remove?
When i use the command smartctl i have to use the option -d cciss,N to retrive informations of the disks, how i modify the script ?
This is an updated version of #113. By default NVMe devices will be ignored but gathering of metrics for NVMEe devices can be enabled with the command-line option `--include-nvme`.
EnvironmentError exceptions deprecated since Python 3.3 and are now longer used. I have this changes running since over a year now and have never encountered any other exceptions than FileNotFoundError...
The metric has mostly been removed in #152. This change also cleans the stale metric instance.
#160 was missing usage, this should fix it.
LVM can have caches of other logical volumes, for example a SSD cache of a slower HDD drive. let's monitor that in `lvm-prom-collector`.
I fiddle with extracting data out of `smartctl`. A disk gives me this: ``` smartmon_device_info{device="/dev/bus/0",disk="megaraid,5",model_family="Toshiba 3.5\" DT01ACA... Desktop HDD",device_model="TOSHIBA DT01ACA100",serial_number="75NHT0MNS",firmware_version="MS2OA7C0"} 1 ``` The problem is in ``` model_family="Toshiba 3.5\" DT01ACA......
Hello, with the script [apt_info.py](https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/blob/master/apt_info.py) replacing `apt.sh` I'm trying to create the following : * grafana dashboard * alertmanager PromQL rules that would allow me to list the * total...