aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAge
* Add init.d script for OpenWrt.Tom Wilkie2020-04-28
| | | | Signed-off-by: Tom Wilkie <tom@grafana.com>
* Update systemd example readme file (#1663)Fatih Degirmenci2020-04-06
| | | | | | | | | | | | | | | The readme file does not mention the need to create a folder named /var/lib/node_exporter/textfile_collector as a step. Lack of this folder results errors for node_exporter service which is visible in systemd status output. These errors possibly harmless but it is not good to have them still. $ sudo systemctl status node_exporter --- snipped --- Apr 04 14:51:35 ubuntu node_exporter[14713]: level=info ts=2020-04-04T14:51:35.584Z caller=node_exporter.go:190 msg="Listening on" address=:9100 Apr 04 15:05:34 ubuntu node_exporter[14876]: level=error ts=2020-04-04T15:05:34.464Z caller=textfile.go:197 collector=textfile msg="failed to read textfile collector directory" path=/var/lib/node_exporter/textfile_collector=textfile msg="failed to read textfile collector directory" path=/var/lib/node_exporter/textfile_collector err="open /var/lib/node_exporter/textfile_collector: no such file or directory" --- snipped --- Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
* Fix grammer in examples/init.d (#1497)Roman Pertl2019-10-28
| | | | | Fix the grammar of an error message. Signed-off-by: Roman Pertl <roman@pertl.org>
* OpenBSD rc.d script (#1306)Shawn Craver2019-04-04
| | | | | | * OpenBSD rc.d script Signed-off-by: Shawn Craver <craversp@gmail.com>
* examples/init.d: fix web.listen-address flag (#1157)Paul Gier2018-11-16
| | | | | | | CLI flags use two dashes instead of one since v0.15.0 Also, use default port number Fixes #1156 Signed-off-by: Paul Gier <pgier@redhat.com>
* launchctl example based on LaunchDaemons (#1102)dbalakirev2018-10-10
| | | | | | LaunchDaemons are the correct way to create services that are restart proof. There is now only a single destination place mentioned in the readme for the plist file. Signed-off-by: Dávid Balakirev <dave00ster@gmail.com>
* Add node_exporter script for init.d (#1059)gentlejo2018-10-04
| | | | | * Add node_exporter script for init.d Signed-off-by: gentlejo <josungil@gmail.com>
* Add example launchctl-file for MacOS (#856)Morten Siebuhr2018-03-22
| | | | | | | | | | | | | | | | | | | | | | | | * Add example LaunchCtl-file for MacOS Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk> * Rewrite program location in launctctl file This seem to be the way most plist files does it. Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk> * Make launct-agent run as nobody/nobody Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk> * Rename plist per general naming scheme Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk> * Pass arguments-file when launched through launchctl Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
* Switch to kingpin flags (#639)Calle Pettersson2017-08-12
| | | | | | | | | | * Switch to kingpin flags * Fix logrus vendoring * Fix flags in main tests * Fix vendoring versions
* Mention copr yum repository, add systemd unit (#529)Tobias Florek2017-04-19
* add systemd unit as example * mention community yum repo fixes #498 * rename textfile collector dir